/* Hallmark · shape: Studio Ledger · genre: editorial · theme: brand · redesign: full
 * paper: oklch(51% 0.088 184) · accent: oklch(85.4% 0.155 90) · display: Alfa Slab One · body: Archivo · hero: Stage · nav: edge-aligned · footer: statement · signature: Daniel in his studio, set as a poster with the 45-minute stamp
 * axes: mid/slab-serif/warm · posture: Stage · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V4 · weakest: R, fifteen sections of the owner's content folded into eight; the marquees and the chord strip were cut, the copy kept */
/* Hallmark · dropped the three marquee strips (instruments, facts, chord names) · their facts already sit in the hero and in the class steps, and 18 names an endless loop */
/* Hallmark · reworded "Lo que subo a Instagram", "Y en YouTube", "Y también hago lo mío" into one section "Lo que subo" with Instagram, YouTube and Spotify as its three parts · 59 names fifteen sections */
/* Hallmark · waive 39b · div.vid and div.spot are media posters · they open the YouTube video and the Spotify player in place, so they are sized as pictures, not as marketing buttons */
/* Hallmark · dismissed F1 · the straight quote sits in the brand name Yidi's Music, written the way Daniel writes it */
/* Hallmark · reworded every internal link (/canciones, /herramientas, /mi-espacio, /acorde, /chordyidi, /oido-y-teoria, /libro, /sacar-acordes, /herramientas#bateria) to its absolute https://music.yidicorp.com address · this preview lives on another host; same destinations */
/* Hallmark · reworded the middle-dot lines into short lists · 63 names middle-dot meta strings */
/* Hallmark · reworded "Pedir clases por WhatsApp →" to "Pedir clases por WhatsApp", "Ver la guía →" to "Ver la guía", "Abrir →" to "Abrir", "Ver en Hotmart →" to "Ver en Hotmart", "Quiero empezar →" to "Quiero empezar", "WhatsApp →" to "Escribir por WhatsApp" · 63 names arrows glued to labels */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Alfa Slab One"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fuentes/alfa-slab-one-latin-0d51ac.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alfa Slab One"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fuentes/alfa-slab-one-latin-ext-7e5141.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url(assets/fuentes/archivo-latin-b42cd5.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url(assets/fuentes/archivo-latin-ext-831240.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root { --container: 1280px; --text-hero: clamp(3rem, 6vw + 1rem, 7rem); --frame: 3px; }
body { font-size: 1.125rem; }
h1, h2, h3 { font-weight: 400; }
.container { max-width: var(--container); }
section { padding-block: var(--section-gap-s); }
section + section { padding-top: 0; }
section.hero { padding-block: 0; }
.hero + section { padding-top: var(--section-gap-s); }

/* Buttons: one primary style */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 800; font-size: var(--text-lg); text-decoration: none; border: var(--frame) solid var(--color-accent-ink); white-space: nowrap; transition: transform var(--dur-short) var(--ease-out); }
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(0, 0); }
.btn:focus-visible { outline: 3px solid var(--color-paper-3); outline-offset: 3px; }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
.link:hover { text-decoration-thickness: 4px; }
.link:active { opacity: 0.8; }
a:focus-visible, [role="button"]:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

/* Nav: edge-aligned */
.top { border-bottom: var(--frame) solid var(--color-ink); }
.top .container { display: flex; justify-content: space-between; align-items: center; min-height: 72px; gap: var(--space-md); flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: var(--space-xs); font-weight: 800; font-size: var(--text-lg); text-decoration: none; }
.logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.top nav { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.top nav a { font-weight: 700; text-decoration: none; padding-block: var(--space-sm); }
.top nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* Hero: Stage */
.hero .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; min-height: min(calc(100dvh - 75px), 900px); padding-block: var(--space-xl); }
.hero h1 { font-size: var(--text-hero); line-height: 1; max-width: 9ch; }
.hero .lead { margin-top: var(--space-lg); max-width: 30ch; }
.hero .btn { margin-top: var(--space-xl); }
.poster { position: relative; margin: 0; }
.poster img { width: 100%; height: min(68dvh, 680px); object-fit: cover; border: var(--frame) solid var(--color-ink); }
.sello { position: absolute; left: calc(-1 * var(--space-xl)); bottom: var(--space-xl); width: 128px; height: 128px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: var(--text-md); line-height: 1.1; transform: rotate(-10deg); border: var(--frame) solid var(--color-accent-ink); }

