@font-face { font-family: "VCR OSD Mono"; src: url("ds/vcr_osd_mono.ttf") format("truetype"); font-display: swap; }

/* Tokens del design system "Platanus Forum" (recursos de Kernel) */
:root {
  --ground: #000000; --dot-off: #1a1706; --dot-dim: #5c4a12; --dot-amber: #f9bc12; --dot-lit: #ffec40;
  --ink: #d4d4d4; --ink-muted: #a3a3a3; --marker: #ffec40; --marker-soft: #5c4a12; --line: #262626;
  --dot-size: 6px; --dot-pitch: 14px; --space-1: 14px; --space-2: 28px; --space-4: 56px; --space-8: 112px;
  --radius-none: 0px; --radius-marker: 2px; --prose-width: 600px;
  --font-display: "VCR OSD Mono", ui-monospace, monospace; --font-sans: Ubuntu, system-ui, sans-serif; --font-mono: "VCR OSD Mono", ui-monospace, monospace;
  color-scheme: dark;
}
html { background: var(--ground); }
body.fd { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 28px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--dot-lit); color: #000; }
.fd a { color: inherit; }
.fd img { max-width: 100%; }

.fd-wrap { width: 100%; max-width: 1040px; margin-inline: auto; padding-inline: 16px; box-sizing: border-box; }
.fd-col { width: 100%; max-width: var(--prose-width); margin-inline: auto; padding-inline: 16px; box-sizing: border-box; }
.fd-section { padding-block: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.fd-head { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.fd-head .fd-date { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--dot-dim); }
.fd .fx-label { color: var(--ink); }

/* Hero */
.fd-hero { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding-block: var(--space-2) var(--space-4); text-align: center; }
.fd-hero__field { width: 100%; }
.fd-hero__text { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-inline: 16px; }
.fd-hero__iso { width: 28px; height: auto; }
.fd-tagline { font-family: var(--font-mono); font-size: 13px; line-height: 20px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); max-width: 30ch; margin: 0; }
.fd-when { font-family: var(--font-mono); font-size: 13px; line-height: 22px; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.fd-when a { color: var(--dot-lit); text-decoration: underline; text-underline-offset: 3px; }
.fd-when a:hover { color: var(--dot-amber); }

/* Fotos en puntos */
.fd-photo { position: relative; display: block; line-height: 0; }
.fd-photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(1) contrast(1.05); opacity: 0; transition: opacity .35s; }
.fd-photo__dots { position: relative; transition: opacity .35s; }
.fd-photo[data-reveal]:hover .fd-photo__img, .fd-photo[data-reveal]:focus-within .fd-photo__img { opacity: 1; }
.fd-photo[data-reveal]:hover .fd-photo__dots { opacity: 0; }

.fd-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 8px; overflow-x: auto; scrollbar-width: none; padding-inline: 16px; }
.fd-strip::-webkit-scrollbar { display: none; }

/* Personas del año pasado */
.fd-people { display: flex; flex-direction: column; gap: var(--space-2); }
.fd-people__grid { width: 100%; }
.fd-legend { display: flex; gap: var(--space-2); flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.fd-legend li { display: flex; flex-direction: column; gap: 2px; }
.fd-legend span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--ink-muted); display: flex; gap: 8px; align-items: center; }
.fd-legend span::before { content: ''; width: 8px; height: 8px; background: var(--c); }
.fd-legend b { font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 40px; color: var(--c); }

/* Sponsors */
.fd-sponsors { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: center; padding-block: var(--space-2); }
.fd-sponsors a { display: block; transition: transform .3s; }
.fd-sponsors a:hover { transform: scale(1.05); }
.fd-sponsors img { display: block; height: 44px; width: auto; }
.fd-sponsors a:first-child img { height: 30px; }

/* CTA final */
.fd-close { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-block: var(--space-4) var(--space-2); }

