/* Jotakeshu — "Museo" variant layer over the Modo sections.
   Modo keeps its structure and motion; this file only brings in Jotakeshu's type
   (Geist + Geist Pixel Circle) and the business card's details: the full-width pixel
   JOTAKESHU with "JESÚS —— PASTOR" under it, the stacked JOTA/KESHU mark, and thin
   lines in the four colours of the card's QR code. */

@font-face {
  font-family: 'Geist';
  src: url('/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Pixel Circle';
  src: url('/fonts/GeistPixel-Circle.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  /* From the card (card-test.pdf). */
  --jk-yellow: #ffe45c;
  --jk-orange: #e0502a;
  --jk-blue: #2b59c3;
  --jk-green: #1f8a70;
  --jk-ink: #111111;
  --jk-grey: #e2e0e0;
  --jk-bone: #ded9cb;
  --jk-paper: #f7f3f3;
  --jk-font: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --jk-pixel: 'Geist Pixel Circle', 'Geist', ui-monospace, monospace;
  /* The card's line, in its four colours: four equal hard-edged segments. */
  --jk-line: linear-gradient(90deg,
    var(--jk-yellow) 0 25%, var(--jk-orange) 25% 50%, var(--jk-blue) 50% 75%, var(--jk-green) 75% 100%);
}

html, body { margin: 0; background: #000; }
/* The navbar is fixed: menu jumps land below it, not under it. */
html { scroll-padding-top: 5.5rem; }

/* ── Type: Geist everywhere, Geist Pixel for the big words ── */
html [data-temlis^="modo-67"] {
  --_typography---font-family--body: var(--jk-font);
  --_typography---font-family--headers: var(--jk-font);
  font-family: var(--jk-font);
}
html [data-temlis^="modo-67"] :is(.text-5xl, .jk-loop-word),
html [data-temlis^="modo-67"] :is(.text-5xl, .jk-loop-word) * {
  font-family: var(--jk-pixel);
  font-weight: 400;
}

/* ── Navbar: always in view (Modo retracts it on the way down) ── */
html [data-temlis="modo-671"] .navbar {
  position: fixed !important;
  transform: none !important;
  transition: background-color 0.3s ease;
}
/* Past the hero the bar takes Modo's black, so it reads over every section. */
html[data-nav-scrolled] [data-temlis="modo-671"] .navbar { background-color: #000; }

/* The JOTA / KESHU mark: 773 dots in the ink colour that light up in the QR colours
   (/jotakeshu-logo.js). */
html [data-temlis="modo-671"] .jk-logo-link { color: #fff; display: block; line-height: 0; }
.jk-logo { display: block; width: 5.5rem; height: auto; overflow: visible; }
.jk-logo circle { fill: currentColor; transition: fill 0.6s ease; }
@media (max-width: 767px) { .jk-logo { width: 4.5rem; } }

/* Location with its pin */
.jk-place { display: inline-flex; align-items: center; gap: 0.4rem; }
.jk-pin { flex: none; width: 0.8rem; height: 0.8rem; }

/* Language selector: ES / EN, the current one solid */
html [data-temlis="modo-671"] .nav_buttons-wrap { gap: 1.5rem; }
html [data-temlis="modo-671"] .jk-lang {
  display: inline-flex;
  border: 1px solid rgb(255 255 255 / 0.55);
  border-radius: 999px;
  padding: 2px;
  color: #fff;
  order: -1;
}
html [data-temlis="modo-671"] .jk-lang > * {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.25s ease, color 0.25s ease;
}
html [data-temlis="modo-671"] .jk-lang > [aria-current] { background: #fff; color: #000; text-shadow: none; }
html [data-temlis="modo-671"] .jk-lang > a:hover,
html [data-temlis="modo-671"] .jk-lang > a:focus-visible { background: rgb(255 255 255 / 0.18); }

/* ── Hero: description up right (Modo); across the bottom, the card's signature: the one-line
   JOTAKESHU in living dots, full width, with JESÚS —— PASTOR under it. ── */
html [data-temlis="modo-671"] .jk-hero-bottom {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
html [data-temlis="modo-671"] .jk-hero-bottom .hero_links {
  position: static;
  flex-flow: row wrap;
  gap: 0.75rem 2rem;
}
html [data-temlis="modo-671"] .jk-signature { width: 100%; }
html [data-temlis="modo-671"] .jk-hero-logo {
  margin: 0;
  color: #fff;
  line-height: 0;
}
html [data-temlis="modo-671"] .jk-hero-logo .jk-logo {
  width: 100%;
  filter: drop-shadow(0 2px 10px rgb(0 0 0 / 0.35));
}
@media (max-width: 767px) {
  html [data-temlis="modo-671"] .jk-hero-bottom { gap: 2rem; }
  html [data-temlis="modo-671"] .jk-hero-bottom .hero_links { flex-direction: column; }
  /* The description reads from the left edge, like everything else on a phone. */
  html [data-temlis="modo-671"] .jk-hero-content { align-items: flex-start; }
  html [data-temlis="modo-671"] .hero_description { max-width: none; }
}
.jk-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* A colourful mural is busier than Modo's grey sculpture: shade the top and bottom for the type. */
html [data-temlis="modo-671"] .section_hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* top band: navbar */
    linear-gradient(180deg, rgb(0 0 0 / 0.7) 0%, rgb(0 0 0 / 0.35) 12%, rgb(0 0 0 / 0) 24%),
    /* upper right: the description */
    radial-gradient(60% 45% at 100% 18%, rgb(0 0 0 / 0.55) 0%, rgb(0 0 0 / 0) 100%),
    /* bottom: links, wordmark and name */
    linear-gradient(0deg, rgb(0 0 0 / 0.85) 0%, rgb(0 0 0 / 0.65) 35%, rgb(0 0 0 / 0) 68%),
    /* bottom left: the big mark */
    radial-gradient(55% 50% at 0% 85%, rgb(0 0 0 / 0.4) 0%, rgb(0 0 0 / 0) 100%);
}
/* A soft shadow under the small type, so it holds on bright patches of paint. */
html [data-temlis="modo-671"] :is(.navbar .text-xs, .hero_description, .hero_link, .jk-name) {
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.55), 0 0 12px rgb(0 0 0 / 0.35);
}
html [data-temlis="modo-671"] .hero_description {
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 450;
}
html [data-temlis="modo-671"] .jk-name {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.1rem;
  color: #fff;
}
.jk-rule {
  flex: 1;
  height: 1px;
  background: var(--jk-line);
}

/* ── Featured murals: the photo sits right beside the titles that switch it
   (Modo parks it at the bottom of the left column, far from them). ── */
@media (min-width: 992px) {
  html [data-temlis="modo-673"] .container-large.is-exhibitions {
    grid-template-columns: minmax(0, 24rem) 1fr;
    column-gap: 4.5rem;
    align-items: start;
  }
  html [data-temlis="modo-673"] .exhibitions_left { justify-content: flex-start; gap: 1.5rem; }
  html [data-temlis="modo-673"] .exhibitions_right { justify-self: start; padding-top: 2.6rem; }
}
/* Murals are mostly portrait: a portrait frame instead of Modo's landscape one. */
html [data-temlis="modo-673"] .exhibitions_images { padding-top: 125%; }
@media (max-width: 991px) {
  html [data-temlis="modo-673"] .exhibitions_images { padding-left: 0; padding-top: 100%; width: min(100%, 22rem); }
}

/* ── Featured murals: pixel titles ── */
html [data-temlis="modo-673"] .text-5xl {
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ── Work cards: portraits sit higher in the landscape frame ── */
html [data-temlis="modo-674"] .collection_image .img { object-position: 50% 30%; }

/* ── Footer marquee: the wordmark as live pixel type instead of Modo's SVGs ── */
html [data-temlis="modo-676"] .jk-loop-word {
  display: block;
  flex: none;
  color: #fff;
  font-size: 16rem;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  max-height: none;
}
@media (max-width: 991px) { html [data-temlis="modo-676"] .jk-loop-word { font-size: 8rem; } }
@media (max-width: 479px) { html [data-temlis="modo-676"] .jk-loop-word { font-size: 5.5rem; } }
html [data-temlis="modo-676"] .footer_loop-image { object-fit: cover; aspect-ratio: 4 / 3; }

/* "¿Tienes un muro?" in Geist Pixel, its letters lighting up in the QR colours
   (/jotakeshu-logo.js); the invitation goes on the next line. */
html [data-temlis="modo-676"] .jk-question-wrap { display: flex; flex-direction: column; gap: 0.35em; }
html [data-temlis="modo-676"] .jk-question {
  font-family: var(--jk-pixel);
  font-weight: 400;
  color: #fff;
}
html [data-temlis="modo-676"] .jk-ch { transition: color 0.6s ease; }

/* The card's thin multicolour line closes the page. */
html [data-temlis="modo-676"] .jk-credit {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem var(--_sizes---fixed--large, 1.5rem) 2rem;
  color: #fff;
}
html [data-temlis="modo-676"] .jk-credit > span:not(.jk-rule) { white-space: nowrap; }
/* On a phone the two texts don't fit beside a line: the line goes on top, full width. */
@media (max-width: 767px) {
  html [data-temlis="modo-676"] .jk-credit { flex-wrap: wrap; justify-content: space-between; row-gap: 1rem; padding-inline: 1rem; }
  html [data-temlis="modo-676"] .jk-credit .jk-rule { order: -1; flex-basis: 100%; }
}
