/* Te digo y te repito — sistema visual
   Base extraída del <style> de docs/mock-portada-original.html (fuente de verdad, no editar ese archivo).
   Las adaptaciones del sitio van al final, bajo ADAPTACIONES. */

:root {
  --ink: #11100e;
  --paper: #f1eadb;
  --paper-light: #fffaf0;
  --red: #ef3b28;
  --blue: #76a7ff;
  --yellow: #f5ce45;
  --pink: #efa5b8;
  --line: rgba(17, 16, 14, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  z-index: 100;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(20,15,8,.08) 4px);
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }

button, input { font: inherit; }

.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;
}

.site-header {
  min-height: 92px;
  padding: 18px 3.5vw;
  border-bottom: 2px solid var(--ink);
  display: grid;
  grid-template-columns: minmax(170px, .75fr) minmax(560px, 2fr) minmax(120px, .75fr);
  column-gap: clamp(1.5rem, 3vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 20;
  background: var(--paper);
}

.wordmark {
  width: max-content;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1rem;
  line-height: .9;
  letter-spacing: -.04em;
  transform: rotate(-1.5deg);
}

.wordmark span { display: block; }

.desktop-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 4rem);
}

.desktop-nav a,
.enter-link {
  font-size: .86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.desktop-nav a { position: relative; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  background: var(--red);
  transition: right .2s ease;
}
.desktop-nav a:hover::after { right: 0; }

.enter-link {
  justify-self: end;
  border: 2px solid var(--ink);
  padding: .75rem 1rem;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.enter-link:hover { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }

.hero {
  min-height: calc(100vh - 92px);
  padding: clamp(3rem, 7vw, 7rem) 3.5vw 4rem;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 5vw;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.eyebrow,
.section-number {
  margin: 0 0 2rem;
  font-family: "Courier New", monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.worlds-intro h2,
.say-it-title h2,
.house-copy h2,
.join h2 {
  margin: 0;
  font-family: "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.075em;
  line-height: .86;
}

.hero h1 { max-width: 900px; font-size: clamp(4.2rem, 8.1vw, 9.3rem); }
.hero h1 em { color: var(--red); font-style: normal; }

.hero-scribble {
  display: inline-block;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: -.06em;
  transform: rotate(-2deg);
  position: relative;
}
.hero-scribble::after {
  content: "";
  position: absolute;
  left: 0;
  right: -8%;
  bottom: 3%;
  height: .09em;
  background: var(--blue);
  transform: rotate(-1deg);
  z-index: -1;
}

.hero-intro {
  max-width: 560px;
  font-family: Georgia, serif;
  font-size: clamp(1.15rem, 1.65vw, 1.7rem);
  line-height: 1.35;
  margin: 2.2rem 0 2rem;
}

.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  min-width: 210px;
  padding: 1.05rem 1.2rem;
  border: 2px solid var(--ink);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 5px 5px 0 var(--ink);
  transition: .15s ease;
}
.button:hover { transform: translate(5px, 5px); box-shadow: none; }
.button-dark { color: var(--paper-light); background: var(--ink); box-shadow: 5px 5px 0 var(--red); }
.button-red { color: var(--paper-light); background: var(--red); }

.text-link {
  font-size: .8rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .06em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: .3rem;
}
.text-link span { margin-left: .5rem; }

.hero-collage { height: min(580px, 56vw); min-height: 440px; position: relative; }
.poster {
  position: absolute;
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
}
.poster-back {
  width: 63%;
  height: 77%;
  left: 2%;
  top: 9%;
  padding: 1.1rem;
  background: var(--blue);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 5rem);
  line-height: .85;
  transform: rotate(-8deg);
}
.poster-main {
  width: 68%;
  height: 78%;
  right: 4%;
  top: 10%;
  background: var(--red);
  color: var(--paper-light);
  padding: clamp(1.4rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: rotate(4deg);
}
.poster-main p {
  font-family: Georgia, serif;
  font-size: clamp(1.7rem, 3.1vw, 3.6rem);
  font-style: italic;
  line-height: 1.02;
}
.quote-mark { position: absolute; top: .2rem; left: 1rem; font: 9rem/.8 Georgia, serif; opacity: .35; }
.poster-sign { font-family: "Courier New", monospace; font-size: .72rem; font-weight: 700; }
.stamp {
  position: absolute;
  right: 0;
  bottom: 2%;
  padding: 1.1rem;
  border: 3px solid var(--ink);
  background: var(--yellow);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(.8rem, 1.4vw, 1.35rem);
  line-height: .9;
  transform: rotate(-7deg);
  z-index: 3;
}
.tape { position: absolute; width: 115px; height: 32px; background: rgba(255,250,220,.68); z-index: 5; }
.tape-one { left: 31%; top: 4%; transform: rotate(14deg); }
.tape-two { right: 12%; bottom: 10%; transform: rotate(-20deg); }
.margin-note {
  position: absolute;
  right: 1rem;
  bottom: 2rem;
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Courier New", monospace;
  font-size: .65rem;
  letter-spacing: .15em;
}

.ticker {
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
  padding: .7rem 0;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.1rem;
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 42s linear infinite;
}
.ticker-group {
  display: flex;
  flex-shrink: 0;
}
.ticker-group span {
  display: block;
  flex-shrink: 0;
  padding-right: 1.25rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-pad { padding: clamp(5rem, 9vw, 9rem) 3.5vw; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 4rem; }
.section-heading h2, .worlds-intro h2, .say-it-title h2, .house-copy h2, .join h2 { font-size: clamp(4rem, 7vw, 8rem); }
.section-number { grid-column: 1 / -1; margin-bottom: .5rem; }
.section-kicker { max-width: 370px; font: italic clamp(1.15rem, 1.6vw, 1.5rem)/1.4 Georgia, serif; }
.section-heading.horizontal { grid-template-columns: 2fr 1fr; }
.section-heading.horizontal > *:last-child { justify-self: end; align-self: end; }

.emotion-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.emotion-card {
  min-height: 330px;
  padding: 1.5rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: color .25s ease, background .25s ease;
}
.emotion-card h3 { margin: 5rem 0 1rem; font: 900 clamp(2.2rem, 4vw, 4.8rem)/.9 "Arial Black", Arial, sans-serif; text-transform: uppercase; letter-spacing: -.06em; }
.emotion-card p { max-width: 230px; font: italic 1.05rem/1.35 Georgia, serif; }
.emotion-index { font: 700 .75rem "Courier New", monospace; }
.emotion-card .arrow { position: absolute; top: 1rem; right: 1.2rem; font-size: 1.8rem; transition: transform .2s; }
.emotion-card:hover .arrow { transform: rotate(45deg); }
.tone-red h3 { color: var(--red); }
.tone-cream h3 { color: var(--paper-light); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.tone-blue h3 { color: var(--blue); }
.tone-yellow h3 { color: var(--yellow); -webkit-text-stroke: 1px var(--ink); paint-order: stroke fill; }
.tone-ink h3 { color: var(--ink); }
.tone-pink h3 { color: var(--pink); }
.emotion-card:hover h3 { color: var(--ink); -webkit-text-stroke: 0; }
.tone-red:hover h3,
.tone-ink:hover h3 { color: var(--paper-light); }
.tone-red:hover { background: var(--red); color: var(--paper-light); }
.tone-cream:hover { background: var(--paper-light); }
.tone-blue:hover { background: var(--blue); }
.tone-yellow:hover { background: var(--yellow); }
.tone-ink:hover { background: var(--ink); color: var(--paper-light); }
.tone-pink:hover { background: var(--pink); }

.latest { background: var(--paper-light); border-top: 2px solid var(--ink); }
.writing-list { border-top: 3px solid var(--ink); }
.writing-row {
  display: grid;
  grid-template-columns: 70px 180px 1.25fr 1fr 90px;
  gap: 1.5rem;
  align-items: center;
  min-height: 170px;
  border-bottom: 2px solid var(--ink);
  position: relative;
  transition: padding .2s, background .2s;
}
.writing-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); transition: width .2s; }
.writing-row:hover { padding-left: 1rem; }
.writing-row:hover::before { width: 7px; }
.accent-blue::before { background: var(--blue); }
.accent-yellow::before { background: var(--yellow); }
.writing-number, .writing-meta { font: 700 .69rem/1.3 "Courier New", monospace; text-transform: uppercase; }
.writing-row h3 { margin: 0; font: 900 clamp(1.7rem, 3vw, 3.4rem)/.95 "Arial Black", Arial, sans-serif; text-transform: uppercase; letter-spacing: -.04em; }
.writing-row p { font: italic 1rem/1.4 Georgia, serif; }
.writing-row > a { font-size: .75rem; font-weight: 900; text-transform: uppercase; justify-self: end; }

.worlds { background: var(--ink); color: var(--paper-light); display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.worlds-intro { padding: 2rem 3vw 4rem 0; }
.worlds-intro p:last-child { max-width: 450px; font: italic 1.35rem/1.4 Georgia, serif; color: #c9c0b2; }
.section-number.light { color: #aaa296; }
.world-card { min-height: 650px; padding: 2rem; position: relative; overflow: hidden; display: flex; flex-direction: column; border: 2px solid rgba(255,255,255,.25); }
.world-card h3 { margin: auto 0 1.2rem; font: 900 clamp(3.5rem, 6vw, 7rem)/.8 "Arial Black", Arial, sans-serif; letter-spacing: -.07em; }
.world-card h3 em { font-family: Georgia, serif; font-weight: 400; }
.world-card > p { max-width: 540px; font: 1.08rem/1.45 Georgia, serif; }
.world-topline, .locked-row { display: flex; justify-content: space-between; gap: 1rem; font: 700 .65rem "Courier New", monospace; text-transform: uppercase; letter-spacing: .08em; }
.locked-row { border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; padding: .9rem 0; margin: 1.4rem 0; opacity: .8; }
.world-card > a { display: flex; justify-content: space-between; padding: 1rem 0 0; text-transform: uppercase; font-size: .76rem; font-weight: 900; letter-spacing: .08em; }
.celeste-world { background: #0d1727; color: #9fc1ff; }
.after-world { background: var(--red); color: var(--paper-light); }
.secret-world { grid-column: 2; background: var(--yellow); color: var(--ink); }
.moon { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: var(--blue); right: -40px; top: 80px; box-shadow: -28px 20px 0 #0d1727; }
.three-mark { position: absolute; right: -1rem; top: 4rem; font: 900 clamp(7rem, 13vw, 14rem)/1 "Arial Black", Arial, sans-serif; color: rgba(17,16,14,.2); transform: rotate(8deg); }
.classified { position: absolute; top: 6rem; right: 2rem; padding: .6rem 1rem; border: 4px solid var(--red); color: var(--red); font-family: "Arial Black", Arial, sans-serif; font-size: 1.2rem; transform: rotate(11deg); }
.legend-world { grid-column: 1 / -1; min-height: 570px; background: #173d3a; color: #dceee7; }
.legend-world h3 { max-width: 820px; }
.legend-world > p { max-width: 650px; }
.south-mark { position: absolute; right: 2rem; top: 4rem; font: 900 clamp(7rem, 16vw, 16rem)/1 "Arial Black", Arial, sans-serif; letter-spacing: -.08em; color: rgba(220,238,231,.12); transform: rotate(-4deg); }

.say-it { display: grid; grid-template-columns: 1fr .85fr .65fr; gap: 5vw; align-items: center; min-height: 850px; }
.say-it-title h2 span { font-family: Georgia, serif; font-style: italic; font-weight: 400; text-transform: lowercase; color: var(--red); }
.large-copy { font: italic clamp(1.35rem, 2vw, 2rem)/1.35 Georgia, serif; }
.say-it ol { list-style: none; margin: 2.5rem 0; padding: 0; border-top: 2px solid var(--ink); }
.say-it li { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--ink); }
.say-it li > span { font: 700 .7rem "Courier New", monospace; }
.say-it li strong { text-transform: uppercase; font-size: .88rem; }
.say-it li p { margin: .35rem 0 0; font: .95rem/1.4 Georgia, serif; }
.letter-card { min-height: 500px; background: var(--paper-light); border: 2px solid var(--ink); box-shadow: 14px 14px 0 var(--blue); padding: 2rem; transform: rotate(4deg); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.letter-card::before { content: ""; position: absolute; left: 7%; right: 7%; top: 18%; border-top: 1px solid #b7ad9c; box-shadow: 0 38px #b7ad9c, 0 76px #b7ad9c, 0 114px #b7ad9c, 0 152px #b7ad9c, 0 190px #b7ad9c; }
.letter-card p, .letter-card strong, .letter-card span { position: relative; z-index: 1; }
.letter-card p { font: italic 1.3rem Georgia, serif; }
.letter-card strong { font: italic clamp(1.7rem, 2.7vw, 3rem)/1.15 Georgia, serif; color: var(--red); }
.letter-card span { font: 700 .65rem "Courier New", monospace; text-transform: uppercase; }

.shop { background: var(--blue); border-top: 2px solid var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.product-card { border-top: 2px solid var(--ink); padding-top: 1rem; }
.product-visual { height: 440px; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; overflow: hidden; }
.product-card > p { font: 700 .7rem "Courier New", monospace; text-transform: uppercase; margin: 1rem 0 .4rem; }
.product-card h3 { margin: 0; font: 900 1.5rem "Arial Black", Arial, sans-serif; text-transform: uppercase; }
.product-card > span { display: block; margin-top: .4rem; font: italic .95rem Georgia, serif; }
.shirt-shape { width: 240px; height: 290px; background: var(--ink); color: var(--paper-light); clip-path: polygon(24% 0, 39% 8%, 61% 8%, 76% 0, 100% 15%, 85% 40%, 77% 34%, 77% 100%, 23% 100%, 23% 34%, 15% 40%, 0 15%); display: grid; place-items: center; text-align: center; transform: rotate(-4deg); }
.shirt-shape span { font: 900 1.1rem/.9 "Arial Black", Arial, sans-serif; }
.mug-shape { width: 225px; height: 200px; border: 8px solid var(--red); background: var(--paper-light); position: relative; display: grid; place-items: center; transform: rotate(4deg); }
.mug-shape::after { content: ""; position: absolute; right: -75px; width: 70px; height: 100px; border: 8px solid var(--red); border-left: 0; border-radius: 0 70px 70px 0; }
.mug-shape span { font: 900 3rem "Arial Black", Arial, sans-serif; }
.box-shape { width: 270px; height: 260px; background: var(--red); color: var(--paper-light); border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); display: grid; place-items: center; text-align: center; transform: rotate(-5deg); }
.box-shape span { font: 900 1.5rem/.9 "Arial Black", Arial, sans-serif; }

.house { background: var(--red); display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; color: var(--paper-light); align-items: center; }
.house-shape { aspect-ratio: 1; background: var(--paper); color: var(--ink); clip-path: polygon(50% 0, 100% 32%, 100% 100%, 0 100%, 0 32%); display: grid; place-items: center; transform: rotate(-3deg); }
.house-shape span { margin-top: 15%; font: 900 clamp(4rem, 8vw, 9rem)/.75 "Arial Black", Arial, sans-serif; letter-spacing: -.08em; }
.house-copy > p:not(.section-number) { max-width: 650px; font: 1.35rem/1.5 Georgia, serif; }
.house-links { margin-top: 3rem; display: flex; flex-direction: column; border-top: 2px solid currentColor; }
.house-links a { display: flex; justify-content: space-between; padding: 1.2rem 0; border-bottom: 2px solid currentColor; text-transform: uppercase; font-weight: 900; font-size: .8rem; }

.join { text-align: center; background: var(--yellow); border-top: 2px solid var(--ink); }
.join .section-number { margin-bottom: 2rem; }
.join h2 { max-width: 1000px; margin: 0 auto; }
.join > p:not(.section-number) { max-width: 580px; margin: 2rem auto; font: italic 1.25rem/1.45 Georgia, serif; }
.join-form { max-width: 750px; margin: 3rem auto 0; display: flex; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.join-form input { flex: 1; min-width: 0; border: 0; background: var(--paper-light); padding: 1.3rem; font-family: "Courier New", monospace; font-weight: 700; outline: none; }
.join-form input:focus { box-shadow: inset 0 0 0 3px var(--blue); }
.join-form button { border: 0; border-left: 3px solid var(--ink); background: var(--red); color: var(--paper-light); padding: 1.3rem; font-weight: 900; cursor: pointer; }

footer { background: var(--ink); color: var(--paper-light); padding: 5rem 3.5vw 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 3rem; align-items: end; }
.footer-brand { font: 900 clamp(3.5rem, 7vw, 8rem)/.75 "Arial Black", Arial, sans-serif; letter-spacing: -.08em; }
footer p { color: #bbb3a7; font: 1rem/1.5 Georgia, serif; }
.footer-links { display: flex; flex-direction: column; gap: .8rem; text-transform: uppercase; font-size: .72rem; font-weight: 800; }
.footer-links a:hover { color: var(--red); }
.footer-year { font: .7rem "Courier New", monospace; }

/* Shared landing-page system */
.landing { min-height: 100vh; overflow: hidden; }
.subsite-header { position: relative; }
.landing-hero {
  min-height: calc(100vh - 92px);
  padding: clamp(4rem, 8vw, 8rem) 3.5vw;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 6vw;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.landing-hero-copy { position: relative; z-index: 2; }
.page-breadcrumb,
.landing-kicker {
  margin: 0 0 1.4rem;
  font: 700 .7rem/1.3 "Courier New", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.page-breadcrumb a { border-bottom: 1px solid currentColor; }
.landing-kicker { margin-bottom: 2rem; }
.landing-hero h1,
.landing-section-heading h2,
.access-intro h2,
.worlds-manifesto h2,
.shop-custom h2,
.shop-note h2,
.house-model h2,
.revenue-note h2,
.house-entry h2,
.request-section h2 {
  margin: 0;
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.075em;
  line-height: .86;
}
.landing-hero h1 { font-size: clamp(4.2rem, 8vw, 9.2rem); }
.landing-hero h1 span { display: block; }
.landing-hero h1 em { font-family: Georgia, serif; font-weight: 400; text-transform: lowercase; }
.landing-lead { max-width: 680px; margin: 2rem 0; font: italic clamp(1.25rem, 2vw, 2rem)/1.4 Georgia, serif; }
.landing-section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: end; margin-bottom: 4rem; }
.landing-section-heading .section-number { grid-column: 1 / -1; }
.landing-section-heading h2 { font-size: clamp(4rem, 7vw, 8rem); }
.landing-section-heading > p:last-child { max-width: 450px; font: italic 1.25rem/1.45 Georgia, serif; }
.landing-section-heading.compact { grid-template-columns: 1fr; }

/* Worlds directory */
.directory-hero { background: var(--paper); }
.door-collage { min-height: 560px; position: relative; }
.door { position: absolute; width: 43%; height: 68%; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); display: flex; align-items: flex-end; padding: 1rem; font: 900 4rem "Arial Black", Arial, sans-serif; }
.door-one { left: 4%; top: 7%; background: #0d1727; color: var(--blue); transform: rotate(-7deg); }
.door-two { right: 4%; top: 4%; background: var(--red); color: var(--paper-light); transform: rotate(5deg); }
.door-three { left: 11%; bottom: 3%; background: var(--yellow); transform: rotate(3deg); }
.door-four { right: 8%; bottom: 0; background: #173d3a; color: #dceee7; transform: rotate(-5deg); }
.world-directory { background: var(--ink); color: var(--paper-light); }
.portal-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid rgba(255,255,255,.5); border-left: 2px solid rgba(255,255,255,.5); }
.portal-card { min-height: 520px; padding: 2rem; border-right: 2px solid rgba(255,255,255,.5); border-bottom: 2px solid rgba(255,255,255,.5); display: flex; flex-direction: column; transition: transform .2s ease; }
.portal-card:hover { transform: translate(-5px, -5px); }
.portal-top { display: flex; justify-content: space-between; gap: 2rem; font: 700 .68rem "Courier New", monospace; text-transform: uppercase; letter-spacing: .08em; }
.portal-card h2 { margin: auto 0 1.5rem; font: 900 clamp(3.2rem, 6vw, 7rem)/.82 "Arial Black", Arial, sans-serif; text-transform: uppercase; letter-spacing: -.07em; }
.portal-card > p { max-width: 520px; font: 1.1rem/1.45 Georgia, serif; }
.portal-access { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid currentColor; display: flex; justify-content: space-between; gap: 1rem; font: 700 .68rem/1.3 "Courier New", monospace; text-transform: uppercase; }
.portal-noir { background: #0d1727; color: #9fc1ff; }
.portal-after { background: var(--red); color: var(--paper-light); }
.portal-secret { background: var(--yellow); color: var(--ink); }
.portal-south { background: #173d3a; color: #dceee7; }
.worlds-manifesto { background: var(--red); color: var(--paper-light); display: grid; grid-template-columns: 1.2fr .8fr; gap: 5vw; align-items: end; }
.worlds-manifesto .section-number { grid-column: 1 / -1; }
.worlds-manifesto h2 { font-size: clamp(4rem, 7vw, 8rem); }
.worlds-manifesto > p:last-child { max-width: 560px; font: 1.35rem/1.5 Georgia, serif; }

/* Individual worlds */
.world-page { --world-bg: #0d1727; --world-fg: #9fc1ff; --world-accent: #76a7ff; --world-paper: #edf2ff; }
.theme-after { --world-bg: #ef3b28; --world-fg: #fffaf0; --world-accent: #11100e; --world-paper: #fff0ea; }
.theme-secret { --world-bg: #f5ce45; --world-fg: #11100e; --world-accent: #ef3b28; --world-paper: #fff9df; }
.theme-south { --world-bg: #173d3a; --world-fg: #dceee7; --world-accent: #76a7ff; --world-paper: #edf4ef; }
.world-hero { background: var(--world-bg); color: var(--world-fg); }
.world-hero .text-link { border-color: currentColor; }
.world-button { background: var(--world-fg); color: var(--world-bg); box-shadow: 5px 5px 0 var(--world-accent); }
.world-emblem { width: min(470px, 34vw); aspect-ratio: 1; justify-self: center; border: 4px solid currentColor; display: grid; place-items: center; position: relative; transform: rotate(5deg); box-shadow: 16px 16px 0 var(--world-accent); }
.world-emblem::before { content: ""; position: absolute; inset: 9%; border: 2px solid currentColor; transform: rotate(-9deg); }
.world-emblem > span { font: 900 clamp(5rem, 11vw, 12rem)/.8 "Arial Black", Arial, sans-serif; letter-spacing: -.1em; position: relative; z-index: 1; }
.world-emblem small { position: absolute; left: 1rem; bottom: 1rem; font: 700 .7rem "Courier New", monospace; }
.age-notice { width: max-content; max-width: 100%; border: 1px solid currentColor; padding: .65rem .8rem; font: 700 .65rem "Courier New", monospace; text-transform: uppercase; }
.world-reading { background: var(--world-paper); display: grid; grid-template-columns: .65fr 1.35fr; gap: 7vw; }
.reading-label { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.open-stamp { border: 4px solid var(--world-accent); color: var(--world-accent); padding: .7rem 1rem; font: 900 1.1rem "Arial Black", Arial, sans-serif; transform: rotate(-5deg); }
.reading-sheet { max-width: 880px; background: var(--paper-light); border: 2px solid var(--ink); box-shadow: 14px 14px 0 var(--world-accent); padding: clamp(2rem, 5vw, 5rem); transform: rotate(1deg); }
.reading-sheet h2 { margin: 0 0 2.5rem; font: 900 clamp(2.8rem, 5vw, 6rem)/.9 "Arial Black", Arial, sans-serif; text-transform: uppercase; letter-spacing: -.06em; }
.reading-sheet p { font: 1.35rem/1.7 Georgia, serif; }
.reading-sheet .reading-fade { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ink); font-style: italic; opacity: .55; }
.world-access { background: var(--world-bg); color: var(--world-fg); display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; }
.access-intro h2 { font-size: clamp(3.8rem, 6vw, 7rem); }
.access-intro > p:last-child { max-width: 600px; font: 1.2rem/1.5 Georgia, serif; }
.access-grid { display: grid; grid-template-columns: repeat(2, 1fr); align-items: stretch; }
.access-card { min-height: 470px; padding: 2rem; border: 2px solid currentColor; display: flex; flex-direction: column; }
.access-card > span { font: 700 .68rem "Courier New", monospace; }
.access-card h3 { margin: auto 0 1.5rem; font: 900 clamp(2.1rem, 3vw, 3.6rem)/.9 "Arial Black", Arial, sans-serif; text-transform: uppercase; letter-spacing: -.05em; }
.access-card p, .access-card li { font: 1rem/1.45 Georgia, serif; }
.access-card ul { padding-left: 1.2rem; }
.access-card > a { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid currentColor; display: flex; justify-content: space-between; text-transform: uppercase; font-weight: 900; font-size: .74rem; }
.access-member { background: var(--world-fg); color: var(--world-bg); }
.next-worlds { background: var(--paper); display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.next-worlds .section-number { margin: 0; }
.next-worlds > a { font-weight: 900; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: .3rem; }

/* Decilo */
.decilo-hero { background: var(--paper); }
.decilo-hero h1 em { color: var(--red); }
.custom-letter { min-height: 570px; background: var(--paper-light); border: 3px solid var(--ink); box-shadow: 16px 16px 0 var(--blue); padding: 3rem; transform: rotate(4deg); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.custom-letter::before { content: ""; position: absolute; left: 7%; right: 7%; top: 29%; border-top: 1px solid #b7ad9c; box-shadow: 0 48px #b7ad9c, 0 96px #b7ad9c, 0 144px #b7ad9c; }
.custom-letter span, .custom-letter strong, .custom-letter small { position: relative; z-index: 1; }
.custom-letter span, .custom-letter small { font: 700 .7rem "Courier New", monospace; }
.custom-letter strong { font: italic clamp(2rem, 3vw, 3.6rem)/1.15 Georgia, serif; }
.custom-letter strong em { color: var(--red); }
.formats-section { background: var(--paper-light); }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.format-card { min-height: 290px; padding: 1.5rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.format-card > span { font: 700 .7rem "Courier New", monospace; }
.format-card h3 { margin: 5rem 0 1rem; font: 900 clamp(1.8rem, 2.8vw, 3.2rem)/.9 "Arial Black", Arial, sans-serif; text-transform: uppercase; letter-spacing: -.05em; }
.format-card p { max-width: 330px; font: 1rem/1.45 Georgia, serif; }
.format-card:nth-child(3n+1) h3 { color: var(--red); }
.format-card:nth-child(3n+2) h3 { color: var(--blue); }
.format-card:nth-child(3n+3) h3 { color: #c79500; }
.service-steps { background: var(--ink); color: var(--paper-light); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #777; border-left: 1px solid #777; }
.step-grid article { min-height: 330px; padding: 1.5rem; border-right: 1px solid #777; border-bottom: 1px solid #777; }
.step-grid span { color: var(--yellow); font: 700 .7rem "Courier New", monospace; }
.step-grid h3 { margin: 7rem 0 1rem; font: 900 2rem "Arial Black", Arial, sans-serif; text-transform: uppercase; }
.step-grid p { color: #c8c0b5; font: 1rem/1.45 Georgia, serif; }
.service-levels { background: var(--blue); }
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.level-grid article { min-height: 430px; padding: 2rem; border: 2px solid var(--ink); background: var(--paper); display: flex; flex-direction: column; }
.level-grid article > span { font: 700 .68rem "Courier New", monospace; }
.level-grid h3 { margin: auto 0 1.2rem; font: 900 clamp(2rem, 3vw, 3.5rem)/.9 "Arial Black", Arial, sans-serif; text-transform: uppercase; }
.level-grid p { font: 1rem/1.45 Georgia, serif; }
.level-grid strong { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--ink); font-size: .75rem; text-transform: uppercase; }
.level-grid .level-featured { background: var(--red); color: var(--paper-light); transform: translateY(-1.5rem); box-shadow: 9px 9px 0 var(--ink); }
.request-section { background: var(--yellow); display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.request-section h2 { font-size: clamp(4rem, 7vw, 8rem); }
.request-section > div > p:last-child { max-width: 580px; font: 1.2rem/1.5 Georgia, serif; }
.request-card { min-height: 430px; padding: 2rem; background: var(--red); color: var(--paper-light); border: 3px solid var(--ink); box-shadow: 14px 14px 0 var(--ink); display: flex; flex-direction: column; }
.request-card > span, .request-card small { font: 700 .7rem/1.4 "Courier New", monospace; text-transform: uppercase; }
.request-card strong { margin: auto 0 1.5rem; font: 900 clamp(2.5rem, 4vw, 5rem)/.88 "Arial Black", Arial, sans-serif; text-transform: uppercase; }
.request-card b { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid currentColor; }

/* Shop */
.shop-hero { background: var(--blue); }
.shop-stack { min-height: 560px; position: relative; }
.stack-card { position: absolute; width: 73%; height: 57%; border: 3px solid var(--ink); box-shadow: 13px 13px 0 var(--ink); padding: 2rem; font: 900 clamp(2.5rem, 5vw, 6rem)/.82 "Arial Black", Arial, sans-serif; }
.stack-red { left: 2%; top: 5%; background: var(--red); color: var(--paper-light); transform: rotate(-7deg); }
.stack-yellow { right: 3%; bottom: 6%; background: var(--yellow); transform: rotate(5deg); }
.stack-tag { position: absolute; right: 0; top: 47%; background: var(--paper-light); border: 2px solid var(--ink); padding: .8rem; font: 900 .8rem "Arial Black", Arial, sans-serif; transform: rotate(-8deg); }
.catalog-section { background: var(--paper); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 1.2rem; }
.catalog-card { display: grid; grid-template-columns: 1fr auto; border-top: 2px solid var(--ink); padding-top: 1rem; }
.catalog-art { grid-column: 1 / -1; height: 390px; border: 2px solid var(--ink); background: var(--paper-light); display: grid; place-items: center; overflow: hidden; }
.catalog-art > span { display: grid; place-items: center; text-align: center; font: 900 1.45rem/.9 "Arial Black", Arial, sans-serif; }
.art-shirt > span { width: 230px; height: 285px; background: var(--ink); color: var(--paper-light); clip-path: polygon(24% 0,39% 8%,61% 8%,76% 0,100% 15%,85% 40%,77% 34%,77% 100%,23% 100%,23% 34%,15% 40%,0 15%); transform: rotate(-4deg); }
.art-mug > span { width: 220px; height: 190px; border: 8px solid var(--red); background: var(--paper-light); font-size: 3rem; transform: rotate(4deg); }
.art-print > span { width: 73%; height: 78%; background: var(--blue); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); transform: rotate(-4deg); }
.art-card > span { width: 75%; height: 56%; background: var(--yellow); border: 3px solid var(--ink); transform: rotate(5deg); }
.art-box > span { width: 72%; height: 67%; background: var(--red); color: var(--paper-light); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); transform: rotate(-4deg); }
.art-book > span { width: 63%; height: 78%; background: var(--ink); color: var(--paper-light); border: 8px solid var(--paper-light); outline: 3px solid var(--ink); transform: rotate(3deg); }
.catalog-meta { padding-top: 1rem; }
.catalog-meta p { margin: 0 0 .5rem; font: 700 .68rem "Courier New", monospace; text-transform: uppercase; }
.catalog-meta h3 { margin: 0; font: 900 1.4rem "Arial Black", Arial, sans-serif; text-transform: uppercase; }
.catalog-meta > span { font: italic .95rem Georgia, serif; }
.catalog-card > a { align-self: end; margin-bottom: .3rem; text-transform: uppercase; font-size: .7rem; font-weight: 900; }
.shop-custom { background: var(--ink); color: var(--paper-light); display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: center; }
.shop-custom h2 { font-size: clamp(4rem, 7vw, 8rem); }
.shop-custom > div:last-child > p:not(.section-number) { max-width: 620px; font: 1.3rem/1.5 Georgia, serif; }
.custom-object { aspect-ratio: 1; background: var(--red); border: 3px solid var(--paper-light); box-shadow: 15px 15px 0 var(--blue); display: grid; place-items: center; text-align: center; transform: rotate(-5deg); }
.custom-object span { font: 900 clamp(2rem, 4vw, 5rem)/.85 "Arial Black", Arial, sans-serif; }
.shop-note { background: var(--yellow); text-align: center; }
.shop-note h2 { font-size: clamp(4rem, 7vw, 8rem); }
.shop-note > p:last-child { max-width: 700px; margin: 2rem auto 0; font: italic 1.3rem/1.5 Georgia, serif; }

/* La Casa */
.house-hero { background: var(--red); color: var(--paper-light); grid-template-columns: .75fr 1.25fr; }
.house-hero .landing-hero-copy { order: 2; }
.house-hero .text-link { border-color: currentColor; }
.house-button { background: var(--paper-light); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.house-monument { aspect-ratio: 1; background: var(--paper); color: var(--ink); clip-path: polygon(50% 0,100% 32%,100% 100%,0 100%,0 32%); display: grid; place-items: center; transform: rotate(-3deg); }
.house-monument span { margin-top: 15%; font: 900 clamp(4rem, 8vw, 9rem)/.75 "Arial Black", Arial, sans-serif; letter-spacing: -.08em; }
.house-manifesto { background: var(--paper); display: grid; grid-template-columns: .5fr 1.5fr; gap: 5vw; }
.house-manifesto .section-number { grid-column: 1 / -1; }
.house-manifesto blockquote { margin: 0; font: italic clamp(2.2rem, 4.2vw, 5rem)/1.05 Georgia, serif; }
.house-manifesto > p:last-child { max-width: 540px; font: 1.25rem/1.55 Georgia, serif; }
.publish-section { background: var(--ink); color: var(--paper-light); }
.publish-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #777; border-left: 1px solid #777; }
.publish-steps article { min-height: 340px; padding: 1.5rem; border-right: 1px solid #777; border-bottom: 1px solid #777; }
.publish-steps span { color: var(--yellow); font: 700 .7rem "Courier New", monospace; }
.publish-steps h3 { margin: 7rem 0 1rem; font: 900 2rem "Arial Black", Arial, sans-serif; text-transform: uppercase; }
.publish-steps p { color: #c8c0b5; font: 1rem/1.45 Georgia, serif; }
.house-model { background: var(--blue); display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; }
.house-model h2 { font-size: clamp(4rem, 7vw, 8rem); }
.model-list { border-top: 2px solid var(--ink); }
.model-list article { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; padding: 1.4rem 0; border-bottom: 2px solid var(--ink); }
.model-list span { font-size: .75rem; font-weight: 900; }
.model-list p { margin: 0; font: 1.05rem/1.4 Georgia, serif; }
.revenue-note { background: var(--yellow); text-align: center; }
.revenue-note > span { font: 700 .7rem "Courier New", monospace; }
.revenue-note h2 { margin-top: 2rem; font-size: clamp(3.6rem, 6vw, 7rem); }
.revenue-note p { max-width: 760px; margin: 2rem auto 0; font: italic 1.3rem/1.5 Georgia, serif; }
.house-entry { background: var(--paper); display: grid; grid-template-columns: .8fr 1.2fr; gap: 6vw; }
.house-entry h2 { font-size: clamp(4rem, 7vw, 8rem); }
.entry-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.entry-grid a { min-height: 440px; padding: 2rem; border: 2px solid var(--ink); display: flex; flex-direction: column; }
.entry-grid a:first-child { background: var(--red); color: var(--paper-light); }
.entry-grid a:last-child { background: var(--ink); color: var(--paper-light); }
.entry-grid span, .entry-grid small { font: 700 .68rem/1.4 "Courier New", monospace; text-transform: uppercase; }
.entry-grid strong { margin: auto 0 1.5rem; font: 900 clamp(2rem, 3vw, 3.5rem)/.9 "Arial Black", Arial, sans-serif; text-transform: uppercase; }
.entry-grid b { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid currentColor; }

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .landing-hero { grid-template-columns: 1fr; min-height: auto; }
  .landing-hero-copy { order: 1; }
  .world-emblem, .house-monument, .door-collage, .shop-stack, .custom-letter { order: 2; width: min(680px, 82vw); justify-self: center; }
  .world-emblem { width: min(520px, 70vw); }
  .landing-section-heading { grid-template-columns: 1fr; }
  .landing-section-heading > p:last-child { justify-self: start; }
  .worlds-manifesto, .world-reading, .world-access, .request-section, .shop-custom, .house-manifesto, .house-model, .house-entry { grid-template-columns: 1fr; }
  .world-reading { gap: 3rem; }
  .format-grid, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid, .publish-steps { grid-template-columns: repeat(2, 1fr); }
  .house-hero .landing-hero-copy { order: 1; }
  .house-monument { order: 2; }
  .entry-grid { max-width: 780px; }
  .hero { grid-template-columns: 1fr; }
  .hero-collage { width: 80%; justify-self: center; height: 600px; }
  .margin-note { display: none; }
  .emotion-grid { grid-template-columns: repeat(2, 1fr); }
  .writing-row { grid-template-columns: 50px 130px 1fr 90px; padding: 1.5rem 0; }
  .writing-row p { display: none; }
  .say-it { grid-template-columns: 1fr 1fr; }
  .letter-card { grid-column: 2; }
  .product-visual { height: 350px; }
  footer { grid-template-columns: 2fr 1fr; }
}

@media (max-width: 720px) {
  .site-header { min-height: 76px; padding: 14px 5vw; }
  .enter-link { padding: .6rem .7rem; box-shadow: 3px 3px 0 var(--ink); }
  .hero { min-height: auto; padding: 3rem 5vw 5rem; }
  .hero h1 { font-size: clamp(3.6rem, 17vw, 6.2rem); }
  .landing-hero { padding: 4rem 5vw; gap: 3rem; }
  .landing-hero h1 { font-size: clamp(3.7rem, 16vw, 6.4rem); }
  .landing-hero h1 em { display: inline; }
  .world-emblem { width: 82vw; }
  .door-collage, .shop-stack, .custom-letter { width: 90vw; min-height: 450px; }
  .door { width: 47%; height: 64%; font-size: 2.8rem; }
  .landing-section-heading h2, .access-intro h2, .worlds-manifesto h2, .shop-custom h2, .shop-note h2, .house-model h2, .revenue-note h2, .house-entry h2, .request-section h2 { font-size: clamp(3.4rem, 15vw, 5.7rem); }
  .portal-grid, .format-grid, .catalog-grid, .level-grid, .access-grid, .step-grid, .publish-steps, .entry-grid { grid-template-columns: 1fr; }
  .portal-card { min-height: 440px; }
  .worlds-manifesto { grid-template-columns: 1fr; }
  .world-emblem > span { font-size: clamp(4.5rem, 22vw, 8rem); }
  .reading-sheet { padding: 2rem 1.5rem; box-shadow: 8px 8px 0 var(--world-accent); }
  .reading-sheet p { font-size: 1.1rem; }
  .access-card { min-height: 390px; }
  .next-worlds { align-items: flex-start; flex-direction: column; }
  .custom-letter { min-height: 470px; padding: 2rem; }
  .format-card { min-height: 250px; }
  .format-card h3 { margin-top: 3.5rem; }
  .step-grid article, .publish-steps article { min-height: 260px; }
  .step-grid h3, .publish-steps h3 { margin-top: 4rem; }
  .level-grid .level-featured { transform: none; }
  .catalog-art { height: 360px; }
  .model-list article { grid-template-columns: 1fr; gap: .7rem; }
  .house-manifesto blockquote { font-size: clamp(2.2rem, 10vw, 4rem); }
  .house-monument { width: 90vw; }
  .hero-collage { width: 100%; height: 460px; min-height: 0; }
  .poster-main { width: 73%; }
  .section-pad { padding: 5rem 5vw; }
  .section-heading, .section-heading.horizontal { grid-template-columns: 1fr; }
  .section-heading.horizontal > *:last-child { justify-self: start; }
  .section-heading h2, .worlds-intro h2, .say-it-title h2, .house-copy h2, .join h2 { font-size: clamp(3.5rem, 16vw, 5.7rem); }
  .emotion-grid { grid-template-columns: 1fr; }
  .emotion-card { min-height: 260px; }
  .emotion-card h3 { margin-top: 3rem; }
  .writing-row { grid-template-columns: 42px 1fr 60px; gap: 1rem; }
  .writing-meta { grid-column: 2; grid-row: 1; }
  .writing-row h3 { grid-column: 2; grid-row: 2; }
  .writing-row > a { grid-column: 3; grid-row: 1 / 3; }
  .writing-number { grid-row: 1 / 3; }
  .worlds { grid-template-columns: 1fr; padding-left: 5vw; padding-right: 5vw; }
  .worlds-intro, .secret-world, .legend-world { grid-column: 1; }
  .world-card { min-height: 570px; }
  .say-it { grid-template-columns: 1fr; }
  .letter-card { grid-column: 1; min-height: 430px; margin: 1rem 4vw; }
  .product-grid { grid-template-columns: 1fr; gap: 3rem; }
  .product-visual { height: 390px; }
  .house { grid-template-columns: 1fr; }
  .house-shape { width: 90%; margin: 0 auto; }
  .join-form { flex-direction: column; }
  .join-form button { border-left: 0; border-top: 3px solid var(--ink); }
  footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  * { transition: none !important; }
}

  

/* ============================================================
   ADAPTACIONES DEL SITIO
   Todo lo de acá abajo se agregó al pasar del mock autónomo al
   sitio estático servido. Sobrescribe, nunca reemplaza, la base.
   ============================================================ */

/* --- Header: el mock usaba minmax(560px, 2fr) y desbordaba en mobile --- */
.site-header {
  grid-template-columns: minmax(0, .75fr) minmax(0, 2fr) minmax(0, .75fr);
  position: sticky;
  top: 0;
}

.wordmark { max-width: 100%; }

.desktop-nav a.is-active {
  color: var(--red);
}
.desktop-nav a.is-active::after { right: 0; }

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  padding: .9rem 1.1rem;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: top .15s ease;
}
.skip-link:focus { top: 1rem; }

/* --- Foco visible en todo elemento interactivo --- */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.site-header :focus-visible,
.join-form :focus-visible,
.tone-red :focus-visible,
.after-world :focus-visible,
.house :focus-visible,
.theme-after :focus-visible,
.request-card :focus-visible,
.entry-grid a:focus-visible,
.house-hero :focus-visible {
  outline-color: var(--ink);
}
.worlds :focus-visible,
.world-directory :focus-visible,
.service-steps :focus-visible,
.publish-section :focus-visible,
.shop-custom :focus-visible,
footer :focus-visible {
  outline-color: var(--yellow);
}
.celeste-world :focus-visible,
.portal-noir :focus-visible { outline-color: var(--blue); }
.emotion-card:focus-visible .arrow { transform: rotate(45deg); }

/* --- Contraste: el gris del mock sobre tinta queda flojo --- */
footer p { color: #d6cec2; }
.worlds-intro p:last-child { color: #ded6c8; }
.section-number.light { color: #cfc7ba; }
.step-grid p, .publish-steps p { color: #ded6c9; }
.step-grid, .publish-steps { border-color: #9b948a; }
.step-grid article, .publish-steps article { border-color: #9b948a; }

/* --- Cinta: variantes por página --- */
.ticker-blue { background: var(--blue); }
.ticker-pink { background: var(--pink); }
.ticker-ink { background: var(--ink); color: var(--paper-light); }
.ticker-red { background: var(--red); color: var(--paper-light); }
.ticker-slow .ticker-track { animation-duration: 58s; }

/* --- Migas y encabezados de página interna --- */
.page-breadcrumb a:hover { color: var(--red); }
.world-hero .page-breadcrumb a:hover,
.house-hero .page-breadcrumb a:hover,
.shop-hero .page-breadcrumb a:hover { color: inherit; opacity: .7; }

.landing-hero h1 em { font-style: italic; }

/* --- Estado de contenido: disponible / próximo / exclusivo --- */
.state-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .6rem;
  border: 2px solid currentColor;
  font: 700 .62rem/1 "Courier New", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.state-open { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.state-soon { background: transparent; }
.state-member { background: var(--ink); color: var(--paper-light); border-color: var(--ink); }

/* --- Ficha de la pieza abierta de cada mundo --- */
.reading-sheet h3 {
  margin: 2.5rem 0 1rem;
  font: 900 1.1rem "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.reading-credit {
  margin-top: 2.5rem;
  font: 700 .68rem/1.6 "Courier New", monospace;
  text-transform: uppercase;
}

/* --- Portal +18: aviso de edad en la tarjeta --- */
.portal-card .age-notice { margin-top: 1.2rem; }

/* --- Interstitial de edad (Mundo 02) --- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper-light);
  display: grid;
  place-items: center;
  padding: 2rem 5vw;
  overflow-y: auto;
}
.age-gate-panel {
  width: min(680px, 100%);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background: var(--red);
  color: var(--paper-light);
  border: 3px solid var(--paper-light);
  box-shadow: 14px 14px 0 var(--paper-light);
  transform: rotate(-1.5deg);
}
.age-gate-panel > p:first-child { margin: 0 0 1.6rem; }
.age-gate-kicker { font: 700 .7rem "Courier New", monospace; letter-spacing: .12em; text-transform: uppercase; }
.age-gate h2 {
  margin: 0 0 1.4rem;
  font: 900 clamp(2.4rem, 6vw, 4.4rem)/.88 "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.06em;
}
.age-gate-desc { margin: 0 0 1rem; font: italic clamp(1.1rem, 1.6vw, 1.4rem)/1.4 Georgia, serif; }
.age-gate-fine { margin: 0 0 2rem; font: 700 .68rem/1.5 "Courier New", monospace; text-transform: uppercase; }
.age-gate-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.age-gate-actions .button { cursor: pointer; }
.age-gate-actions .button-light { background: var(--paper-light); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.age-gate-actions .button-exit { background: transparent; color: var(--paper-light); border-color: var(--paper-light); box-shadow: 5px 5px 0 var(--ink); }
.age-gate :focus-visible { outline-color: var(--yellow); }

/* --- 404 --- */
.error-page { background: var(--paper); min-height: calc(100vh - 92px); display: grid; place-items: center; text-align: center; }
.error-page h1 { margin: 0; font: 900 clamp(5rem, 20vw, 14rem)/.8 "Arial Black", Arial, sans-serif; letter-spacing: -.08em; }
.error-page h1 em { color: var(--red); font-style: normal; }
.error-page .landing-lead { margin-left: auto; margin-right: auto; }
.error-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; }

/* --- Tienda: la nota de estado tiene que leerse siempre --- */
.catalog-meta > span, .product-card > span { font-style: italic; }

/* --- Responsive: navegación real en mobile --- */
@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: .9rem;
    padding-bottom: 12px;
  }
  .wordmark { grid-row: 1; grid-column: 1; }
  .enter-link { grid-row: 1; grid-column: 2; }
  .desktop-nav {
    display: flex;
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: .9rem 1.4rem;
    padding-top: .2rem;
    border-top: 2px solid var(--line);
  }
  .desktop-nav a { font-size: .74rem; letter-spacing: .08em; }
  .site-header { position: static; }
}

@media (max-width: 720px) {
  .hero-actions { gap: 1.2rem; }
  .button { min-width: 0; width: 100%; }
  .hero-actions .text-link, .error-actions .button { width: auto; }
  .landing-hero .button { width: auto; }
  .desktop-nav { gap: .7rem 1.1rem; }
  .desktop-nav a { font-size: .7rem; }
  .wordmark { font-size: .92rem; }
  .world-reading, .house-manifesto { padding-left: 5vw; padding-right: 5vw; }
  .reading-sheet { transform: none; }
  .age-gate-panel { transform: none; box-shadow: 8px 8px 0 var(--paper-light); }
  .age-gate-actions .button { width: 100%; }
  .catalog-grid { gap: 2.5rem 1rem; }
  .shop-stack, .door-collage { min-height: 380px; }
  .stack-card { padding: 1.2rem; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .landing-hero h1 { font-size: clamp(2.9rem, 14vw, 4.6rem); }
  .footer-brand { font-size: clamp(2.6rem, 15vw, 4rem); }
  .door { font-size: 2rem; }
  .quote-mark { font-size: 6rem; }
  .poster-main p { font-size: clamp(1.3rem, 6.5vw, 1.9rem); }
  .stamp { padding: .7rem; }
  .three-mark, .south-mark { font-size: 5.5rem; }
  .world-card { padding: 1.4rem; }
  .ticker { font-size: .95rem; }
}

/* --- Movimiento reducido: apaga TODA animación, incluidas las cintas --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .ticker-track { animation: none !important; transform: none !important; }
  .skip-link { transition: none !important; }
}

/* --- Notas al pie de sección (estado de la tienda, cotización, alta manual) --- */
p.age-notice.join-note {
  font: 700 .68rem/1.6 "Courier New", monospace;
  text-transform: uppercase;
  font-style: normal;
}
.join-note {
  width: auto;
  max-width: 46rem;
  margin: 2rem auto 0;
  line-height: 1.6;
  text-align: center;
}

/* --- Tienda de la portada: los objetos tienen ancho fijo y a 768px no entran en 3 columnas.
       Abajo de 720px manda la regla del mock: una sola columna. --- */
@media (min-width: 721px) and (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Grillas: los ítems no deben empujar el ancho del documento en mobile --- */
.product-grid > *,
.catalog-grid > *,
.format-grid > *,
.level-grid > *,
.step-grid > *,
.publish-steps > *,
.portal-grid > *,
.emotion-grid > *,
.access-grid > *,
.model-list > *,
.entry-grid > *,
.writing-row > * { min-width: 0; }

.emotion-card h3,
.writing-row h3,
.catalog-meta h3,
.product-card h3,
.format-card h3,
.level-grid h3,
.access-card h3,
.portal-card h2,
.reading-sheet h2 { overflow-wrap: break-word; }

@media (max-width: 420px) {
  .writing-row { grid-template-columns: 34px 1fr 54px; gap: .7rem; }
  .writing-row h3 { font-size: 1.3rem; }
  .product-visual { height: 320px; }
  .shirt-shape { width: 190px; height: 230px; }
  .mug-shape { width: 150px; height: 130px; border-width: 6px; }
  .mug-shape::after { right: -52px; width: 48px; height: 68px; border-width: 6px; }
  .mug-shape span { font-size: 2rem; }
  .box-shape { width: 200px; height: 195px; }
  .box-shape span { font-size: .92rem; padding: 0 .6rem; }
  .catalog-art { height: 300px; }
  .art-shirt > span { width: 175px; height: 215px; font-size: 1.05rem; }
  .art-mug > span { width: 160px; height: 140px; font-size: 2.2rem; border-width: 6px; }
}

/* --- Correcciones de QA visual (1440 / 768 / 360) --- */

/* Decilo: la séptima ficha de formato cierra la grilla a todo el ancho */
.format-card.format-wide { grid-column: 1 / -1; min-height: 0; padding-bottom: 2.5rem; }
.format-card.format-wide h3 { margin-top: 3rem; }
.format-card.format-wide p { max-width: 640px; }

/* Tienda: el afiche apilado desbordaba su tarjeta y la etiqueta tapaba el texto */
.stack-card {
  font-size: clamp(1.7rem, 3.1vw, 3.2rem);
  overflow-wrap: break-word;
}
.stack-tag { top: 3%; right: 0; z-index: 4; }

/* Tienda: el párrafo de estado dejó de ser :last-child al sumar la nota al pie */
.shop-note > p:not(.section-number):not(.join-note) {
  max-width: 700px;
  margin: 2rem auto 0;
  font: italic 1.3rem/1.5 Georgia, serif;
}

/* Mundos: la chapa del emblema cruzaba el marco interior */
.world-emblem small {
  left: 0;
  bottom: 0;
  padding: .5rem .7rem;
  background: var(--world-bg);
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

/* Mundos: con las cuatro puertas apiladas, 01 y 02 quedaban tapadas abajo */
.door-one, .door-two { align-items: flex-start; }
.door-one { z-index: 1; }
.door-two { z-index: 2; }
.door-three { z-index: 3; }
.door-four { z-index: 4; }

/* --- El header es sticky: los anclajes tienen que dejarle lugar --- */
[id] { scroll-margin-top: 116px; }
@media (max-width: 1000px) { [id] { scroll-margin-top: 1rem; } }

/* --- Contraste: correcciones sobre lo medido en el audit de QA --- */

/* La sección activa se marcaba en rojo sobre papel (3.29:1). La barra roja alcanza como marca. */
.desktop-nav a.is-active { color: var(--ink); }

/* Numeración clara sobre rojo: el gris del mock daba 2.35:1 */
.house .section-number.light,
.house-hero .section-number.light { color: var(--paper-light); }

/* Azul y rosa como titular sobre papel quedaban en 2.0 y 1.6:1.
   Se les da el mismo contorno de tinta que el mock ya usa en crema y amarillo. */
.tone-blue h3,
.tone-pink h3 {
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
}
.format-card:nth-child(3n+2) h3,
.format-card:nth-child(3n+3) h3 {
  -webkit-text-stroke: 1px var(--ink);
  paint-order: stroke fill;
}

/* Sello ABIERTO: el acento del mundo sobre papel claro daba 2.1:1 */
.open-stamp { color: var(--ink); border-color: var(--world-accent); }

/* Sello CONFIDENCIAL: rojo sobre amarillo daba 2.59:1. Sobre papel claro y en peso 900 llega a 3.5:1 como texto grande. */
.classified { background: var(--paper-light); font-weight: 900; }
