/* ==========================================================================
   AQUÍ TO' SOMO CUER* — colectivo cultural
   ========================================================================== */

:root {
  /* Constantes de marca: el rojo, y el blanco sobre rojo, no giran con el tema */
  --red: #D6001C;
  --white: #fff;
  --black: #000;
  --mat: #000;            /* fondo fijo detrás de los carteles */
  --red-mat: #F01030;     /* rojo legible sobre ese negro fijo */

  /* El rojo de marca da 3.88:1 sobre negro: sirve para el display grande,
     no para texto pequeño. --red-ink es el rojo que sí es legible sobre
     cada superficie, y el tema los intercambia igual que el resto. */
  --red-ink: #D6001C;
  --red-ink-2: #F01030;

  /* Dos superficies. El tema las intercambia enteras: el papel pasa a tinta
     y las secciones invertidas pasan a papel. Los grises van entintados
     hacia el rojo de marca y todos pasan AA sobre su propio fondo. */
  --paper: #fff;   --ink: #000;
  --paper-2: #000; --ink-2: #fff;

  --muted: #6B6265;      --muted-soft: #7A7175;   --line: #E4DFE0;   --tint: #FAF8F9;
  --muted-2: #B8B0B2;    --muted-2-soft: #9A9296; --line-2: #332F30; --rule-2: #4A4547;
  --prose-2: #EDE9EA;    --note-2: #DED8D9;       --err-2: #FF8B9C;
  --head-bg: rgba(0, 0, 0, .92);
  --slot-bg: #F4F1F2;

  /* Ritmo vertical en tres pasos: las secciones no respiran todas igual */
  --pace-s: clamp(60px, 8vw, 116px);
  --pace-m: clamp(80px, 11vw, 160px);
  --pace-l: clamp(104px, 14vw, 208px);

  --wrap: 1500px;
  --pad: 28px;
  --head: 56px;
  /* Display oficial: geométrica pesada. Swap en una línea si cambia la familia. */
  --display: "Outfit", "Archivo Black", "Arial Black", sans-serif;
  --display-weight: 900;
  --text: "PT Sans Narrow", "Arial Narrow", sans-serif;

  /* ease-out-quint: sale rápido y aterriza sin rebote */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="dark"] {
  --paper: #000;   --ink: #fff;
  --paper-2: #fff; --ink-2: #000;

  --muted: #B8B0B2;      --muted-soft: #9A9296;   --line: #332F30;   --tint: #141112;
  --muted-2: #6B6265;    --muted-2-soft: #7A7175; --line-2: #E4DFE0; --rule-2: #C9C3C4;
  --prose-2: #231F20;    --note-2: #3A3536;       --err-2: #C1001A;
  --head-bg: rgba(255, 255, 255, .94);
  --slot-bg: #141112;
  --red-ink: #F01030;
  --red-ink-2: #D6001C;
}

html { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red-ink); }
.sec--dark a:hover,
.site-head a:hover,
.site-foot a:hover { color: var(--red-ink-2); }
::selection { background: var(--red); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.sec--dark :focus-visible,
.site-head :focus-visible,
.site-foot :focus-visible { outline-color: var(--ink-2); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--red); color: var(--white);
  padding: 14px 18px; font-family: var(--display); font-weight: var(--display-weight);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  transition: top .2s ease;
}
.skip:focus { top: 12px; color: var(--white); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* --------------------------------------------------------- scroll progress */

.progress {
  position: fixed; inset: 0 0 auto 0; height: 5px;
  z-index: 120; pointer-events: none;
}
.progress i {
  display: block; height: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ----------------------------------------------------------------- header */

.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px var(--pad);
  background: var(--head-bg);
  color: var(--ink-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-2);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { color: var(--ink-2); }
.brand__mark { height: 26px; width: auto; flex: none; }
.brand__name {
  font-family: var(--display); font-weight: var(--display-weight); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
}

.nav {
  display: flex; align-items: center; gap: 26px;
  font-size: 14px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.nav__cta { display: none; }

.head__cta { padding: 10px 18px; font-size: 12px; }

.burger {
  display: none; width: 44px; height: 44px; flex: none;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.burger span {
  display: block; height: 2px; background: currentColor;
  transition: transform .3s ease, opacity .2s ease;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 26px; border: 0; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--black); color: var(--white); }
.btn--black { background: var(--ink); color: var(--paper); }
.btn--black:hover { background: var(--red); color: var(--white); }
.btn--outline { border: 2px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border: 2px solid var(--ink-2); color: var(--ink-2); }
.btn--ghost:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--block { width: 100%; margin-top: 16px; padding: 18px 24px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--head) + 64px) 0 0;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero__body, .hero__foot { position: relative; z-index: 2; }
.hero__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding-block: 60px 22px;
}

/* colocación del diseño original: arriba a la derecha, cruzando el titular */
.hero__lips {
  position: absolute; top: 8%; right: -6%;
  width: 52vw; max-width: 820px;
  opacity: .95; pointer-events: none; z-index: 1;
  will-change: transform;
}
.hero__lips img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.hero__lips-ink { display: none; }

/* La obra es tinta roja plana sobre blanco. En vez de fundir el blanco con
   multiply (que sólo funciona sobre fondo claro), se usa su propia cobertura
   como máscara: el rojo lo pone la marca, no el JPEG, y así vale sobre
   cualquier fondo y en los dos temas. El <img> queda de respaldo. */
@supports ((-webkit-mask-image: url("#m")) or (mask-image: url("#m"))) {
  .hero__lips img { display: none; }
  .hero__lips-ink {
    display: block;
    width: 100%;
    aspect-ratio: 1322 / 1190;
    background: var(--red);
    -webkit-mask: url("lips-mask.webp") center / contain no-repeat;
    mask: url("lips-mask.webp") center / contain no-repeat;
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
  }
}

.eyebrow {
  font-size: 15px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  margin: 0 0 18px;
}
.eyebrow--dim { color: var(--muted-2); font-size: 14px; margin-bottom: 26px; }
.eyebrow--soft { color: var(--muted); font-size: 13px; letter-spacing: .24em; margin: 0 0 20px; }

.hero__title {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(56px, 13.5vw, 230px);
  line-height: .84; letter-spacing: -.03em;
  text-transform: uppercase; margin: 0;
}
.hero__title em { font-style: normal; color: var(--red); }

.hero__lede {
  max-width: 520px;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35; margin: 34px 0 0;
  text-wrap: pretty;
}

.tag {
  font-size: 13px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
}
.tag--muted { color: var(--muted-soft); text-align: right; }

/* --------------------------------------------------------------- sections */

.sec { padding-block: var(--pace-m); }
.sec--pace-s { padding-block: var(--pace-s); }
.sec--pace-l { padding-block: var(--pace-l); }
.sec--dark { background: var(--paper-2); color: var(--ink-2); }
.sec--red { background: var(--red); color: var(--white); }
.sec--rule { border-bottom: 1px solid var(--ink); }

.h2 {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(40px, 7vw, 120px);
  line-height: .88; letter-spacing: -.03em;
  text-transform: uppercase; margin: 0;
}
/* sits in a two-column grid — must fit "CONVERSACIÓN" inside its own column */
.h2--xl { font-size: clamp(40px, 5vw, 96px); line-height: .86; }
.h2 em { font-style: normal; color: var(--red); }

.sec__head {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(34px, 5vw, 70px);
}
.sec__note { max-width: 380px; font-size: 18px; line-height: 1.45; margin: 0; text-wrap: pretty; }
.sec__note--dim { max-width: 400px; line-height: 1.5; color: var(--note-2); }
.sec__note--onred { max-width: 420px; line-height: 1.5; color: var(--white); }
.eyebrow--onred { color: var(--white); font-size: 14px; margin-bottom: 20px; }

/* ------------------------------------------------------------ los frentes */

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(255, 255, 255, .42);
}
.pillar {
  background: var(--red); color: var(--white);
  padding: 34px 30px 38px; min-height: 330px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  transition: background .25s ease;
}
.pillar:hover { background: var(--black); }
.pillar__num {
  margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 15px;
  letter-spacing: .16em; color: var(--white);
}
.pillar h3 {
  margin: 0 0 12px; font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(28px, 3vw, 46px); line-height: .95;
  text-transform: uppercase; letter-spacing: -.01em;
}
.pillar p { margin: 0; font-size: 17px; line-height: 1.45; text-wrap: pretty; }
.pillar__at {
  align-self: flex-start; font-weight: 700; font-size: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, .55); padding-bottom: 3px;
}
.pillar__at:hover { color: var(--white); border-bottom-color: var(--white); }

