/* Hallmark · shape: record sleeve, one pinned side A, then colour-block panels · genre: editorial · theme: custom · job: book · idea: "the bar is a record: a turntable plays side A and every track is one thing the place does" · vibe: "jazz sleeve, condensed caps, four flat colours"
 * paper: oklch(17% 0.01 60) · accent: oklch(80% 0.15 80) · display: Bebas Neue · body: Albert Sans · hero: a 3D turntable spinning beside four stacked words in four colours · nav: edge-aligned, three links, gold action · footer: wordmark on black · imagery: the product built (3D turntable), no photographs · signature: the tonearm moving track by track across the record as you scroll
 * axes: dark/grotesk-condensed/warm · posture: full palette (gold, cobalt, tomato, green on black) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P2 H2 E2 S2 R2 V2 · weakest: E, the show agenda has no real dates yet, marked as fills */
/* waive 38iii: the four words in four colours are the signature (a jazz sleeve), used once, in the hero */

:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.625rem; --text-2xl: 2.25rem;
  --text-hero: clamp(4rem, 10.5vw, 11rem);
  --text-section: clamp(3rem, 6vw, 6.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1360px; --gutter: 64px; --gap-columns: 32px; --section-gap: 144px;
  --z-raised: 10; --z-sticky-nav: 300; --z-modal: 400;
  --color-paper: oklch(17% 0.01 60); --color-paper-2: oklch(22% 0.012 60); --color-ink: oklch(95% 0.015 85); --color-ink-2: oklch(80% 0.02 80); --color-muted: oklch(66% 0.02 75);
  --color-rule: oklch(32% 0.012 60);
  --color-gold: oklch(80% 0.15 80); --color-cobalt: oklch(52% 0.17 260); --color-tomato: oklch(62% 0.19 32); --color-green: oklch(55% 0.11 160);
  --color-on-gold: oklch(18% 0.02 70); --color-on-color: oklch(97% 0.01 85);
  --color-accent: var(--color-gold); --color-accent-ink: var(--color-on-gold); --color-focus: oklch(84% 0.17 85);
  --color-veil: oklch(17% 0.01 60 / 0.92);
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif; --font-body: "Albert Sans", ui-sans-serif, system-ui, sans-serif;
  --radius-btn: 4px; --rule-hair: 1px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--color-gold); color: var(--color-on-gold); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; letter-spacing: 0.005em; }
