/* ==========================================================================
   BYMONOLOG INSP. LANDING PAGE — COLECTIVO DOBLE CARA
   - CSS Scroll Snap Slides (100svh exact viewport per slide)
   - Slide 1: Hero (37deg tiled heads Step & Repeat + bymonolog texture)
   - Slide 2: Espacio 1 (Texto y descripción corta editorial)
   - Slide 3: Espacio 2 (8 paneles blancos con | negras que crecen a morado en hover)
   - Invisible floating header with 3 text zones
   ========================================================================== */

:root {
  --swatch--black-400: #080807;
  --swatch--black-300: #1a1917;
  --swatch--black-200: #2b2926;
  --swatch--beige-100: #e8e8e3;
  --swatch--beige-200: #d1d1c7;
  --swatch--beige-400: #a3a097;
  --swatch--black-50: #66635d;
  --swatch--card-bg: #181715;

  /* Vibrant editorial purple for the expanding rectangles */
  --color-purple-hover: #6d28d9;
  --color-purple-deep: #5b21b6;

  --site--margin: clamp(1rem, 2.5vw, 2.25rem);
  --brand-title-size: clamp(2.8rem, 8.5vw, 8rem);
  --brand-title-top: calc(var(--site--margin) + 24px);
  --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'Suisse Mono', monospace;

  --animation-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --------------------------------------------------------------------------
   0. CSS Scroll Snap Configuration (Full Diapositivas)
   -------------------------------------------------------------------------- */
html {
  width: 100%;
  height: 100%;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overflow-y: scroll;
  overflow-x: hidden;
  background-color: var(--swatch--black-400);
  color: var(--swatch--beige-100);
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: 100%;
  overflow: visible;
  position: relative;
  background-color: var(--swatch--black-400);
}

.page_main {
  width: 100%;
  display: block;
}

/* Base Full-Viewport Slide */
.slide_section {
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
}

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

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.u-mono {
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   1. Bymonolog Film Grain Overlay (.g_overlay & .g_grain_overlay.u-grain-animate)
   -------------------------------------------------------------------------- */
.g_overlay {
  z-index: 999999999;
  pointer-events: none;
  position: fixed;
  inset: 0%;
}

.g_grain_overlay {
  z-index: 2147483647;
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: screen;
  background-image: url('assets/monolog-texture.png');
  background-size: 180px 180px;
  background-attachment: fixed;
  background-repeat: repeat;
  width: 200%;
  height: 200vh;
  position: fixed;
  inset: -50% 0% 0% -50%;
  will-change: transform;
}

.u-grain-animate {
  animation: grain-animation 0.45s steps(6) infinite;
}

@keyframes grain-animation {

  0%,
  100% {
    transform: translate(0, 0);
  }

  17% {
    transform: translate(-5%, -10%);
  }

  33% {
    transform: translate(3%, -15%);
  }

  50% {
    transform: translate(12%, 9%);
  }

  67% {
    transform: translate(9%, 4%);
  }

  83% {
    transform: translate(-1%, 7%);
  }
}

/* --------------------------------------------------------------------------
   2. Header: Invisible Background (.navbar_wrap) with smart difference blend
   -------------------------------------------------------------------------- */
.navbar_wrap {
  z-index: 999;
  width: 100%;
  padding: var(--site--margin);
  position: fixed;
  inset: 0% 0% auto;
  pointer-events: none;
  background-color: transparent;
}

.navbar_contain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  mix-blend-mode: difference;
  /* Automatically adapts to dark and white backgrounds */
}

/* 2.1 Left: Brand Logo */
.navbar_left_contain {
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.navbar_home {
  display: flex;
  align-items: center;
  position: relative;
}

.navbar_home_logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.navbar_home:hover .navbar_home_logo {
  opacity: 0.75;
}

/* 2.2 Center: Nav links with bymonolog (SOON) tags */
.navbar_links {
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.navbar_links_ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.navbar_links_li {
  display: flex;
  position: relative;
}

.navbar_link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}

.navbar_span.is-soon {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--swatch--beige-400);
  transition: color 0.25s ease;
}

/* Subrayado interactivo: parte desde el medio hacia los laterales */
.navbar_link::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.45s var(--animation-expo-out);
}