.sec__intro { max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec__intro--tight { margin-bottom: clamp(34px, 5vw, 64px); }
.sec__lede {
  font-size: clamp(18px, 2vw, 26px); line-height: 1.4;
  color: var(--note-2); margin: 30px 0 0; max-width: 640px; text-wrap: pretty;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.split--center { align-items: center; }

/* ------------------------------------------------------------- manifiesto */

.wordmark {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(64px, 9vw, 128px);
  line-height: .9; letter-spacing: -.045em;
  text-transform: uppercase;
  margin: 44px 0 0;
}
.wordmark span { color: var(--red); }
.wordmark--sm { font-size: clamp(44px, 6vw, 68px); margin: 0 0 20px; }

.prose {
  display: flex; flex-direction: column; gap: 26px;
  font-size: clamp(17px, 1.5vw, 22px); line-height: 1.5;
  color: var(--prose-2); max-width: 620px;
}
.prose p { margin: 0; text-wrap: pretty; }
.prose__lead {
  font-size: clamp(22px, 2.4vw, 34px); line-height: 1.25; color: var(--ink-2);
}

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin: 14px 0 0;
  border-top: 1px solid var(--line-2); padding-top: 28px;
}
.stats div { margin: 0; }
.stats dt {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(30px, 3.6vw, 54px);
  color: var(--red); margin: 0;
}
.stats dd {
  margin: 6px 0 0; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2);
}

/* ------------------------------------------------------- what we do cards */

.grid { display: grid; }
.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px; background: var(--ink); border: 1px solid var(--ink);
}
/* six cards: lock to three columns so the last row never leaves dead cells */
@media (min-width: 980px) {
  .grid--cards { grid-template-columns: repeat(3, 1fr); }
}
.card { background: var(--paper); transition: background .25s ease; }
.card:hover { background: var(--red); color: var(--white); }
.card:hover .slot { border-color: rgba(255, 255, 255, .5); }
.card__body { padding: 26px 24px 34px; }
.card h3 {
  font-family: var(--display); font-weight: var(--display-weight); font-size: 30px;
  line-height: .95; letter-spacing: -.01em;
  text-transform: uppercase; margin: 0 0 12px;
}
.card p { margin: 0; font-size: 17px; line-height: 1.45; text-wrap: pretty; }

.cta-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 20px; margin-top: 44px;
}
.cta-row .btn--red:hover { background: var(--ink-2); color: var(--paper-2); }
.cta-row p { margin: 0; font-size: 17px; color: var(--muted-2); }

