/* KHEDEL — HOJA DE ESTILOS COMPLETA / LOGOS DE REDES 01 */
:root {
    --background: #050505;
    --text: #f5f5f5;
    --muted: #aaa;
    --line: rgba(255, 255, 255, 0.1);
    --header-height: 76px;
    --gutter: clamp(1.35rem, 6vw, 6rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { background: var(--background); color: var(--text); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: #fff; color: #050505; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.skip-link { position: fixed; z-index: 1100; top: 0.75rem; left: 1rem; padding: 0.75rem 1rem; color: #050505; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow, .section-label { color: var(--muted); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; }
.section-title { font-size: clamp(2.6rem, 5.5vw, 5.5rem); font-weight: 700; letter-spacing: -0.055em; line-height: 1; }
.section-index { color: #888; font-size: 0.7rem; letter-spacing: 0.15em; flex: 0 0 auto; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.section-heading .section-title { margin-top: 1.6rem; }

/* Encabezado: el logo mantiene su proporcion dentro de una caja de 44px. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-height); padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); background: rgba(4, 4, 4, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-logo { width: 126px; height: 44px; display: flex; align-items: center; flex: 0 0 auto; overflow: hidden; }
.header-logo img { width: 100%; height: auto; flex: 0 0 auto; }
.navigation { display: flex; align-items: center; gap: 2rem; }
.navigation a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem; color: #ccc; font-size: 0.75rem; letter-spacing: 0.07em; text-decoration: none; text-transform: uppercase; }
.navigation a:hover { color: #fff; }
.nav-contact { border-bottom: 1px solid rgba(255, 255, 255, 0.65); }

/* Portada: publico en escritorio, retrato de estudio en movil. */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; align-items: flex-end; overflow: hidden; }
.hero-picture, .hero-overlay { position: absolute; inset: 0; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.32) 55%, rgba(0,0,0,0.08) 100%), linear-gradient(0deg, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.08) 70%); }
.hero-content { position: relative; z-index: 1; width: min(1440px, 100%); padding: 140px var(--gutter) 8vh; }
.hero-title { margin-top: 1.1rem; font-size: clamp(6rem, 15vw, 13rem); font-weight: 800; letter-spacing: -0.065em; line-height: 0.9; }
.hero-footer { margin-top: 3rem; display: flex; align-items: flex-end; gap: clamp(2rem, 6vw, 6rem); }
.hero-message { font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.08; }
.hero-actions { display: flex; gap: 0.8rem; }
.button { min-width: 130px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0.9rem 1.35rem; border: 1px solid rgba(255,255,255,0.55); font-size: 0.72rem; letter-spacing: 0.09em; text-decoration: none; text-transform: uppercase; }
.button-primary { background: #fff; color: #050505; }
.button-outline { background: rgba(0,0,0,0.3); }
.button-primary:hover { background: #e5e5e5; }
.button-outline:hover { border-color: #fff; background: rgba(0,0,0,0.6); }
.scroll-hint { position: absolute; right: var(--gutter); bottom: 6vh; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; color: #bbb; font-size: 0.58rem; letter-spacing: 0.25em; text-decoration: none; }
.scroll-hint i { display: block; width: 1px; height: 42px; background: rgba(255,255,255,0.45); }

/* Biografia: esta foto no se repite en la portada ni en la galeria. */
.bio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 620px; border-top: 1px solid var(--line); }
.bio-photo { position: relative; min-width: 0; overflow: hidden; }
.bio-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.bio-content { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 4.5rem clamp(2rem, 5vw, 5rem); }
.bio-content .section-index { position: absolute; top: 2rem; right: 2rem; }
.bio-content .section-title { max-width: 15ch; margin: 1.5rem 0 2rem; font-size: clamp(2.6rem, 4.3vw, 4rem); line-height: 1.02; }
.bio-text { display: grid; gap: 1.25rem; max-width: 42ch; color: var(--muted); line-height: 1.65; }

.venues { border-top: 1px solid var(--line); }
.venues-inner { padding: 6rem var(--gutter); }
.venue-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.3rem 2.5rem; max-width: 1200px; margin-top: 3rem; list-style: none; }
.venue-list li { color: #aaa; font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: 0.04em; }

/* Un solo reproductor con la lista de mixes del perfil de SoundCloud. */
.mixes { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: 6rem var(--gutter); border-top: 1px solid var(--line); }
.mixes-intro, .mixes-player { min-width: 0; }
.mixes-intro .section-title { margin-top: 1.6rem; font-size: clamp(2.8rem, 5vw, 5.5rem); }
.mixes-description { max-width: 33ch; margin-top: 1.75rem; color: var(--muted); line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; margin-top: 1.5rem; font-size: 0.88rem; text-underline-offset: 0.3em; }
.player-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; color: #aaa; font-size: 0.65rem; letter-spacing: 0.15em; }
.mixes-player iframe { display: block; width: 100%; height: 360px; border: 0; background: #eee; }
.player-fallback { margin-top: 0.9rem; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }
.player-fallback a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-underline-offset: 0.25em; }

/* Galeria: una vista horizontal y tres tomas verticales. */
.media { padding: 6rem var(--gutter); border-top: 1px solid var(--line); background: #090909; }
.media-heading { margin-bottom: 2.5rem; }
.media-heading .section-title { max-width: 16ch; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }
.media-card { min-width: 0; }
.media-wide { grid-column: 1 / -1; }
.photo-link { display: block; position: relative; aspect-ratio: 4 / 5; background: #111; text-decoration: none; }
.photo-link img { width: 100%; height: 100%; object-fit: cover; }
.media-wide .photo-link { aspect-ratio: 16 / 9; }
.media-wide img { object-position: 50% 52%; }
.media-halloween img { object-position: 50% 68%; }
.media-crowd img { object-position: 50% 56%; }
.media-mixing img { object-position: 50% 80%; }
.photo-open { position: absolute; right: 0.75rem; bottom: 0.75rem; width: 36px; height: 36px; display: grid; place-items: center; background: rgba(0,0,0,0.68); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 1.15rem; }
.photo-link:hover .photo-open { background: #fff; color: #050505; }
.media-card figcaption { margin-top: 0.8rem; color: #aaa; font-size: 0.85rem; }
.media-note { max-width: 54ch; margin-top: 2rem; color: var(--muted); }

.contact { padding: 6rem var(--gutter); border-top: 1px solid var(--line); }
.contact-title { margin: 1.8rem 0 3rem; font-size: clamp(4rem, 10vw, 9rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.98; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0.2rem; border-bottom: 1px solid rgba(255,255,255,0.65); font-size: clamp(1.5rem, 3vw, 2.7rem); text-decoration: none; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
.button-whatsapp { gap: 0.9rem; background: #25d366; color: #052510; border-color: #25d366; font-weight: 700; }
.button-whatsapp:hover { background: #5be68f; border-color: #5be68f; }
.contact-types { margin-top: 1.5rem; color: #aaa; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.social-block { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.social-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; list-style: none; }
.social-links li { min-width: 0; }
.social-links a { --social-accent: #fff; min-height: 88px; display: grid; grid-template-columns: 40px minmax(0, 1fr) 16px; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid rgba(255,255,255,0.2); text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease; }
.social-links a:hover, .social-links a:focus-visible { border-color: var(--social-accent); background: #111; }
.social-links .social-instagram { --social-accent: #e4405f; }
.social-links .social-soundcloud { --social-accent: #ff5500; }
.social-links .social-spotify { --social-accent: #1ed760; }
.social-icon { display: grid; place-items: center; width: 40px; height: 40px; color: var(--social-accent); }
.social-icon svg { display: block; width: 30px; height: 30px; }
.social-soundcloud .social-icon svg { width: 36px; height: 36px; }
.social-copy { min-width: 0; }
.social-arrow { color: #aaa; font-size: 1.1rem; }
.social-links a:hover .social-arrow, .social-links a:focus-visible .social-arrow { color: var(--social-accent); }
.social-links strong { display: block; font-size: 1rem; font-weight: 500; }
.social-links small { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.75rem; }
.footer { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem var(--gutter); border-top: 1px solid var(--line); color: #999; font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }

@media (max-width: 1200px) {
    .scroll-hint { display: none; }
}

/* Los logos y nombres conservan espacio suficiente en pantallas medianas. */
@media (max-width: 1100px) {
    .social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tableta y movil: composicion vertical y tipografia que cabe completa. */
@media (max-width: 900px) {
    :root { --header-height: 66px; --gutter: 1.35rem; }
    .header-logo { width: 104px; }
    .navigation { gap: 0.75rem; }
    .hero { min-height: max(44rem, 100svh); }
    .hero-picture img { object-position: 52% 30%; }
    .hero-overlay { background: linear-gradient(0deg, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.25) 48%, rgba(0,0,0,0.05) 75%); }
    .hero-content { padding: 100px var(--gutter) 3rem; }
    .hero-title { margin-top: 0.75rem; font-size: clamp(3rem, 19vw, 8rem); letter-spacing: -0.07em; }
    .hero-footer { display: block; margin-top: 2rem; }
    .hero-message { font-size: clamp(1.5rem, 6.5vw, 2rem); }
    .hero-actions { margin-top: 1.5rem; }
    .bio { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .bio-photo { aspect-ratio: 4 / 3; max-height: 560px; }
    .bio-photo img { object-position: 50% 38%; }
    .bio-content { padding: 4rem var(--gutter); }
    .bio-content .section-index { top: 1.75rem; right: var(--gutter); }
    .section-title, .bio-content .section-title { font-size: clamp(2.4rem, 10.5vw, 4.5rem); line-height: 1.02; }
    .venues-inner, .mixes, .media, .contact { padding: 4rem var(--gutter); }
    .mixes { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .mixes-intro .section-title { font-size: clamp(2.4rem, 10.5vw, 4.5rem); }
    .mixes-description { max-width: 42ch; }
    .venue-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; margin-top: 2rem; }
    .venue-list li { font-size: 1rem; }
    .media-heading .section-title { max-width: 15ch; }
    .contact-title { font-size: clamp(2.5rem, 14vw, 6rem); }
    .footer { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
}

@media (max-width: 600px) {
    .social-links { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
    .social-links a { min-height: 76px; }
    .media-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .media-wide .photo-link { aspect-ratio: 3 / 2; }
}

@media (max-width: 520px) {
    .site-header { gap: 0.35rem; }
    .eyebrow, .section-label { font-size: 0.62rem; letter-spacing: 0.25em; }
    .hero-picture img { object-position: 52% 50%; }
    .hero-actions { flex-direction: column; width: 100%; }
    .button { width: 100%; }
    .contact-email { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