.navbar_link:hover::before,
.navbar_link:focus-visible::before {
  transform: scaleX(1);
  transform-origin: center;
}

/* 2.3 Right: Sound btn, CTA pill, Menu btn */
.navbar_cta_wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
}

/* Sound Button */
.navbar_left_sound_wrap {
  display: flex;
  align-items: center;
}

.navbar_left_sound_btn {
  width: 2.35rem;
  height: 2.35rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.navbar_left_sound_container {
  border-radius: 4px;
  background-color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.navbar_left_sound_svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #ffffff;
}

.navbar_path_curve {
  transition: opacity 0.3s ease;
}

.navbar_left_sound_btn:not(.is-playing) .navbar_path_curve {
  opacity: 0.25;
}

.navbar_left_sound_btn.is-playing .navbar_left_sound_container {
  background-color: #222222;
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar_left_sound_btn.is-playing .curve-1 {
  animation: pulse-sound 0.8s infinite alternate ease-in-out;
}

.navbar_left_sound_btn.is-playing .curve-2 {
  animation: pulse-sound 0.8s infinite alternate ease-in-out 0.3s;
}

@keyframes pulse-sound {
  0% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

/* CTA Rectangular Button (g_btn_main) */
.navbar_cta_contain {
  display: flex;
}

.g_btn_main {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.35rem 0.35rem 0.75rem;
  border-radius: 4px; /* Rectangular con esquinas ligeramente redondeadas */
  background-color: #e5e5e3; /* Fondo claro/beige suave del botón */
  color: #000000;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.g_btn_main:hover {
  background-color: #ffffff;
  opacity: 1;
}

.g_btn_main:active {
  transform: scale(0.97);
}

.g_btn_text_contain {
  position: relative;
  overflow: hidden;
  height: 1.25em;
  line-height: 1.25em;
  display: flex;
  align-items: center;
}

.g_btn_text {
  display: block;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: #000000;
  transition: transform 0.4s var(--animation-expo-out);
}

.g_btn_main:hover .g_btn_text {
  transform: translateY(-1.25em);
  text-shadow: 0px 1.25em 0px #000000;
}

/* Contenedor del ícono cuadrado negro */
.g_btn_aside_wrap {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 3px; /* Cuadrado con bordes suaves */
  background-color: #0d0d0c; /* Cuadrado negro interior */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.g_btn_aside_bg {
  display: none; /* No se necesita fondo circular extra */
}

.g_btn_svg {
  width: 0.7rem;
  height: 0.7rem;
  color: #ffffff; /* Flecha blanca */
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--animation-expo-out);
}

.g_btn_svg.is-absolute {
  position: absolute;
  transform: translate(-100%, 100%);
}

.g_btn_main:hover .g_btn_svg:not(.is-absolute) {
  transform: translate(100%, -100%);
}

.g_btn_main:hover .g_btn_svg.is-absolute {
  transform: translate(0, 0);
}

/* Menu Button */
.navbar_menu_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.35rem;
  padding: 0 1rem;
  border-radius: 100vw;
  background-color: transparent;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.navbar_menu_btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar_menu_span-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2em;
}

.navbar_menu_span {
  display: block;
  transition: transform 0.35s var(--animation-expo-out);
}

.navbar_menu_span.is-close {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
}

.navbar_menu_btn.is-open .navbar_menu_span {
  transform: translateY(-100%);
}

.navbar_menu_btn.is-open .navbar_menu_span.is-close {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   3. CONTINUOUS HERO BACKGROUND (Spans Slide 1 & Slide 2 seamlessly)
   -------------------------------------------------------------------------- */
.hero_continuous_bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--swatch--black-400);
}

/* Rotated at -37 degrees so movement flows down from left to right */
.hero_tiled_wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300vw;
  height: 300vh;
  transform: translate(-50%, -50%) rotate(-37deg);
  pointer-events: none;
  overflow: hidden;
}

.hero_tiled_heads {
  width: 100%;
  height: 100%;
  /* Tiled background using background-repeat: repeat with larger heads */
  background-image: url('assets/head-tile-large.png');
  background-repeat: repeat;
  background-size: 220px 220px;
  opacity: 0.22;
  mix-blend-mode: screen;
  will-change: background-position;
  /* Uniform, slow, subtle downward scrolling from left to right */
  animation: tiled-scroll-diagonal 48s linear infinite;
}

