/* ═══════════════════════════════════════════
   MICHAEL MUJICA — TATTOO ARTIST
   Style: Dark · Old School · Traditional
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg:          #0a0a0a;
  --bg-2:        #111111;
  --bg-3:        #181818;
  --gold:        #ffffff;
  --gold-dim:    rgba(255, 255, 255, 0.07);
  --text:        #d8d8d8;
  --text-muted:  #aaa;
  --border:      #252525;
  --border-dim:  #1c1c1c;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Raleway', sans-serif;
  --font-accent:  'Special Elite', cursive;

  --nav-h: 68px;
  --max-w: 1280px;
  --pad-x: clamp(1.5rem, 5vw, 5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  zoom: 0.8;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Utility ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  min-height: 48px; /* touch target mínimo */
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
  position: relative;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gold);
  color: #0c0c0c;
  border-color: var(--gold);
}
.btn--primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--full { width: 100%; justify-content: center; }

.btn--wa {
  background: #1a3d1a;
  color: #9ddc9d;
  border-color: rgba(125, 201, 125, 0.3);
  margin-top: 1.2rem;
}
.btn--wa:hover {
  background: #25522a;
  border-color: #7dc97d;
  color: #c8f0c8;
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  transition: background 0.5s ease, border-bottom 0.5s ease;
}

.nav.scrolled {
  background: rgba(12, 12, 12, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: color 0.3s;
}
.nav__logo span { color: var(--gold); }
.nav__logo:hover { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.3s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__ig {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__ig svg { width: 14px; height: 14px; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 201;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.35s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Open state */
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) var(--pad-x) 5rem;
  text-align: center;
}

/* Animated radial glow — respira lentamente */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 40%, rgba(255,255,255,0.025) 0%, transparent 70%),
    radial-gradient(ellipse 45% 65% at 80% 80%, rgba(255,255,255,0.015) 0%, transparent 60%);
  pointer-events: none;
  animation: heroBreathe 9s ease-in-out infinite alternate;
}
@keyframes heroBreathe {
  0%   { opacity: 0.6; transform: scale(1)   translate(0,    0);    }
  50%  { opacity: 1;   transform: scale(1.08) translate(1.5%, 1%);  }
  100% { opacity: 0.75; transform: scale(1.03) translate(-1%, 1.5%); }
}

/* Film grain noise */
.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%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: 250px;
  pointer-events: none;
}

/* Large ghost word — rotación lenta */
.hero__bg-word {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(9rem, 24vw, 26rem);
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  white-space: nowrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  animation: bgWordDrift 22s ease-in-out infinite alternate;
}
@keyframes bgWordDrift {
  0%   { transform: translate(-50%, -50%) rotate(-1deg) scale(1);    opacity: 1; }
  50%  { transform: translate(-50%, -52%) rotate(0.5deg) scale(1.04); opacity: 0.85; }
  100% { transform: translate(-50%, -50%) rotate(1.5deg) scale(0.97); opacity: 1; }
}

/* Máquina de tatuar de fondo */
.hero__machine {
  position: absolute;
  right: clamp(2rem, 7vw, 10rem);
  top: 50%;
  transform: translateY(-50%) rotate(14deg);
  width: clamp(140px, 16vw, 240px);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  animation: machineBreathe 9s ease-in-out infinite alternate;
}
.hero__machine svg { display: block; width: 100%; height: auto; }

/* Aguja vibra como si la máquina estuviera encendida */
.hero__machine .machine__needle {
  animation: needleBuzz 0.09s ease-in-out infinite alternate;
  transform-origin: 82px 278px;
}

@keyframes machineBreathe {
  0%   { opacity: 0.08; transform: translateY(-50%) rotate(14deg) scale(1); }
  100% { opacity: 0.13; transform: translateY(-52%) rotate(13deg) scale(1.03); }
}
@keyframes needleBuzz {
  from { transform: translateY(0); }
  to   { transform: translateY(3px); }
}