.where { margin-top: clamp(50px, 7vw, 90px); border-top: 1px solid var(--line-2); padding-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips li {
  border: 1px solid var(--rule-2); padding: 10px 18px;
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}

/* ----------------------------------------------------------------- events */

.tabs { display: flex; border: 1px solid var(--ink); }
.tab {
  background: var(--paper); color: var(--ink); border: 0;
  padding: 14px 24px; cursor: pointer;
  font-family: var(--display); font-weight: var(--display-weight); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.tab.is-on { background: var(--ink); color: var(--paper); }
.tab:not(.is-on):hover { background: var(--tint); }

.events { border-bottom: 1px solid var(--ink); }
.event {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  border-top: 1px solid var(--ink);
  padding-block: clamp(22px, 3vw, 38px);
  transition: background .2s ease;
}
.event:hover { background: var(--tint); color: inherit; }
.event__meta {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 16px; margin: 0 0 14px;
}
.event__date {
  font-family: var(--display); font-weight: var(--display-weight); font-size: 15px;
  letter-spacing: .14em; color: var(--red-ink); text-transform: uppercase;
}
.event__kind {
  font-size: 14px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.event h3 {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(28px, 4vw, 64px);
  line-height: .95; text-transform: uppercase;
  margin: 0 0 14px; letter-spacing: -.02em;
}
.event__blurb { margin: 0 0 8px; font-size: 18px; line-height: 1.45; max-width: 520px; text-wrap: pretty; }
.event__place { margin: 0; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* -------------------------------------------------------------------- ropa */

.drop {
  list-style: none; margin: clamp(38px, 5vw, 64px) 0 0; padding: 0;
  border-top: 1px solid var(--line-2);
}
.drop a {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: clamp(20px, 4vw, 60px);
  border-bottom: 1px solid var(--line-2);
  padding-block: clamp(16px, 2.2vw, 28px);
  transition: color .25s var(--ease);
}
.drop__name {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(26px, 4.2vw, 62px);
  line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
}
.drop__price {
  font-size: clamp(15px, 1.3vw, 19px); letter-spacing: .12em;
  color: var(--muted-2-soft); white-space: nowrap;
  transition: color .25s var(--ease);
}
.drop a:hover .drop__price { color: var(--red-ink-2); }
.drop__cta { margin-top: clamp(34px, 4vw, 52px); }


/* ------------------------------------------------------------------ quotes */

.grid--quotes {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px; background: var(--ink);
  border: 1px solid var(--ink); margin-bottom: 44px;
}
.quote {
  background: var(--paper); margin: 0; padding: 36px 30px 30px;
  display: flex; flex-direction: column; gap: 22px; justify-content: space-between;
}
.quote--red { background: var(--red); color: var(--white); }
.quote p { margin: 0; font-size: clamp(20px, 2vw, 27px); line-height: 1.3; text-wrap: pretty; }
.quote footer { display: flex; align-items: center; gap: 14px; }
.quote footer b { display: block; font-size: 17px; }
.quote footer small {
  display: block; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.quote--red footer small { color: #ffd9de; }

.avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-weight: var(--display-weight); font-size: 19px;
}
.quote--red .avatar { background: var(--white); color: var(--red); }


/* ----------------------------------------------------------------- súmate */

/* extra room at the bottom so the sticker has its own space to sit in */
.sumate {
  position: relative; overflow: hidden;
  padding-block: var(--pace-l) clamp(150px, 17vw, 280px);
}
.sumate .wrap { position: relative; z-index: 2; }
.sumate__lede { font-size: 20px; line-height: 1.45; margin: 26px 0 0; max-width: 480px; text-wrap: pretty; }

.sticker {
  position: absolute; left: -5%; bottom: -7%;
  width: min(34vw, 480px);
  padding: 4% 5% 5%;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 28px;
  transform: rotate(-8deg);
  pointer-events: none; z-index: 1;
  box-shadow: 0 0 0 12px var(--paper);
}
.sticker span {
  display: block;
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(26px, 4.6vw, 66px);
  line-height: .86; letter-spacing: -.03em;
  text-transform: uppercase;
}
.sticker i { font-style: normal; color: var(--red); }

.panel { background: var(--paper-2); color: var(--ink-2); padding: clamp(28px, 4vw, 48px); }
.panel__kicker {
  margin: 0 0 22px; font-size: 15px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2);
}
.panel__fine { margin: 18px 0 0; font-size: 15px; color: var(--muted-2-soft); }

.form { display: flex; flex-direction: column; gap: 14px; }
.form input, .form select {
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-2);
  color: var(--ink-2); padding: 14px 0;
  font-family: var(--text); font-size: 19px; outline: none;
  border-radius: 0;
}
.form input::placeholder { color: var(--muted-2-soft); opacity: 1; }
.form input:focus, .form select:focus { border-bottom-color: var(--red); }
.form select option { color: var(--black); background: var(--white); }
.form .btn--red:hover { background: var(--ink-2); color: var(--paper-2); }
.form__msg {
  margin: 0; min-height: 1.4em; font-size: 15px; color: var(--muted-2);
}
.form__msg.is-err { color: var(--err-2); }

/* ---------------------------------------------------------- image slots */

/* Hueco a la espera de foto: placa de marca con el asterisco, no una trama
   punteada que se lee como imagen rota. */
.slot {
  position: relative; margin: 0;
  display: grid; place-items: center;
  background: var(--slot-bg);
  overflow: hidden;
}
.slot::before {
  content: "✱";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: clamp(72px, 13vw, 148px); line-height: 1;
  color: var(--line); pointer-events: none;
}
.slot figcaption, .slot span {
  position: relative; z-index: 1;
  align-self: end; margin-bottom: 16px;
  font-family: var(--text); font-weight: 700;
  font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  text-align: center; padding-inline: 8px;
}
/* con obra real dentro: fuera la placa, se ve la pieza entera */
.slot--filled { background: var(--mat); border-style: solid; border-color: var(--mat); }
.slot--filled::before, .slot--filled figcaption { display: none; }
.slot--filled img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}

.slot--card { height: 300px; border: 0; border-bottom: 1px solid var(--ink); }
.slot--event { height: clamp(190px, 22vw, 300px); border: 1px solid var(--ink); }

/* ----------------------------------------------------------------- footer */

.site-foot { background: var(--paper-2); color: var(--ink-2); padding: clamp(50px, 7vw, 90px) 0 24px; }
.foot__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.15fr 1.15fr;
  gap: clamp(32px, 4vw, 64px); align-items: start;
}
.foot__brand { max-width: 340px; }
.foot__blurb { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted-2-soft); text-wrap: pretty; }