/* 2200px is an exact integer multiple of 220px (10 tiles) -> 100% seamless loop */
@keyframes tiled-scroll-diagonal {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 2200px;
  }
}

/* Texture placed directly on top of the entire Step and Repeat of the logo */
.hero_step_repeat_texture {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url('assets/monolog-texture.png');
  background-repeat: repeat;
  background-size: 160px 160px;
  background-attachment: fixed;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  animation: grain-animation 0.45s steps(6) infinite;
}

/* --------------------------------------------------------------------------
   3.1 Dual Hero Wrapper (Slide 1 & Slide 2 with shared DOBLE CARA)
   -------------------------------------------------------------------------- */
.hero_dual_wrapper {
  display: block;
  position: relative;
  width: 100%;
}

/* DIAPOSITIVA 1: HERO SECTION */
.hero_home_wrap {
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  padding: var(--site--margin);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  /* Transparent so continuous background shows */
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Bottom Gradient on Slide 1 */
.hero_home_gradient {
  background-image: linear-gradient(180deg, rgba(8, 8, 7, 0) 0%, rgba(8, 8, 7, 0.7) 100%);
  height: 140px;
  position: absolute;
  inset: auto 0% 0%;
  z-index: 1;
  pointer-events: none;
}

/* Hero Content Container (.hero_home_contain) */
.hero_home_contain {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--site--margin) + 30px);
  /* Leaves clean clearance for the big DOBLE CARA sitting at the bottom of Slide 1 */
  padding-bottom: calc(var(--brand-title-size) * 0.85 + var(--site--margin) + 16px);
}

.hero_home_main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero_home_content {
  margin: auto 0;
  max-width: 680px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0;
}

.hero_home_content_svg {
  max-width: 3.2rem;
  margin-bottom: 2rem;
  color: var(--swatch--beige-100);
  opacity: 0.85;
}

.hero_home_content_p {
  font-size: clamp(1.5rem, 2.64vw, 1.92rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--swatch--beige-100);
  text-wrap: balance;
}

.hero_stat_num {
  color: #9f3ea6;
  /* Mismo morado de .hero_triangle */
  font-weight: 700;
}

.hero_social {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.hero_social_link {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero_social_link:hover,
.hero_social_link:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.hero_social li {
  position: relative;
}

.hero_social_toast {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translate(-50%, -4px);
  white-space: nowrap;
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero_social_toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero_social_link svg {
  width: 100%;
  height: 100%;
}

.hero_triangle_wrap {
  white-space: nowrap;
  display: inline;
}

.hero_triangle {
  display: inline-block;
  vertical-align: 0.02em;
  width: 0.66em;
  height: 0.78em;
  color: #9f3ea6;
  /* Morado exacto del diseño de referencia */
  fill: currentColor;
  flex-shrink: 0;
  line-height: 1;
}

.hero_triangle--start {
  margin-right: 0.42em;
}

.hero_triangle--end {
  margin-left: 0.42em;
}

/* --------------------------------------------------------------------------
   3.2 Encabezado DOBLE CARA de la diapo 2
   - Vive dentro de la diapo 2, arriba (top: --brand-title-top)
   - La diapo 2 se superpone al fondo de la diapo 1 (margin-top negativo en
     .slide_statement), así el título asoma abajo en la diapo 1 y sube
     rígido junto con la diapo 2, sin deslizarse por su cuenta
   -------------------------------------------------------------------------- */
.statement_brand {
  position: absolute;
  top: var(--brand-title-top);
  left: 0;
  right: 0;
  z-index: 15;
  pointer-events: none;
  user-select: none;
}

.hero_home_brand_text {
  font-family: var(--font-primary);
  font-size: var(--brand-title-size);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  color: var(--swatch--beige-100);
  opacity: 0.95;
  text-transform: uppercase;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.8);
}

/* --------------------------------------------------------------------------
   4. DIAPOSITIVA 2: ESPACIO 1 (Texto, Descripción Corta) — Exactly 100svh
   - Continues the hero background
   - Clears space below the sticky DOBLE CARA at the top of Slide 2
   -------------------------------------------------------------------------- */
.slide_statement {
  /* Sube la diapo 2 para que su encabezado quede justo al fondo de la diapo 1
     (misma posición que reserva el padding-bottom de .hero_home_contain) */
  margin-top: calc(-1 * (var(--brand-title-size) * 0.85 + var(--site--margin) + 12px + var(--brand-title-top)));
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  background-color: transparent;
  /* Transparent so continuous hero background continues */
  padding: 0 var(--site--margin);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  border-top: none;
  overflow: hidden;
}

.statement_contain {
  width: 100%;
  max-width: min(96vw, 1720px);
  /* Expansión horizontal máxima */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  /* Espacio superior para despejar el header flotante DOBLE CARA */
  padding-top: calc(var(--brand-title-top) + var(--brand-title-size) * 0.85 + 20px);
  padding-bottom: clamp(1rem, 2.5vh, 2.5rem);
}

/* Grilla de 2 columnas: Tríptico de 3 Imágenes Amplio (Izq) + Manifiesto (Der) */
.statement_grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  /* Mayor proporción horizontal para las fotos */
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  width: 100%;
  margin: 0;
}

/* Imagen única sin marco ni descriptores */
.statement_gallery {
  display: grid;
  height: clamp(380px, 64vh, 680px);
  /* Altura expandida para mayor presencia visual */
  width: 100%;
  overflow: hidden;
}

.statement_media {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #121211;
  border: none;
  border-radius: 0;
}

.statement_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.4s ease;
}

