/* ========== Variables del artículo ========== */

.article-page {
  --article-paper: #f3ece1;
  --article-paper-deep: #e9e0d2;
  --article-ink: #1f1a22;
  --article-muted: #655e57;
  --article-rule: rgba(16, 16, 24, 0.16);
  --article-rule-strong: rgba(16, 16, 24, 0.46);
  --article-blue: var(--blue);
  --article-violet: var(--violet);
  --article-pink: var(--pink);
  --article-acid: var(--green);
  --article-orange: var(--orange);
  --article-night: var(--night);
  --opening-img: url("../img/scene-portada.webp");
  --article-measure: 40.75rem;
  --article-opening: 49rem;
  --article-wide: 72rem;
  --article-max: 94rem;
  --article-edge: clamp(18px, 4vw, 64px);
  --article-header-h: 64px;
  --article-ease: cubic-bezier(0.22, 1, 0.36, 1);
  margin: 0;
  color: var(--article-ink);
  background: var(--article-paper);
}
.article-page ::selection {
  background: rgba(133, 255, 0, 0.76);
  color: var(--article-ink);
}
.article-page a,
.article-page button {
  -webkit-tap-highlight-color: transparent;
}
.article-page button {
  font: inherit;
}
.article-page img {
  max-width: 100%;
}

/* ========== Apertura ========== */

.article-opening {
  position: relative;
  min-height: min(900px, 96svh);
  padding: calc(var(--article-header-h) + clamp(78px, 10vh, 120px)) var(--article-edge)
    clamp(78px, 10vh, 120px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--article-paper);
  background-image:
    linear-gradient(
      to bottom,
      rgba(243, 236, 225, 0) 0%,
      rgba(243, 236, 225, 0.03) 44%,
      rgba(243, 236, 225, 0.58) 82%,
      var(--article-paper) 100%
    ),
    var(--opening-img);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.article-opening::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 24%;
  background: linear-gradient(to bottom, transparent, var(--article-paper));
  pointer-events: none;
}
.article-opening__inner {
  width: min(100%, var(--article-opening));
  margin-inline: auto;
}
.article-opening__kicker {
  margin: 0 0 20px;
  color: var(--article-muted);
  font-size: 10px;
  text-transform: uppercase;
}
.article-opening__kicker a {
  position: relative;
}
.article-opening__kicker a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  opacity: 0.38;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.22s var(--article-ease);
}
.article-opening h1 {
  margin: 0;
  max-width: 10.2ch;
  font-size: clamp(60px, 7.4vw, 110px);
  line-height: 0.88;
  letter-spacing: -0.064em;
  font-weight: 700;
  text-wrap: balance;
}
.article-opening__meta {
  margin-top: clamp(26px, 3.5vw, 38px);
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  border-top: 1px solid rgba(16, 16, 24, 0.42);
  color: var(--article-muted);
  font-size: 12px;
}
.article-opening__meta strong {
  color: var(--article-ink);
  font-weight: 600;
}
.article-opening__deck {
  margin: clamp(30px, 4.5vw, 48px) 0 0;
  max-width: 35ch;
  color: #363239;
  font-size: clamp(20px, 1.4vw, 24px);
  line-height: 1.47;
  letter-spacing: -0.022em;
  text-wrap: pretty;
}
.article-opening__utility {
  margin-top: clamp(26px, 3.6vw, 38px);
  padding-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  border-top: 1px solid rgba(16, 16, 24, 0.2);
}

/* ========== Audio ========== */

.article-audio {
  min-width: 0;
}
.article-audio__main {
  width: 100%;
  min-height: 74px;
  padding: 0 0 10px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(16, 16, 24, 0.38);
  background: transparent;
  color: var(--article-ink);
  cursor: pointer;
  text-align: left;
  position: relative;
}
.article-audio__main::before {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--article-orange);
  transition: right 0.28s var(--article-ease);
}
.article-audio__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 16, 24, 0.38);
  border-radius: 50%;
  color: var(--article-orange);
  font-size: 13px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.22s var(--article-ease),
    border-color 0.2s ease;
}
.article-audio__copy {
  display: grid;
  gap: 4px;
}
.article-audio__copy strong {
  font-size: 13px;
  font-weight: 600;
}
.article-audio__copy small {
  color: var(--article-muted);
  font-size: 10.5px;
}
.article-audio__duration {
  color: var(--article-muted);
  font-family: Matrixel, "Courier New", monospace;
  font-size: 10px;
}
.article-audio__meter {
  display: block;
  height: 2px;
  margin-top: -2px;
  background: rgba(16, 16, 24, 0.08);
  overflow: hidden;
}
.article-audio__meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--article-orange);
  transform: scaleX(0.16);
  transform-origin: left;
  transition: transform 0.2s linear;
}
.article-audio.is-playing .article-audio__icon {
  background: var(--article-orange);
  border-color: var(--article-orange);
  color: #fff;
  transform: scale(1.06);
}
.article-share {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--article-blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  position: relative;
}
.article-share b {
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s var(--article-ease);
}
.article-share::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: var(--article-blue);
  transform: scaleX(0.22);
  transform-origin: left;
  opacity: 0.4;
  transition:
    transform 0.22s var(--article-ease),
    opacity 0.18s ease;
}
.article-share--opening {
  justify-self: end;
  white-space: nowrap;
}

/* ========== Imagen principal ========== */

.article-visual {
  width: min(90vw, 1360px);
  margin: 0 auto clamp(76px, 8vw, 116px);
}
.article-visual__frame {
  position: relative;
  overflow: hidden;
  background: #121212;
  isolation: isolate;
}
.article-visual__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 255, 0.09),
    transparent 42%,
    rgba(133, 255, 0, 0.04)
  );
  mix-blend-mode: screen;
}
.article-visual img {
  display: block;
  width: 100%;
  height: min(66vw, 760px);
  max-height: 78vh;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.93);
}
.article-reading {
  padding: clamp(72px, 8vw, 116px) var(--article-edge) clamp(80px, 9vw, 126px);
  background: var(--article-paper);
}
.article-reading__inner {
  width: min(100%, var(--article-measure));
  margin-inline: auto;
  position: relative;
}

/* ========== Texto ========== */

