@font-face { font-family: "Libre Franklin"; src: url("../fuentes/libre-franklin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fuentes/source-serif-4.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fuentes/source-serif-4-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #ffd249;
  --ink: #0a0a0a;
  --muted: #4f3e08;
  --accent: #f53fd6;
  --white: #ffffff;
  --pink: #ffc4ef;
  --cyan: #a4f6f8;
  --orange: #f9a21f;
  --tone: #f5c63c;
  --display: "Libre Franklin", "Arial Narrow", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-hero: clamp(3.5rem, 9.8vw, 9.4rem);
  --edge: clamp(20px, 3vw, 40px);
  --axis: 42%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.55 var(--text); }
img { display: block; max-width: 100%; height: auto; }
main p { max-width: 64ch; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; margin: 0; }
h2 { font-size: var(--step-head); line-height: 1; }
h3 { font-size: var(--step-lead); line-height: 1.15; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font: 700 var(--step-body)/1 var(--display);
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 18px 26px;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease-out, background-color .15s;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn:active { transform: translateY(2px); }

.bar { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 28px; padding: 22px var(--edge); }
.word { font: 700 var(--step-body)/1 var(--display); letter-spacing: -0.03em; text-decoration: none; }
.word span { color: var(--muted); }
.bar nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.bar nav a { font: 700 var(--step-small)/1 var(--display); text-decoration: none; padding: 12px 0; }
.bar nav a:hover, .bar nav a[aria-current] { text-decoration: underline; }

.cover { display: grid; grid-template-columns: 34% 1fr; min-height: calc(100svh - 70px); padding: 0 var(--edge); column-gap: 32px; }
.cover-talk { padding-top: 22vh; }
.cover-talk p { font-size: var(--step-lead); line-height: 1.35; max-width: 24ch; margin: 0 0 28px; }
.cover-title { font-size: var(--step-hero); line-height: 0.84; text-transform: uppercase; letter-spacing: -0.04em; margin-top: 4vh; }
.cover-title .line { display: block; overflow: hidden; padding: 0.14em 0 0.04em; margin-top: -0.14em; }
.cover-title .line span { display: block; animation: rise .9s cubic-bezier(.16, 1, .3, 1) both; }
.cover-title .line:nth-child(2) span { animation-delay: .11s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.cover-media { position: relative; margin-top: 7vh; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 7; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .big { grid-row: span 2; }
.mosaic .tile { background: var(--accent); }
.mosaic .tile.cyan { background: var(--cyan); }
.stamp { position: absolute; left: 0; top: -60px; width: 260px; background: var(--orange); padding: 16px 18px; }
.stamp strong { display: block; font: 700 var(--step-head)/1 var(--display); letter-spacing: -0.04em; }
.stamp span { font-size: var(--step-small); }

.chapter { padding: clamp(96px, 12vw, 180px) var(--edge); }
.white { background: var(--white); }
.pink { background: var(--pink); }
.cyan { background: var(--cyan); }
.orange { background: var(--orange); }

.axis { display: grid; grid-template-columns: var(--axis) 1fr; column-gap: 32px; }
.axis > .side { font-size: var(--step-small); color: var(--muted); padding-top: 10px; }
.axis .body p { max-width: 40ch; }
.two-col { columns: 2; column-gap: 56px; }
.two-col p { break-inside: avoid; margin: 0 0 20px; }

.index-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 56px; }
.index-head h2 span { display: block; color: var(--muted); }
.index-list { display: grid; gap: 4px; }
.band {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 150px;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding: 14px 20px;
  background: var(--tone);
  text-decoration: none;
  transition: background-color .15s;
}
.band:nth-child(even) { background: #fbd65a; }
.band:hover { background: var(--ink); color: var(--white); }
.band:hover small { color: #d9d9d9; }
.band strong { font: 700 var(--step-body)/1.15 var(--display); letter-spacing: -0.02em; }
.band small { display: block; font-size: var(--step-small); color: var(--muted); }
.band .go { font: 700 var(--step-small)/1 var(--display); text-align: right; }

.sticker-zone { display: grid; grid-template-columns: var(--axis) 1fr; column-gap: 32px; align-items: start; }
.sticker { background: var(--white); max-width: 520px; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.sticker.flip { transform: rotate(-2deg) translateY(-6px); }
.sticker img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sticker div { padding: 18px 20px 22px; }
.sticker p { margin: 8px 0 14px; }
.sticker-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.board { display: grid; gap: 4px; background: var(--ink); padding: 4px 0; }
.board details { background: #1c1c1c; color: var(--white); }
.board summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; min-height: 72px; padding: 12px 20px; font: 700 var(--step-lead)/1.1 var(--display); letter-spacing: -0.02em; }
.board summary::-webkit-details-marker { display: none; }
.board summary span { font-size: var(--step-small); background: var(--cyan); color: var(--ink); padding: 8px 12px; }
.board details[open] { background: var(--accent); color: var(--ink); }
.board details[open] summary span { background: var(--ink); color: var(--white); }
.board details p { margin: 0; padding: 0 20px 22px; max-width: 60ch; }
.board details a { color: inherit; }
.board details:hover:not([open]) { background: #2a2a2a; }

.faq-grid { display: grid; grid-template-columns: 3fr 1fr 8fr; }
.faq-grid h2 { grid-column: 1; font-size: var(--step-lead); }
.faq-grid .two-col { grid-column: 3; }
.faq-grid b { font-weight: 600; }

.foot { background: var(--ink); color: var(--white); padding: clamp(80px, 10vw, 140px) var(--edge) 40px; overflow: hidden; }
.foot a { color: var(--white); }
.foot a:hover { color: var(--accent); }
.shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 0 0 clamp(64px, 8vw, 110px); }
.shelf a { text-decoration: none; background: #1c1c1c; }
.shelf img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.shelf a:hover img { transform: scale(1.04); }
.shelf span { display: block; padding: 10px 12px; font: 700 var(--step-small)/1.2 var(--display); }
.top-play { margin-top: 28px; }
.foot-name { font: 700 var(--step-hero)/0.85 var(--display); letter-spacing: -0.045em; margin: 0 0 72px; }
.foot-row { display: grid; grid-template-columns: 5fr 1fr 6fr; }
.foot-mail { font: 700 var(--step-lead)/1.2 var(--display); letter-spacing: -0.02em; }
.foot-links { grid-column: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; font-size: var(--step-small); }
.notice { grid-column: 1 / -1; margin-top: 64px; background: var(--bg); color: var(--ink); padding: 26px 28px 10px; max-width: 900px; }
.notice h2 { font-size: var(--step-lead); margin-bottom: 12px; }
.notice p { margin: 0 0 16px; max-width: 70ch; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; font-size: var(--step-small); color: #cfcfcf; }

.feature-mast { padding: 0 var(--edge); }
.feature-mast img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.feature-mast img.contain { object-fit: contain; background: var(--white); }
.feature-title { padding: 40px var(--edge) 56px; }
.feature-title h1 { font-size: clamp(2.75rem, 6.5vw, 6rem); line-height: 0.9; text-transform: uppercase; letter-spacing: -0.04em; }
.feature-title .stand { font-size: var(--step-lead); line-height: 1.35; max-width: 34ch; margin: 24px 0 0; }
.feature-body { padding: 72px var(--edge) clamp(96px, 10vw, 150px); }
.feature-body h2 { font-size: var(--step-lead); margin: 56px 0 14px; }
.feature-body h2:first-child { margin-top: 0; }
.feature-body p, .feature-body li { max-width: 62ch; }
.facts { margin: 0; display: grid; gap: 14px; }
.facts dt { font: 700 var(--step-small)/1.2 var(--display); }
.facts dd { margin: 2px 0 0; }
.verdict { background: var(--accent); padding: 28px; margin: 48px 0 32px; max-width: 62ch; }
.verdict h2 { margin-top: 0 !important; }
.verdict p { margin: 0; font-size: var(--step-lead); line-height: 1.4; }

.sheet { padding: clamp(64px, 8vw, 120px) var(--edge); }
.sheet h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 0.92; text-transform: uppercase; letter-spacing: -0.04em; margin-bottom: 40px; }
.sheet h2 { font-size: var(--step-lead); margin: 44px 0 12px; }
.sheet p, .sheet li { max-width: 62ch; }

.form { display: grid; gap: 6px; max-width: 560px; margin-top: 28px; }
.form label { font: 700 var(--step-small)/1.2 var(--display); margin-top: 14px; }
.form input, .form textarea { font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 0; padding: 12px 14px; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.form .btn { justify-self: start; margin-top: 22px; }

@media (max-width: 900px) {
  .cover { grid-template-columns: 1fr; min-height: auto; padding-bottom: 40px; }
  .cover > div:last-child { display: contents; }
  .cover-talk { padding-top: 0; order: 2; }
  .cover-title { order: 1; font-size: 15vw; line-height: 0.85; margin-top: 2vh; }
  .cover-media { order: 3; margin-top: 120px; }
  .cover .btn { display: block; text-align: center; }
  .mosaic { aspect-ratio: 4 / 3; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr 1fr; }
  .mosaic .big { grid-row: auto; grid-column: span 2; }
  .stamp { width: 60%; top: -44px; }
  .axis, .sticker-zone, .faq-grid, .foot-row { grid-template-columns: 1fr; }
  .axis > .side { padding: 0 0 16px; }
  .faq-grid .two-col, .foot-links { grid-column: auto; }
  .two-col { columns: 1; }
  .band { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .band .hide-sm { grid-column: 1; }
  .band .go { grid-column: 2; grid-row: 1; }
  .foot-links { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .feature-mast img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .chapter h2, .sheet h2, .sheet p, .shelf a, .band, .board details, .sticker, .two-col p, .feature-body h2, .verdict, .facts > div, .index-head .btn, .mosaic img, .foot-name {
      animation: lift linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
  .mosaic .big { animation: drift 18s ease-in-out infinite alternate; }
  .feature-mast img { animation: drift 22s ease-in-out infinite alternate; }
}
@keyframes lift { from { transform: translateY(28px); } to { transform: none; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover-title .line span { animation: none; }
  .sticker, .btn, .band { transition: none; }
  .mosaic .big, .feature-mast img { animation: none; }
}
.index-head + .index-list { margin-top: 0; }
.chapter .board { margin-top: 48px; }
.next { margin-top: 40px; }
.mosaic, .feature-mast { overflow: hidden; }
