/* ──────────────────────────────────────────────────────────────────────────
   PAIDOX — Portafolio
   Identidad editorial futurista: rojo intenso, negro, blanco y grises.
   Tipografías: Archivo (títulos, ancho expandido) · Space Grotesk (texto)
                Space Mono (etiquetas y datos)
   ────────────────────────────────────────────────────────────────────────── */

:root {
  --red: #e3120b;
  --red-hi: #ff2b1c;
  --red-deep: #9c0b06;
  --black: #0b0b0b;
  --char: #141414;
  --char-2: #1c1c1c;
  --ink: #f2efe9;
  --paper: #ece8e1;
  --gray: #8f8c87;
  --gray-2: #5c5a57;
  --line: rgba(242, 239, 233, .12);
  --line-red: rgba(227, 18, 11, .55);
  --ok: #3cff7a;

  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-sans: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r: 24px;
  --r-s: 14px;
  --pad: clamp(16px, 3.4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-o: cubic-bezier(.16, 1, .3, 1);
  --shadow-hard: 8px 8px 0 var(--red);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--black); color: var(--ink);
  font: 400 16px/1.6 var(--f-sans); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: var(--black); }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--red); color: var(--black); border-radius: 10px; font-weight: 700; transform: translateY(-200%); transition: transform .2s; }
.skip:focus { transform: none; }
.accent { color: var(--red); }

/* Títulos con la tipografía de identidad (ancha y pesada) */
.sec-head h2, .hn, .foot-logo, .contact-big, .svc-feature h3, .proj-title, .music-info h3, .m-info h3 {
  font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-variation-settings: "wdth" 125;
}

/* ── Capas de efecto ───────────────────────────────────────────────────── */
.fx { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.fx-grain {
  position: absolute; inset: -50%; opacity: .085; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.4s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
/* brillo de envoltorio plástico, como el póster de referencia */
.fx-wrap {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: screen;
  background:
    linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, .035) 22%, transparent 27%),
    linear-gradient(104deg, transparent 58%, rgba(255, 255, 255, .03) 61%, transparent 66%),
    linear-gradient(118deg, transparent 80%, rgba(255, 255, 255, .025) 83%, transparent 88%);
}

/* ── Cursor ───────────────────────────────────────────────────────────── */
.cursor { display: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor input[type=range] { cursor: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 95; pointer-events: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red-hi); }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid rgba(242, 239, 233, .55);
  transition: width .35s var(--ease-o), height .35s var(--ease-o), margin .35s var(--ease-o), background .3s, border-color .3s, opacity .3s;
}
.cursor.hover .cursor-ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(227, 18, 11, .16); border-color: var(--red); }
.cursor.down .cursor-ring { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.cursor.hidden .cursor-dot, .cursor.hidden .cursor-ring { opacity: 0; }

/* ── Navegación ──────────────────────────────────────────────────────── */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 var(--pad);
  background: rgba(11, 11, 11, .84); border-bottom: 1px solid var(--line-red);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .5s var(--ease-o);
}
.nav.away { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-seal { width: 36px; height: 36px; color: var(--red); }
.brand-seal svg, .hero-seal svg { width: 100%; height: 100%; }
.sello-giro { transform-origin: 100px 100px; animation: spin 18s linear infinite; }
.brand-word { font: italic 900 21px/1 var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  position: relative; padding: 10px 14px; font: 700 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #bdbab4;
  transition: color .3s;
}
.nav-links a::before { content: attr(data-n); color: var(--red); margin-right: 7px; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-o); }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.clock { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font: 400 12px/1 var(--f-mono); color: var(--gray); text-transform: uppercase; }
.clock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.6s steps(2) infinite; }
.clock time { color: var(--ink); font-weight: 700; }
.clock time .colon { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--red); position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .4s var(--ease-o); }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── Botones ─────────────────────────────────────────────────────────── */
.btn {
  --tx: 0px; --ty: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px; border-radius: 12px;
  font: 800 13.5px/1 var(--f-display); font-stretch: 112%; font-variation-settings: "wdth" 112; letter-spacing: .06em; text-transform: uppercase;
  transform: translate(var(--tx), var(--ty)); box-shadow: 0 0 0 transparent;
  transition: transform .45s var(--ease-o), background .25s, color .25s, border-color .25s, box-shadow .35s var(--ease-o);
}
.btn svg { font-size: 18px; transition: transform .45s var(--ease-o); }
.btn:hover svg { transform: translateX(5px); }
.btn:active { transform: translate(var(--tx), var(--ty)) scale(.97); }
.btn-red { background: var(--red); color: var(--black); }
.btn-red:hover { background: var(--ink); box-shadow: 6px 6px 0 var(--red); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--black); box-shadow: 6px 6px 0 var(--red); }
.btn-dark { background: var(--black); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: var(--black); box-shadow: 6px 6px 0 var(--black); }