/* Footer con DotField */
.fd-footer { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding-top: var(--space-2); padding-bottom: var(--space-4); }
.fd-footer__field { width: 100%; }
.fd-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.fd-footer__brand img { height: 28px; width: auto; }
.fd-footer nav { display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; }
.fd-footer nav a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); text-decoration: none; }
.fd-footer nav a:hover { color: var(--dot-lit); }

.fd a:focus-visible, .fd button:focus-visible { outline: 2px solid var(--dot-lit); outline-offset: 3px; }

/* Selector de versiones */
.fd-switch { position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: flex; gap: 2px; background: #000; border: 1px solid var(--line); padding: 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; }
.fd-switch a { padding: 4px 8px; color: var(--ink-muted); text-decoration: none; }
.fd-switch a[aria-current] { background: var(--dot-lit); color: #000; }

/* ---------- 01 Ensayo: agenda como línea de tiempo en texto ---------- */
.v1-agenda { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.v1-agenda > li { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); }
.v1-agenda > li:last-child { border-bottom: 1px solid var(--line); }
.v1-agenda time { font-family: var(--font-mono); font-size: 13px; letter-spacing: .5px; color: var(--ink-muted); line-height: 24px; white-space: nowrap; }
.v1-agenda .is-break p { margin: 0; color: var(--ink-muted); }
.v1-agenda h3 { margin: 0; font-family: var(--font-mono); font-weight: 400; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); line-height: 24px; }
.v1-agenda p { margin: 0; }
.v1-talk { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; margin-top: 12px; text-decoration: none; }
.v1-talk .fd-photo { width: 96px; }
.v1-talk strong { display: block; color: var(--dot-lit); font-weight: 500; }
.v1-talk:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.v1-talk p { color: var(--ink); }
.v1-logo { height: 14px; width: auto; margin-top: 10px; display: block; opacity: .9; }
.v1-mentors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.v1-mentor { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.v1-mentor .fd-photo { width: 100%; max-width: 120px; }
.v1-mentor b { font-weight: 500; color: var(--dot-lit); font-size: 15px; line-height: 20px; }
.v1-mentor span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); line-height: 16px; }
@media (max-width: 560px) {
  .v1-agenda > li { grid-template-columns: 1fr; gap: 6px; }
  .v1-talk { grid-template-columns: 72px 1fr; }
  .v1-talk .fd-photo { width: 72px; }
  .v1-mentors { gap: 10px; }
}

