/* Hallmark · shape: Bento Grid · genre: editorial · theme: Brutal (deal 3/3, seed achiu-org-carta-presentaci-d2b6·a042276e·2026-10-31·r0) · job: hire · draw: 06ffa9
 * hero: Ledge · nav: banner over a sticky bar · footer: letter close · imagery: photographs, the user's own 3, duotone ink that turns to colour on hover · signature: the kapyo mark on the Teatro Flores LED screen, printed in ink, the name resting under it
 * axes: light/grotesk-heavy/neutral · posture: committed · contrast: pass · fold: pass · v2.0.0
 * swaps: no accent at all, paper and ink only (the user's call); display lowercase, not uppercase (kapyo, framchiu and achiú! are always lowercase); motion: the user asked for an animated, living page, so Brutal's one-frame flips became short eased transitions, one staggered reveal per section, and the previous site's ink intro with the trembling achiú! mark */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: R, the bento wanted six figures; kept four numbers and two photographs, cut the streams split by platform */
/* Hallmark · waive 47b · one frame, the Spotify artist embed inside · the Spotify player is how kapyo is heard on the page, beside the kapyo mark and its links */
@import url("./tokens.css?v=ae70159");
@import url("./base.css?v=ae70159");

:root {
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --text-hero: clamp(3.25rem, 8.5vw, 8.5rem);
  --text-cell: clamp(2.25rem, 2.6vw + 0.75rem, 3.75rem);
  --field-h: 520px;
  --bar-h: 72px;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --intro: 0.9s;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- intro: ink field, the mark trembling, then the page wipes in ---------- */
.intro { display: none; }
.js .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: var(--z-modal); background: var(--color-ink); clip-path: inset(0 0 0 0); animation: intro-out 0.7s var(--ease-spring) var(--intro) forwards; pointer-events: none; }
.js .intro .alive { opacity: 0; animation: intro-mark 0.5s var(--ease-out) 0.05s forwards; }
.js.intro-done .intro { display: none; }
/* saltear: otro nombre de keyframes para que la salida arranque de cero */
.js.intro-skip .intro { animation: intro-skip 0.65s var(--ease-in-out) forwards; }
.js.intro-skip .intro .alive { animation: intro-mark-out 0.35s var(--ease-out) forwards; }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); } }
@keyframes intro-skip { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes intro-mark-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-24px) scale(0.92); } }
@keyframes intro-mark { to { opacity: 1; } }

/* ---------- type ---------- */
h1, h2, .display { font-weight: var(--display-weight); text-transform: lowercase; letter-spacing: var(--tracking-display); line-height: 1; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: var(--text-hero); max-width: none; }
.lead { color: var(--color-ink); }
p, li, dd { font-size: 1.0625rem; }
small, .caption, figcaption, .meta { font-size: var(--text-sm); color: var(--color-muted); }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
/* sobre tinta la selección se invierte: papel con letra negra, si no seleccionar no se ve */
:is(.band--ink, .now, .listen, .index li:is(:hover, .is-playing), .cell:not(.cell--photo):hover, .rows .row:hover, .menu-toggle[open] summary, .skip) ::selection,
:is(.band--ink, .now, .listen, .index li:is(:hover, .is-playing), .cell:not(.cell--photo):hover, .rows .row:hover, .menu-toggle[open] summary, .skip)::selection { background: var(--color-paper); color: var(--color-ink); }

/* ---------- links: a hairline of ink; the text greys on hover ---------- */
a { color: inherit; text-decoration: none; }
.u, .foot-links a {
  background-image: linear-gradient(var(--color-ink), var(--color-ink));
  background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%;
  transition: background-size var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.u:hover, .foot-links a:hover { color: var(--color-muted); }
.contact-links a { position: relative; display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: var(--space-3xs) 0; white-space: nowrap; transition: transform var(--dur-short) var(--ease-spring); }
.contact-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-paper); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-short) var(--ease-out); }
.contact-links a:hover { transform: translateX(6px); }
.contact-links a:hover::after { transform: scaleX(1); }

