/* One floating navigation layer: white ink inverts against the actual scene. */
header.piloko-adaptive-nav {
  --nav-ink: #fff;
  color: var(--nav-ink) !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  mix-blend-mode: difference;
  isolation: auto;
  pointer-events: none;
}
header.piloko-adaptive-nav :is(a, button, .umbral-now) {
  color: var(--nav-ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
header.piloko-adaptive-nav :is(a, button) { pointer-events: auto; }
header.piloko-adaptive-nav a { border-color: currentColor !important; }
/* Fer's continuously lit green room needs dark ink rather than a colour inverse. */
header.room-site-header.piloko-adaptive-nav {
  --nav-ink: #111;
  mix-blend-mode: normal;
}
header.piloko-adaptive-nav :is(a:hover, a[aria-current]) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
header.piloko-adaptive-nav .umbral-trigger {
  border: 1px solid currentColor !important;
  border-radius: 3px;
}
header.piloko-adaptive-nav :is(.umbral-trigger:hover, .umbral-trigger[aria-pressed="true"]) {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}
header.piloko-adaptive-nav :is(a, button):focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 4px;
}
header.piloko-adaptive-nav .sep { background: currentColor !important; }
/* David, 2026-11-01: el logo es siempre rojo. El original queda invisible dentro de la capa
   invertida (sigue siendo el enlace) y navigation.js lo dibuja encima con una copia fija en rojo. */
header.piloko-adaptive-nav :is(.brand, .piloko-wordmark).piloko-brand-ghost,
header.piloko-adaptive-nav :is(.brand, .piloko-wordmark).piloko-brand-ghost * { color: transparent !important; }
.piloko-brand-red {
  position: fixed;
  box-sizing: border-box;
  margin: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  text-decoration: none;
  color: #d8232f;
  mix-blend-mode: normal;
}
.piloko-brand-red * { color: #d8232f !important; }
/* El enlace recibe foco y clic en la navegación. La copia visual conserva el rojo sobre las escenas. */
header nav a[href="/fer-en-vivo/"], .piloko-live-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  padding: .42em .68em;
  border-radius: 2em;
  white-space: nowrap;
  font-weight: 750;
  text-transform: uppercase;
}
/* «Fer en vivo» se lee más grande que el resto del menú (David, 2026-11-12): 13 px en escritorio y 11 px en teléfono
   (10.5 px bajo 376 px); los demás enlaces siguen en 9–11 px. La copia roja toma el tamaño del enlace.
   En teléfono el encabezado de la portada va en una sola fila sin holgura: la pastilla se compacta y la rejilla
   cierra 2 px cada hueco para que el texto crezca sin recortar el logo. */
html body header nav a[href="/fer-en-vivo/"] {
  box-sizing: border-box;
  padding-inline: .78em !important;
  min-height: 30px;
  font-size: 13px !important;
  letter-spacing: .05em;
}
@media (max-width: 640px) {
  html body header nav a[href="/fer-en-vivo/"] { min-height: 28px; font-size: 11px !important; letter-spacing: 0; padding-inline: .5em !important; gap: .32em; }
  .piloko-live-red { gap: .32em; }
  header.header.piloko-floating { column-gap: 7px !important; }
}
@media (max-width: 375px) {   /* solo la portada, que es la única con todo el menú en una fila */
  html body header.header.piloko-floating nav a[href="/fer-en-vivo/"] { font-size: 10.5px !important; }
}
header nav a[href="/fer-en-vivo/"]::before, .piloko-live-red::before {
  content: '';
  width: .48em;
  height: .48em;
  flex: none;
  background: currentColor;
  border-radius: 50%;
}
header nav a[href="/fer-en-vivo/"], .piloko-live-red {
  color: white !important;
  background: #b5192b !important;
  text-decoration: none;
}
header.piloko-adaptive-nav a.piloko-live-ghost {
  color: transparent !important;
  background: transparent !important;
  border-color: transparent !important;
}
header.piloko-adaptive-nav a.piloko-live-ghost:focus-visible { outline-color: white !important; }
.piloko-live-red { position: fixed; margin: 0; padding: 0; box-sizing: border-box; pointer-events: none; }
.piloko-live-red[hidden] { display: none; }
@media (forced-colors: active) {
  .piloko-live-red { forced-color-adjust: none; color: HighlightText !important; background: Highlight !important; }
}
@supports not (mix-blend-mode: difference) {
  header.piloko-adaptive-nav {
    --nav-ink: #111;
    background: #fff !important;
    border-color: #aaa !important;
  }
}
@media (forced-colors: active), (prefers-contrast: more) {
  header.piloko-adaptive-nav {
    --nav-ink: CanvasText !important;
    mix-blend-mode: normal;
    background: Canvas !important;
    border: 1px solid CanvasText !important;
  }
}

/* Contacto lives in the red contact panel, outside the upper navigation. */
:is(header.top,header.room-site-header,header.header.piloko-floating) :is(a[href="/contacto/"],a[href^="/contacto/?"],a[data-nav="contacto"]){display:none!important}

/* Social links share the right-hand menu with Blog and Contratar. */
header.piloko-social-header>nav{margin-left:auto;justify-content:flex-end;align-items:center}
header.piloko-social-header .piloko-menu-end{display:flex;align-items:center;gap:16px}
header.piloko-social-header>.piloko-socials{margin-left:auto}
header.piloko-social-header .piloko-socials{display:flex;align-items:center;gap:4px;flex:none}
header.piloko-social-header .piloko-social-link{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:36px;min-height:36px;padding:0;margin:0;border:0;background:transparent;color:inherit;text-decoration:none;pointer-events:auto}
header.piloko-social-header .piloko-social-link svg{display:block;width:16px;height:16px;fill:currentColor}
header.piloko-social-header .piloko-social-link:hover{opacity:.7}
header.piloko-social-header .piloko-social-link:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.piloko-public .header.piloko-floating.piloko-social-header{grid-template-columns:auto minmax(0,1fr) auto auto auto}
.piloko-public .header.piloko-floating .piloko-navigation>.piloko-socials{grid-area:1/5}
@media(max-width:760px){
 .piloko-public .header.piloko-floating.piloko-social-header{grid-template-columns:minmax(0,1fr) auto auto auto;column-gap:12px}
 .piloko-public .header.piloko-floating .piloko-navigation>.piloko-socials{grid-area:1/4}
}
@media(max-width:600px){
 header.piloko-social-header .piloko-social-link{width:28px}
 header.top.piloko-social-header{column-gap:12px;padding-left:20px;padding-right:20px}
 header.piloko-social-header:has(>.identity){height:auto;min-height:54px;flex-wrap:wrap;padding:8px 0;gap:6px}
 header.piloko-social-header>.identity+nav{max-width:100%;flex-wrap:wrap}
}

/* Shared studio introduction on the hiring page. */
.piloko-studio-heading{display:flex;align-items:flex-start;gap:18px 32px;max-width:1120px;margin:0 0 26px}
.piloko-studio-heading .h1{flex:1 1 0;min-width:0;margin:0;max-width:14ch!important;font-size:clamp(48px,6.8vw,92px);line-height:1.02;letter-spacing:-.045em}
.piloko-studio-tag{flex:none;margin-top:14px;color:#6c6264;font:500 11px/1.5 'IBM Plex Mono',monospace;letter-spacing:.12em;text-transform:uppercase}
.page .intro.piloko-studio-intro{max-width:65ch;font-size:clamp(18px,2vw,23px);line-height:1.55}
@media(max-width:620px){.piloko-studio-heading{display:block;margin-bottom:24px}.piloko-studio-heading .h1{font-size:clamp(45px,12vw,64px)}.piloko-studio-heading .piloko-studio-tag{display:block;margin-top:16px}.piloko-studio-tag{margin-top:0}}

/* Enlaces del sitio (Blog · Sobre mí) en cabeceras de juegos y apps que sólo traían marca propia y redes. */
header.piloko-social-header .piloko-core-links{display:flex;align-items:center;gap:14px;flex:none}
header.piloko-social-header>.piloko-core-links{margin-left:auto}
header.piloko-social-header>.piloko-core-links+.piloko-socials{margin-left:0}
header.piloko-social-header .piloko-core-links a{color:inherit;font:600 11px/1 'IBM Plex Mono',ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;padding:8px 2px;border-bottom:1px solid currentColor;white-space:nowrap}
header.piloko-social-header .piloko-core-links a:hover,header.piloko-social-header .piloko-core-links a[aria-current]{text-decoration:underline;text-underline-offset:5px}
@media(max-width:640px){header.piloko-social-header .piloko-core-links{gap:10px}header.piloko-social-header .piloko-core-links a{font-size:10px;letter-spacing:.08em}}