.foot__store {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  border: 2px solid var(--ink-2); padding: 13px 20px;
  font-family: var(--display); font-weight: var(--display-weight); font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.foot__store:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 16px; }
.foot__head {
  margin: 0 0 10px; font-size: 12px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted-2-soft);
}
.foot__col--nav a { letter-spacing: .1em; text-transform: uppercase; }

.foot__handle { display: block; }
.foot__handle b { display: block; font-size: 16px; font-weight: 700; }
.foot__handle small {
  display: block; margin-top: 3px; font-size: 13px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2-soft);
}
.foot__handle:hover small { color: inherit; }

.foot__mail {
  font-size: 19px; line-height: 1.3;
  border-bottom: 1px solid var(--line-2); padding-bottom: 4px;
  overflow-wrap: anywhere;
}
.foot__mail:hover { border-bottom-color: var(--red); }
.foot__note { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted-2-soft); text-wrap: pretty; }

.foot__bar {
  margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-2); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2-soft);
}
.foot__claim { margin-right: auto; }
.foot__top { white-space: nowrap; }

/* ------------------------------------------------------ DeepReckon signature */

.footer-sign { text-align: center; margin-top: 4px; }
.dr-sign {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none; color: inherit; opacity: .55;
  padding: 15px 2px; transition: opacity .25s ease, color .25s ease;
}
.dr-sign:hover, .dr-sign:focus-visible { opacity: 1; color: var(--red-ink-2); }
.dr-sign:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.dr-sign svg { width: 14px; height: 14px; flex: none; display: block; }

/* ----------------------------------------------------------------- reveal */