/* ---------- controls ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-bar) solid var(--color-rule); border-radius: 0; background: var(--color-paper); color: var(--color-ink); font-weight: 700; font-size: var(--text-md); line-height: 1; white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-ink); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-short) var(--ease-out); }
.btn:hover { color: var(--color-paper); }
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: translateY(2px); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- chrome ---------- */
.lang { display: flex; gap: 0; margin: 0; padding: 0; border: 0; }
.lang legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lang button { position: relative; min-height: 44px; padding: 0 var(--space-xs); border: 0; background: transparent; color: var(--color-muted); font-size: var(--text-sm); font-weight: 700; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.lang button::after { content: ""; position: absolute; left: var(--space-xs); right: var(--space-xs); bottom: 10px; height: 2px; background: var(--color-ink); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-short) var(--ease-out); }
.lang button:hover { color: var(--color-ink); }
.lang button[aria-pressed="true"] { color: var(--color-ink); font-weight: 700; }
.lang button[aria-pressed="true"]::after { transform: scaleX(1); }
.lang button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }

.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-rule); }
.bar .container { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-lg); min-height: var(--bar-h); }
.wordmark { display: inline-flex; align-items: center; padding: var(--space-2xs); }

.menu { display: flex; justify-content: center; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.menu a { position: relative; display: inline-block; padding: var(--space-xs) 0; font-weight: 400; transition: color var(--dur-short) var(--ease-out); }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; background: var(--color-ink); transform: scaleX(0); transform-origin: right; transition: transform var(--dur-short) var(--ease-out); }
.menu a:hover::after, .menu a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.menu a[aria-current="true"] { font-weight: 700; }
.menu-toggle { display: none; }

/* the achiú! monogram as inline vector: crisp at any size, still */
.alive { display: block; overflow: visible; fill: currentColor; }
.alive--nav { width: 44px; height: 48px; color: var(--color-ink); }
.alive--intro { width: min(40vw, 180px); height: auto; aspect-ratio: 1437 / 1572; color: var(--color-paper); }
/* ---------- hero: Ledge ---------- */
.hero { padding-block: 0 var(--space-2xl); }
.field { height: var(--field-h); margin: 0; border: 0; border-bottom: var(--rule-bar) solid var(--color-rule); outline: 0; }
.field:has(> img) { outline: 0; }
.field > img { object-position: 50% 58%; transition: filter 0.8s var(--ease-out); }
.field::before { transition: opacity 0.8s var(--ease-out); }
.field:hover > img, .field.is-lit > img { filter: grayscale(0) contrast(1.02); }
.field:hover::before, .field.is-lit::before { opacity: 0; }
.js .field { clip-path: inset(0 100% 0 0); animation: wipe 1.1s var(--ease-spring) calc(var(--intro) + 0.3s) forwards; }
.hero h1 { margin-top: var(--space-xl); }
.js .hero h1 .ch { display: inline-block; opacity: 0; transform: translateY(0.35em); animation: rise 0.7s var(--ease-spring) forwards; animation-delay: calc(var(--intro) + 0.6s + var(--i, 0) * 28ms); }
.hero-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; margin-top: var(--space-md); }
.hero-row .lead { grid-column: 1 / 7; }
.js .hero-row > * { opacity: 0; transform: translateY(12px); animation: fade-up 0.7s var(--ease-out) calc(var(--intro) + 1.15s) forwards; }


@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* ---------- one reveal, staggered ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-long) var(--ease-out), transform 0.6s var(--ease-spring); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap-s); }
.section--l { padding-block: var(--section-gap); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.head h2 { grid-column: 1 / 8; }
.head .lead { grid-column: 8 / 13; }
.head:has(> .visually-hidden) .lead { grid-column: 1 / 8; }

/* cells (Brutal: shared 3px rules, zero radius) */
.cells { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: var(--rule-bar); padding: var(--rule-bar); background: var(--color-rule); }
.cells > * { min-width: 0; background: var(--color-paper); }
.cell { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-start; gap: var(--space-sm); padding: var(--space-lg); transition: color 0.5s var(--ease-out); }
.cell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-ink); opacity: 0; transition: opacity 0.5s var(--ease-out); }
.cell:not(.cell--photo):hover { color: var(--color-paper); }
.cell:not(.cell--photo):hover::before { opacity: 1; }
.cell:not(.cell--photo):hover p:not(.big) { color: var(--color-paper); }
.cell .big { font-size: var(--text-cell); font-weight: 900; letter-spacing: -0.03em; line-height: 0.95; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 0; transition: transform var(--dur-long) var(--ease-spring); transform-origin: left bottom; }
.cell p { max-width: 36ch; font-size: var(--text-md); transition: color var(--dur-long) var(--ease-out); }
.cell--photo { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 0; padding: 0; }
.cell--photo .photo { width: 100%; margin: 0; min-height: 240px; }
.cell--photo .photo > img { object-position: 50% 30%; }

