/* Prototipo B · Elige tu taza — póster de muestras: crema, topo, mayúsculas espaciadas, cursiva */
:root {
  --paper: #f6f2eb; --sheet: #fffdf9; --taupe: #6e645c; --taupe-2: #8b8078; --ink: #2f2925; --ink-2: #6f655d;
  --line: #d9d0c4; --accent: #9a4e2c; --wire: #b9ab9c; --on-taupe: #fbf7f1;
  --caps: "Tenor Sans", "Gill Sans", sans-serif; --serif: "Crimson Pro", Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #1b1816; --sheet: #23201d; --taupe: #3a342f; --taupe-2: #4a423c; --ink: #efe8de; --ink-2: #b3a89c; --line: #3d3631; --accent: #e09a6c; --wire: #6a5f55; --on-taupe: #efe8de; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #1b1816; --sheet: #23201d; --taupe: #3a342f; --taupe-2: #4a423c; --ink: #efe8de; --ink-2: #b3a89c; --line: #3d3631; --accent: #e09a6c; --wire: #6a5f55; --on-taupe: #efe8de; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 19px/1.55 var(--serif); overflow-x: hidden;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23a89a8c' stroke-opacity='.28' stroke-width='1'%3E%3Cpath d='M20 100c0-30 20-50 50-55-5 30-25 50-50 55zM20 100l30-30'/%3E%3Cpath d='M85 40c10-12 25-15 30-12-3 12-17 20-30 12zM85 40l18-8'/%3E%3Ccircle cx='95' cy='95' r='3'/%3E%3Cpath d='M60 15c6 4 8 10 6 16-6-3-8-10-6-16z'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kicker { font: 400 12px/1.3 var(--caps); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; background: var(--taupe); color: var(--on-taupe); font: 400 13px var(--caps); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.btn:hover { background: var(--accent); }
.btn.sm { min-height: 42px; padding: 0 18px; }
.link { font: italic 18px var(--serif); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; color: var(--ink-2); }

/* Nav */
.nav { background: var(--sheet); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.nav-in { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 18px var(--caps); letter-spacing: .3em; text-transform: uppercase; }
.links { display: none; gap: 32px; font: 400 12px var(--caps); letter-spacing: .22em; text-transform: uppercase; }
.links a { text-decoration: none; color: var(--ink-2); } .links a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; height: min(64vh, 620px); min-height: 360px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 20%, rgb(30 22 16 / .55)); }
.hero-t { position: absolute; z-index: 1; right: 6%; bottom: 14%; text-align: center; color: #fff; }
.hero h1 { font: 400 clamp(44px, 9vw, 104px)/.95 var(--caps); letter-spacing: .06em; text-transform: uppercase; margin: 0; text-shadow: 0 2px 30px rgb(0 0 0 / .3); }
.by { font: 400 clamp(13px, 1.6vw, 18px) var(--caps); letter-spacing: .5em; text-transform: uppercase; margin: 10px 0 0; }
.band { background: var(--taupe); color: var(--on-taupe); padding: 28px 0; }
.band p { max-width: 860px; text-align: center; font-size: 17px; line-height: 1.7; margin-inline: auto; }

/* Póster / mapa */
.poster { padding: 40px 0 64px; }
.sheet { background: var(--sheet); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgb(60 40 20 / .35); padding: 32px 16px 40px; }
.seg { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 28px; color: var(--wire); }
.seg button { font: 400 14px var(--caps); letter-spacing: .3em; text-transform: uppercase; min-height: 44px; padding: 0 6px; color: var(--ink-2); border-bottom: 1px solid transparent; }
.seg [aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.map { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.wires { display: none; }
.cup { grid-column: 1 / -1; justify-self: center; position: relative; width: min(260px, 70vw); aspect-ratio: 1; border-radius: 50%; }
.cup img:first-child { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 24px 50px -18px rgb(60 35 15 / .5); }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; animation: spin 60s linear infinite; }
.ring text { font: 400 11.5px var(--caps); letter-spacing: .32em; fill: var(--taupe); }
.cup-mark { position: absolute; inset: 36%; width: 28%; opacity: .92; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-hint { display: none; font: italic 18px/1.35 var(--serif); color: var(--ink-2); margin: 0; align-self: center; }
.map-hint.r { text-align: right; } .map-hint a { color: var(--accent); }
.sw { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 4px; animation: rise .5s both; position: relative; z-index: 1; }
.disc { position: relative; display: block; width: 116px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 10px; box-shadow: 0 10px 22px -10px rgb(40 25 10 / .5); transition: transform .35s; }
.disc img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.7); }
.disc b { position: absolute; inset: auto 0 0; background: var(--accent); color: #fff; font: 400 11px/22px var(--caps); letter-spacing: .1em; }
.disc.sm { width: 56px; margin: 0; }
.sw:hover .disc { transform: scale(1.06); }
.sw.on .disc { outline: 2px solid var(--ink); outline-offset: 5px; }
.sw.hit .disc { outline: 2px solid var(--accent); outline-offset: 5px; }
.sw strong { font: 400 13px/1.3 var(--caps); letter-spacing: .16em; text-transform: uppercase; }
.kind { font: 400 10px var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.ico { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.4; margin-top: 6px; }
.rule { width: 70%; border-top: 1px solid var(--line); margin: 2px 0 4px; }
.sw em { font: italic 16px var(--serif); } .sw small { font-size: 13px; line-height: 1.35; color: var(--ink-2); max-width: 22ch; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.detail { margin-top: 40px; border-top: 1px dotted var(--wire); padding-top: 32px; }
.d-in { display: grid; gap: 24px; animation: rise .4s both; }
.d-in > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.d-in h3 { font: 400 clamp(28px, 4vw, 40px)/1.05 var(--caps); letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.lema { display: block; font: italic 22px var(--serif); color: var(--accent); margin: 4px 0 10px; }
.d-in dl { margin: 16px 0 22px; font-size: 16px; }
.d-in dl div { display: grid; grid-template-columns: 120px 1fr; border-top: 1px dotted var(--wire); padding: 6px 0; }
.d-in dt { font: 400 11px/2 var(--caps); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); } .d-in dd { margin: 0; }
.dots { color: var(--accent); letter-spacing: .2em; font-size: 12px; } .dots i { font-style: normal; color: var(--line); }

/* Test */
.test { padding: 40px 0 72px; display: grid; gap: 28px; }
.t-head { text-align: center; max-width: 620px; margin-inline: auto; }
.t-head h2 { font: 400 clamp(34px, 5vw, 56px)/1 var(--caps); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.t-head p { color: var(--ink-2); }
.t-card { background: var(--sheet); border: 1px solid var(--line); padding: 28px 18px 32px; width: min(820px, 100%); margin-inline: auto; text-align: center; }
.t-card h3 { font: 400 clamp(24px, 3.4vw, 32px)/1.15 var(--caps); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 24px; }
.pips { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.pips i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--wire); } .pips .d { background: var(--wire); } .pips .n { background: var(--accent); border-color: var(--accent); }
.opts { display: grid; gap: 10px; margin-bottom: 14px; }
.opts.img { grid-template-columns: repeat(2, 1fr); }
.opt { display: grid; justify-items: center; gap: 4px; padding: 16px 12px; border: 1px solid var(--line); transition: border-color .2s, background .2s; animation: rise .35s both; min-height: 56px; }
.opt:hover { border-color: var(--taupe); background: var(--paper); }
.opt strong { font: 400 14px var(--caps); letter-spacing: .18em; text-transform: uppercase; } .opt em { font-size: 16px; color: var(--ink-2); }
.opts.img .opt em { display: none; }
.rsw { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 20px; }
.rs { display: grid; justify-items: center; gap: 2px; width: 150px; animation: rise .5s both; }
.rs strong { font: 400 12px var(--caps); letter-spacing: .14em; text-transform: uppercase; } .rs em { color: var(--accent); }
.note { color: var(--ink-2); }
.wl { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px auto 6px; max-width: 520px; }
.wl input { flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); font: inherit; }
.wl-ok { font-style: italic; color: var(--accent); margin: 14px 0; }

/* Blog */
.blog { padding: 24px 0 72px; }
.posts { display: grid; gap: 28px; margin-top: 28px; }
.post { text-decoration: none; background: var(--sheet); padding: 12px 12px 20px; border: 1px solid var(--line); transition: transform .3s; }
.post:hover { transform: translateY(-3px); }
.frame { display: block; overflow: hidden; margin-bottom: 14px; } .frame img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.post h3 { font: 400 17px/1.35 var(--caps); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
.post p:last-child { margin: 0; font-size: 17px; color: var(--ink-2); }

.wait { background: var(--taupe); color: var(--on-taupe); padding: 56px 0; text-align: center; }
.wait .kicker { color: var(--on-taupe); opacity: .75; }
.wait h2 { font: 400 clamp(32px, 5vw, 52px) var(--caps); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.wait .wl input { border-color: transparent; }
.wait .btn { background: var(--on-taupe); color: var(--taupe); } .wait .btn:hover { background: var(--accent); color: #fff; }
.foot { background: var(--sheet); border-top: 1px solid var(--line); padding: 20px 0; text-align: center; }
.foot p { font: 400 11px/1.8 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin: 0 auto; }

/* Lector */
.modal { border: 0; padding: 0; width: min(820px, 100% - 24px); max-height: 92vh; overflow: auto; background: var(--sheet); color: var(--ink); }
.modal::backdrop { background: rgb(40 30 22 / .55); }
.x { position: sticky; top: 8px; float: right; margin: 8px 8px 0 0; width: 44px; height: 44px; border-radius: 50%; background: var(--sheet); font-size: 26px; z-index: 2; }
.read { clear: both; margin-top: -52px; }
.read > img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.read-body { padding: 28px 22px 40px; max-width: 660px; margin: 0 auto; font-size: 20px; line-height: 1.7; }
.read-body h1 { font: 400 clamp(28px, 4.4vw, 42px)/1.1 var(--caps); letter-spacing: .05em; text-transform: uppercase; margin: 8px 0 12px; }
.read-body .lead { font-style: italic; color: var(--ink-2); }
.read-body h2 { font: 400 17px var(--caps); letter-spacing: .16em; text-transform: uppercase; margin: 36px 0 6px; color: var(--accent); }
.read-body a { color: var(--accent); }
.read-body blockquote { margin: 32px 0; text-align: center; font: italic 26px/1.3 var(--serif); border-block: 1px dotted var(--wire); padding: 18px 0; }
.read-cta { text-align: center; margin-top: 32px; }

@media (min-width: 900px) {
  .links { display: flex; }
  .sheet { padding: 48px 40px 56px; }
  .map { grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: auto auto auto; gap: 40px 24px; }
  .wires { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke: var(--wire); stroke-width: 1.5; stroke-dasharray: 1 6; stroke-linecap: round; }
  .cup { grid-area: 2 / 2; width: 300px; }
  .map-hint { display: block; grid-row: 2; } .map-hint.l { grid-column: 1; } .map-hint.r { grid-column: 3; }
  .sw.top { align-self: end; } .sw.bot { align-self: start; }
  .sw { grid-area: var(--ga); }
  .d-in { grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
  .opts.img { grid-template-columns: repeat(3, 1fr); }
  .opts:not(.img) { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .posts { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