[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* Entrada del hero: una sola coreografía al cargar, no microanimaciones sueltas */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

.hero__body > *, .hero__foot > * { animation: rise .85s var(--ease) both; }
.hero__body > *:nth-child(1) { animation-delay: .06s; }
.hero__body > *:nth-child(2) { animation-delay: .14s; }
.hero__body > *:nth-child(3) { animation-delay: .24s; }
.hero__body > *:nth-child(4) { animation-delay: .34s; }
.hero__foot > * { animation-delay: .46s; }

/* solo opacidad: el transform del img lo lleva el parallax en JS */
.hero__lips > * { animation: fadein 1.1s var(--ease) both; animation-delay: .12s; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1240px) {
  .nav { gap: 19px; font-size: 13px; }
}

@media (max-width: 1080px) {
  .burger { display: block; }
  .head__cta { display: none; }
  /* el nav pasa a panel fijo y sale del flujo: sin esto el selector se
     queda flotando en el centro de la barra en vez de junto al menú */
  .head__end { margin-left: auto; }

  .nav {
    position: fixed; inset: var(--head) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line-2);
    padding: 8px var(--pad) 26px;
    font-size: 17px;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-2); }
  .nav__cta {
    display: block; margin-top: 18px; border: 0;
    background: var(--red); color: var(--white); text-align: center;
    font-family: var(--display); font-weight: var(--display-weight); letter-spacing: .12em; padding: 16px;
  }

}

@media (max-width: 900px) {
  :root { --pad: 20px; }

  .hero { min-height: 0; padding-top: calc(var(--head) + 48px); }
  /* misma colocación arriba a la derecha, a escala */
  .hero__lips { top: 13%; bottom: auto; right: -10%; width: 62vw; opacity: .85; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 48px 20px; }
  .tag--muted { text-align: left; }

  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; gap: 22px; }

  .event { grid-template-columns: 1fr; gap: 22px; }
  .event > div { order: 2; }
  .event .slot { order: 1; }

  .stats { gap: 14px; }

  .foot__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .foot__brand { grid-column: 1 / -1; max-width: 420px; }
  .foot__bar { margin-top: 36px; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .sec__head { align-items: flex-start; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 14px 10px; }
  .btn { padding: 15px 20px; font-size: 13px; }
  .btn-row .btn { flex: 1 1 100%; text-align: center; }
  .stats { grid-template-columns: 1fr; }
  .stats div { display: flex; align-items: baseline; gap: 14px; }
  .stats dd { margin: 0; }
  .sticker { width: 78vw; left: -10%; bottom: -4%; }
  
  .foot__grid { grid-template-columns: 1fr; gap: 36px; }
  .foot__store { width: 100%; justify-content: center; }
  .foot__claim { margin-right: 0; flex-basis: 100%; order: 3; }
  .foot__top { order: 2; }
}

/* En pantallas táctiles ningún destino baja de 44px de alto */
@media (pointer: coarse) {
  .brand { min-height: 44px; }
  .tab { padding-block: 15px; }
  .foot__col { gap: 4px; }
  .foot__col--nav a,
  .foot__top {
    min-height: 44px; display: flex; align-items: center;
  }
  .foot__mail { padding-top: 14px; }
  .foot__handle { padding-block: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__body > *, .hero__foot > *, .hero__lips > * { animation: none; }
  .dr-sign, .btn, .card, .pillar, .nav { transition: none; }
  .hero__lips { transform: none !important; }
}

/* ------------------------------------------------------- selector de tema */

.head__end { display: flex; align-items: center; gap: 14px; }

.theme {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0;
  color: inherit; cursor: pointer;
  transition: color .2s ease;
}
.theme:hover { color: var(--red-ink-2); }
.theme svg {
  width: 21px; height: 21px; display: block;
  transition: transform .5s var(--ease);
}
[data-theme="dark"] .theme svg { transform: rotate(180deg); }

/* ----------------------------------------------------- galería ojo de pez */

/* A pantalla completa: el raíl se sale del wrap a propósito. El panel abierto
   empuja a los vecinos y la magnificación decae con la distancia, como una
   lente. Los que quedan cerrados enseñan el lomo, no una miniatura ilegible. */

.fish { margin-top: clamp(28px, 4vw, 52px); }

.fish__rail {
  display: flex; gap: 2px;
  list-style: none; margin: 0; padding: 0;
  height: clamp(420px, 50vw, 680px);
  background: var(--ink);
  border-block: 1px solid var(--ink);
}
.fish__rail > li {
  display: flex; min-width: 0;
  flex: 1 1 0%;
  transition: flex-grow .62s var(--ease);
}

.fish__item {
  position: relative; display: block;
  width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0;
  background: var(--mat); color: var(--white);
  font: inherit; text-align: left;
  overflow: hidden; cursor: pointer;
}
.fish__item:hover { color: var(--white); }

.fish__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  opacity: .3; filter: grayscale(1) contrast(1.15);
  transition: opacity .55s var(--ease), filter .55s var(--ease);
}
.fish__item.is-on .fish__img { opacity: 1; filter: none; }
.fish__item:not(.is-on):hover .fish__img { opacity: .55; }