.cell--photo .cap { padding: var(--space-md) var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.cell--photo .cap h3 { margin-bottom: var(--space-xs); }
.c-a { grid-column: 1 / 8; grid-row: 1 / 3; }
.c-b { grid-column: 8 / 13; grid-row: 1; }
.c-c { grid-column: 8 / 13; grid-row: 2; }
.c-d { grid-column: 1 / 7; grid-row: 3; }
.c-e { grid-column: 7 / 13; grid-row: 3; }

/* fotos de sesión en framchiu y en el sello: tinta en reposo, color al pasar o al cruzar el centro.
   Llevan un marco de tinta que, con el mismo pulso que las cifras, se achica y se corre dentro de
   su lugar: la foto se recorta distinto en cada parada y la página de alrededor no se mueve. */
.shot { margin: 0; aspect-ratio: 4 / 3; }
.shot:has(> img) { outline: 0; }
.shot { contain: layout paint; }
.shot > img, .shot::before, .shot::after { inset: 0; }
.shot::after { content: ""; position: absolute; z-index: 2; border: var(--rule-bar) solid var(--color-ink); pointer-events: none; }
.shot > img { object-position: var(--pos, 50% 55%); /* --pos por foto, en el style de la figura */ transition: filter 0.8s var(--ease-out); }
.shot::before { transition: opacity 0.8s var(--ease-out); }
.shot:is(:hover, .is-lit) > img { filter: grayscale(0) contrast(1.02); }
.shot:is(:hover, .is-lit)::before { opacity: 0; }
/* kapyo: la galería va debajo del panel de escucha */
.alias--player .gallery { margin-top: var(--space-lg); }
/* la columna del panel no se estira con la tira: la tira scrollea adentro */
.alias--player .alias-body { grid-template-columns: minmax(0, 1fr); }
.gallery { min-width: 0; }

/* ---------- galería de framchiu: tira deslizable ---------- */
.gallery { margin-top: var(--space-xl); }
.gallery-track { position: relative; display: flex; gap: var(--space-md); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; outline: 0; }
.gallery-track::-webkit-scrollbar { display: none; }
/* fundido en los bordes, solo del lado donde una foto queda cortada (site.js pone las clases) */
/* angosto: de transparente a la foto en ~24px, solo donde hay corte */
@property --edge-l { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --edge-r { syntax: "<length>"; inherits: false; initial-value: 0px; }
.gallery-track {
  --edge-mask: linear-gradient(to right, transparent 0, #000 var(--edge-l), #000 calc(100% - var(--edge-r)), transparent 100%);
  -webkit-mask-image: var(--edge-mask); mask-image: var(--edge-mask);
  transition: --edge-l 0.35s var(--ease-out), --edge-r 0.35s var(--ease-out);
}
.gallery-track.is-cut-l { --edge-l: 24px; }
.gallery-track.is-cut-r { --edge-r: 24px; }
@media (max-width: 40rem) { .gallery-track.is-cut-l { --edge-l: 16px; } .gallery-track.is-cut-r { --edge-r: 16px; } }
.gallery-track:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-track.is-dragging .g-open { pointer-events: none; }
.g-item { flex: none; height: clamp(260px, 30vw, 440px); aspect-ratio: 4 / 5; /* todas iguales y fijas */ max-width: 100%; scroll-snap-align: start; }
.g-item img { user-select: none; -webkit-user-drag: none; }
.g-open { position: absolute; inset: 0; z-index: 3; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.g-open:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }
.gallery-bar { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-md); margin-top: var(--space-md); }
.viewer-count { margin: 0; font-family: var(--font-mono); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.gallery-nav { display: flex; gap: var(--space-xs); }
.gallery-nav button { min-width: 44px; min-height: 44px; border: var(--rule-bar) solid var(--color-ink); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-lg); line-height: 1; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.gallery-nav button:hover { background: var(--color-ink); color: var(--color-paper); }
.gallery-nav button:disabled { opacity: 0.35; cursor: default; background: var(--color-paper); color: var(--color-ink); }
.gallery-nav button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

/* visor: la foto a pantalla completa sobre tinta */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--color-ink); color: var(--color-paper); }
.viewer::backdrop { background: var(--color-ink); }
.viewer[open] { display: grid; place-items: center; }
.viewer-img { max-width: calc(100vw - 2 * var(--space-3xl)); max-height: calc(100dvh - 2 * var(--space-3xl)); width: auto; height: auto; animation: viewer-in 0.45s var(--ease-spring); }
.viewer-img.is-swap { animation: viewer-swap 0.4s var(--ease-spring); }

@keyframes viewer-in { from { opacity: 0; transform: scale(0.96); } }
@keyframes viewer-swap { from { opacity: 0; transform: translateX(var(--dir, 24px)); } }
.viewer-count { position: absolute; left: var(--space-lg); bottom: var(--space-lg); }
.viewer button { position: absolute; min-width: 48px; min-height: 48px; border: var(--rule-bar) solid var(--color-paper); background: transparent; color: var(--color-paper); font-size: var(--text-lg); line-height: 1; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.viewer button:hover { background: var(--color-paper); color: var(--color-ink); }
.viewer button:focus-visible { outline: 3px solid var(--color-paper-3); outline-offset: 3px; }
.viewer-close { top: var(--space-lg); right: var(--space-lg); }
.viewer-prev { left: var(--space-lg); top: 50%; transform: translateY(-50%); }
.viewer-next { right: var(--space-lg); top: 50%; transform: translateY(-50%); }
@media (max-width: 40rem) {
  .viewer-img { max-width: 100vw; max-height: calc(100dvh - 160px); }
  .viewer-prev, .viewer-next { top: auto; bottom: var(--space-lg); transform: none; }
  .viewer-prev { left: auto; right: calc(var(--space-lg) + 56px); }
  .viewer-count { bottom: calc(var(--space-lg) + 14px); }
}
@media (prefers-reduced-motion: reduce) { .viewer-img, .viewer-img.is-swap { animation: none; } }


/* alias sections: the mark and the title on the left, the content on the right */
.alias { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); align-items: start; }
.alias-head { grid-column: 1 / 5; display: grid; gap: var(--space-lg); justify-items: start; align-content: start; }
.alias-head .mark { width: 160px; height: auto; margin-bottom: var(--space-md); }
.alias-head h2 { margin-top: calc(-1 * var(--space-xs)); }
.alias-body { grid-column: 5 / 13; min-width: 0; }

/* rows (framchiu services) */
.rows { margin: 0; border-top: var(--rule-bar) solid var(--color-rule); }
.rows .row { position: relative; isolation: isolate; display: grid; align-items: center; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); padding: var(--space-lg) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); transition: color 0.5s var(--ease-out); }
.rows .row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-ink); opacity: 0; transition: opacity 0.5s var(--ease-out); }
.rows .row:hover { color: var(--color-paper); }
.rows .row:hover::before { opacity: 1; }
.rows .row:last-child { border-bottom: var(--rule-bar) solid var(--color-rule); }
.rows dt { font-size: var(--text-title); font-weight: 700; letter-spacing: -0.01em; }
.rows dd { margin: 0; }