/* Ocultar en móvil para no tapar contenido */
@media (max-width: 640px) {
  .hero__machine { display: none; }

  /* Sin Ken Burns en móvil → imágenes a resolución nativa sin compresión GPU */
  .hero__slide img,
  .hero__slide video { animation: none; }
}

/* ── Fondo animado: fotos + vídeo (Ken Burns + cross-fade) ── */
/* 4 slides × 6s entre cada uno = ciclo 24s
   El contenedor gestiona solo opacity (cross-fade)
   La imagen/vídeo gestiona solo el zoom (Ken Burns)
   → separar las dos animaciones da mayor calidad de renderizado    */
.hero__slides {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Contenedor del slide: solo opacity */
.hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  animation: heroFade 24s ease-in-out infinite;
}
.hero__slide:nth-child(1) { animation-delay:  0s; }
.hero__slide:nth-child(2) { animation-delay:  6s; }
.hero__slide:nth-child(3) { animation-delay: 12s; }
.hero__slide:nth-child(4) { animation-delay: 18s; }

@keyframes heroFade {
  0%     { opacity: 0; }
  8.33%  { opacity: 1; }
  33.33% { opacity: 1; }
  41.67% { opacity: 0; }
  100%   { opacity: 0; }
}

/* Imagen/vídeo: object-fit cover + Ken Burns sincronizado con el fade
   - Empieza en scale(1.06) → bordes nunca visibles sin el hack de inset
   - Pico al 25 % y 75 % del ciclo → cada slide alcanza su máximo zoom
     justo en el centro de su ventana de visibilidad (2 s – 10 s)        */
.hero__slide img,
.hero__slide video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroKenBurns 24s ease-in-out infinite;
}
.hero__slide:nth-child(1) img,
.hero__slide:nth-child(1) video { animation-delay:  0s; }
.hero__slide:nth-child(2) img,
.hero__slide:nth-child(2) video { animation-delay:  6s; }
.hero__slide:nth-child(3) img,
.hero__slide:nth-child(3) video { animation-delay: 12s; }
.hero__slide:nth-child(4) img,
.hero__slide:nth-child(4) video { animation-delay: 18s; }

@keyframes heroKenBurns {
  0%   { transform: scale(1.06); }
  25%  { transform: scale(1.14); }
  50%  { transform: scale(1.06); }
  75%  { transform: scale(1.14); }
  100% { transform: scale(1.06); }
}

/* Foto mano y vídeo brazos: zoom mínimo para mostrar el máximo de imagen */
.hero__slide:nth-child(1) img {
  object-position: center 30%;
  animation-name: heroKenBurnsWide;
}
.hero__slide:nth-child(2) video {
  object-position: center center;
  animation-name: heroKenBurnsWide;
}
@keyframes heroKenBurnsWide {
  0%   { transform: scale(1.0); }
  25%  { transform: scale(1.04); }
  50%  { transform: scale(1.0); }
  75%  { transform: scale(1.04); }
  100% { transform: scale(1.0); }
}

/* Overlay muy suave en el centro → fotos visibles; más oscuro en
   cabecera (nav) y pie (scroll indicator) para mantener legibilidad */
.hero__slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10,10,10,0.62) 0%,
      rgba(10,10,10,0.22) 30%,
      rgba(10,10,10,0.22) 70%,
      rgba(10,10,10,0.80) 100%);
  pointer-events: none;
}

/* Canvas de partículas */
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--font-accent);
  font-size: clamp(0.65rem, 1.5vw, 0.85rem);
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  opacity: 0.9;
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8.5vw, 10rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.8rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 0 60px rgba(0,0,0,0.4);
}
.hero__name-accent { color: var(--gold); }

/* Ornament divider */
.hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
  opacity: 0.65;
}
.hero__ornament svg { width: 10px; height: 10px; }
.hero__ornament-line {
  display: block;
  width: 50px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero__tagline {
  font-family: var(--font-accent);
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  color: #ffffff;
  margin-bottom: 2.8rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.8);
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__location {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem; right: var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.15); }
}