p { margin: 0; text-wrap: pretty; }
dl, dd, ol, ul { margin: 0; padding: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 var(--space-lg); border-radius: var(--radius-btn); font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--gold { background: var(--color-gold); color: var(--color-on-gold); }
.btn--gold:hover { background: var(--color-ink); }
.btn--line { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn--line:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--sm { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.link-quiet { color: var(--color-ink-2); text-decoration: underline; text-decoration-color: var(--color-gold); transition: color var(--dur-short) var(--ease-out); }
.link-quiet:hover { color: var(--color-ink); }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer, .nav { position: relative; z-index: var(--z-raised); }

/* ---------- intro: el disco sale de la funda ---------- */
#intro { display: none; }
.intro-on body { overflow: hidden; }
.js.intro-on #intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: var(--z-modal); background: var(--color-paper); overflow: hidden; }
.sleeve { position: relative; z-index: 2; width: min(62vmin, 460px); aspect-ratio: 1; background: var(--color-cobalt); color: var(--color-on-color); display: grid; align-content: end; padding: var(--space-xl); gap: var(--space-xs); box-shadow: 0 30px 80px -20px var(--color-paper); }
.sleeve-band { position: absolute; left: 0; right: 0; top: 0; height: 38%; background: var(--color-gold); }
.sleeve-logo { position: absolute; top: var(--space-lg); left: var(--space-xl); color: var(--color-on-gold); font-weight: 700; }
.sleeve-name { font-family: var(--font-display); font-size: clamp(2.4rem, 7vmin, 4.2rem); line-height: 0.92; }
.sleeve-sub { font-size: var(--text-sm); }
.disc { position: absolute; z-index: 1; width: min(58vmin, 430px); aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, var(--color-paper) 0 2px, var(--color-paper-2) 2px 4px); display: grid; place-items: center; }
.disc span { width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--color-tomato); }
.intro-skip { position: absolute; top: var(--space-lg); right: var(--space-lg); z-index: 3; background: none; border: 1px solid var(--color-rule); border-radius: var(--radius-btn); padding: var(--space-xs) var(--space-md); color: var(--color-ink-2); cursor: pointer; }
.intro-skip:hover { color: var(--color-ink); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky-nav); transition: background-color var(--dur-long) var(--ease-out); }
.nav.is-scrolled { background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; padding-inline: var(--gutter); max-width: var(--container); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: var(--space-sm); text-decoration: none; font-family: var(--font-display); font-size: var(--text-xl); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--color-gold); color: var(--color-on-gold); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; }
.nav-links { display: flex; gap: var(--space-xl); font-size: var(--text-sm); }
.nav-links a { text-decoration: none; color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }
.nav-links a:hover { color: var(--color-gold); }
@media (max-width: 60rem) { .nav-links, .brand-name { display: none; } }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: var(--space-4xl) var(--gutter) var(--space-3xl); max-width: var(--container); margin-inline: auto; }
.hero-in { display: grid; gap: var(--space-lg); max-width: 46%; }
.hero-t { font-size: var(--text-hero); line-height: 0.86; display: grid; }
.hero-t span { display: block; }
.c1 { color: var(--color-gold); } .c2 { color: var(--color-cobalt); } .c3 { color: var(--color-tomato); } .c4 { color: var(--color-green); }
.hero-lead { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
@media (max-width: 60rem) { .hero { align-items: flex-end; padding-top: 50svh; } .hero-in { max-width: none; } .hero-t { font-size: clamp(3.4rem, 17vw, 6rem); } }

/* ---------- lado A ---------- */
.sidea-pin { min-height: 100svh; display: flex; align-items: center; padding: var(--space-3xl) var(--gutter); max-width: var(--container); margin-inline: auto; }
.sidea-in { margin-left: auto; width: min(100%, 34rem); display: grid; gap: var(--space-xl); }
.sidea-title { font-size: var(--text-section); line-height: 0.9; color: var(--color-gold); }
.tracks { list-style: none; display: grid; }
.tracks li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.tr-n { font-weight: 700; color: var(--color-muted); }
.tracks h3 { font-size: var(--text-2xl); line-height: 1; }
.tracks p { color: var(--color-ink-2); }
.js .sidea { min-height: 380vh; }
.js .sidea-pin { position: sticky; top: 0; height: 100svh; }
.js .tracks li { opacity: 0.35; transition: opacity var(--dur-long) var(--ease-out); }
.js .tracks li.is-on { opacity: 1; }
.tracks li[data-c="1"].is-on h3 { color: var(--color-gold); }
.tracks li[data-c="2"].is-on h3 { color: var(--color-cobalt); }
.tracks li[data-c="3"].is-on h3 { color: var(--color-tomato); }
.tracks li[data-c="4"].is-on h3 { color: var(--color-green); }
@media (max-width: 60rem) {
  .js .sidea-pin { align-items: flex-end; }
  .sidea-in { margin-left: 0; width: 100%; background: linear-gradient(to top, var(--color-paper) 70%, transparent); padding-top: var(--space-2xl); gap: var(--space-md); }
  .js .tracks li:not(.is-on) { display: none; }
}

/* ---------- el salón ---------- */
.salon, .proof, .book { background: var(--color-paper); }
.salon { padding-block: var(--section-gap); }
.section-t { font-size: var(--text-section); line-height: 0.9; max-width: 14ch; }
.salon-note { color: var(--color-ink-2); margin: var(--space-md) 0 var(--space-2xl); max-width: 46ch; }
.covers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin-bottom: var(--space-2xl); }
.cover { aspect-ratio: 1; padding: var(--space-xl); display: grid; align-content: space-between; color: var(--color-on-color); transition: transform var(--dur-long) var(--ease-out); }
.cover:hover { transform: translateY(-6px) rotate(-1deg); }
.cv1 { background: var(--color-cobalt); } .cv2 { background: var(--color-tomato); } .cv3 { background: var(--color-green); }
.cv-day { font-weight: 700; }
.cover h3 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: 0.9; }
.fill { justify-self: start; padding: var(--space-2xs) var(--space-sm); border: 1px dashed currentColor; font-size: var(--text-sm); }
@media (max-width: 60rem) { .covers { grid-template-columns: minmax(0, 1fr); } .cover { aspect-ratio: 16 / 9; } }

/* ---------- prueba ---------- */
.proof { padding-bottom: var(--section-gap); }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); align-items: stretch; }
.pf-block { padding: var(--space-xl); display: grid; align-content: end; gap: var(--space-xs); }
.pf-a { background: var(--color-gold); color: var(--color-on-gold); }
.pf-b { background: var(--color-ink); color: var(--color-paper); }
.pf-n { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 8rem); line-height: 0.85; }
.pf-copy { display: grid; align-content: end; gap: var(--space-md); }
.pf-copy h2 { font-size: var(--text-section); line-height: 0.9; }
@media (max-width: 60rem) { .proof-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- reservas ---------- */
.book { padding-bottom: var(--section-gap); }
.book-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: end; margin-bottom: var(--space-2xl); }
.book-lead { color: var(--color-ink-2); margin: var(--space-md) 0 var(--space-xl); max-width: 40ch; }
.book-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.facts { display: grid; }
.facts div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.facts dt { color: var(--color-muted); font-size: var(--text-sm); }
.facts a { text-decoration: none; }
.map { width: 100%; aspect-ratio: 21 / 9; border: 0; filter: grayscale(1) invert(0.9) contrast(0.9); }
@media (max-width: 60rem) { .book-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .map { aspect-ratio: 4 / 3; } }

.footer { background: var(--color-paper); color: var(--color-ink); border-top: 6px solid var(--color-gold); padding-block: var(--space-3xl) var(--space-2xl); }
.footer .container { display: grid; gap: var(--space-md); }
.footer-mark { font-family: var(--font-display); font-size: clamp(3.6rem, 12vw, 12rem); line-height: 0.85; color: var(--color-gold); }
.footer-note { font-size: var(--text-sm); color: var(--color-muted); max-width: 70ch; }

@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap: 104px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap: 80px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .sidea { min-height: 0; }
  .js .sidea-pin { position: relative; height: auto; }
  .js .tracks li { opacity: 1; }
  .js .tracks li:not(.is-on) { display: grid; }
}