.statement_media:hover img {
  filter: grayscale(0%) contrast(1.1);
}

/* Degradado inferior + leyenda al pasar el mouse */
.statement_media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 32%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.statement_media figcaption {
  position: absolute;
  left: clamp(0.9rem, 2vw, 1.5rem);
  bottom: clamp(0.8rem, 1.8vw, 1.3rem);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.statement_media:hover::after,
.statement_media:hover figcaption {
  opacity: 1;
}

.statement_media:hover figcaption {
  transform: translateY(0);
}

/* Columna de texto */
.statement_body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.statement_title {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 2.7vw, 3.2rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--swatch--beige-100);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.statement_desc {
  font-size: clamp(0.95rem, 1.2vw, 1.22rem);
  font-weight: 400;
  color: var(--swatch--beige-200);
  line-height: 1.62;
  max-width: 100%;
  /* Permite que el texto se expanda horizontalmente */
  text-wrap: pretty;
}

/* Línea en blanco entre párrafos del manifiesto */
.statement_desc + .statement_desc {
  margin-top: 1em;
}

/* --------------------------------------------------------------------------
   5. DIAPOSITIVA 3: ESPACIO 2 (8 Cuadrados pegados con | negras que crecen en morado)
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   5. DIAPOSITIVA 3: CUADRÍCULA 4x2 (8 Cuadrados que parten la pantalla)
   - 2 filas de 4 cuadrados que llenan la pantalla completa (100svh)
   - Pegados el uno al otro, separados por líneas negras |
   - De color blanco por defecto
   - Al pasar el mouse, crecen en rectángulos morados y usan más espacio
   -------------------------------------------------------------------------- */
.slide_accordion {
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  background-color: #000000;
  position: relative;
  z-index: 25;
  overflow: hidden;
}

.split_grid_4x2 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  gap: 0;
}

.split_grid_row {
  flex: 1;
  height: 50%;
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
  gap: 0;
  border-bottom: 1.5px solid #000000;
}

.split_grid_row:last-child {
  border-bottom: none;
}

/* Cada uno de los 4 cuadrados en cada fila: Blanco por defecto, separado por | negra */
.split_col {
  flex: 1;
  height: 100%;
  background-color: #ffffff;
  color: #000000;
  border-right: 1.5px solid #000000;
  margin: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: flex 0.6s var(--animation-expo-out),
    background-color 0.45s ease,
    color 0.3s ease;
  user-select: none;
}

.split_col:last-child {
  border-right: none;
}

.split_col_inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1rem, 2.2vw, 2.2rem);
  position: relative;
  z-index: 1;
}

/* Despeje en la fila superior para la barra de navegación flotante */
.split_grid_row:first-child .split_col_inner {
  padding-top: calc(var(--site--margin) + 40px);
}