/* ---------- 02 Ícaro: firesides en arcos + programa compacto ---------- */
.v2-arches { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.v2-arch { display: flex; flex-direction: column; gap: 10px; text-decoration: none; margin: 0; }
.v2-arch time { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: var(--ink-muted); text-align: center; }
.v2-arch .fx-arch__name { text-align: center; font-size: 18px; }
.v2-arch p { margin: 0; font-size: 15px; line-height: 22px; text-align: center; color: var(--ink); }
.v2-arch img.v2-logo { height: 14px; width: auto; align-self: center; opacity: .9; }
.v2-arch:hover .fx-arch__name { text-decoration: underline; text-underline-offset: 4px; }
.v2-program { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.v2-program li { display: grid; grid-template-columns: 124px 1fr; gap: 16px; padding-block: 12px; border-top: 1px dashed var(--line); }
.v2-program time { font-family: var(--font-mono); font-size: 13px; letter-spacing: .5px; color: var(--dot-amber); line-height: 24px; white-space: nowrap; }
.v2-program .is-break time { color: var(--ink-muted); }
.v2-program b { font-weight: 500; color: var(--ink); }
.v2-program .is-fireside b { color: var(--dot-lit); }
.v2-program p { margin: 4px 0 0; color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.v2-faces { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.v2-face { display: flex; gap: 10px; align-items: center; text-decoration: none; font-size: 14px; line-height: 18px; }
.v2-face .fd-photo { width: 40px; }
.v2-face small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; color: var(--ink-muted); text-transform: uppercase; }
@media (max-width: 860px) { .v2-arches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .v2-program li { grid-template-columns: 1fr; gap: 2px; } .v2-arches { gap: 16px; } }

/* ---------- 03 Vasija: agenda sobre panel de arcilla con frisos ---------- */
.v3-vase { background: var(--dot-amber); color: #000; padding-block: var(--space-2); }
.v3-vase .fx-label, .v3-vase .fd-date { color: #000; }
.v3-bands { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.v3-band { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; padding-block: 18px; }
.v3-band time { font-family: var(--font-display); font-size: 22px; line-height: 26px; letter-spacing: .5px; white-space: nowrap; }
.v3-band time small { display: block; font-size: 13px; line-height: 18px; opacity: .75; }
.v3-band h3 { margin: 0; font-family: var(--font-mono); font-weight: 400; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; line-height: 22px; }
.v3-band p { margin: 4px 0 0; font-size: 16px; line-height: 24px; }
.v3-band a { text-decoration: none; }
.v3-band a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.v3-band .fd-photo { width: 96px; }
.v3-band .v3-logo { height: 14px; width: auto; margin-top: 8px; display: block; filter: brightness(0); }
.v3-trio { display: flex; gap: 8px; }
.v3-trio .fd-photo { width: 64px; }
.v3-band.is-break h3 { opacity: .8; }
.v3-sep { line-height: 0; }
@media (max-width: 640px) {
  .v3-band { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .v3-band time { grid-column: 1 / -1; }
  .v3-band .fd-photo { width: 72px; }
  .v3-trio .fd-photo { width: 44px; }
}

/* ---------- 04 Tablero: pantalla de salidas ---------- */
.v4-board { border: 1px solid var(--line); background: #080808; }
.v4-bar { padding: 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.v4-ticks { position: relative; height: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .5px; color: var(--ink-muted); }
.v4-ticks span { position: absolute; top: 0; transform: translateX(-50%); }
.v4-ticks span:first-child { transform: none; }
.v4-ticks span:last-child { transform: translateX(-100%); }
.v4-rows { list-style: none; margin: 0; padding: 0; }
.v4-row { display: grid; grid-template-columns: 150px 1fr 56px; gap: 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); outline: none; cursor: default;
  background-image: radial-gradient(var(--dot-off) 1.2px, transparent 1.3px); background-size: 7px 7px; }
.v4-row:last-child { border-bottom: 0; }
.v4-row:hover, .v4-row:focus-within { background-color: #0f0e05; }
.v4-row time { font-family: var(--font-mono); font-size: 15px; letter-spacing: 1px; color: var(--dot-amber); white-space: nowrap; }
.v4-row h3 { margin: 0; font-family: var(--font-mono); font-weight: 400; font-size: 15px; line-height: 22px; letter-spacing: 1px; text-transform: uppercase; color: var(--dot-lit); }
.v4-row.is-break h3 { color: var(--ink-muted); }
.v4-row.is-break time { color: var(--dot-dim); }
.v4-row p { margin: 4px 0 0; font-size: 15px; line-height: 22px; color: var(--ink); }
.v4-row .fd-photo { width: 56px; }
.v4-row a { text-decoration: none; }
.v4-row a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.v4-logo { height: 13px; width: auto; margin-top: 8px; display: block; }
.v4-mentors { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .5px; color: var(--ink-muted); text-transform: uppercase; }
.v4-mentors a:hover { color: var(--dot-lit); }
.v4-trio { display: flex; gap: 4px; }
.v4-trio .fd-photo { width: 18px; }
@media (max-width: 640px) {
  .v4-ticks .minor { display: none; }
  .v4-row { grid-template-columns: 1fr 48px; gap: 6px 12px; }
  .v4-row time { grid-column: 1 / -1; font-size: 13px; }
  .v4-row .fd-photo { width: 48px; }
}

@media (prefers-reduced-motion: reduce) { .fd-photo__img, .fd-photo__dots, .fd-sponsors a { transition: none; } }

/* Lápida y marco del intro */
.fx-inscription { max-width: 980px; margin-inline: auto; }
.fd-frame-wrap { padding-block: var(--space-2); }
.fd-hero .fd-wrap { width: 100%; }
