/* Hero: static, with a promise to the visitor */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.2rem + 3.3vw, 3.6rem); }
.hero h1::after { display: none; }
.hero-lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); margin: 1.4rem 0 0; max-width: 34rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.6rem 0 0; }
.tags li { padding: 0.3rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--step--1); background: var(--ink-1); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.stage { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: var(--ink-1); }
.stage img { width: 100%; aspect-ratio: 4 / 5; max-height: min(72vh, 640px); object-fit: cover; object-position: 50% 12%; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { max-width: 440px; }
}

/* Proof strip */
.proof { border-block: 1px solid var(--line); padding-block: 0.5rem; }
.logos-row { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; padding-block: 0.9rem; }
.logos-row + .logos-row { border-top: 1px solid var(--line); }
.logos-label { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: var(--step--1); line-height: 1.3; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; list-style: none; animation: drift 55s linear infinite; }
.marquee-track li { flex: none; display: flex; align-items: center; padding-inline-end: 3.5rem; }
.marquee-track img { height: 32px; width: auto; max-width: 170px; object-fit: contain; opacity: 0.85; }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--muted); white-space: nowrap; }
.is-paused .marquee-track { animation-play-state: paused; }
.logos-row[data-dir="left"] .marquee-track { animation-direction: reverse; }
@keyframes drift { from { transform: translateX(-50%); } to { transform: translateX(0); } }
:root[data-theme="light"] .marquee-track img { filter: invert(1); }
.marquee-pause { width: 36px; height: 36px; }
.marquee-pause svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; row-gap: 1rem; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-pause { display: none; }
}
@media (max-width: 760px) {
  .logos-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.5rem; }
  .logos-label { grid-column: 1 / -1; }
}

/* Principle */
.principle { padding-block: clamp(2.5rem, 5vw, 4rem); }
.principle .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.principle p { margin: 0; padding-left: 1.1rem; border-left: 3px solid var(--human); font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.3; max-width: none; }
@media (max-width: 760px) { .principle .wrap { grid-template-columns: 1fr; } }

/* Two columns */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.facts { list-style: none; background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 0.4rem clamp(1.25rem, 3vw, 1.75rem); }
.facts li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts b { display: block; font-family: var(--font-display); font-weight: 600; }
.facts span { color: var(--muted); }
.split > div > p + .facts { margin-top: 1.75rem; }

/* Card grids */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.cards > * { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2rem); }
.cards h3 { margin-bottom: 0.5rem; }
.cards p { color: var(--muted); margin: 0; }
.cards ul:not(.bullets) { list-style: none; display: grid; gap: 0.45rem; margin-top: 0.9rem; }
.cards ul:not(.bullets) li { color: var(--text); }
.mt { margin-top: 1.25rem; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .cards--2 { grid-template-columns: 1fr; } }
.hero-lede + .hero-lede { margin-top: 1rem; }
.card--link { display: flex; flex-direction: column; gap: 0.5rem; color: inherit; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.card--link:hover { border-color: var(--muted); background: var(--ink-2); }
.card--link .meta { margin-bottom: 0; }
.card--link .go { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--human-text); }
.card--link:hover .go { text-decoration: underline; text-underline-offset: 0.25em; }

/* Home hub */
.hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.hub-card { display: flex; flex-direction: column; gap: 0.6rem; min-height: 15rem; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m); color: inherit; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.hub-card:hover { background: var(--ink-2); border-color: var(--muted); }
.hub-card--accent { background: var(--ink-2); border-color: var(--human); }
.hub-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 0.4rem; border: 1px solid var(--line); border-radius: var(--radius-s); color: var(--human-text); }
.hub-icon svg, .hub-go svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub-icon svg { width: 22px; height: 22px; }
.hub-card p { margin: 0; color: var(--muted); }
.hub-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.hub-label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.hub-go { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: border-color 0.2s, color 0.2s; }
.hub-go svg { width: 18px; height: 18px; }
.hub-card:hover .hub-go { border-color: var(--human-text); color: var(--human-text); }