/* Section heads */
.head h2 { font-size: var(--text-section); }
.head .lead { margin-top: var(--space-md); }

/* Class: head beside rows */
.clase .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.clase .lead { margin-top: var(--space-lg); }
.pasos { list-style: none; margin: 0; padding: 0; counter-reset: paso; border-top: var(--frame) solid var(--color-ink); }
.pasos li { counter-increment: paso; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.pasos li::before { content: counter(paso); font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1; color: var(--color-accent); }
.pasos h3 { margin-bottom: var(--space-2xs); }
.hechos { list-style: none; padding: 0; margin: var(--space-lg) 0 0; display: grid; gap: var(--space-2xs); font-weight: 700; }

/* University: split, visual first */
.uni .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.uni p + .guia { margin-top: var(--space-xl); }
.uni .head p { margin-top: var(--space-md); }
.guia { background: var(--color-paper-3); color: var(--color-ink-2); padding: var(--space-lg); border: var(--frame) solid var(--color-ink-2); }
.guia h3 { margin-bottom: var(--space-xs); }
.guia .btn { margin-top: var(--space-md); }
.guia .btn:focus-visible { outline-color: var(--color-ink-2); }
.vid { position: relative; cursor: pointer; border: var(--frame) solid var(--color-ink); aspect-ratio: 16 / 9; background: var(--color-paper-2); }
.vid img { width: 100%; height: 100%; object-fit: cover; }
.vid iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid .tocar { position: absolute; left: var(--space-md); bottom: var(--space-md); display: inline-flex; gap: var(--space-xs); align-items: center; background: var(--color-signal); color: var(--color-ink-2); font-weight: 800; padding: var(--space-xs) var(--space-md); transition: transform var(--dur-short) var(--ease-out); }
.vid:hover .tocar { transform: translateY(-2px); }

/* Student space: band */
.espacio { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.espacio + section { padding-top: var(--section-gap-s); }
.espacio .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.espacio video { width: 100%; border: var(--frame) solid var(--color-ink); background: var(--color-paper-2); }
.tres { list-style: none; padding: 0; margin: var(--space-xl) 0 0; display: grid; gap: var(--space-lg); }
.tres h3 { color: var(--color-accent); margin-bottom: var(--space-2xs); }

/* Practice: index */
.practica .listas { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); margin-top: var(--space-xl); }
.index { list-style: none; padding: 0; margin: var(--space-md) 0 0; border-top: var(--frame) solid var(--color-ink); }
.index a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto; gap: var(--space-md); align-items: baseline; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); text-decoration: none; }
.index a b { font-weight: 800; }
.index a span { font-size: var(--text-md); }
.index a em { font-style: normal; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
.index a:hover em { color: var(--color-accent); }
.index a:active { opacity: 0.8; }
.metodos a { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) auto; }
.canc { list-style: none; padding: 0; margin: var(--space-md) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.canc li { background: var(--color-paper-3); color: var(--color-ink-2); font-weight: 700; padding: var(--space-2xs) var(--space-sm); }
.practica h3 { margin-top: var(--space-xl); }
.practica .listas h3:first-child { margin-top: 0; }

/* Listen: rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 22%); gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-md); margin-top: var(--space-xl); }
.rail > * { scroll-snap-align: start; }
.rail a { text-decoration: none; display: block; }
.rail img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: var(--frame) solid var(--color-ink); transition: opacity var(--dur-short) var(--ease-out); }
.rail .yt img { aspect-ratio: 16 / 9; }
.rail a:hover img { opacity: 0.85; }
.rail span { display: block; margin-top: var(--space-xs); font-size: var(--text-md); }
.rail span b { display: block; }
.oye h3 { margin-top: var(--space-xl); }
.oye .mas { margin-top: var(--space-xs); }
.spot { margin-top: var(--space-md); max-width: 760px; border: var(--frame) solid var(--color-ink); background: var(--color-paper-2); cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md); align-items: center; padding: var(--space-lg); }
.spot svg { width: 48px; height: 48px; color: var(--color-accent); }
.spot small { display: block; color: var(--color-muted); font-size: var(--text-sm); }
.spot.playing { padding: 0; display: block; }
.spot iframe { display: block; width: 100%; height: 440px; border: 0; }

/* Prices: table */
.precios .tabla { width: 100%; border-collapse: collapse; margin-top: var(--space-xl); }
.tabla th, .tabla td { text-align: left; padding: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: baseline; }
.tabla thead th { font-weight: 700; font-size: var(--text-md); border-bottom: var(--frame) solid var(--color-ink); }
.tabla tbody th { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); }
.tabla td.num { font-variant-numeric: tabular-nums; font-weight: 800; font-size: var(--text-xl); white-space: nowrap; }
.precios .pie { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); margin-top: var(--space-xl); align-items: start; }
.precios .pie .btn { margin-top: var(--space-lg); }
.empezar { list-style: none; padding: 0; margin: var(--space-md) 0 0; counter-reset: e; }
.empezar li { counter-increment: e; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.empezar li::before { content: counter(e) "."; font-weight: 800; margin-right: var(--space-xs); color: var(--color-accent); }

/* FAQ: rows */
.faq .container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); }
.faq dl { margin: 0; border-top: var(--frame) solid var(--color-ink); }
.faq dt { font-weight: 800; font-size: var(--text-lg); padding-top: var(--space-lg); }
.faq dd { margin: var(--space-2xs) 0 0; padding-bottom: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }

/* Footer: statement on the signal field */
footer { background: var(--color-signal); color: var(--color-ink-2); padding-block: var(--section-gap-s) var(--space-xl); }
footer h2 { font-size: var(--text-hero); line-height: 1; }
footer p { margin-top: var(--space-md); max-width: 48ch; font-size: var(--text-lead); }
footer .btn { margin-top: var(--space-xl); }
footer nav { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-2xl); padding-top: var(--space-md); border-top: var(--frame) solid var(--color-ink-2); }
footer nav a { font-weight: 700; padding-block: var(--space-sm); }
footer nav a:hover { text-decoration-thickness: 3px; }
footer nav a:focus-visible { outline-color: var(--color-ink-2); }

/* Back to the tuner */
#volver-herr { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: var(--z-toast); align-items: center; gap: var(--space-xs); padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; text-decoration: none; white-space: nowrap; }

@media (max-width: 60rem) {
  .poster img { height: auto; aspect-ratio: 4 / 5; }
  .hero .container, .clase .container, .uni .container, .espacio .container, .practica .listas, .precios .pie, .faq .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero .container { min-height: 0; }
  .poster img { max-height: none; }
  .sello { left: var(--space-xs); bottom: calc(-1 * var(--space-lg)); width: 112px; height: 112px; }
  .rail { grid-auto-columns: minmax(220px, 70%); }
  .index a, .metodos a { grid-template-columns: minmax(0, 1fr) auto; }
  .index a span { grid-column: 1 / -1; grid-row: 2; }
  .tabla thead { display: none; }
  .tabla tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .tabla td:last-child { grid-column: 1 / -1; padding-top: 0; }
}
@media (max-width: 40rem) {
  .btn { font-size: var(--text-md); }
  .top nav { gap: var(--space-2xs) var(--space-md); }
  .top nav a { padding-block: var(--space-xs); }
}