/* ══════════════════════════════════════════
   SECTION SHARED ELEMENTS
══════════════════════════════════════════ */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.section-label__line {
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
  opacity: 0.35;
}
.section-label__text {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.section-desc {
  font-family: var(--font-accent);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 3rem;
}

/* ══════════════════════════════════════════
   COLABORACIONES
══════════════════════════════════════════ */
.collabs {
  background: var(--bg);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  padding: 1.4rem var(--pad-x);
}

.collabs__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.collabs__label {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.75;
  white-space: nowrap;
  flex-shrink: 0;
}

.collabs__list {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.collabs__item {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  letter-spacing: 0.12em;
  color: rgba(216, 216, 216, 0.9);
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.collabs__item:hover {
  color: #fff;
}

.collabs__sep {
  font-size: 0.4rem;
  color: var(--text-muted);
  opacity: 0.55;
}

.collabs__item--logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.collabs__logo {
  height: 36px;
  width: auto;
  filter: invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.collabs__item--logo:hover .collabs__logo {
  opacity: 1;
}

@media (max-width: 640px) {
  .collabs__inner  { gap: 1rem; justify-content: center; }
  .collabs__label  { width: 100%; text-align: center; }
  .collabs__list   { justify-content: center; }
  .collabs__item   { font-size: 0.8rem; }
}

/* ══════════════════════════════════════════
   ESTADÍSTICAS
══════════════════════════════════════════ */
.stats {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  overflow: hidden;
}

/* Cruz de fondo muy sutil */
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
}

/* Separador vertical */
.stats__sep {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

/* Tarjeta — efecto 3D en hover */
.stats__item {
  text-align: center;
  padding: 0.8rem 2rem;
  transition: transform 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.stats__number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05em;
  margin-bottom: 0.7rem;
}

/* Extrusión 3D en capas de text-shadow */
.stats__count {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
  text-shadow:
    1px 1px 0 rgba(255,255,255,0.12),
    2px 2px 0 rgba(255,255,255,0.08),
    3px 3px 0 rgba(255,255,255,0.05),
    4px 4px 0 rgba(255,255,255,0.03),
    0  0  40px rgba(255,255,255,0.06);
}
.stats__item.visible .stats__count {
  opacity: 1;
  transform: translateY(0);
}
.stats__item:nth-child(3) .stats__count { transition-delay: 0.1s; }
.stats__item:nth-child(5) .stats__count { transition-delay: 0.2s; }

.stats__prefix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  color: rgba(255,255,255,0.4);
  line-height: 1;
  align-self: flex-start;
  padding-top: 0.3em;
}

.stats__label {
  font-family: var(--font-accent);
  font-size: clamp(0.68rem, 1.4vw, 0.85rem);
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stats__sep {
    width: 60px; height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 0 auto;
  }
  .stats__item { padding: 1.5rem 1rem; }
}

/* ══════════════════════════════════════════
   TICKER
══════════════════════════════════════════ */
.ticker {
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  padding: 0.9rem 0;
  white-space: nowrap;
  user-select: none;
}
.ticker__track {
  display: inline-flex;
  animation: tickerScroll 28s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker__text {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1.8vw, 0.95rem);
  letter-spacing: 0.22em;
  color: var(--text-muted);
  padding-right: 0;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ══════════════════════════════════════════
   ESTILOS
══════════════════════════════════════════ */
.styles {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--bg-2);
}

.styles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 3rem;
}

.styles__card {
  overflow: hidden;
  background: var(--bg-3);
}

.styles__img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.styles__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(25%);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.styles__card:hover .styles__img-wrap img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.styles__body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border);
}

.styles__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  opacity: 0.45;
}

.styles__name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0.4rem 0 1rem;
}