/* Destacado */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.5rem, 4vw, 2.75rem); }
.feature--text { grid-template-columns: minmax(0, 1fr); }
.feature h3 { font-size: var(--step-2); line-height: 1.15; margin: 0.4rem 0 1rem; }
.feature p { color: var(--muted); }
.feature .feature-date { font-size: var(--step--1); }
.feature .btn { margin-top: 0.6rem; }
.feature-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-s); border: 1px solid var(--line); }
.feature-more { font-family: var(--font-display); font-weight: 600; }
.card--link[hidden] { display: none; }
.cards p.card-summary { margin-top: 0.4rem; font-size: var(--step--1); }
.event-summary { color: var(--muted); margin: 0.8rem 0 0; font-size: var(--step--1); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Trabajos */
.works { display: grid; gap: 1.25rem; }
.work { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2rem); }
.work h2 { font-size: var(--step-1); line-height: 1.25; margin-top: 0.2rem; }
.work h2::after { display: none; }
.work dl { display: grid; gap: 0.9rem; margin: 1.2rem 0 0; }
.work dl > div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 0.4rem 1.5rem; }
.work dt { color: var(--muted); font-size: var(--step--1); padding-top: 0.15rem; }
.work dd { margin: 0; }
@media (max-width: 640px) { .work dl > div { grid-template-columns: 1fr; } }
.meta { display: inline-block; margin-bottom: 0.8rem; font-size: var(--step--1); font-weight: 600; color: var(--human-text); }

/* Team training cases */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.25rem 3rem; align-items: center; margin-bottom: 1.25rem; }
.case h3 { margin-bottom: 0.4rem; }
.case p { color: var(--muted); margin: 0; }
.case .case-note { color: var(--text); }
.case .case-note + .case-note { margin-top: 0.6rem; color: var(--muted); }
.case--solo { grid-template-columns: 1fr; }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } }
.trained { margin-top: 1.5rem; color: var(--muted); }

/* Contact */
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; }
.contact-card p { color: var(--muted); margin: 0.8rem 0 0; }
.contact-list { list-style: none; display: grid; gap: 0.6rem; font-size: var(--step-1); }
.contact-list a { font-family: var(--font-display); font-weight: 600; }
@media (max-width: 760px) { .contact-card { grid-template-columns: 1fr; } }

/* Interior page heads */
.page-head { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: end; justify-content: space-between; }
.crumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: 1rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.trio h2 { font-size: 1.05rem; letter-spacing: 0; }
.trio h2::after { display: none; }
.trio p { color: var(--muted); margin: 0.4rem 0 0; }

/* Demo blocks on Componentes */
.demo-index { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 2rem; }
.demo-index a { font-family: var(--font-display); font-weight: 500; color: var(--muted); }
.demo-index a:hover { color: var(--text); }
.demo { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr); gap: 1.5rem clamp(2rem, 5vw, 4rem); align-items: start; }
.demo-intro h2 { overflow-wrap: anywhere; }
.demo-intro p { color: var(--muted); }
.demo-intro h2 + p { margin-top: 1.2rem; }
.demo-intro .use { font-size: var(--step--1); border-left: 2px solid var(--human); padding-left: 0.9rem; }
.demo-main { min-width: 0; background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }

/* Artefactos */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filters button { min-height: 44px; padding: 0 1.2rem; background: none; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-s); font: 500 0.95rem var(--font-display); cursor: pointer; }
.filters button:hover { border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--ink-0); border-color: var(--text); }
#lista { display: grid; gap: 1.25rem; }
.event { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.25rem clamp(1.5rem, 4vw, 3rem); background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2rem); }
.event--solo { grid-template-columns: 1fr; }
.event h2 { font-size: var(--step-1); line-height: 1.25; }
.event h2::after { display: none; }
.event-meta { list-style: none; margin-top: 0.8rem; color: var(--muted); display: grid; gap: 0.2rem; font-size: var(--step--1); }
.event-meta .kind { color: var(--text); font-weight: 600; }
.status { display: inline-block; margin-top: 0.9rem; padding: 0.15rem 0.75rem; border: 1px solid var(--human-text); color: var(--human-text); border-radius: 999px; font-size: var(--step--1); font-weight: 600; }
.status.done { border-color: var(--verify); color: var(--verify); }
.artifacts { list-style: none; display: grid; align-content: start; }
.artifacts li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.artifacts li:first-child { padding-top: 0; }
.artifacts .type { color: var(--muted); font-size: var(--step--1); }
.artifacts li.artifact { display: block; padding: 0; border: 0; }
.artifact-card { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 1.4rem; align-items: center; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--ink-2); color: var(--text); text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.artifact-card:hover { border-color: var(--human); background: var(--glass-hover); }
.artifact-card:focus-visible { outline: 2px solid var(--human); outline-offset: 3px; }
.artifact-thumb { position: relative; display: block; margin: 0.35rem 0.55rem 0.55rem 0.35rem; }
.artifact-thumb::before { content: ""; position: absolute; inset: 0; transform: translate(0.45rem, 0.45rem); border-radius: 4px; background: #e9e1dc; opacity: 0.55; }
.artifact-thumb img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.artifact-info { display: grid; gap: 0.45rem; align-content: center; }
.artifact-info strong { font: 600 var(--step-1) / 1.25 var(--font-display); }
.artifact-cta { color: var(--human-text); font: 600 var(--step--1) var(--font-display); }
.artifact-cta::after { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-left: 0.45em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-0.08em) rotate(45deg); }
:root[data-theme="light"] .artifact-thumb img { box-shadow: 0 8px 20px rgba(29, 20, 23, 0.18); border: 1px solid var(--line); }
@media (max-width: 520px) { .artifact-card { grid-template-columns: minmax(0, 6.5rem) minmax(0, 1fr); gap: 1rem; padding: 0.9rem; } }
@media (prefers-reduced-motion: reduce) { .artifact-card { transition: none; } }
.empty { padding: 1.1rem 1.3rem; border: 1px dashed var(--line); border-radius: var(--radius-s); color: var(--muted); }
.empty p { margin: 0; }
@media (max-width: 760px) { .event { grid-template-columns: 1fr; } }

/* Glass surfaces: the stage glow shows through the cards */
.card, .cards > *, .hub-card, .feature, .work, .event, .facts, .timeline .what, .demo-main, .callout {
  background: var(--glass); backdrop-filter: blur(10px) saturate(130%); -webkit-backdrop-filter: blur(10px) saturate(130%);
}
.hub-card--accent { background: var(--glass-hover); }
.hub-card:hover, .card--link:hover { background: var(--glass-hover); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .cards > *, .hub-card, .feature, .work, .event, .facts, .timeline .what, .demo-main, .callout { background: var(--ink-1); }
  .site-header { background: var(--ink-0); }
}