.round {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(242, 239, 233, .3); background: rgba(242, 239, 233, .04); transition: background .25s, transform .3s var(--ease-o), border-color .25s, color .25s;
}
.round:hover { border-color: var(--red); background: rgba(227, 18, 11, .14); }
.round:active { transform: scale(.92); }
.round svg { font-size: 18px; }
.round.small { width: 36px; height: 36px; }
.round.small svg { font-size: 14px; }
.play-toggle { background: var(--red); color: var(--black); border-color: var(--red); }
.play-toggle:hover { background: var(--ink); border-color: var(--ink); }
.play-toggle .ic-pause, .is-playing .play-toggle .ic-play { display: none; }
.is-playing .play-toggle .ic-pause { display: block; }
#mute .ic-mute, .is-muted #mute .ic-vol { display: none; }
.is-muted #mute .ic-mute { display: block; }

/* ── Indicadores ─────────────────────────────────────────────────────── */
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 10px rgba(60, 255, 122, .8); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--ok); animation: ping 2.2s var(--ease) infinite; }
.pulse.off { background: var(--gray); box-shadow: none; }
.pulse.off::after { display: none; }
.pulse.small { width: 6px; height: 6px; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes spin { to { rotate: 360deg; } }
.sec-tag { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.sec-tag::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.chev { color: var(--red); font: 700 13px var(--f-mono); letter-spacing: -.12em; }

/* ── Portada ─────────────────────────────────────────────────────────── */
.hero { padding: 84px var(--pad) 0; max-width: 1760px; margin: 0 auto; }
.hero-frame {
  position: relative; height: calc(100svh - 84px - 92px); min-height: 660px; max-height: 960px; overflow: hidden; isolation: isolate;
  border: 1.5px solid var(--line-red); border-radius: 30px;
  background:
    radial-gradient(circle at 74% 62%, rgba(227, 18, 11, .22), transparent 46%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 72px,
    var(--char);
}
.hero-meta { position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px; font: 400 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.hero-meta-top { top: 26px; left: 30px; }
.hero-meta-bottom { bottom: 26px; left: 30px; }
.m-line { width: 34px; height: 1px; background: var(--gray-2); }
.hero-seal { position: absolute; z-index: 5; top: 16px; right: 18px; width: 86px; height: 86px; color: var(--red); }

.hero-logo { position: absolute; z-index: 2; top: 64px; left: 26px; right: 0; pointer-events: none; }
.hn {
  display: inline-block; font-size: 16vw; line-height: .86; font-style: italic; letter-spacing: -.015em; white-space: nowrap; color: var(--ink);
  text-shadow:
    .012em .012em 0 var(--red), .024em .024em 0 var(--red), .036em .036em 0 var(--red), .048em .048em 0 var(--red-deep),
    .06em .06em 0 var(--red-deep), .07em .07em 0 #000, .07em .07em .25em rgba(0, 0, 0, .6);
  padding-right: .08em;
}
.hn .ch { display: inline-block; animation: chr .95s var(--ease-o) both; animation-delay: calc(.1s + var(--i) * .06s); }
@keyframes chr { from { opacity: 0; transform: translate(-.2em, .35em) skewX(-14deg); } }

.hero-stage { position: absolute; inset: 0; pointer-events: none; }
.hero-frame { --px: 0; --py: 0; }
.hero-art { transition: transform 1.2s var(--ease-o); transform: translate(calc(var(--px) * -22px), calc(var(--py) * -16px)); }
.hero-char { transition: transform 1s var(--ease-o); transform: translate(calc(var(--px) * 16px), calc(var(--py) * 8px)); }
.hero-art { position: absolute; z-index: 1; right: 1%; bottom: -14%; width: min(52%, 820px); aspect-ratio: 1; pointer-events: none; }
.hero-art > * { position: absolute; }
.art-rays { inset: -12%; color: var(--red); opacity: .2; animation: spin 140s linear infinite; }
.art-rays svg, .art-lens svg, .art-sun svg { width: 100%; height: 100%; }
.art-sun { inset: 18%; border-radius: 50%; background: radial-gradient(circle at 38% 32%, var(--red-hi), var(--red) 45%, var(--red-deep) 100%); overflow: hidden; animation: sun-in 1.4s var(--ease-o) .1s both; }
.art-sun > span { position: absolute; inset: 0; color: rgba(0, 0, 0, .55); }
@keyframes sun-in { from { transform: scale(.5); opacity: 0; } }
.art-lens { left: -26%; right: -10%; top: 34%; height: 46%; color: var(--ink); opacity: .32; --g-bg: transparent; }
.art-ring { inset: 9%; border-radius: 50%; border: 1.5px dashed rgba(242, 239, 233, .35); animation: spin 60s linear infinite reverse; }

.hero-char { position: absolute; z-index: 3; right: 13%; bottom: 0; height: 84%; aspect-ratio: 591 / 933; }
.hero-char img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); animation: char-in 1.3s var(--ease-o) .35s both, bob 5s ease-in-out 1.7s infinite; transform-origin: 50% 100%; }
@keyframes char-in { from { opacity: 0; transform: translateY(14%) scale(.92); } }
@keyframes bob { 50% { transform: translateY(-1.4%) rotate(-.6deg); } }
.char-tag {
  position: absolute; top: 30%; right: -30%; display: flex; flex-direction: column; gap: 3px; padding: 10px 14px;
  border: 1.5px solid var(--ink); border-radius: 10px; background: var(--black);
  font: 400 10.5px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gray);
  animation: rise .8s var(--ease-o) 1.4s both;
}
.char-tag b { color: var(--ink); font-size: 12px; }
.char-tag::after { content: ""; position: absolute; right: 100%; top: 50%; width: 38px; height: 1.5px; background: var(--ink); }

.intro { position: absolute; z-index: 4; left: 30px; bottom: 58px; width: min(560px, 46%); animation: rise 1s var(--ease-o) .45s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.kicker {
  display: inline-block; padding: 9px 18px 9px 14px; margin-bottom: 16px; background: var(--red); color: var(--black);
  font: italic 900 13px/1 var(--f-display); font-stretch: 118%; font-variation-settings: "wdth" 118; letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.status { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 400 12px/1.3 var(--f-mono); letter-spacing: .04em; color: #c9c6c0; }
.intro-title { font: 700 clamp(30px, 3vw, 46px)/1.02 var(--f-sans); letter-spacing: -.035em; }
.intro-title .accent { display: block; }
.intro-sub { margin-top: 14px; font: 500 18px/1.4 var(--f-sans); }
.intro-desc { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: #a19e98; max-width: 54ch; }
.intro-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(110%); animation: word .9s var(--ease-o) both; animation-delay: calc(.55s + var(--i) * .055s); }
@keyframes word { to { transform: none; } }

.scroll-cue { position: absolute; z-index: 5; right: 30px; bottom: 22px; display: flex; align-items: center; gap: 12px; font: 700 11px var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gray); }
.scroll-cue i { position: relative; width: 1.5px; height: 40px; background: var(--gray-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--red); animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { to { top: 100%; } }

.ticker { margin: 18px calc(var(--pad) * -1) 0; background: var(--red); color: var(--black); overflow: hidden; transform: rotate(-1deg); border-block: 1.5px solid var(--black); }
.ticker-track { display: flex; width: max-content; gap: 26px; padding: 15px 0; animation: tick 38s linear infinite; }
.ticker span { font: italic 900 21px/1 var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; white-space: nowrap; }
.ticker b { font-size: 16px; line-height: 21px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── Secciones ───────────────────────────────────────────────────────── */
.section { position: relative; width: min(calc(100% - 2 * var(--pad)), var(--max)); margin: 0 auto; padding: clamp(96px, 11vw, 150px) 0 0; }
.sec-head {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; column-gap: clamp(16px, 2.4vw, 32px);
  margin-bottom: clamp(30px, 4vw, 52px); padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 120px; height: 4px; background: var(--red); }
.sec-n { font: italic 900 clamp(64px, 9vw, 140px)/.8 var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; color: transparent; -webkit-text-stroke: 2px var(--red); }
.sec-head h2 { margin-top: 12px; font-size: clamp(38px, 6vw, 96px); line-height: .9; letter-spacing: -.025em; overflow-wrap: break-word; }
.sec-note { max-width: 30ch; padding-bottom: 6px; font: 400 12.5px/1.55 var(--f-mono); color: var(--gray); text-align: right; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-o), transform 1s var(--ease-o); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Tarjetas tipo póster */
.card { position: relative; padding: 20px 24px 26px; border-radius: var(--r); border: 1.5px solid; overflow: hidden; transition: transform .5s var(--ease-o), box-shadow .5s var(--ease-o), opacity .9s var(--ease-o); }
.card-dark { background: var(--char); border-color: var(--line-red); color: var(--ink); --g-bg: var(--char); }
.card-red { background: var(--red); border-color: var(--red); color: var(--black); --g-bg: var(--red); }
.card-paper { background: var(--paper); border-color: var(--paper); color: var(--black); --g-bg: var(--paper); }
.card.in:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); }
.card-red.in:hover { box-shadow: 8px 8px 0 var(--ink); }
.card-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px dashed currentColor; font: 700 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { padding: 7px 13px; border: 1.5px solid currentColor; border-radius: 999px; font: 700 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; transition: background .25s, color .25s; }
.card-paper .chips li:hover { background: var(--black); color: var(--paper); }

/* Mirada: retrato grande tipo póster, con la cita al lado */
.mirada { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.mirada-img { position: relative; border-radius: 26px; overflow: hidden; border: 1.5px solid var(--red); box-shadow: 12px 12px 0 var(--red); aspect-ratio: 1315 / 1248; }
.mirada-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.2s var(--ease-o); }
.mirada-img.in img { transform: none; }
.mirada-img:hover img { transform: scale(1.03); }
.mirada-label { position: absolute; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 999px; background: var(--black); color: var(--ink); font: 700 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.mirada-dots { position: absolute; z-index: -1; right: -2%; bottom: -10%; width: min(46vw, 620px); aspect-ratio: 22 / 14; color: var(--red); opacity: .45; pointer-events: none; }
.mirada-dots svg { width: 100%; height: 100%; }
.mirada-txt { position: relative; }
.mirada .quote { margin-top: 16px; font: 500 clamp(28px, 3.1vw, 48px)/1.1 var(--f-sans); letter-spacing: -.03em; }
.mirada .quote .accent { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 118%; font-variation-settings: "wdth" 118; text-transform: uppercase; font-size: .92em; letter-spacing: -.02em; }

/* Perfil (cuadrícula editorial) */
.bento {
  display: grid; gap: 18px; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "about about about about about about about stats stats stats stats stats"
    "portrait portrait portrait portrait music music music music music music music music"
    "portrait portrait portrait portrait now now now now now now now now";
}
.card-about { grid-area: about; padding-bottom: 30px; }
.card-stats { grid-area: stats; }
.card-portrait { grid-area: portrait; display: flex; flex-direction: column; }
.card-music { grid-area: music; }
.card-now { grid-area: now; }

.lead { max-width: 19ch; margin-bottom: 14px; font: 700 clamp(26px, 2.5vw, 36px)/1.06 var(--f-sans); letter-spacing: -.035em; }
.lead b { color: var(--red); }
.card-about > p:not(.lead) { position: relative; z-index: 1; max-width: 46ch; font-size: 15px; color: #3c3a37; }
.card-about .chips { position: relative; z-index: 1; }
.about-arcs { position: absolute; right: -80px; bottom: -36px; width: 280px; height: 168px; opacity: .95; --g-fill: var(--red); --g-bg: var(--paper); transition: transform 1s var(--ease-o); }
.about-arcs svg { width: 100%; height: 100%; }
.card-about:hover .about-arcs { transform: translateX(-24px); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--black); border-left: 1.5px solid var(--black); }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 108px; padding: 14px 14px 12px; border-right: 1.5px solid var(--black); border-bottom: 1.5px solid var(--black); transition: background .3s, color .3s; }
.stat:hover { background: var(--black); color: var(--red); }
.stat b { font: 900 clamp(32px, 3vw, 46px)/1 var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat span { font: 700 10.5px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.stat .stat-ic { display: inline-flex; align-items: center; gap: 6px; }
.stat .stat-ic svg { font-size: 26px; }
.updated { display: flex; align-items: center; gap: 10px; margin-top: 14px; font: 700 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }

.portrait { position: relative; flex: 1; min-height: 300px; display: grid; place-items: center; }
.portrait img {
  position: relative; width: 108%; max-width: none; filter: grayscale(1) contrast(1.15); mix-blend-mode: screen;
  transition: transform 1.2s var(--ease-o);
}
.card-portrait:hover .portrait img { transform: scale(1.04) translateY(-6px); }
.portrait-cap { margin-top: 12px; font: 700 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }

.music { display: grid; grid-template-columns: minmax(300px, 1.15fr) 1fr; gap: 22px; align-items: center; }
.music-screen { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; min-width: 200px; border-radius: var(--r-s); overflow: hidden; background: #000; border: 1.5px solid var(--line-red); }
.yt-slot, .music-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-cover { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 14px; padding: 18px; text-align: center; background: radial-gradient(circle at 50% 42%, #2a0c0a, #050505 70%); transition: opacity .6s var(--ease); }
.yt-ready .yt-cover { opacity: 0; pointer-events: none; }
.yt-msg { font: 400 11.5px/1.5 var(--f-mono); color: var(--gray); max-width: 32ch; }
.yt-msg a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.vinyl { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, var(--red) 0 16%, #111 17% 19%, transparent 20%), repeating-radial-gradient(circle, #0c0c0c 0 2px, #1d1d1d 3px 4px); box-shadow: 0 0 0 1.5px var(--line-red), 0 20px 40px -10px #000; animation: spin 5s linear infinite paused; }
.is-playing .vinyl { animation-play-state: running; }
.music-info h3 { font-size: clamp(34px, 3.4vw, 54px); line-height: .9; font-style: italic; letter-spacing: -.02em; }
.artist { margin-top: 8px; font: 700 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.music-ctrl { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.music-ctrl .round { width: 56px; height: 56px; }
.music-ctrl .round svg { font-size: 22px; }
.fine { margin-top: 16px; font: 400 10.5px/1.4 var(--f-mono); color: var(--gray-2); }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; }
.eq i { width: 4px; height: 4px; background: var(--red); transition: height .3s; }
.is-playing .eq i { animation: eq 1s ease-in-out infinite; }
.is-playing .eq i:nth-child(2n) { animation-delay: -.3s; animation-duration: .8s; }
.is-playing .eq i:nth-child(3n) { animation-delay: -.6s; animation-duration: 1.2s; }
.is-playing .eq i:nth-child(5n) { animation-delay: -.15s; animation-duration: .9s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 20px; } }

.now li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1.5px solid rgba(0, 0, 0, .14); font-size: 15px; }
.now li:last-child { border-bottom: 0; padding-bottom: 0; }
.now span { font: 700 11px/1.8 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #6b6863; }
.now b { font-weight: 700; text-align: right; }

/* ── Habilidades ─────────────────────────────────────────────────────── */
.skills { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; align-items: stretch; }
.design-list { position: relative; z-index: 1; counter-reset: d; }
.design-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1.5px solid rgba(0, 0, 0, .28); counter-increment: d; transition: padding .45s var(--ease-o); }
.design-list li::before { content: counter(d, decimal-leading-zero); font: 700 12px var(--f-mono); }
.design-list li:hover { padding-left: 10px; }
.design-list b { font: 800 clamp(17px, 1.5vw, 21px)/1.15 var(--f-display); font-stretch: 108%; font-variation-settings: "wdth" 108; text-transform: uppercase; letter-spacing: -.01em; }
.d-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--black); transition: background .3s, color .3s, transform .5s var(--ease-o); }
.d-ic svg { font-size: 16px; }
.design-list li:hover .d-ic { background: var(--black); color: var(--red); transform: rotate(-20deg); }
.design-list .bar { grid-column: 2 / -1; }
.design-chev { position: absolute; right: -40px; bottom: -40px; width: 240px; height: 240px; color: var(--black); opacity: .18; }
.design-chev svg { width: 100%; height: 100%; }

.tool-list { display: grid; gap: 8px; }
.tool { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; border-radius: var(--r-s); border: 1.5px solid transparent; transition: border-color .3s, background .3s; }
.tool:hover { border-color: var(--line-red); background: rgba(227, 18, 11, .06); }
.tool-badge {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; border: 1.5px solid var(--red); background: var(--black);
  font: italic 900 20px/1 var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -.03em;
  transition: background .3s, color .3s, transform .5s var(--ease-o);
}
.tool:hover .tool-badge { background: var(--red); color: var(--black); transform: rotate(-8deg); }
.tool-name { font: 800 16px/1.2 var(--f-display); font-stretch: 105%; font-variation-settings: "wdth" 105; text-transform: uppercase; letter-spacing: .01em; }
.tool-use { margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--gray); }
.level { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 112px; }
.level-txt { font: 700 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.segs { display: flex; gap: 4px; }
.segs i { position: relative; width: 32px; height: 8px; background: rgba(242, 239, 233, .1); overflow: hidden; transform: skewX(-20deg); }
.segs i.on::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-o); transition-delay: calc(.25s + var(--k) * .15s); }
.in .segs i.on::after { transform: scaleX(1); }
.bar { grid-column: 1 / -1; height: 6px; background: rgba(127, 127, 127, .22); overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; width: var(--p); background: repeating-linear-gradient(-45deg, var(--red) 0 6px, var(--red-hi) 6px 9px); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease-o) .2s; }
.card-red .bar i { background: var(--black); }
.in .bar i { transform: scaleX(1); }
.pct { font: 900 24px/1 var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-variant-numeric: tabular-nums; }

/* ── Servicios ───────────────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: 18px; }
.services > * { min-width: 0; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 20px 24px 26px; overflow: hidden;
  border-radius: var(--r); border: 1.5px solid var(--line-red); background: var(--char);
  transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease-o), box-shadow .5s var(--ease-o), opacity .9s var(--ease-o);
}
.svc .card-top { margin-bottom: 6px; }
.svc h3 { margin-top: auto; font: 800 21px/1.12 var(--f-display); font-stretch: 105%; font-variation-settings: "wdth" 105; text-transform: uppercase; letter-spacing: -.01em; }
.svc p { font-size: 14px; color: var(--gray); transition: color .35s; }
.svc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); transition: background .35s, color .35s, transform .6s var(--ease-o), border-color .35s; }
.svc-ic svg { font-size: 22px; }
.svc:not(.svc-feature).in:hover { background: var(--red); color: var(--black); border-color: var(--red); transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.svc:not(.svc-feature):hover p { color: rgba(0, 0, 0, .75); }
.svc:not(.svc-feature):hover .svc-ic { background: var(--black); color: var(--red); border-color: var(--black); transform: rotate(-14deg); }
.svc:last-child { grid-column: 2 / -1; min-height: 0; }
.svc-feature { grid-row: span 3; justify-content: flex-start; background: var(--red); border-color: var(--red); color: var(--black); padding: 20px 28px 30px; --g-bg: var(--red); }
.svc-feature .svc-ic { width: 64px; height: 64px; margin-top: 18px; border-color: var(--black); color: var(--black); }
.svc-feature .svc-ic svg { font-size: 28px; }
.svc-feature h3 { margin-top: 24px; font-size: clamp(30px, 2.9vw, 46px); line-height: .92; letter-spacing: -.02em; font-stretch: 100%; font-variation-settings: "wdth" 100; overflow-wrap: break-word; }
.svc-feature p { position: relative; color: rgba(0, 0, 0, .8); font-size: 15.5px; max-width: 40ch; margin: 8px 0 24px; }
.svc-feature .btn { align-self: flex-start; margin-top: auto; }
.svc-dots { position: absolute; right: -20px; top: -20px; width: 72%; aspect-ratio: 1; color: var(--black); opacity: .22; pointer-events: none; }
.svc-dots svg { width: 100%; height: 100%; }

/* ── Proyectos ───────────────────────────────────────────────────────── */
.projects { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.proj { grid-column: span 4; min-width: 0; }
.proj:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.proj:nth-child(2), .proj:nth-child(3) { grid-column: span 5; }
.proj:nth-child(n+4) { grid-column: span 3; }
.proj-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; height: 100%; min-height: 250px; padding: 20px 22px 22px;
  text-align: left; border-radius: var(--r); border: 1.5px solid var(--line-red); background: var(--char); overflow: hidden; isolation: isolate; --g-bg: var(--char);
  transition: transform .5s var(--ease-o), box-shadow .5s var(--ease-o), border-color .3s;
}
.proj-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); border-color: var(--red); }
.proj-img { position: absolute; inset: 0; z-index: -1; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: grayscale(1) contrast(1.1) brightness(.78); transition: transform 1.3s var(--ease-o), filter .7s; }
.proj-card:hover .proj-img img { transform: scale(1.1); filter: grayscale(0) brightness(.9); }
.proj-top { z-index: 2; }
/* Proyecto destacado: imagen completa arriba y texto debajo */
.proj:first-child .proj-card { justify-content: flex-start; }
.proj:first-child .proj-img { position: relative; inset: auto; z-index: 0; margin: -20px -22px 20px; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1.5px solid var(--line-red); }
.proj:first-child .proj-img img { filter: none; transform: scale(1.01); }
.proj:first-child .proj-card:hover .proj-img img { transform: scale(1.05); filter: none; }
.proj:first-child .proj-img::after { display: none; }
.proj-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 11, .1) 30%, rgba(11, 11, 11, .92)), linear-gradient(90deg, rgba(227, 18, 11, .35), transparent 50%); }
.proj-top { position: absolute; top: 18px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tag { padding: 7px 12px; border-radius: 999px; background: var(--red); color: var(--black); font: 700 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.proj-n { font: 700 11px var(--f-mono); letter-spacing: .14em; color: var(--ink); opacity: .7; }
.proj-open { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--black); transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .5s var(--ease-o), opacity .3s; }
.proj-open svg { font-size: 18px; }
.proj-card:hover .proj-open, .proj-card:focus-visible .proj-open { transform: none; opacity: 1; }
.proj-year { font: 700 11px var(--f-mono); letter-spacing: .14em; color: var(--red); }
.proj-title { margin-top: 6px; font-size: clamp(40px, 4.4vw, 72px); line-height: .88; font-style: italic; letter-spacing: -.02em; overflow-wrap: break-word; }
.proj:not(:first-child) .proj-title { font-size: clamp(24px, 2vw, 32px); font-style: normal; }
.proj-sum { margin-top: 10px; max-width: 46ch; font-size: 14.5px; color: #d6d3cd; }
.proj-g { position: absolute; z-index: -1; right: -8%; top: 12%; width: 56%; aspect-ratio: 1; color: var(--red); transition: transform 1s var(--ease-o); }
.proj-g svg { width: 100%; height: 100%; }
.proj-g.g-wide { right: -14%; top: 16%; width: 82%; aspect-ratio: 400 / 280; }
.proj-g.g-arcos { --g-fill: var(--red); right: -30%; width: 96%; aspect-ratio: 520 / 300; }
.proj-soon .proj-card { cursor: default; }
.proj-soon .proj-card:hover .proj-g { transform: rotate(-6deg) scale(1.05); }
.soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font: 700 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.soon::before { content: ""; width: 8px; height: 8px; background: var(--red); animation: blink 1.2s steps(2) infinite; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 5, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .35s both; }
.modal-box { position: relative; width: min(1180px, 100%); max-height: calc(100svh - 40px); overflow: auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; padding: 22px; border-radius: var(--r); border: 1.5px solid var(--red); background: var(--char); box-shadow: 10px 10px 0 var(--red); animation: pop .5s var(--ease-o) both; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--black); }
.m-gallery { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.m-stage { border-radius: var(--r-s); overflow: hidden; aspect-ratio: 16 / 10; background: #000; border: 1.5px solid var(--line-red); }
.m-stage img { width: 100%; height: 100%; object-fit: contain; animation: fade .45s both; }
.m-prev, .m-next { position: absolute; top: calc((100% - 74px) / 2); transform: translateY(-50%); background: rgba(11, 11, 11, .7); }
.m-prev { left: 12px; } .m-next { right: 12px; }
.m-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.m-thumbs button { flex: none; width: 96px; height: 60px; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--line); opacity: .5; transition: opacity .25s, border-color .25s; }
.m-thumbs button.on, .m-thumbs button:hover { opacity: 1; border-color: var(--red); }
.m-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.m-info { display: flex; flex-direction: column; gap: 14px; padding: 16px 8px 8px 0; }
.m-info h3 { font-size: clamp(42px, 4.4vw, 68px); line-height: .88; font-style: italic; letter-spacing: -.02em; }
.m-info > p:not(.sec-tag) { color: #c9c6c0; font-size: 15px; }
.m-meta { display: grid; grid-template-columns: 1fr auto; gap: 18px; margin: 4px 0 0; padding: 14px 0; border-block: 1px dashed var(--line-red); }
.m-meta dt { font: 700 10.5px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.m-meta dd { margin: 4px 0 0; font-size: 14px; }
.m-info .chips { margin-top: 0; color: var(--ink); }
.m-info .btn { align-self: flex-start; margin-top: auto; }
.m-info .btn[hidden] { display: none; }

/* ── Contacto ────────────────────────────────────────────────────────── */
.contact-poster {
  position: relative; min-height: clamp(420px, 44vw, 600px); padding: 22px 28px 34px; border-radius: 30px; overflow: hidden; isolation: isolate;
  background: var(--red); color: var(--black); --g-bg: var(--red); display: flex; flex-direction: column;
}
.contact-poster .card-top { position: relative; z-index: 2; }
.contact-poster .sec-tag { color: var(--black); margin-top: auto; }
.contact-big { position: relative; z-index: 2; margin-top: 12px; font-size: clamp(56px, 10.5vw, 170px); line-height: .82; font-style: italic; letter-spacing: -.035em; }
.contact-sub { position: relative; z-index: 2; margin-top: 18px; max-width: 34ch; font: 500 clamp(16px, 1.4vw, 20px)/1.4 var(--f-sans); }
.contact-target { position: absolute; z-index: -1; right: 18%; top: -8%; width: min(46%, 540px); aspect-ratio: 1; color: rgba(0, 0, 0, .14); }
.contact-target svg { width: 100%; height: 100%; }
.contact-char { position: absolute; z-index: 1; right: 4%; bottom: -3%; height: 92%; width: auto; filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, .9)); transition: transform .8s var(--ease-o); transform-origin: 50% 100%; }
.contact-poster:hover .contact-char { transform: rotate(-3deg) translateY(-6px); }

.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 30px; }
.social { display: flex; align-items: center; gap: 16px; padding: 20px 6px; border-bottom: 1.5px solid var(--line); transition: background .3s, color .3s, padding .45s var(--ease-o); }
.social > svg:first-child { font-size: 26px; color: var(--red); transition: transform .5s var(--ease-o), color .3s; }
.s-name { display: block; font: 900 22px/1 var(--f-display); font-stretch: 118%; font-variation-settings: "wdth" 118; text-transform: uppercase; letter-spacing: -.01em; }
.s-sub { display: block; margin-top: 5px; font: 400 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.s-go { margin-left: auto; font-size: 22px; opacity: .4; transition: transform .45s var(--ease-o), opacity .3s; }
a.social:hover { background: var(--red); color: var(--black); padding-inline: 18px; }
a.social:hover > svg:first-child { color: var(--black); transform: rotate(-12deg) scale(1.1); }
a.social:hover .s-sub { color: rgba(0, 0, 0, .7); }
a.social:hover .s-go { opacity: 1; transform: rotate(45deg); }
.social.off { opacity: .42; }
.social.off .s-go { display: none; }

/* ── Pie ─────────────────────────────────────────────────────────────── */
.footer { width: min(calc(100% - 2 * var(--pad)), var(--max)); margin: clamp(90px, 10vw, 150px) auto 0; padding-bottom: 100px; }
.foot-logo { font-size: 20vw; line-height: .8; font-style: italic; letter-spacing: -.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--red); text-align: center; user-select: none; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 11.5px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.foot-name { color: var(--ink); }

/* ── Flotantes ───────────────────────────────────────────────────────── */
.mini, .visits, .to-top, .toast { background: rgba(11, 11, 11, .92); border: 1.5px solid var(--line-red); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mini {
  position: fixed; z-index: 40; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 6px 14px 6px 6px; border-radius: 999px;
  transform: translateY(140%); opacity: 0; transition: transform .7s var(--ease-o), opacity .5s;
}
.mini.show { transform: none; opacity: 1; }
.mini-txt { display: flex; flex-direction: column; line-height: 1.15; }
.mini-txt b { font: 800 12.5px/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.mini-txt span { font: 400 10px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
.mini .eq { height: 14px; }
.mini .eq i { width: 3px; }
@keyframes eqs { 0%, 100% { height: 3px; } 50% { height: 14px; } }
.is-playing .mini .eq i { animation-name: eqs; }
.vol { display: flex; align-items: center; }
.vol input { -webkit-appearance: none; appearance: none; width: 84px; height: 4px; background: linear-gradient(90deg, var(--red) var(--v, 35%), rgba(242, 239, 233, .18) var(--v, 35%)); outline-offset: 6px; }
.vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 0; background: var(--ink); border: 0; transform: rotate(45deg); }
.vol input::-moz-range-thumb { width: 11px; height: 11px; border-radius: 0; background: var(--ink); border: 0; }

.visits { position: fixed; z-index: 40; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; font: 700 12.5px/1 var(--f-mono); font-variant-numeric: tabular-nums; }
.visits svg { font-size: 17px; color: var(--red); animation: look 7s ease-in-out infinite; }
@keyframes look { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.to-top { position: fixed; z-index: 40; right: 16px; bottom: 66px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .6s var(--ease-o), background .25s, color .25s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); color: var(--black); border-color: var(--red); }
.to-top svg { font-size: 17px; transition: transform .4s var(--ease-o); }
.to-top:hover svg { transform: translateY(-3px); }
.toast { position: fixed; z-index: 60; left: 50%; top: 86px; padding: 12px 18px; border-radius: 12px; font: 400 12px/1.4 var(--f-mono); letter-spacing: .04em; color: #d6d3cd; transform: translate(-50%, -16px); opacity: 0; pointer-events: none; transition: opacity .6s, transform .8s var(--ease-o); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--red); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav-links a { padding: 10px 9px; }
  .nav-links a::before { display: none; }
  .hero-art { width: 58%; right: -4%; }
  .hero-char { right: 8%; height: 76%; }
  .intro { width: min(520px, 50%); }
  .char-tag { display: none; }
  .bento {
    grid-template-areas:
      "about about about about about about about stats stats stats stats stats"
      "portrait portrait portrait portrait portrait music music music music music music music"
      "now now now now now now now now now now now now";
  }
  .music { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  html { scroll-padding-top: 72px; }
  .nav { height: 62px; }
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; top: 62px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px var(--pad) 18px;
    background: var(--black); border-bottom: 1.5px solid var(--red);
    opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .3s, transform .45s var(--ease-o);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 16px 4px; font: italic 900 26px/1 var(--f-display); font-stretch: 125%; font-variation-settings: "wdth" 125; border-bottom: 1px solid var(--line); }
  .nav-links a::before { display: inline; font: 700 12px var(--f-mono); vertical-align: 6px; }
  .nav-links a::after { display: none; }

  .hero { padding-top: 74px; }
  .hero-frame { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; padding: 64px 20px 26px; border-radius: 24px; }
  .hero-meta-top { top: 22px; left: 20px; }
  .hero-seal { width: 62px; height: 62px; top: 12px; right: 12px; }
  .hero-logo { position: relative; top: auto; left: auto; margin-top: 18px; text-align: center; }
  .hero-stage { position: relative; inset: auto; height: min(122vw, 660px); margin-top: -7vw; }
  .hero-art { right: 50%; translate: 62% 0; bottom: auto; top: 2%; width: min(112%, 600px); }
  .hero-char { right: 50%; translate: 56% 0; height: 90%; }
  .art-lens { left: -12%; right: -12%; }
  .intro { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 4px; }
  .hero-meta-bottom, .scroll-cue { display: none; }

  .mirada { grid-template-columns: minmax(0, 1fr); }
  .mirada-img { box-shadow: 8px 8px 0 var(--red); }
  .mirada-dots { bottom: -4%; width: 80vw; }

  .sec-head { grid-template-columns: auto minmax(0, 1fr); }
  .sec-note { grid-column: 1 / -1; text-align: left; max-width: none; margin-top: 14px; padding: 0; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "about" "stats" "portrait" "music" "now"; }
  .skills { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-feature { grid-column: 1 / -1; grid-row: auto; }
  .svc:last-child { grid-column: auto; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj, .proj:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .proj:nth-child(1) { grid-column: 1 / -1; }
  .proj:nth-child(1) .proj-card { min-height: 420px; }
  .modal-box { grid-template-columns: minmax(0, 1fr); box-shadow: 6px 6px 0 var(--red); }
  .m-info { padding: 0 4px 6px; }
  .contact-char { height: 62%; right: 2%; }
  .contact-poster { min-height: 520px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .brand-word { font-size: 18px; }
  .clock-city { display: none; }
  .hero-frame { padding: 58px 14px 20px; }
  .hero-meta-top .m-line:nth-of-type(2), .hero-meta-top span:last-child { display: none; }
  .intro-cta .btn { flex: 1 1 auto; justify-content: center; }
  .kicker { font-size: 11.5px; }
  .ticker span { font-size: 16px; }
  .sec-n { -webkit-text-stroke-width: 1.5px; font-size: 56px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head h2 { font-size: 7.6vw; }
  .contact-big { font-size: 11.5vw; }
  .contact-char { top: 46px; bottom: auto; height: 40%; right: 6%; }
  .card { padding: 18px 18px 22px; }
  .about-arcs { width: 220px; height: 130px; top: auto; bottom: -30px; right: -70px; opacity: .5; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { min-height: 96px; }
  .portrait { min-height: 260px; }
  .services, .projects, .socials { grid-template-columns: minmax(0, 1fr); }
  .svc { min-height: 0; }
  .svc h3 { margin-top: 12px; }
  .tool { grid-template-columns: 50px minmax(0, 1fr); padding: 10px 2px; gap: 12px; }
  .tool-badge { width: 50px; height: 50px; font-size: 17px; }
  .level { grid-column: 2; align-items: center; flex-direction: row-reverse; justify-content: flex-end; gap: 10px; min-width: 0; }
  .segs i { width: 24px; }
  .proj-card { min-height: 270px; }
  .proj:nth-child(1) .proj-card { min-height: 380px; }
  .contact-poster { min-height: 560px; padding: 18px 18px 26px; }
  .contact-big { margin-top: 0; }
  .mini { padding-right: 6px; gap: 8px; }
  .mini-txt, .vol { display: none; }
  .m-prev, .m-next { width: 38px; height: 38px; }
  .toast { top: auto; bottom: 70px; white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 32px); }
}

@media (hover: none) {
  .proj-open { opacity: 1; transform: none; }
  .proj-img img { filter: grayscale(.3) brightness(.82); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}