.styles__text {
  font-size: clamp(0.82rem, 1.2vw, 0.9rem);
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 42ch;
}

@media (max-width: 640px) {
  .styles__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════════ */
.portfolio {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--bg);
}

/* Grid portrait — 3 columnas, celdas con aspect-ratio natural */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 3rem;
}

.portfolio__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-3);
  aspect-ratio: 3 / 4;

  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease var(--delay, 0s),
    transform 0.65s ease var(--delay, 0s);
}
.portfolio__item.visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio__item img,
.portfolio__item video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio__placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px,
      transparent 1px, transparent 30px
    ),
    var(--bg-3);
}

.portfolio__item:hover .portfolio__placeholder,
.portfolio__item:hover img,
.portfolio__item:hover video {
  transform: scale(1.04);
}


.portfolio__footer { text-align: center; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--bg-2);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ── Primary CTAs: WhatsApp + Instagram ── */
.contact__primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.contact__cta {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 1.6rem;
  border: 1px solid var(--border);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s, background 0.3s;
  min-height: 180px;
}
.contact__cta:hover {
  transform: translateY(-3px);
}

/* WhatsApp */
.contact__cta--wa {
  border-left: 2px solid rgba(100, 200, 100, 0.4);
  background: rgba(30, 80, 30, 0.08);
}
.contact__cta--wa:hover {
  border-left-color: #7dc97d;
  background: rgba(30, 80, 30, 0.18);
}
.contact__cta--wa .contact__cta-name {
  color: #9ddc9d;
}

/* Instagram */
.contact__cta--ig {
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}
.contact__cta--ig:hover {
  border-left-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}
.contact__cta--ig .contact__cta-name {
  color: var(--gold);
}

.contact__cta-tag {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
}
.contact__cta-name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 0.7rem;
}
.contact__cta-desc {
  font-size: 0.73rem;
  color: var(--text-muted);
  flex: 1;
}
.contact__cta-arrow {
  font-size: 1.3rem;
  color: var(--text-muted);
  align-self: flex-end;
  margin-top: 1.2rem;
  transition: transform 0.25s, color 0.25s;
}
.contact__cta:hover .contact__cta-arrow {
  transform: translateX(4px);
  color: var(--text);
}

/* ── Divider ── */
.contact__divider {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.contact__divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.contact__divider-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Legacy layout (removed sidebar, keep for backwards compat) ── */
.contact__layout {
  display: block;
}

.contact__info-item {
  margin-bottom: 2rem;
}
.contact__label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact__info-item a,
.contact__info-item span {
  font-size: 0.9rem;
  color: var(--text);
  transition: color 0.3s;
}
.contact__info-item a:hover { color: var(--text); }

.contact__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.contact__social-link svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.7; }
.contact__social-link:hover svg { opacity: 1; }