.article-copy {
  color: #211f24;
  font-size: clamp(18px, 0.22vw + 17px, 20px);
  line-height: 1.67;
  letter-spacing: -0.008em;
  text-wrap: pretty;
  hanging-punctuation: first last;
}
.article-copy p {
  margin: 0 0 1.55em;
  padding: 0;
  text-indent: 0;
}
.article-copy p.article-copy__breath {
  margin-top: clamp(48px, 6vw, 74px);
}
.article-copy em {
  font-style: italic;
}
.article-copy a:not(.note-ref) {
  color: var(--article-blue);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(0, 0, 255, 0.36);
}
.article-copy__closing {
  margin-top: clamp(68px, 8vw, 96px) !important;
  margin-bottom: 0 !important;
  color: var(--article-ink);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.046em;
  font-weight: 600;
}

/* ========== Notas: marcas en el texto ========== */

.note-ref {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 3px;
  vertical-align: 0.36em;
  border: 1px solid rgba(114, 39, 255, 0.45);
  border-radius: 50%;
  color: var(--article-violet);
  background: transparent;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s var(--article-ease),
    box-shadow 0.18s ease;
}
.note-ref sup {
  position: static;
  font-size: inherit;
  line-height: 1;
}
.note-ref[aria-expanded="true"] {
  color: #fff;
  background: var(--article-violet);
  border-color: var(--article-violet);
  box-shadow: 0 0 0 3px rgba(114, 39, 255, 0.08);
}

/* ========== Notas: margen ========== */

.article-margin {
  position: absolute;
  left: calc(100% + clamp(46px, 5vw, 76px));
  top: 0;
  width: clamp(250px, 20vw, 320px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.22s var(--article-ease),
    visibility 0.18s;
}
.article-margin.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.article-margin__inner {
  padding: 17px 18px 18px;
  border: 1px solid rgba(114, 39, 255, 0.22);
  border-top: 3px solid var(--article-violet);
  background: rgba(248, 243, 234, 0.97);
  box-shadow: 0 16px 40px rgba(41, 25, 66, 0.08);
}
.article-margin__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.article-margin__head .matrix {
  margin: 0;
  color: var(--article-violet);
  font-size: 10px;
}
.article-margin__head button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--article-rule);
  border-radius: 50%;
  background: none;
  color: var(--article-ink);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.article-margin h2 {
  margin: 0 0 9px;
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: -0.032em;
  font-weight: 600;
}
.article-margin > .article-margin__inner > p:not(.matrix),
.article-margin__inner [data-margin-text] {
  margin: 0;
  color: var(--article-muted);
  font-size: 13px;
  line-height: 1.5;
}
.article-margin a {
  display: inline-flex;
  margin-top: 13px;
  color: var(--article-blue);
  font-size: 11px;
  border-bottom: 1px solid rgba(0, 0, 255, 0.25);
}
.article-after {
  width: min(100%, var(--article-wide));
  margin: 0 auto;
  padding: 0 var(--article-edge) clamp(72px, 8vw, 112px);
}

/* ========== Notas: lista al final ========== */

.notes-ledger {
  border-top: 1px solid var(--article-rule-strong);
  border-bottom: 1px solid var(--article-rule);
}
.notes-ledger summary {
  list-style: none;
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  cursor: pointer;
}
.notes-ledger summary::-webkit-details-marker {
  display: none;
}
.notes-ledger summary > span:first-child {
  display: grid;
  gap: 6px;
}
.notes-ledger summary small {
  color: var(--article-violet);
  font-size: 10px;
}
.notes-ledger summary strong {
  font-size: 20px;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.notes-ledger__count {
  color: var(--article-violet);
  font-size: 10px;
}
.notes-ledger__sign {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--article-rule);
  border-radius: 50%;
  color: var(--article-blue);
  font-size: 18px;
  transition:
    transform 0.22s var(--article-ease),
    background 0.18s ease,
    color 0.18s ease;
}
.notes-ledger__sign::before {
  content: "+";
}
.notes-ledger[open] .notes-ledger__sign::before {
  content: "−";
}
.article-notes__list {
  list-style: none;
  margin: 0;
  padding: 0 0 18px;
}
.article-notes__list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--article-rule);
  position: relative;
  transition:
    background 0.18s ease,
    padding 0.2s var(--article-ease);
}
.article-notes__number {
  padding-top: 3px;
  color: var(--article-violet);
  font-size: 10px;
}
.article-notes__list h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.08;
  letter-spacing: -0.026em;
  font-weight: 600;
}
.article-notes__list p {
  margin: 0;
  max-width: 68ch;
  color: var(--article-muted);
  font-size: 13.5px;
  line-height: 1.56;
}
.article-notes__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--article-blue);
  font-size: 11px;
  position: relative;
}
.article-notes__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--article-blue);
  transform: scaleX(0.24);
  transform-origin: left;
  opacity: 0.35;
  transition:
    transform 0.22s var(--article-ease),
    opacity 0.18s ease;
}
.article-tools {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--article-rule);
}
.article-tools .matrix {
  color: var(--article-muted);
  font-size: 10px;
}

/* ========== La voz ========== */

.article-voice {
  padding: clamp(78px, 9vw, 126px) var(--article-edge);
  background: linear-gradient(180deg, var(--article-paper) 0%, #ece3d5 100%);
}
.article-voice__inner {
  width: min(100%, var(--article-wide));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--article-rule-strong);
}
.article-voice__portrait-wrap {
  position: relative;
  width: min(24vw, 220px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.article-voice__portrait {
  position: relative;
  z-index: 3;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--article-night);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.07em;
  font-weight: 600;
  box-shadow: 0 18px 50px rgba(17, 12, 28, 0.12);
}
.article-voice__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-voice__orbit {
  position: absolute;
  border: 1px solid var(--article-blue);
  border-radius: 50% 43% 51% 45%/40% 51% 42% 50%;
  pointer-events: none;
}
.article-voice__orbit--a {
  inset: 4%;
  transform: rotate(18deg) scaleX(1.08);
}
.article-voice__orbit--b {
  inset: 9%;
  border-color: var(--article-orange);
  transform: rotate(-31deg) scaleY(0.88);
}
.article-voice__orbit--c {
  inset: 28%;
  border-color: var(--article-violet);
  transform: rotate(56deg) scaleX(0.92);
}
.article-voice__pixel {
  position: absolute;
  right: 7%;
  top: 11%;
  z-index: 4;
  width: 7px;
  height: 7px;
  background: var(--article-acid);
  box-shadow:
    0 0 0 2px var(--article-paper),
    0 0 14px rgba(133, 255, 0, 0.52);
}
.article-voice__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--article-muted);
  font-size: 11px;
}
.article-voice__eyebrow .matrix {
  margin: 0;
  color: var(--article-muted);
  font-size: 10px;
}
.article-voice h2 {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 0.93;
  letter-spacing: -0.058em;
  font-weight: 600;
}
.article-voice__bio {
  max-width: 50ch;
  margin: 20px 0 0;
  color: #2e2a2c;
  font-size: 18px;
  line-height: 1.58;
}
.article-voice__links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.article-voice__links a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--article-blue);
  font-size: 11px;
}
.article-voice__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.2);
  transform-origin: left;
  opacity: 0.35;
  transition:
    transform 0.22s var(--article-ease),
    opacity 0.18s ease;
}
.article-voice__links .is-primary {
  font-size: 12px;
  font-weight: 600;
}
.article-voice__links .is-primary b {
  transition: transform 0.2s var(--article-ease);
}