/* statement (achiú!) */
.statement { display: grid; gap: var(--space-2xl); padding-top: var(--space-md); }
/* el manifiesto va debajo del h2 "achiú!" en peso: ~40px tope, no 60 */
.statement-text { font-size: clamp(1.75rem, 1.6vw + 1rem, 2.5rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; max-width: 22ch; text-transform: lowercase; text-wrap: balance; }
.js .statement-text .w { display: inline-block; opacity: 0; transform: translateY(0.3em); transition: opacity var(--dur-long) var(--ease-out), transform 0.6s var(--ease-spring); transition-delay: calc(var(--i, 0) * 45ms); }
.js .statement.is-in .statement-text .w { opacity: 1; transform: none; }
.origin-text { max-width: 58ch; }



/* index as a boxed table (Brutal) */
.index { margin: 0; padding: 0; list-style: none; border: var(--rule-bar) solid var(--color-rule); }
.index li { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 6fr) minmax(0, 4fr); gap: var(--space-md) var(--gap-columns); align-items: center; padding: var(--space-lg) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); cursor: default; }
.index li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-ink); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease-out); }
.index li:hover::before { transform: none; }
.index:hover li:not(:hover):not(.is-playing) { color: var(--color-muted); }
.index:hover li:not(:hover):not(.is-playing) time { color: var(--color-paper-3); }
.index li h3 { transition: transform 0.45s var(--ease-out); }
.index li:hover h3 { transform: translateX(6px); }
.index li:first-child { border-top: 0; }
.index li > * { transition: color 0.5s var(--ease-out); }
.index li:hover { color: var(--color-paper); }
.index li:hover small { color: var(--color-paper-3); }
.index h3 { font-size: var(--text-section); font-weight: 900; letter-spacing: -0.03em; line-height: 1; text-transform: lowercase; max-width: none; }
.index small { display: block; margin-top: var(--space-xs); }
.index time { font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.index li:hover time { color: var(--color-paper-3); }

/* contact band */
.band--ink { background: var(--color-ink); color: var(--color-paper); padding-block: var(--section-gap-s); }
.band--ink small, .band--ink .meta { color: var(--color-paper-3); }
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.contact-main { grid-column: 1 / 7; display: grid; gap: var(--space-lg); align-content: start; justify-items: start; }
/* contacto: "escribime" pesa lo mismo que los demás títulos de sección; el formulario arranca con aire debajo */
#h-contacto { margin-bottom: var(--space-sm); }
.contact-links { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl); }
.contact-links h3 { margin-bottom: var(--space-sm); padding-bottom: var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-paper); }
.contact-links ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2xs); }