.split_col_top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
}

/* Espacio 1:1 para imagen: ocupa el hueco libre entre la flecha y el título
   sin cambiar el tamaño del cuadro (el cuadrado se ajusta al lado más corto) */
.split_col_media {
  flex: 1;
  min-height: 0;
  width: 100%;
  container-type: size;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 0;
}

.split_media_frame {
  width: min(100cqw, 100cqh);
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border: 1.5px dashed currentColor;
  opacity: 0.25;
  transition: opacity 0.3s ease;
}

.split_media_frame:has(img) {
  border: none;
  opacity: 1;
}

.split_media_frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split_col_bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  margin-top: auto;
}

.split_tag {
  font-size: clamp(0.65rem, 0.85vw, 0.78rem);
  letter-spacing: 0.08em;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: opacity 0.35s ease, max-height 0.4s ease, transform 0.4s var(--animation-expo-out);
}

.split_title {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 2.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  white-space: nowrap;
  transition: transform 0.4s var(--animation-expo-out);
}

.split_desc {
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  font-weight: 400;
  line-height: 1.4;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  max-width: 340px;
  transform: translateY(8px);
  transition: opacity 0.35s ease, max-height 0.4s ease, transform 0.4s var(--animation-expo-out);
}

.split_arrow {
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  font-weight: 600;
  opacity: 0.6;
  transition: transform 0.45s var(--animation-expo-out), opacity 0.3s ease;
}

/* ==========================================================================
   ESTADO EXPANDIDO (.is-expanded): Crece SOLO al hacer click
   Al pasar el mouse NO se agranda. Solo interacción y cursor sutil.
   ========================================================================== */
.split_col:hover:not(.is-expanded) {
  background-color: #f7f7f5;
}

.split_col:hover:not(.is-expanded) .split_arrow {
  opacity: 0.9;
  transform: translate(2px, -2px);
}

.split_col:focus-visible {
  outline: 2px solid var(--color-purple-hover);
  outline-offset: -2px;
}

.split_col.is-expanded {
  flex: 2.6;
  /* Crece en ancho a un rectángulo morado amplio con un click */
  background-color: var(--color-purple-hover);
  /* #6d28d9 */
  color: #ffffff;
  z-index: 2;
}

.split_col.is-expanded .split_tag {
  opacity: 0.85;
  max-height: 24px;
  transform: translateY(0);
  margin-bottom: 0.25rem;
}

.split_col.is-expanded .split_title {
  transform: translateX(4px);
}

/* Ícono de Spotify junto al nombre: solo visible con el cuadro abierto */
.split_spotify {
  display: none;
  width: max(0.55em, 14px);
  height: max(0.55em, 14px);
  margin-left: 0.3em;
  vertical-align: 0.08em;
  color: #ffffff;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.split_spotify svg {
  display: block;
  width: 100%;
  height: 100%;
}

.split_col.is-expanded .split_spotify {
  display: inline-block;
}

.split_spotify:hover,
.split_spotify:focus-visible {
  opacity: 1;
  transform: scale(1.1);
}

/* Título corto por defecto; versión larga al expandir */
.split_title_long {
  display: none;
}

.split_col.is-expanded .split_title_short {
  display: none;
}

.split_col.is-expanded .split_title_long {
  display: inline;
}

/* Los nombres pueden bajar de línea (máx. 2, el tamaño lo ajusta script.js) */
.split_col.is-expanded .split_title {
  white-space: normal;
  padding-right: 8px;
}

.split_col.is-expanded .split_desc {
  opacity: 0.92;
  max-height: 80px;
  transform: translateY(0);
  margin-top: 0.35rem;
}

.split_col.is-expanded .split_arrow {
  opacity: 1;
  transform: translate(4px, -4px);
}

/* --------------------------------------------------------------------------
   6. Menu Drawer (.menu_wrap) — Exact Bymonolog Modal
   -------------------------------------------------------------------------- */
.menu_wrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  background-color: rgba(8, 8, 7, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu_wrap.is-open {
  visibility: visible;
  opacity: 1;
}

.menu_contain {
  width: 100%;
  max-width: 800px;
  padding: var(--site--margin);
}

.menu_contain_nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer_nav_li {
  display: block;
}

.footer_nav_text {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--swatch--beige-100);
  transition: transform 0.4s var(--animation-expo-out), color 0.3s ease;
}