/* ========== Sigue en el tema ========== */

.article-cycle-browser {
  padding: clamp(72px, 8vw, 112px) var(--article-edge);
  background: #11111b;
}
.article-cycle-browser__shell {
  width: min(100%, var(--article-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 560px;
  border: 1px solid rgba(255, 122, 0, 0.58);
  box-shadow:
    0 28px 84px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(255, 122, 0, 0.08);
  overflow: hidden;
}
.article-cycle-index {
  padding: clamp(32px, 4.2vw, 56px);
  color: #f6f3ec;
  background: linear-gradient(160deg, #070812 0%, #0c0c18 70%, #12091b 100%);
  position: relative;
}
.article-cycle-index::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 122, 0, 0.55), transparent);
}
.article-cycle-index__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #aaa6b4;
  font-size: 10px;
}
.article-cycle-index__head .matrix {
  color: var(--article-orange);
  font-size: 10px;
}
.article-cycle-index h2 {
  margin: 20px 0 0;
  font-size: clamp(52px, 5.8vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.064em;
  font-weight: 600;
}
.article-cycle-index > p {
  margin: 18px 0 28px;
  max-width: 34ch;
  color: #c9c4cd;
  font-size: 14px;
  line-height: 1.48;
}
.article-cycle-list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.article-cycle-entry {
  position: relative;
  min-height: 74px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition:
    padding 0.22s var(--article-ease),
    background 0.18s ease,
    color 0.18s ease;
}
.article-cycle-entry__dot {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.article-cycle-entry span:nth-child(2) {
  display: grid;
  gap: 5px;
}
.article-cycle-entry strong {
  font-size: 14px;
  letter-spacing: -0.022em;
}
.article-cycle-entry small {
  color: #9d98a6;
  font-size: 10px;
}
.article-cycle-entry > b {
  justify-self: end;
  color: var(--article-orange);
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s var(--article-ease);
}
.article-cycle-entry.is-current {
  background: rgba(133, 255, 0, 0.04);
}
.article-cycle-entry.is-current .article-cycle-entry__dot {
  background: var(--article-acid);
  border-color: var(--article-acid);
  box-shadow: 0 0 10px rgba(133, 255, 0, 0.48);
}
.article-cycle-index__all {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--article-orange);
  font-size: 11px;
  font-weight: 600;
  position: relative;
}
.article-cycle-index__all::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.24);
  transform-origin: left;
  opacity: 0.45;
  transition: transform 0.22s var(--article-ease);
}
.article-cycle-index__all b {
  transition: transform 0.2s var(--article-ease);
}
.article-cycle-preview {
  padding: clamp(36px, 5vw, 68px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--article-paper);
  position: relative;
  overflow: hidden;
}
.article-cycle-preview::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(114, 39, 255, 0.16);
  border-radius: 50% 43% 51% 45%/40% 51% 42% 50%;
}
.article-cycle-preview__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.article-cycle-preview__eyebrow .matrix {
  margin: 0;
  color: var(--article-muted);
  font-size: 10px;
}
.article-cycle-preview__eyebrow span {
  color: var(--article-orange);
  font-size: 18px;
}
.article-cycle-preview__content {
  align-self: center;
  position: relative;
  z-index: 1;
}
.article-cycle-preview h3 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(52px, 6.3vw, 92px);
  line-height: 0.88;
  letter-spacing: -0.066em;
  font-weight: 600;
  text-wrap: balance;
}
.article-cycle-preview__content > p {
  margin: 24px 0 0;
  max-width: 36ch;
  color: var(--article-muted);
  font-size: 15px;
  line-height: 1.48;
}
.article-cycle-preview__meta {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--article-rule-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--article-muted);
  font-size: 11px;
}

/* ========== Correo ========== */