.band--ink .btn { justify-self: start; margin-top: var(--space-sm); border-color: var(--color-paper); background: var(--color-ink); color: var(--color-paper); }
.band--ink .btn::before { background: var(--color-paper); }
.band--ink .btn:hover { color: var(--color-ink); }
.ico { width: 18px; height: 18px; flex: none; fill: currentColor; }

/* contact form, on the ink band */
.cform { display: grid; gap: var(--space-md); width: 100%; max-width: 40rem; margin-top: var(--space-sm); }
.cform-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.cfield { display: grid; gap: var(--space-2xs); min-width: 0; }
.cfield label { font-size: var(--text-sm); color: var(--color-paper-3); }
.cfield input, .cfield select, .cfield textarea { width: 100%; min-height: 52px; padding: var(--space-xs) var(--space-md); border: var(--rule-bar) solid var(--color-paper); border-radius: 0; background: var(--color-ink); color: var(--color-paper); font: inherit; font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -5px; }
.cfield textarea { min-height: 9rem; resize: none; line-height: 1.5; }
.cfield select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-paper) 50%), linear-gradient(135deg, var(--color-paper) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--space-xl); }
.cfield select option { background: var(--color-ink); color: var(--color-paper); }
.cfield :is(input, select, textarea):focus-visible { outline-color: var(--color-paper-3); }
.cfield input[aria-invalid="true"], .cfield textarea[aria-invalid="true"] { border-color: var(--color-paper-3); outline-color: var(--color-paper-3); }
.cform-foot { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.cform-foot .btn { margin-top: 0; }
.cform-help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-paper-3); }
.btn[aria-busy="true"] { cursor: progress; opacity: 0.7; }

/* footer: letter close */
.foot { padding-block: var(--space-3xl) var(--space-2xl); }
.foot .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; }
.sign { grid-column: 1 / 7; display: grid; gap: var(--space-xs); }
.sign .name { font-size: var(--text-title); font-weight: 700; }
.foot-links { grid-column: 9 / 13; display: grid; gap: var(--space-2xs); justify-items: end; text-align: right; }