.footer_nav_span.is-arrow {
  font-size: 0.7em;
  opacity: 0;
  transform: translateX(-15px);
  transition: transform 0.4s var(--animation-expo-out), opacity 0.3s ease;
}

.footer_nav_text:hover {
  transform: translateX(12px);
  color: #ffffff;
}

.footer_nav_text:hover .footer_nav_span.is-arrow {
  opacity: 1;
  transform: translateX(0);
}

.menu_overlay_close {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   7. Responsive Styles
   -------------------------------------------------------------------------- */
@media screen and (max-width: 991px) {
  .navbar_links {
    display: none;
  }

  .statement_grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .statement_gallery {
    height: clamp(280px, 44vh, 400px);
  }

  .statement_title {
    font-size: clamp(1.35rem, 3.2vw, 2.1rem);
    margin-bottom: 0.6rem;
  }

  .statement_desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero_tiled_heads {
    background-size: 160px 160px;
    animation: tiled-scroll-diagonal-mobile 42s linear infinite;
  }

  @keyframes tiled-scroll-diagonal-mobile {
    0% {
      background-position: 0 0;
    }

    100% {
      background-position: 0 1600px;
    }
  }

  .split_col_inner {
    padding: clamp(0.75rem, 1.5vw, 1.5rem);
  }

  .split_title {
    font-size: clamp(1.2rem, 2.2vw, 2rem);
  }
}

@media screen and (max-width: 767px) {
  :root {
    --brand-title-size: clamp(2.2rem, 11vw, 4.5rem);
  }

  .g_btn_main {
    padding: 0.35rem 0.45rem 0.35rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero_home_content_p {
    font-size: 1.38rem;
  }

  .statement_contain {
    padding-top: calc(var(--brand-title-top) + var(--brand-title-size) * 0.85 + 14px);
    padding-bottom: 0.75rem;
  }

  .statement_grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .statement_gallery {
    height: clamp(210px, 32vh, 270px);
  }

  .statement_title {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
    line-height: 1.2;
  }

  .statement_desc {
    font-size: 0.88rem;
    line-height: 1.4;
    display: block;
  }

  /* Cuadrícula en móviles: 2 columnas x 4 filas = 8 cuadrados perfectos */
  .split_grid_4x2 {
    display: flex;
    flex-direction: column;
  }

  .split_grid_row {
    height: 50%;
    flex-wrap: wrap;
    border-bottom: none;
  }

  .split_col {
    flex: 0 0 50%;
    height: 50%;
    border-right: 1.5px solid #000000;
    border-bottom: 1.5px solid #000000;
  }

  .split_col:nth-child(2n) {
    border-right: none;
  }

  .split_col:hover:not(.is-expanded) {
    background-color: #f7f7f5;
  }

  .split_col.is-expanded {
    /* En móvil no crece: evita que herede flex: 2.6 y se colapse a ancho 0 */
    flex: 0 0 50%;
    background-color: var(--color-purple-hover);
    color: #ffffff;
  }

  .split_col.is-expanded .split_tag {
    opacity: 0.85;
    max-height: 24px;
    transform: translateY(0);
    margin-bottom: 0.2rem;
  }

  .split_col.is-expanded .split_desc {
    display: block;
    max-height: 60px;
    opacity: 0.92;
    transform: translateY(0);
    font-size: 0.75rem;
    line-height: 1.25;
    margin-top: 0.25rem;
  }

  .split_col_inner {
    padding: 0.75rem;
  }

  /* Sin flecha en móvil: la portada usa ese espacio */
  .split_col_top {
    display: none;
  }

  .split_col_media {
    padding: 0 0 0.5rem;
  }

  /* En móvil solo la primera fila visual (paneles 1 y 2) despeja el navbar */
  .split_grid_row:first-child .split_col_inner {
    padding-top: 0.75rem;
  }

  .split_grid_row:first-child .split_col:nth-child(-n+2) .split_col_inner {
    padding-top: calc(var(--site--margin) + 36px);
  }

  .split_title {
    font-size: 1.25rem;
  }

  .split_desc {
    display: none;
  }
}