/* WhatsApp accent */
.contact__wa-link { color: #7dc97d; }
.contact__wa-link:hover { color: #9ddc9d; }
.contact__wa-link svg { opacity: 1; }

.contact__quote {
  margin-top: 2.5rem;
  padding: 1.2rem 1.2rem 1.2rem 1.4rem;
  border-left: 2px solid var(--gold);
  background: var(--gold-dim);
}
.contact__quote p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── WhatsApp CTA (reemplaza el formulario) ── */
.contact__wa {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.contact__wa-text {
  font-family: var(--font-accent);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--text);
  opacity: 0.8;
  line-height: 1.7;
}
.contact__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.4rem;
  background: #1a3d1a;
  border: 1px solid rgba(125,201,125,0.35);
  color: #9ddc9d;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
  min-height: 52px;
}
.contact__wa-btn:hover {
  background: #25522a;
  border-color: #7dc97d;
  color: #c8f0c8;
  transform: translateY(-2px);
}
.contact__wa-handle {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.contact__wa-handle a {
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact__wa-handle a:hover {
  border-bottom-color: var(--text);
}
.contact__locations {
  width: 100%;
  border-top: 1px solid var(--border-dim);
  padding-top: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.contact__locations-label {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact__locations-grid {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.contact__location {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.3s, transform 0.2s;
  min-width: 180px;
}
.contact__location:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.contact__location-studio {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.contact__location-city {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ── Form heading ── */
.contact__form-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.08em;
  color: var(--text);
  text-align: center;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}
.contact__form-heading em {
  color: #c8c8c8;
  font-style: normal;
}

/* ── Form ── */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
}

/* Corner accent lines */
.contact__form::before,
.contact__form::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  pointer-events: none;
}
.contact__form::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
.contact__form::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.form-group.visible { opacity: 1; transform: translateY(0); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

label {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.85);
}

input,
select,
textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  padding: 0.8rem 0;
  color: #f5f0e8;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder, textarea::placeholder {
  color: rgba(237, 232, 221, 0.45);
}
input:focus, select:focus, textarea:focus {
  border-bottom-color: var(--gold);
  background: rgba(255, 255, 255, 0.03);
}

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 8 7-8' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  background-size: 12px;
  padding-right: 1.8rem;
}
select option { background: #1a1a1a; color: #f5f0e8; }

textarea { resize: vertical; min-height: 120px; }

.btn__arrow { font-size: 1em; line-height: 1; }

.form-note {
  font-size: 0.68rem;
  color: rgba(237, 232, 221, 0.72);
  text-align: center;
}

/* Labels in Special Elite for tattoo-studio feel */
.contact__form label {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: none;
  color: rgba(216, 216, 216, 0.8);
}

/* Submit button */
.contact__form .btn--primary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  padding: 1rem 2rem;
}

/* Submit success state */
.contact__form.sent .btn--primary {
  background: #27522a;
  border-color: #27522a;
  color: var(--text);
  cursor: default;
  transform: none;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.footer__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.footer__role {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.75;
  margin-bottom: 1.8rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer__social a {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}
.footer__social a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.footer__social a:hover { color: var(--gold); }
.footer__social a:hover::after { width: 100%; }

.footer__copy {
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.65;
  border-top: 1px solid var(--border-dim);
  padding-top: 1.5rem;
}
.footer__credit {
  font-size: 0.75rem;
  color: #ffffff;
  opacity: 0.7;
  margin-top: 0.5rem;
  letter-spacing: 0.08em;
}
.footer__credit a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.footer__credit a:hover {
  opacity: 1;
  border-bottom-color: #ffffff;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* ── Tablet (≤900px) ── */
@media (max-width: 900px) {
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet pequeña / phablet (≤768px) ── */
@media (max-width: 768px) {
  .contact__primary   { grid-template-columns: 1fr; }
  .contact__layout    { grid-template-columns: 1fr; }
  .contact__cta       { padding: 1.4rem; min-height: 150px; }
  .contact__cta-name  { font-size: 3rem; }
}

/* ── Móvil (≤640px) ── */
@media (max-width: 640px) {
  /* Nav → menú hamburguesa */
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.8rem;
    z-index: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .nav__links.open { opacity: 1; pointer-events: auto; }
  .nav__links a {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    font-family: var(--font-display);
  }
  .nav__links a::after { display: none; }

  /* Hero: ocultar decoraciones que estorban */
  .hero__flash            { display: none; }
  .hero__scroll-indicator { display: none; }

  /* Portfolio: 2 columnas compactas */
  .portfolio__grid { grid-template-columns: 1fr 1fr; gap: 6px; }

  /* Form: fila simple */
  .form-row { grid-template-columns: 1fr; }

  /* Formulario: menos padding */
  .contact__form { padding: 1.5rem 1.2rem 1.2rem; gap: 1.4rem; }

  /* CRÍTICO — iOS Safari auto-zoom si font-size < 16px al enfocar input */
  input, select, textarea { font-size: 16px; }
}

/* ── Móvil pequeño (≤480px) ── */
@media (max-width: 480px) {
  /* Hero: botones apilados y a ancho completo */
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.75rem;
  }
  .hero__cta .btn { justify-content: center; }

  /* Títulos de sección */
  .section-title { font-size: clamp(2.4rem, 9vw, 4rem); }

  /* Contact CTAs más compactas */
  .contact__cta       { padding: 1.2rem 1.2rem 1rem; min-height: 140px; }
  .contact__cta-name  { font-size: 2.4rem; }
  .contact__cta-desc  { font-size: 0.7rem; }
  .contact__cta-arrow { display: none; }

  /* Formulario ajuste fino */
  .contact__form { padding: 1.2rem 1rem 1rem; }
}

/* ── Teléfono muy pequeño (≤360px) ── */
@media (max-width: 360px) {
  .hero__name    { font-size: 2.3rem; }
  .hero__eyebrow { font-size: 0.58rem; letter-spacing: 0.12em; }
  .portfolio__grid { gap: 4px; }
}

/* ══════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration:  0.01ms !important;
  }
  .portfolio__item { opacity: 1; transform: none; }
  .form-group      { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════
   BOTONES FLOTANTES — WhatsApp + Instagram
══════════════════════════════════════════ */
.float-btns {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.float-btns.visible {
  opacity: 1;
  transform: translateX(0);
}

.float-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}
.float-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn:active { transform: scale(0.95); }

/* WhatsApp — verde oficial #25D366 */
.float-btn--wa {
  background: #25D366;
  border: none;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.float-btn--wa:hover {
  background: #20ba59;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

/* Instagram — gradiente oficial */
.float-btn--ig {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  border: none;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
}
.float-btn--ig:hover {
  box-shadow: 0 6px 24px rgba(200, 50, 150, 0.35);
  filter: brightness(1.1);
}


/* Tooltip al hacer hover */
.float-btn::before {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  background: rgba(10,10,10,0.92);
  border: 1px solid var(--border);
  padding: 0.3rem 0.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.float-btn:hover::before { opacity: 1; }

/* Móvil: botones más compactos, sin tooltip */
@media (max-width: 640px) {
  .float-btns { bottom: 1.4rem; right: 1rem; gap: 0.55rem; }
  .float-btn  { width: 46px; height: 46px; }
  .float-btn svg { width: 20px; height: 20px; }
  .float-btn::before { display: none; }
}

/* ══════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  cursor: zoom-out;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 960px);
  max-height: 92vh;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}
.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: -44px; right: 0;
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.lightbox__close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.portfolio__item img { cursor: zoom-in; }

/* ══════════════════════════════════════════
   INTRO OVERLAY — Tattoo needle reveal
══════════════════════════════════════════ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease;
}
.intro.fade-out { opacity: 0; }
.intro.gone     { display: none; }

.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.intro__dagger {
  width: 46px;
  height: 158px;
  filter: drop-shadow(0 0 14px rgba(255,255,255,0.1));
}

/* Strokes start hidden and draw one after another */
.intro__s {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.intro__s1 { animation: mmDraw 0.5s ease-out 0.15s forwards; }
.intro__s2 { animation: mmDraw 0.3s ease-out 0.55s forwards; }
.intro__s3 { animation: mmDraw 0.4s ease-out 0.72s forwards; }
.intro__s4 { animation: mmDraw 0.35s ease-out 0.98s forwards; }
.intro__s5 { animation: mmDraw 0.25s ease-out 1.18s forwards; }
.intro__s6 { animation: mmDraw 0.3s ease-out 1.35s forwards; }
.intro__s7 { animation: mmDraw 0.28s ease-out 1.52s forwards; }

@keyframes mmDraw { to { stroke-dashoffset: 0; } }

.intro__name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.45em;
  color: rgba(255,255,255,0.5);
  opacity: 0;
  animation: mmNameIn 0.55s ease-out 1.65s forwards;
}
@keyframes mmNameIn { to { opacity: 1; } }

/* ══════════════════════════════════════════
   HERO — Entrada animada
══════════════════════════════════════════ */

/* Ocultar todos los elementos del hero hasta que el overlay desaparezca */
.hero:not(.hero--ready) .hero__bg-word,
.hero:not(.hero--ready) .hero__eyebrow,
.hero:not(.hero--ready) .hero__name,
.hero:not(.hero--ready) .hero__ornament,
.hero:not(.hero--ready) .hero__tagline,
.hero:not(.hero--ready) .hero__cta,
.hero:not(.hero--ready) .hero__scroll-indicator,
.hero:not(.hero--ready) .hero__flash {
  opacity: 0 !important;
  animation: none !important;
}

/* Animaciones de entrada escalonadas */
.hero--ready .hero__bg-word {
  animation: mmBgIn 1.6s ease-out 0s both;
}
.hero--ready .hero__eyebrow {
  animation: mmUp 0.7s ease-out 0.1s both;
}
.hero--ready .hero__name {
  animation:
    mmNameStamp 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both,
    mmNameLive  5s ease-in-out 1.8s infinite;
}
.hero--ready .hero__ornament {
  animation: mmUp 0.6s ease-out 0.82s both;
}
.hero--ready .hero__tagline {
  animation: mmUp 0.6s ease-out 1.02s both;
}
.hero--ready .hero__cta {
  animation: mmUp 0.7s ease-out 1.22s both;
}
.hero--ready .hero__scroll-indicator {
  animation: mmFade 0.9s ease-out 1.6s both;
}
.hero--ready .hero__flash--star {
  animation: mmFlashIn 1.1s ease-out 1.5s both;
}
.hero--ready .hero__flash--dagger {
  animation: mmFlashIn 1.1s ease-out 1.75s both;
}

/* Keyframes */
@keyframes mmBgIn {
  from { opacity: 0; transform: translate(-50%,-50%) scale(0.88); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
@keyframes mmUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mmNameStamp {
  0%   { opacity: 0; transform: scale(1.14) translateY(-12px); filter: blur(6px); }
  55%  { opacity: 1; transform: scale(0.97) translateY(3px);  filter: blur(0); }
  78%  { transform: scale(1.01) translateY(-1px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes mmNameLive {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.88; text-shadow: 0 0 30px rgba(255,255,255,0.08); }
}
@keyframes mmFade {
  to { opacity: 1; }
}
@keyframes mmFlashIn {
  from { opacity: 0; transform: var(--fi-from); }
  to   { opacity: 0.1; transform: var(--fi-to); }
}

/* Flash corner symbols */
.hero__flash {
  position: absolute;
  pointer-events: none;
  color: white;
}
.hero__flash--star {
  top: clamp(90px, 14vh, 150px);
  right: clamp(2rem, 7vw, 7rem);
  width: 52px;
  --fi-from: rotate(-12deg) scale(0.72);
  --fi-to:   rotate(-12deg) scale(1);
}
.hero__flash--dagger {
  bottom: clamp(6rem, 16vh, 11rem);
  left: clamp(2rem, 7vw, 7rem);
  width: 26px;
  --fi-from: rotate(18deg) scale(0.72);
  --fi-to:   rotate(18deg) scale(1);
}

/* Reduced motion: omitir intro y mostrar hero directamente */
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none !important; opacity: 0 !important; }
  .intro { display: none !important; }
  .hero:not(.hero--ready) .hero__bg-word,
  .hero:not(.hero--ready) .hero__eyebrow,
  .hero:not(.hero--ready) .hero__name,
  .hero:not(.hero--ready) .hero__ornament,
  .hero:not(.hero--ready) .hero__tagline,
  .hero:not(.hero--ready) .hero__cta,
  .hero:not(.hero--ready) .hero__scroll-indicator,
  .hero:not(.hero--ready) .hero__flash {
    opacity: 1 !important;
    animation: none !important;
  }
}