/* lomo del panel cerrado: se lee de abajo arriba */
.fish__spine {
  position: absolute; left: 50%; bottom: 24px;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .3s var(--ease);
}
.fish__item.is-on .fish__spine { opacity: 0; }

.fish__cap {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column; gap: 9px;
  padding: 24px clamp(18px, 2vw, 32px) clamp(20px, 2vw, 28px);
  background: var(--mat);
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease) .1s, transform .45s var(--ease) .1s;
  pointer-events: none;
}
.fish__item.is-on .fish__cap { opacity: 1; transform: none; }

.fish__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.fish__date {
  font-family: var(--display); font-weight: var(--display-weight); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-mat);
}
.fish__kind {
  font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: #B8B0B2;
}
.fish__title {
  font-family: var(--display); font-weight: var(--display-weight);
  font-size: clamp(21px, 2.3vw, 38px);
  line-height: .98; letter-spacing: -.02em; text-transform: uppercase;
}
.fish__place {
  font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: #B8B0B2;
}

/* último panel: no es una foto, es la salida al feed */
.fish__item--out { background: var(--red); }
.fish__item--out .fish__cap { background: none; }
.fish__item--out .fish__date { color: var(--white); }
.fish__item--out .fish__kind,
.fish__item--out .fish__place { color: rgba(255, 255, 255, .84); }
.fish__item--out:hover { background: var(--black); }

.fish__ctrl {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 20px;
}
.fish__count {
  margin: 0; font-family: var(--display); font-weight: var(--display-weight);
  font-size: 13px; letter-spacing: .18em; color: var(--muted);
}
.fish__count b { color: var(--ink); font-weight: inherit; }

.fish__arrows { display: flex; }
.fish__arrow {
  width: 54px; height: 46px; flex: none;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--text); font-size: 19px; line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.fish__arrow + .fish__arrow { border-left: 0; }
.fish__arrow:hover { background: var(--ink); color: var(--paper); }

/* ---------------------------------------------- galería: táctil y estrecho */

/* Por debajo de 900 el acordeón no cabe: pasa a carrusel con anclaje, cada
   panel abierto y el dedo hace el trabajo que hacía la lente. */
@media (max-width: 900px) {
  .fish__rail {
    height: auto;
    gap: 10px;
    padding-inline: var(--pad);
    background: none;
    border-block: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fish__rail::-webkit-scrollbar { display: none; }
  .fish__rail > li {
    flex: 0 0 min(78vw, 420px) !important;
    height: min(104vw, 560px);
    scroll-snap-align: center;
    border: 1px solid var(--ink);
  }
  .fish__img { opacity: 1; filter: none; }
  .fish__spine { display: none; }
  .fish__cap { opacity: 1; transform: none; }
  .fish__ctrl { margin-top: 16px; }
}

@media (max-width: 560px) {
  .fish__arrow { width: 50px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .fish__rail > li,
  .fish__img,
  .fish__cap,
  .fish__spine,
  .theme svg { transition: none; }
}