@media print {
  :root, :root[data-theme] { --ink-0: #fff; --ink-1: #f6f3f2; --ink-2: #ece7e5; --line: #cfc7c4; --text: #1d1417; --muted: #4a3d41; --human: #b5162b; --human-text: #b5162b; --verify: #3d5a8c; }
  .site-header, .site-footer, .skip, .no-print { display: none !important; }
  body::before, body::after { display: none; }
  .card, .cards > *, .hub-card, .feature, .work, .event, .facts, .timeline .what, .demo-main, .callout { background: var(--ink-1); backdrop-filter: none; }
  body { font-size: 10.5pt; }
  .section { padding-block: 1.2rem; break-inside: avoid-page; }
  h2 { font-size: 1.5rem; }
  .timeline > li { break-inside: avoid; }
  a { text-decoration: none; }
}

/* Variety: bento hub, editorial rows, browser-window frame, closing band */
.hub { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(13rem, auto)); }
.hub-card--photo { grid-column: 1 / 3; grid-row: 1 / 3; position: relative; overflow: hidden; }
.hub-card--photo .hub-body { position: relative; z-index: 1; max-width: 52%; display: flex; flex-direction: column; gap: 0.6rem; }
.hub-card--photo .hub-foot { position: relative; z-index: 1; }
.hub-card--photo h3 { font-size: var(--step-2); line-height: 1.1; }
.hub-photo { position: absolute; right: 0; bottom: 0; width: 58%; height: 100%; object-fit: cover; object-position: 50% 15%; -webkit-mask-image: linear-gradient(to right, transparent, #000 45%); mask-image: linear-gradient(to right, transparent, #000 45%); opacity: 0.92; }
.hub-card--stat .hub-stat { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; color: var(--human-text); }
.hub-card--stat .hub-stat { margin: 0; }
.hub-card--stat .hub-stat small { font-size: var(--step-0); font-weight: 500; color: var(--muted); }
.hub-card--accent { background: linear-gradient(150deg, rgba(209, 38, 58, 0.34), var(--glass-hover) 70%); }
@media (max-width: 980px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; } .hub-card--photo { grid-column: 1 / -1; grid-row: auto; min-height: 17rem; } }
@media (max-width: 560px) { .hub { grid-template-columns: 1fr; } .hub-card--photo .hub-body { max-width: 62%; } .hub-card--photo h3 { font-size: var(--step-1); } }

.rows { list-style: none; border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row[hidden] { display: none; }
.row-link { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 15rem) 2rem; gap: 0.5rem clamp(1rem, 3vw, 2rem); align-items: start; padding: clamp(1.1rem, 2.4vw, 1.6rem) 0; color: inherit; text-decoration: none; }
.row-n { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1; color: var(--human-text); }
.row-main h3 { font-size: var(--step-1); line-height: 1.25; margin: 0; }
.row-summary { display: block; margin-top: 0.4rem; color: var(--muted); font-size: var(--step--1); max-width: 46rem; }
.row-side { display: grid; gap: 0.4rem; justify-items: start; }
.row-side .status { margin: 0; }
.row-where { color: var(--muted); font-size: var(--step--1); }
.row-go { font-size: var(--step-1); color: var(--muted); text-align: right; }
.row-link:hover .row-main h3 { text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 760px) { .row-link { grid-template-columns: 2.5rem minmax(0, 1fr); } .row-side { grid-column: 2; } .row-go { display: none; } }

.feature-media { background: var(--ink-1); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7); }
.feature-media img { border: 0; border-radius: 0; display: block; }
.window-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line); }
.window-bar span { margin-left: 0.6rem; font-family: var(--font-code); font-size: 0.75rem; color: var(--muted); }

.band { position: relative; border-block: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 5.5rem); background: radial-gradient(ellipse 70% 120% at 85% 50%, var(--glow-a), transparent 70%), linear-gradient(180deg, var(--ink-1), var(--ink-0)); }
.principle .band-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.principle.band .band-copy > p:not(.band-link) { padding: 0; border: 0; font-size: var(--step-3); line-height: 1.08; letter-spacing: -0.02em; }
.principle.band .band-copy > p.band-last { color: var(--human-text); }
.band-photo { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.band-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.numbers[hidden] { display: none; }
.numbers div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.3rem; }
.numbers dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1; }
.numbers dt { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) { .principle .band-grid { grid-template-columns: 1fr; } .band-photo { max-width: 360px; } }
@media (max-width: 480px) { .numbers { grid-template-columns: 1fr 1fr; } }