/* language crossfade */
main, .foot { transition: opacity var(--dur-short) var(--ease-out); }
.is-switching main, .is-switching .foot { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  :root { --field-h: 400px; }
  .bar .container { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: var(--space-sm); }
  .lang { justify-self: end; }
  .menu-toggle { display: block; position: static; order: 5; }
  .menu-toggle summary { list-style: none; cursor: pointer; font-weight: 700; padding: var(--space-xs) var(--space-sm); border: var(--rule-bar) solid var(--color-rule); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
  .menu-toggle[open] summary { background: var(--color-ink); color: var(--color-paper); }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
  .menu-toggle .menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--color-paper); border-bottom: var(--rule-bar) solid var(--color-rule); padding: var(--space-md) var(--gutter); transform-origin: top; animation: drop var(--dur-long) var(--ease-spring); }
  .menu-toggle .menu a { display: block; padding: var(--space-sm) 0; font-size: var(--text-lg); font-weight: 700; }
  .menu-toggle .menu a::after { display: none; }
  .bar > .container > nav { display: none; }
  .hero-row .lead { grid-column: 1 / -1; }
  .head h2, .head .lead { grid-column: 1 / -1; }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); }
  .c-a { grid-column: 1 / -1; grid-row: auto; }
  .c-b, .c-c, .c-d, .c-e { grid-column: auto; grid-row: auto; }
  .cell { padding: var(--space-lg); }
  .alias-head, .alias-body, .contact-main, .contact-links, .sign, .foot-links { grid-column: 1 / -1; }
  .alias { gap: var(--space-xl) var(--gap-columns); }
  .alias-head .mark { width: 120px; }
  .foot-links { justify-items: start; text-align: left; }
  .index li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); padding: var(--space-md) var(--space-lg); }
  .row-player { margin-top: var(--space-sm); }
  .index h3 { font-size: var(--text-xl); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 40rem) {
  :root { --field-h: 320px; }
  :root { --bar-h: 60px; }
  .cells { grid-template-columns: minmax(0, 1fr); }
  .c-b, .c-c, .c-d, .c-e { grid-column: 1 / -1; }
  .rows .row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .contact-links { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .js .intro { display: none; }
  .js [data-reveal], .js .statement-text .w, .js .hero h1 .ch, .js .hero-row > * { opacity: 1; transform: none; transition: none; animation: none; }
  .js .field { clip-path: none; animation: none; }

}

/* la foto del show: tinta en reposo, color al pasar el mouse */
.c-a .photo > img { object-position: 60% 50%; transition: filter 0.8s var(--ease-out); }
.c-a .photo::before { transition: opacity 0.8s var(--ease-out); }
.c-a:hover .photo > img, .c-a .photo.is-lit > img { filter: grayscale(0) contrast(1.02); }
.c-a:hover .photo::before, .c-a .photo.is-lit::before { opacity: 0; }

@media (max-width: 75rem) { .contact-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- mobile first: tacto, aire y pantallas con notch ---------- */
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.foot-links a, .alias-head a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-links ul { gap: 0; }
.lang button { min-width: 44px; }
@media (max-width: 60rem) {
  :root { --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .hero { padding-bottom: var(--space-xl); }
  .hero h1 { margin-top: var(--space-lg); }
  .section { padding-block: var(--section-gap-s); }
  .section--l { padding-block: var(--section-gap-s); }
  .alias { gap: var(--space-lg) var(--gap-columns); }
  .alias-head { gap: var(--space-md); }
  .statement { gap: var(--space-xl); }
  .head { margin-bottom: var(--space-xl); }
  .band--ink { padding-block: var(--space-2xl); }
  .contact { gap: var(--space-xl) var(--gap-columns); }
  .foot { padding-block: var(--space-2xl) calc(var(--space-2xl) + env(safe-area-inset-bottom)); }
  .foot .container { gap: var(--space-lg) var(--gap-columns); }
}
@media (max-width: 40rem) {
  :root { --section-gap-s: 48px; --section-gap: 64px; --gutter: max(16px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .bar .container { padding-inline: var(--gutter); }
  .menu-toggle .menu { padding-inline: var(--gutter); }
  .lead { font-size: var(--text-lg); }
  .statement-text { font-size: var(--text-2xl); }
  .cell { padding: var(--space-md); }
  .cell--photo { padding: 0; }
  .cell--photo .cap { padding: var(--space-md); }
  .cell--photo .photo { min-height: 220px; }
  .index li { padding: var(--space-md); }
  .rows .row { padding: var(--space-md) var(--space-xs); }
  .contact-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); }
  .contact-links > div:last-child { grid-column: 1 / -1; }
  .cform-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- ahora suena ---------- */
/* el ícono: un triángulo de tinta; sonando, tres barras que laten en pasos, sin interpolar */
.play-ico { position: relative; display: inline-block; width: 14px; height: 16px; flex: none; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.now-eq { display: inline-flex; align-items: flex-end; gap: 2px; }
.is-playing > .play-ico { clip-path: none; background: linear-gradient(currentColor, currentColor) 0 100% / 4px 100% no-repeat, linear-gradient(currentColor, currentColor) 5px 100% / 4px 60% no-repeat, linear-gradient(currentColor, currentColor) 10px 100% / 4px 80% no-repeat; animation: eq 0.9s steps(3) infinite; }
@keyframes eq { 0% { background-size: 4px 100%, 4px 40%, 4px 80%; } 33% { background-size: 4px 50%, 4px 100%, 4px 30%; } 66% { background-size: 4px 80%, 4px 60%, 4px 100%; } 100% { background-size: 4px 100%, 4px 40%, 4px 80%; } }

/* fila del catálogo: botón de tinta; la que suena queda invertida */
.row-player { min-width: 0; display: flex; justify-content: flex-end; }
.play { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 52px; padding: 0 var(--space-lg); border: var(--rule-bar) solid currentColor; font-weight: 700; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.play:hover, .play.is-playing { background: var(--color-paper); color: var(--color-ink); }
.play:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.index li.is-playing { color: var(--color-paper); }
.index li.is-playing::before { transform: none; }
.index li.is-playing small, .index li.is-playing time { color: var(--color-paper-3); }

/* kapyo: el panel de escucha ocupa la misma altura que la columna del logo y el texto */
.alias--player { align-items: stretch; }
.alias--player .alias-body { display: grid; }
.listen { display: grid; align-content: end; justify-items: start; gap: var(--space-md); min-height: 240px; padding: var(--space-xl); border: 0; background: var(--color-ink); color: var(--color-paper); transition: background-color var(--dur-long) var(--ease-out); }
.listen .play-ico { width: 56px; height: 64px; margin-bottom: auto; }
.listen.is-playing > .play-ico { width: 64px; background-size: 18px 100%, 18px 60%, 18px 80%; background-position: 0 100%, 23px 100%, 46px 100%; animation-name: eq-big; }
@keyframes eq-big { 0% { background-size: 18px 100%, 18px 40%, 18px 80%; } 33% { background-size: 18px 50%, 18px 100%, 18px 30%; } 66% { background-size: 18px 80%, 18px 60%, 18px 100%; } 100% { background-size: 18px 100%, 18px 40%, 18px 80%; } }
/* subordinado al h2 de la sección (52px): es una acción, no un segundo titular */
.listen-title { font-size: var(--text-2xl); font-weight: 900; letter-spacing: -0.03em; line-height: 1; text-transform: lowercase; }
.listen small { max-width: 40ch; color: var(--color-paper-3); }
.listen:hover, .listen.is-playing { background: var(--color-ink-2); color: var(--color-paper); }
@media (max-width: 60rem) { .listen { min-height: 200px; padding: var(--space-lg); } }
/* framchiu: el bloque de presupuesto entre los servicios y la galería */
.alias-wide { grid-column: 1 / -1; min-width: 0; margin-top: calc(var(--space-lg) - var(--space-2xl)); }
.alias-wide > .gallery { margin-top: var(--space-xl); }
/* achiú!: las iniciales que forman el nombre */
:lang(es) .statement-text { font-weight: 300; }
.statement-text b { font-weight: 900; }
.cta { grid-auto-flow: column; justify-content: start; align-items: center; gap: var(--space-md); min-height: 0; padding: var(--space-lg) var(--space-xl); }
.cta-ico { font-size: 40px; font-weight: 900; line-height: 1; transition: transform var(--dur-short) var(--ease-out); }
.cta:hover .cta-ico, .cta:focus-visible .cta-ico { transform: translateX(8px); }
@media (max-width: 60rem) { .cta { padding: var(--space-md) var(--space-lg); } .cta-ico { font-size: 32px; } }
/* escuchar kapyo: mismo tamaño compacto que "trabajemos juntos", en una línea */
.listen.play { grid-auto-flow: column; justify-content: start; align-items: center; gap: var(--space-md); min-height: 0; padding: var(--space-lg) var(--space-xl); }
.listen.play .play-ico { width: 32px; height: 36px; margin-bottom: 0; }
.listen.play.is-playing > .play-ico { width: 36px; background-size: 10px 100%, 10px 60%, 10px 80%; background-position: 0 100%, 13px 100%, 26px 100%; animation-name: eq-mid; }
@keyframes eq-mid { 0% { background-size: 10px 100%, 10px 40%, 10px 80%; } 33% { background-size: 10px 50%, 10px 100%, 10px 30%; } 66% { background-size: 10px 80%, 10px 60%, 10px 100%; } 100% { background-size: 10px 100%, 10px 40%, 10px 80%; } }
/* escuchar kapyo: el botón abraza su contenido; en hover el triángulo avanza suave, como la flecha de "trabajemos juntos" */
.listen.play { justify-self: start; width: fit-content; padding-right: calc(var(--space-xl) * 1.5); }
.listen.play .play-ico { transition: transform var(--dur-short) var(--ease-out); }
.listen.play:not(.is-playing):is(:hover, :focus-visible) .play-ico { transform: translateX(8px); }
@media (max-width: 40rem) { .listen.play { width: 100%; justify-self: stretch; } }
@media (max-width: 60rem) { .listen.play { padding: var(--space-md) var(--space-lg); } }
.listen:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }

/* la barra: tinta, abajo, sube con el primer play; fuera de la zona kapyo baja */
.now { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); background: var(--color-ink); color: var(--color-paper); border-top: var(--rule-bar) solid var(--color-paper); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform 0.45s var(--ease-spring); }
.now.is-up { transform: none; }
.now.is-up.is-away { transform: translateY(110%); }
.now-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-lg); min-height: 96px; }
.now-label { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); font-weight: 700; white-space: nowrap; }
.now-eq { height: 14px; }
.now-eq i { width: 3px; height: 100%; background: currentColor; animation: eq-bar 0.9s steps(3) infinite; }
.now-eq i:nth-child(2) { animation-delay: -0.3s; }
.now-eq i:nth-child(3) { animation-delay: -0.6s; }
.now.is-paused .now-eq i { animation-play-state: paused; height: 30%; }
@keyframes eq-bar { 0% { transform: scaleY(1); } 33% { transform: scaleY(0.4); } 66% { transform: scaleY(0.7); } 100% { transform: scaleY(1); } }
.now-eq i { transform-origin: bottom; }
.now-embed { min-width: 0; height: 80px; }
.now-embed iframe { display: block; width: 100%; height: 80px; border: 0; border-radius: 12px; }
.now-close { min-width: 44px; min-height: 44px; border: var(--rule-bar) solid var(--color-paper); background: transparent; color: var(--color-paper); font-size: var(--text-lg); line-height: 1; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.now-close:hover { background: var(--color-paper); color: var(--color-ink); }
.now-close:focus-visible { outline: 3px solid var(--color-paper-3); outline-offset: 3px; }
body.has-now { scroll-padding-bottom: 112px; }
@media (max-width: 40rem) {
  .now-inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-xs) var(--space-sm); padding-block: var(--space-xs); }
  .now-label { grid-column: 1 / -1; }
  .now-embed { grid-column: 1; grid-row: 2; }
  .row-player { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .is-playing > .play-ico, .now-eq i { animation: none; }
  .now { transition: none; }
}

/* ---------- papel: un grano sutil sobre toda la página ---------- */
/* dos capas: el relieve de la fibra (turbulencia baja con luz rasante) y el grano fino.
   Va sobre todo el documento, no fija: se mueve con el contenido como una hoja impresa. */
body { position: relative; }
body::after { content: ""; position: absolute; inset: 0; z-index: 350; pointer-events: none; opacity: 0.32;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='p' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.045' numOctaves='5' stitchTiles='stitch'/%3E%3CfeDiffuseLighting surfaceScale='1.6' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='45' elevation='60'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0.28 0 0 0 0.26'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0 0 0 -0.04'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- segunda voz: mono para metadatos ---------- */
/* fechas, captions de cifras, etiquetas y estados: la ficha técnica; la Franklin queda para lo grande */
.index time, .index small, .now-label, .cfield label, .cform-help, .lang button, .sign > p:first-child, .sign small, .listen small,
.cell:not(.cell--photo) p:not(.big), .cell--photo .cap p, .menu-toggle summary {
  font-family: var(--font-mono); font-size: var(--text-sm); letter-spacing: -0.01em;
}

/* ---------- catálogo compacto: grilla de celdas con reglas de tinta, como las cifras ---------- */
/* Cada lanzamiento es una celda: fecha, título, detalle y un botón chico de play.
   En escritorio son 5 columnas por 2 filas, fijas. */
.index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rule-bar); padding: var(--rule-bar); border: 0; background: var(--color-rule); }
.index li { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xs); min-width: 0; padding: var(--space-md); border-top: 0; background: var(--color-paper); }
.index li > div:not(.row-player) { flex: 1; }
.index h3 { font-size: clamp(1.25rem, 1.2vw + 0.8rem, 1.75rem); line-height: 1.02; overflow-wrap: anywhere; }
.index small { margin-top: var(--space-2xs); font-size: var(--text-xs); line-height: 1.4; }
.index time { font-size: var(--text-xs); }
.index .row-player { margin-top: var(--space-sm); justify-content: flex-start; }
.index .play { min-height: 40px; padding: 0 var(--space-sm); gap: var(--space-xs); font-size: var(--text-sm); }
.index .play .play-ico { width: 10px; height: 12px; }
@media (min-width: 40.0625rem) and (max-width: 75rem) { .index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 75.0625rem) {
  .index { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .index li { min-height: 230px; padding: var(--space-lg) var(--space-md) var(--space-md); }
  .index h3 { font-size: clamp(1.25rem, 0.9vw + 0.75rem, 1.6rem); }
}