.article-newsletter {
  padding: clamp(56px, 6vw, 82px) var(--article-edge);
  background: var(--article-paper);
}
.article-newsletter .matrix {
  margin: 0 0 8px;
  color: var(--article-muted);
  font-size: 10px;
}
.article-newsletter h2 {
  margin: 0;
  font-size: clamp(31px, 3.8vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.article-newsletter__copy > p:not(.matrix) {
  margin: 10px 0 0;
  color: var(--article-muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.article-newsletter form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}
.article-newsletter input {
  min-width: 0;
  height: 46px;
  padding: 0 10px 0 0;
  border: 0;
  border-bottom: 1px solid rgba(16, 16, 24, 0.48);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--article-ink);
  font-size: 13px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.article-newsletter input:focus {
  border-color: var(--article-blue);
  box-shadow: 0 1px 0 var(--article-blue);
}
.article-newsletter button {
  height: 46px;
  padding: 0 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--article-blue);
  background: transparent;
  color: var(--article-blue);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}
.article-newsletter form p {
  grid-column: 1/-1;
  min-height: 16px;
  margin: 7px 0 0;
  color: var(--article-muted);
  font-size: 10px;
}
.article-cycle-drawer {
  width: min(940px, calc(100vw - 28px));
  max-height: min(92vh, 900px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--article-ink);
  overflow: visible;
}
.article-cycle-drawer::backdrop {
  background: rgba(7, 8, 18, 0.42);
  backdrop-filter: blur(5px);
}

/* ========== Reproductor fijo ========== */

.article-audio-dock {
  position: fixed;
  z-index: 1250;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(620px, calc(100vw - 28px));
  min-height: 64px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(7, 8, 18, 0.94);
  color: #fff;
  box-shadow: 0 18px 50px rgba(7, 8, 18, 0.28);
  backdrop-filter: blur(14px);
  transform: translate(-50%, 130%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s var(--article-ease),
    opacity 0.2s ease;
}
.article-audio-dock.is-open {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.article-audio-dock > button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.article-audio-dock__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.article-audio-dock__body strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.article-audio-dock__body small {
  color: #9692a0;
  font-size: 10px;
}
.article-audio-dock__body > div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 8px;
  align-items: center;
  color: #777483;
  font-size: 10px;
}
.article-audio-dock input {
  width: 100%;
  accent-color: var(--article-orange);
}
.article-toast {
  position: fixed;
  z-index: 1800;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  padding: 11px 14px;
  border-radius: 999px;
  background: var(--article-night);
  color: #fff;
  font-size: 11px;
  box-shadow: 0 12px 30px rgba(7, 8, 18, 0.18);
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.22s var(--article-ease);
}
.article-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (hover: hover) and (pointer: fine) {
  .article-opening__kicker a:hover::after {
    transform: scaleX(1);
  }
  .article-audio__main:hover::before,
  .article-audio__main:focus-visible::before {
    right: 0;
  }
  .article-audio__main:hover .article-audio__icon {
    background: var(--article-orange);
    border-color: var(--article-orange);
    color: #fff;
    transform: scale(1.05);
  }
  .article-share:hover::after,
  .article-share:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
  }
  .article-share:hover b {
    transform: translate(3px, -2px);
  }
  .note-ref:hover {
    background: rgba(114, 39, 255, 0.1);
    transform: translateY(-1px);
  }
  .article-margin__head button:hover {
    background: var(--article-night);
    border-color: var(--article-night);
    color: #fff;
  }
  .notes-ledger summary:hover .notes-ledger__sign {
    background: var(--article-blue);
    border-color: var(--article-blue);
    color: #fff;
  }
  .article-notes__list li:hover {
    padding-left: 12px;
    padding-right: 12px;
    background: rgba(114, 39, 255, 0.035);
  }
  .article-notes__list a:hover::after {
    transform: scaleX(1);
    opacity: 1;
  }
  .article-voice__links a:hover::after {
    transform: scaleX(1);
    opacity: 1;
  }
  .article-voice__links .is-primary:hover b {
    transform: translateX(4px);
  }
  .article-cycle-entry:hover {
    padding-left: 12px;
    padding-right: 12px;
    background: rgba(255, 255, 255, 0.045);
  }
  .article-cycle-entry:hover > b {
    transform: translate(3px, -2px);
  }
  .article-cycle-index__all:hover::after,
  .article-cycle-index__all:focus-visible::after {
    transform: scaleX(1);
  }
  .article-cycle-index__all:hover b {
    transform: translateX(4px);
  }
}
@media (hover: none) {
  .article-share:active {
    color: var(--article-ink);
  }
  .article-cycle-entry:active {
    background: rgba(255, 255, 255, 0.06);
  }
  .article-notes__list a:active,
  .article-voice__links a:active {
    color: var(--article-ink);
  }
}
@media (max-width: 1180px) {
  .article-margin {
    display: none;
  }
  .article-after {
    width: min(100%, var(--article-measure));
  }
}
@media (max-width: 900px) {
  .article-opening {
    min-height: auto;
    padding-top: calc(var(--article-header-h) + 92px);
    padding-bottom: 78px;
    background-size: auto 72%;
    background-position: 54% top;
  }
  .article-opening__utility {
    grid-template-columns: 1fr;
  }
  .article-share--opening {
    justify-self: start;
  }
  .article-visual {
    width: calc(100vw - 28px);
  }
  .article-visual img {
    height: min(72vw, 620px);
  }
  .article-voice__inner {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 32px;
  }
  .article-voice__portrait-wrap {
    width: 150px;
  }
  .article-cycle-browser__shell {
    grid-template-columns: 1fr;
  }
  .article-cycle-index::after {
    display: none;
  }
  .article-cycle-preview {
    min-height: 430px;
  }
}
@media (max-width: 720px) {
  .article-page {
    --article-edge: 18px;
    --article-header-h: 56px;
  }
  .article-opening {
    padding: calc(var(--article-header-h) + 82px) var(--article-edge) 62px;
    background-size: auto 68%;
    background-position: 57% top;
  }
  .article-opening h1 {
    max-width: 10.4ch;
    font-size: clamp(50px, 16vw, 74px);
    line-height: 0.89;
  }
  .article-opening__meta {
    font-size: 11px;
    gap: 5px 12px;
  }
  .article-opening__deck {
    font-size: 19px;
    line-height: 1.48;
    max-width: 31ch;
  }
  .article-opening__utility {
    margin-top: 24px;
    padding-top: 16px;
    gap: 14px;
  }
  .article-audio__main {
    min-height: 68px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 11px;
  }
  .article-audio__icon {
    width: 34px;
    height: 34px;
  }
  .article-share--opening {
    min-height: 40px;
  }
  .article-visual {
    width: 100%;
    margin-bottom: 62px;
  }
  .article-visual__frame {
    border-radius: 0;
  }
  .article-visual img {
    height: 72vw;
    max-height: 420px;
  }
  .article-reading {
    padding: 58px var(--article-edge) 72px;
  }
  .article-copy {
    font-size: 18px;
    line-height: 1.71;
  }
  .article-copy p {
    margin-bottom: 1.48em;
  }
  .article-copy p.article-copy__breath {
    margin-top: 46px;
  }
  .article-copy__closing {
    font-size: 30px;
  }
  .note-ref {
    width: 21px;
    height: 21px;
  }
  .article-after {
    padding: 0 var(--article-edge) 72px;
  }
  .notes-ledger summary {
    min-height: 78px;
  }
  .notes-ledger summary strong {
    font-size: 18px;
  }
  .article-notes__list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }
  .article-notes__list h3 {
    font-size: 17px;
  }
  .article-tools {
    min-height: 62px;
  }
  .article-voice {
    padding: 70px var(--article-edge) 76px;
  }
  .article-voice__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 24px;
  }
  .article-voice__portrait-wrap {
    width: 150px;
    margin: 0;
  }
  .article-voice__eyebrow {
    margin-bottom: 9px;
  }
  .article-voice h2 {
    font-size: 50px;
  }
  .article-voice__bio {
    font-size: 14px;
    line-height: 1.58;
  }
  .article-voice__links {
    gap: 4px 16px;
  }
  .article-cycle-browser {
    padding: 62px 12px;
  }
  .article-cycle-browser__shell {
    min-height: 0;
  }
  .article-cycle-index {
    padding: 30px 22px 34px;
  }
  .article-cycle-index h2 {
    font-size: 64px;
  }
  .article-cycle-entry {
    min-height: 68px;
  }
  .article-cycle-preview {
    min-height: 390px;
    padding: 30px 22px 34px;
  }
  .article-cycle-preview h3 {
    font-size: 58px;
  }
  .article-cycle-preview__content > p {
    font-size: 14px;
  }
  .article-newsletter {
    padding: 52px var(--article-edge) 58px;
  }
  .article-newsletter h2 {
    font-size: 36px;
  }
  .article-newsletter form {
    grid-template-columns: 1fr auto;
  }
  .article-cycle-drawer {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
  }
  .article-audio-dock {
    width: calc(100vw - 18px);
    bottom: max(9px, env(safe-area-inset-bottom));
    grid-template-columns: 40px 1fr 40px;
  }
  .article-audio-dock > button {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 420px) {
  .article-opening {
    background-position: 60% top;
    background-size: auto 64%;
  }
  .article-opening h1 {
    font-size: clamp(48px, 15vw, 66px);
  }
  .article-opening__deck {
    font-size: 18px;
  }
  .article-cycle-index h2 {
    font-size: 56px;
  }
  .article-cycle-preview h3 {
    font-size: 50px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .article-page * {
    scroll-behavior: auto !important;
  }
}
.article-visual {
  margin: 0 auto;
}
.article-reading {
  padding-top: clamp(40px, 4.8vw, 62px);
}
.article-audio__main::before {
  background: var(--article-orange);
}
.article-audio__meter i {
  background: var(--article-orange);
}
.article-note-dialog {
  width: min(430px, calc(100vw - 28px));
  max-width: 430px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--article-ink);
}
.article-note-dialog::backdrop {
  background: rgba(7, 8, 18, 0.52);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.article-note-dialog__card {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid rgba(114, 39, 255, 0.22);
  border-top: 3px solid var(--article-violet);
  background: var(--article-paper);
  box-shadow: 0 28px 80px rgba(7, 8, 18, 0.28);
}
.article-note-dialog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.article-note-dialog__top .matrix {
  margin: 0;
  color: var(--article-violet);
  font-size: 10px;
}
.article-note-dialog__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(114, 39, 255, 0.28);
  border-radius: 50%;
  background: transparent;
  color: var(--article-violet);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.2s var(--article-ease);
}
.article-note-dialog h2 {
  margin: 0 0 11px;
  font-size: clamp(24px, 7vw, 31px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.article-note-dialog__text {
  margin: 0;
  color: var(--article-muted);
  font-size: 14px;
  line-height: 1.58;
}
.article-note-dialog__source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  margin-top: 17px;
  color: var(--article-violet);
  font-size: 11px;
  font-weight: 600;
  position: relative;
}
.article-note-dialog__source::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: var(--article-violet);
  transform: scaleX(0.24);
  transform-origin: left;
  opacity: 0.42;
  transition:
    transform 0.22s var(--article-ease),
    opacity 0.18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .article-note-dialog__close:hover,
  .article-note-dialog__close:focus-visible {
    background: var(--article-violet);
    border-color: var(--article-violet);
    color: #fff;
  }
  .article-note-dialog__source:hover::after,
  .article-note-dialog__source:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .article-opening {
    min-height: auto;
    padding-bottom: 44px;
  }
  .article-opening__utility {
    grid-template-columns: 1fr;
  }
  .article-share--opening {
    justify-self: start;
  }
  .article-visual {
    width: calc(100vw - 28px);
    margin-bottom: 0;
  }
  .article-reading {
    padding-top: 36px;
  }
}
@media (max-width: 720px) {
  .article-opening {
    min-height: auto;
    padding: calc(var(--article-header-h) + 76px) var(--article-edge) 32px;
    display: block;
    background-size: auto 72%;
    background-position: 58% top;
  }
  .article-opening__utility {
    margin-top: 22px;
    padding-top: 14px;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .article-share--opening {
    min-height: 40px;
    justify-self: start;
  }
  .article-visual {
    width: 100%;
    margin-bottom: 0;
  }
  .article-visual img {
    height: 66vw;
    max-height: 390px;
  }
  .article-reading {
    padding-top: 28px;
  }
  .article-note-dialog {
    margin: auto auto max(16px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
  }
  .article-note-dialog__card {
    padding: 22px 20px 20px;
  }
}
@supports (background-image: image-set(url("x.avif") type("image/avif"))) {
  .article-page {
    --opening-img: image-set(
      url("../img/scene-portada.avif") type("image/avif"),
      url("../img/scene-portada.webp") type("image/webp")
    );
  }
}
.article-page {
  --article-header-h: 76px;
}

/* ========== Barra de lectura en el menú ========== */
.dock__cycle {
  position: relative;
  min-height: 42px;
  padding: 0 12px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 13px;
  color: inherit;
  white-space: nowrap;
}
.dock__cycle::after {
  content: "";
  position: absolute;
  inset: -6px -4px;
  z-index: -1;
  background: linear-gradient(90deg, #ff7a00, #ffb15e);
  -webkit-mask: url("../img/aura-wide.png") center/100% 100% no-repeat;
  mask: url("../img/aura-wide.png") center/100% 100% no-repeat;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.dock__cycle:hover::after,
.dock__cycle:focus-visible::after,
.dock__cycle[aria-expanded="true"]::after {
  opacity: 0.4;
}
.dock__caret {
  color: var(--blue);
  font-size: 13px;
  line-height: 1;
  transform: translateY(-2px);
  transition: transform 0.3s var(--ease);
}
.dock[data-tone="dark"] .dock__caret {
  color: #fff;
}
.dock__cycle[aria-expanded="true"] .dock__caret {
  transform: translateY(1px) rotate(180deg);
}
.article-opening__kicker {
  font-size: 11px;
}
.article-opening__kicker a {
  color: var(--violet);
}
.article-audio__duration {
  font-size: 11px;
}
.article-visual__frame {
  border-radius: 6px;
}
.article-visual img {
  filter: contrast(1.04);
}
.article-visual__frame::after {
  background: none;
}
.article-tools > span {
  color: var(--article-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.article-cycle-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-cycle-entry {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: default;
}
button.article-cycle-entry {
  cursor: pointer;
}
.article-cycle-entry.is-previewing {
  background: rgba(255, 255, 255, 0.045);
}
.article-cycle-entry.is-current > b {
  color: var(--green);
  font-size: 13px;
}
.article-cycle-entry__dot.is-writing {
  border-color: var(--orange);
  animation: blink 1.1s steps(2, jump-none) infinite;
}
@keyframes blink {
  50% {
    opacity: 0.2;
  }
}
.article-newsletter button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.article-newsletter form p {
  font-size: 12px;
}
@media (max-width: 720px) {
  .article-page {
    --article-header-h: 24px;
  }
  .dock__cycle {
    padding: 0 8px;
  }
  .article-audio-dock {
    bottom: calc(66px + env(safe-area-inset-bottom));
  }
  .article-toast {
    bottom: calc(70px + env(safe-area-inset-bottom));
  }
}
.article-page {
  --article-measure: 37rem;
}
.article-copy {
  color: var(--article-ink);
  font-size: clamp(18.5px, 0.25vw + 17px, 20.5px);
  line-height: 1.7;
  letter-spacing: -0.006em;
}
.article-copy p {
  margin: 0 0 1.3em;
}
.article-opening__deck {
  color: #3a333d;
}
.article-voice__bio {
  color: #4a4440;
}
.article-copy em {
  font-synthesis: style;
}
.article-visual {
  width: min(100% - 2 * var(--article-edge), 1180px);
  margin: clamp(8px, 2vw, 24px) auto clamp(64px, 7vw, 104px);
  display: flex;
  justify-content: center;
}
.article-visual__frame {
  position: relative;
  width: fit-content;
  max-width: 100%;
  display: flex;
  overflow: visible;
  background: none;
  border-radius: 0;
  isolation: isolate;
}
.article-visual__frame::before,
.article-visual__frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(52%, 460px);
  aspect-ratio: 1;
  -webkit-mask: url("../img/aura.png") center/contain no-repeat;
  mask: url("../img/aura.png") center/contain no-repeat;
  mix-blend-mode: normal;
  pointer-events: none;
}
.article-visual__frame::before {
  left: -16%;
  top: -20%;
  background: #a98bff;
  opacity: 0.85;
}
.article-visual__frame::after {
  display: block;
  right: -15%;
  bottom: -22%;
  background: #ffa877;
  opacity: 0.75;
}
.article-visual img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(86vh, 900px);
  object-fit: contain;
  filter: none;
  border-radius: 3px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 34px 70px -34px rgba(40, 24, 60, 0.45),
    0 2px 10px rgba(40, 24, 60, 0.1);
}
@media (max-width: 720px) {
  .article-page {
    --article-edge: 22px;
  }
  .article-copy {
    font-size: 18.5px;
    line-height: 1.72;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 8 4 4;
  }
  .article-copy p {
    margin-bottom: 1.25em;
  }
  .note-ref {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .article-visual {
    width: calc(100% - 28px);
  }
  .article-visual img {
    max-height: 78vh;
  }
  .article-reading {
    padding-bottom: 96px;
  }
}
.article-pull {
  margin: 2.1em 0 2.2em;
  padding: 0;
}
.article-pull p {
  margin: 0;
  color: var(--blue);
  font-size: clamp(27px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
@media (min-width: 1181px) {
  .article-pull {
    margin-left: -8%;
    margin-right: -14%;
  }
}
.article-copy p.article-copy__breath::before {
  content: "";
  display: block;
  width: 34px;
  height: 5px;
  margin: 0 auto 2.1em;
  background: radial-gradient(circle, rgba(31, 26, 34, 0.32) 2px, transparent 2.5px) 0 0/12px 5px
    repeat-x;
}
.article-newsletter {
  padding: clamp(48px, 6vw, 84px) var(--article-edge);
  background: var(--article-paper);
}
.article-newsletter__card {
  position: relative;
  width: min(100%, 64rem);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  background:
    linear-gradient(
      135deg,
      rgba(36, 116, 255, 0.88),
      rgba(71, 52, 255, 0.8) 60%,
      rgba(170, 47, 255, 0.74)
    ),
    url("../img/scene-participar.webp") center/cover;
  box-shadow:
    0 30px 70px -30px rgba(40, 10, 120, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.article-newsletter__card::before {
  display: none;
}
.article-newsletter__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: #fff;
}
.article-newsletter .matrix {
  margin: 0 0 10px;
  color: #fff;
  font-size: 11px;
}
.article-newsletter h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.055em;
}
.article-newsletter form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  align-items: stretch;
}
.article-newsletter input {
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(19, 13, 45, 0.08);
  border-radius: var(--r-sm);
  background: var(--cream);
  color: #17121d;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.article-newsletter input:focus {
  border-color: rgba(111, 34, 255, 0.48);
  box-shadow: 0 0 0 3px rgba(133, 255, 0, 0.25);
}
.article-newsletter button {
  height: 52px;
  padding: 0 20px;
  justify-content: center;
  border: 0;
  border-radius: var(--r-sm);
  background: #fff;
  color: #0b0820;
  font-size: 14px;
  font-weight: 700;
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.article-newsletter button:hover {
  color: #fff;
  background: #0b0815;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 5px rgba(133, 255, 0, 0.34);
}
.article-newsletter form p {
  margin: 2px 0 0;
  color: #efecff;
  font-size: 12.5px;
}
@media (max-width: 820px) {
  .article-newsletter__card {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .article-newsletter {
    padding: 40px 14px 56px;
  }
  .article-newsletter__card {
    padding: 28px 22px 24px;
    border-radius: 24px;
  }
  .article-pull p {
    font-size: 25px;
  }
}

/* ========== Hoja del tema ========== */

.cycle-sheet {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 100vw);
  height: 100dvh;
  max-height: none;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--article-ink);
  overflow: visible;
}
.cycle-sheet::backdrop {
  background: rgba(7, 8, 18, 0.38);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cycle-sheet[open] {
  animation: sheet-in 0.45s var(--ease) both;
}
@keyframes sheet-in {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.cycle-sheet__shell {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  background: var(--article-paper);
  box-shadow: -30px 0 80px rgba(7, 8, 18, 0.22);
}
.cycle-sheet__shell > * {
  flex-shrink: 0;
}
.cycle-sheet__head {
  position: relative;
  isolation: isolate;
  padding: 22px 26px 30px;
  overflow: hidden;
}
.cycle-sheet__head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/scene-portada.webp") 50% 30% / cover;
  opacity: 0.75;
  -webkit-mask: linear-gradient(#000 40%, transparent);
  mask: linear-gradient(#000 40%, transparent);
}
.cycle-sheet__grip {
  display: none;
}
.cycle-sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cycle-sheet__top .matrix {
  margin: 0;
  color: #9a4200;
  font-size: 11px;
}
.cycle-sheet__close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 26, 34, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  font-size: 22px;
  line-height: 1;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.cycle-sheet__close:hover {
  background: var(--article-ink);
  color: #fff;
}
.cycle-sheet__head h2 {
  margin: 46px 0 0;
  font-size: clamp(64px, 8vw, 92px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.07em;
}
.cycle-sheet__deck {
  margin: 14px 0 0;
  max-width: 30ch;
  color: #3a333d;
  font-size: 16px;
  line-height: 1.42;
}
.cycle-sheet__label {
  margin: 0 0 6px;
  color: var(--article-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.cycle-sheet__voices {
  padding: 8px 26px 26px;
}
.cycle-sheet__voices ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(31, 26, 34, 0.16);
}
.cycle-voice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(31, 26, 34, 0.1);
}
.cycle-voice__face {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.04em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 0 2px rgba(0, 0, 255, 0.35);
}
.cycle-voice__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.cycle-voice small {
  color: var(--article-muted);
  font-size: 12px;
}
.cycle-voice strong {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.cycle-voice em {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  color: var(--article-muted);
  font-size: 12px;
  font-style: normal;
}
.cycle-voice__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
}
.cycle-voice.is-read .cycle-voice__dot {
  border: 0;
  background: var(--green);
  box-shadow: 0 0 8px rgba(133, 255, 0, 0.7);
}
.cycle-voice.is-current {
  position: relative;
}
.cycle-voice.is-current::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--blue);
}
.cycle-voice.is-writing .cycle-voice__face {
  background: #d9d0c2;
  color: #4a4440;
  box-shadow: none;
}
.cycle-voice.is-writing strong {
  color: #4a4440;
}
.cycle-voice.is-writing strong {
  font-weight: 600;
  font-style: normal;
  color: #7a726b;
}
.cycle-voice__pen {
  width: 6px;
  height: 12px;
  background: var(--orange);
  animation: blink 1.2s steps(2, jump-none) infinite;
}
.cycle-voice__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cycle-sheet__enter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: var(--r-sm);
  background: var(--night);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.2s;
}
.cycle-sheet__enter span {
  transition: transform 0.25s var(--ease);
}
.cycle-sheet__enter:hover {
  background: var(--blue);
}
.cycle-sheet__enter:hover span {
  transform: translateX(3px);
}
.cycle-sheet__more {
  padding: 6px 26px 26px;
}
.cycle-sheet__more nav {
  display: grid;
  border-top: 1px solid rgba(31, 26, 34, 0.16);
}
.cycle-sheet__more a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(31, 26, 34, 0.1);
  transition: color 0.2s;
}
.cycle-sheet__more a strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cycle-sheet__more a span {
  color: var(--article-muted);
  font-size: 12px;
}
.cycle-sheet__more a.is-open span {
  color: #2f7a00;
}
.cycle-sheet__more a:hover {
  color: var(--blue);
}
.cycle-sheet__foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 26px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(31, 26, 34, 0.12);
}
.cycle-sheet__foot button,
.cycle-sheet__foot a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 720px) {
  .cycle-sheet {
    inset: auto 0 0 0;
    width: 100vw;
    height: auto;
    max-height: 88dvh;
  }
  .cycle-sheet[open] {
    animation-name: sheet-up;
  }
  @keyframes sheet-up {
    from {
      transform: translateY(60px);
      opacity: 0;
    }
    to {
      transform: none;
      opacity: 1;
    }
  }
  .cycle-sheet__shell {
    max-height: 88dvh;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -20px 60px rgba(7, 8, 18, 0.25);
  }
  .cycle-sheet__head {
    padding: 12px 22px 24px;
  }
  .cycle-sheet__grip {
    display: block;
    width: 44px;
    height: 5px;
    margin: 0 auto 12px;
    border-radius: 5px;
    background: rgba(31, 26, 34, 0.22);
  }
  .cycle-sheet__head h2 {
    margin-top: 30px;
    font-size: 64px;
  }
  .cycle-sheet__voices,
  .cycle-sheet__more {
    padding-left: 22px;
    padding-right: 22px;
  }
  .cycle-voice.is-current::before {
    left: -22px;
  }
  .cycle-sheet__foot {
    padding-left: 22px;
    padding-right: 22px;
  }
}
.article-newsletter__form form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}
.article-newsletter__form button {
  grid-column: 1/-1;
}
.article-newsletter__form .form-note {
  grid-column: 1/-1;
  margin: 2px 0 0;
  color: #e9ffbf;
  font-size: 13px;
}
.article-newsletter__form .form-note:empty {
  display: none;
}
@media (max-width: 720px) {
  .article-newsletter__form form {
    grid-template-columns: 1fr;
  }
}

/* ========== Barra de lectura ==========
   Una barra continua. La punta brilla y suelta pixeles al avanzar,
   los dos respiros del texto se encienden con su satélite verde
   y el cuadro final se pone verde al terminar. */

.dock--reading .reading-progress {
  --pixel-a: #00c2ff;
  --pixel-b: #2b5bff;
  --pixel-c: #0000ff;
  --hole: var(--article-paper);
  position: relative;
  align-self: stretch;
  min-width: 0;
  margin: 0 16px 0 18px;
  isolation: isolate;
}
.dock[data-tone="dark"] .reading-progress {
  --pixel-a: #7fe6ff;
  --pixel-b: #8b8bff;
  --pixel-c: #c9b8ff;
  --hole: #17141f;
}
.reading-progress__track,
.reading-progress__fill {
  position: absolute;
  left: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 999px;
}
.reading-progress__track {
  right: 0;
  background: rgba(16, 16, 24, 0.16);
}
.dock[data-tone="dark"] .reading-progress__track {
  background: rgba(255, 255, 255, 0.2);
}
.reading-progress__fill {
  z-index: 1;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, var(--blue) 0%, #1a3cff 62%, #00b4ff 100%);
  box-shadow:
    0 0 5px rgba(0, 60, 255, 0.5),
    0 0 13px rgba(0, 150, 255, 0.32);
  transition: box-shadow 0.4s;
}
.dock[data-tone="dark"] .reading-progress__fill {
  background: linear-gradient(90deg, #6d6dff 0%, #8b8bff 62%, #7fe6ff 100%);
  box-shadow:
    0 0 6px rgba(139, 139, 255, 0.65),
    0 0 15px rgba(127, 230, 255, 0.35);
}
.reading-progress.is-reading .reading-progress__fill {
  box-shadow:
    0 0 7px rgba(0, 60, 255, 0.7),
    0 0 20px rgba(0, 170, 255, 0.5);
}
.reading-progress__breath {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border: 2px solid rgba(16, 16, 24, 0.38);
  border-radius: 50%;
  background: var(--hole);
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.dock[data-tone="dark"] .reading-progress__breath {
  border-color: rgba(255, 255, 255, 0.5);
}
.reading-progress__breath::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px rgba(133, 255, 0, 0.9);
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.7, 0.64, 1);
}
.reading-progress__breath + .reading-progress__breath::after {
  left: -5px;
  right: auto;
  top: auto;
  bottom: -5px;
}
.reading-progress__breath.is-passed,
.dock[data-tone="dark"] .reading-progress__breath.is-passed {
  border-color: var(--pixel-b);
  background: var(--pixel-b);
  animation: respiro 0.8s ease-out;
}
.reading-progress__breath.is-passed::after {
  transform: scale(1);
}
@keyframes respiro {
  from {
    box-shadow: 0 0 0 0 rgba(0, 190, 255, 0.75);
  }
  to {
    box-shadow: 0 0 0 10px rgba(0, 190, 255, 0);
  }
}
.reading-progress__finish {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 3;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  background: rgba(16, 16, 24, 0.42);
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
.dock[data-tone="dark"] .reading-progress__finish {
  background: rgba(255, 255, 255, 0.5);
}
.reading-progress.is-complete .reading-progress__finish,
.dock[data-tone="dark"] .reading-progress.is-complete .reading-progress__finish {
  background: var(--green);
  box-shadow: 0 0 10px rgba(133, 255, 0, 0.85);
}
.reading-progress__finish::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 3px;
  height: 3px;
  opacity: 0;
  pointer-events: none;
}
.reading-progress.is-complete .reading-progress__finish::after {
  animation: remate 0.7s steps(5) forwards;
}
@keyframes remate {
  0% {
    opacity: 1;
    box-shadow:
      -5px -5px var(--green),
      5px -6px var(--green),
      -7px 2px #d7ff9e,
      6px 6px var(--green),
      -3px 7px #00c2ff;
  }
  100% {
    opacity: 0;
    box-shadow:
      -15px -12px var(--green),
      13px -14px var(--green),
      -20px 3px #d7ff9e,
      14px 13px var(--green),
      -10px 15px #00c2ff;
  }
}
.reading-progress__head {
  position: absolute;
  top: 50%;
  left: calc(var(--p, 0) * 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.reading-progress.is-moving .reading-progress__head {
  opacity: 1;
}
.reading-progress.is-complete .reading-progress__head {
  opacity: 0;
}
.reading-progress__head::before {
  content: "";
  position: absolute;
  left: -38px;
  top: -12px;
  width: 50px;
  height: 24px;
  background: linear-gradient(90deg, #2b5bff, #00d2ff);
  -webkit-mask: url("../img/aura-wide.png") center/100% 100% no-repeat;
  mask: url("../img/aura-wide.png") center/100% 100% no-repeat;
  opacity: 0.62;
  transform-origin: 76% 50%;
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.reading-progress.is-reading .reading-progress__head::before {
  opacity: 1;
  transform: scale(1.22, 1.36);
}
.reading-progress__head i {
  position: absolute;
  left: 3px;
  top: -1.5px;
  width: 3px;
  height: 3px;
  background: var(--pixel-a);
  box-shadow:
    5px 0 var(--pixel-a),
    11px 0 var(--pixel-b),
    2px -5px var(--pixel-b),
    -7px 5px var(--pixel-c),
    8px 4px var(--pixel-a),
    17px -3px var(--green);
}
.reading-progress__head[data-frame="1"] i {
  box-shadow:
    4px 0 var(--pixel-b),
    9px 0 var(--pixel-a),
    -3px -5px var(--pixel-c),
    5px 5px var(--pixel-b),
    13px -4px var(--pixel-a),
    19px 2px var(--green);
}
.reading-progress__head[data-frame="2"] i {
  box-shadow:
    6px 0 var(--pixel-a),
    14px 0 var(--pixel-b),
    0 5px var(--pixel-b),
    -9px -4px var(--pixel-c),
    10px -5px var(--pixel-a),
    16px 4px var(--green);
}
.reading-progress__head[data-frame="3"] i {
  box-shadow:
    4px 0 var(--pixel-a),
    8px 0 var(--pixel-b),
    3px 5px var(--pixel-a),
    -5px -5px var(--pixel-b),
    12px 3px var(--pixel-c),
    20px -2px var(--green);
}
@media (max-width: 720px) {
  .dock--reading .reading-progress {
    margin: 0 10px 0 12px;
  }
  .reading-progress__breath {
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reading-progress__breath.is-passed,
  .reading-progress.is-complete .reading-progress__finish::after {
    animation: none;
  }
}
.dock__cycle strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ========== Final del artículo ========== */

.article-cycle-preview__drafts {
  max-width: 30ch;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.article-cycle-preview__drafts[hidden] {
  display: none;
}
.article-cycle-preview__drafts i {
  position: relative;
  display: block;
  height: 9px;
  width: var(--w, 90%);
  background: repeating-linear-gradient(90deg, rgba(36, 21, 50, 0.2) 0 9px, transparent 9px 12px);
}
.article-cycle-preview__drafts i:nth-child(2) {
  --w: 68%;
}
.article-cycle-preview__drafts i:nth-child(3) {
  --w: 36%;
}
.article-cycle-preview__drafts i:nth-child(3)::after {
  content: "";
  position: absolute;
  top: -3px;
  left: calc(100% + 8px);
  width: 9px;
  height: 15px;
  background: var(--orange);
  animation: blink 1s steps(2, jump-none) infinite;
}
.article-cycle-preview__read {
  justify-self: start;
  position: relative;
  z-index: 1;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}
.article-cycle-preview__read[hidden] {
  display: none;
}

/* En el teléfono el menú va abajo: el arranque sube para que título, firma y audio quepan juntos */
@media (max-width: 720px) {
  .article-opening {
    padding-top: calc(42px + env(safe-area-inset-top));
  }
  .article-opening__deck {
    margin-top: 22px;
  }
  .article-opening__utility {
    margin-top: 22px;
  }
}