/* About page "En escena": one portrait and the activity count by format, computed from the data. */
.escena { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.escena-photo { border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: var(--ink-1); }
.escena-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.tally { margin: 0 0 2rem; max-width: 34rem; }
.tally div { display: grid; grid-template-columns: 5rem 1fr; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.tally div:last-child { border-bottom: 1px solid var(--line); }
.tally dd { order: -1; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1; }
.tally dt { color: var(--muted); font-size: var(--step-1); }
@media (max-width: 860px) { .escena { grid-template-columns: 1fr; } .escena-photo { max-width: 360px; } }

/* Contact rows (every page) and the home contact card with its animated pipeline. */
.contact-list { gap: 0.25rem; font-size: var(--step-0); }
.contact-row { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: center; gap: 0.9rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-s); color: var(--human-text); }
.contact-icon svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-text { display: grid; gap: 0.1rem; min-width: 0; }
.contact-label { font-size: var(--step--1); color: var(--muted); }
.contact-text a { overflow-wrap: anywhere; }
.contact-copy { font: 600 var(--step--1) var(--font-body); color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem; cursor: pointer; }
.contact-copy:hover, .contact-copy:focus-visible { color: var(--text); border-color: var(--muted); }
.contact-card--pro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 2rem clamp(2rem, 6vw, 4.5rem); }
.contact-main > p { max-width: 46ch; }
.contact-main .contact-list { margin: 1.5rem 0; }
.pipeline { margin: 0; justify-self: center; width: 100%; max-width: 360px; }
.pipeline svg { display: block; width: 100%; height: auto; overflow: visible; }
.pipe { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 3; }
.pipe-flow { fill: none; stroke: var(--human); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 100; stroke-dashoffset: 7; animation: pipe-flow 8s linear infinite; }
.node rect { fill: var(--ink-2); stroke: var(--line); stroke-width: 1.5; }
.node text { fill: var(--text); font: 600 16px var(--font-display); }
.node .sub { fill: var(--muted); font: 400 12px var(--font-body); }
.node { animation: node-on 8s ease-in-out infinite; }
.n2 { animation-delay: 2s; }
.n3 { animation-delay: 4s; }
.n4 { animation-delay: 6s; }
.node--human rect { stroke: var(--human); }
.check { fill: none; stroke: var(--human-text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: check-draw 8s ease-out infinite; }
@keyframes pipe-flow { 0% { stroke-dashoffset: 7; } 75%, 100% { stroke-dashoffset: -100; } }
@keyframes node-on { 0%, 30%, 100% { opacity: 0.55; } 6%, 22% { opacity: 1; } }
@keyframes check-draw { 0%, 76% { stroke-dashoffset: 100; } 86%, 97% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
@media (max-width: 860px) { .contact-card--pro { grid-template-columns: 1fr; } .pipeline { max-width: 320px; } }
@media (max-width: 520px) { .contact-row { grid-template-columns: 2.5rem minmax(0, 1fr); } .contact-copy { grid-column: 2; justify-self: start; } .contact-text a { overflow-wrap: normal; word-break: normal; } }
@media (prefers-reduced-motion: reduce) {
  .pipe-flow { animation: none; stroke-dasharray: none; opacity: 0.6; }
  .node { animation: none; opacity: 1; }
  .check { animation: none; stroke-dashoffset: 0; }
}
@media print { .pipeline, .contact-copy { display: none; } }

/* CV: the branded header only shows in print (css/cv-print.css) */
.cv-print-head { display: none; }

/* Review: muted dates on Trabajos, results strip, band figures, page links */
.work .meta { color: var(--muted); }
.results-strip { padding-top: 0; }
.results-strip .figures { padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--glass); }
.band-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.band-figures .figure b { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); }
@media (max-width: 480px) { .band-figures { grid-template-columns: 1fr; } }
.principle.band .band-copy > .band-link { margin: 1.25rem 0 0; padding: 0; border: 0; font: 600 var(--step-0) / 1.4 var(--font-display); letter-spacing: 0; }
.page-links { margin: 1rem 0 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-head .hero-actions { margin-top: 0; }
.filter-status { margin: -0.75rem 0 1.25rem; color: var(--muted); font-size: var(--step--1); }
.quote figcaption { color: var(--muted); margin-top: 0.6rem; }
.event, .work { scroll-margin-top: 6rem; }
.quote blockquote { margin: 0; }
.timeline--compact { gap: 0.6rem; }
.timeline--compact .what { padding: 0.9rem 1.3rem; }
.timeline--compact .when { padding-top: 0.9rem; }
.timeline--compact .where { margin: 0; }
