/* Julia Suero — site public */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"), url(fonts/archivo-latin-wdth-normal.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-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"), url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: italic; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-italic.woff2) format("woff2-variations"), url(fonts/archivo-latin-wdth-italic.woff2) format("woff2"); }
:root {
  --paper: #ECEEF0;
  --paper-2: #E2E5E9;
  --ink: #1D1B3A;
  --mute: #5F6375;
  --line: #C3C7CF;
  --signal: #0F8C8C;
  --signal-ink: #0B6E6E;
  --gutter: clamp(16px, 4vw, 56px);
  --measure: 66ch;
  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f); font-size: 17px; line-height: 1.6; font-stretch: 100%;
  font-weight: 380;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--signal-ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .5em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.wrap-wide { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
body:not([data-page="home"]) .top, .top.scrolled { border-bottom-color: var(--line); }
.brand {
  font-stretch: 125%; font-weight: 300; letter-spacing: .02em; text-decoration: none; font-size: 1.05rem; white-space: nowrap;
}
.sitenav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
.sitenav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(.9rem, 2.2vw, 2rem); }
.sitenav a { text-decoration: none; font-size: .95rem; padding-block: .3em; border-bottom: 1px solid transparent; }
.sitenav a[aria-current="page"] { border-bottom-color: var(--ink); }
.langs { gap: .7rem !important; }
.langs a { font-size: .8rem !important; color: var(--mute); letter-spacing: .04em; }
.langs a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); border-radius: 99px; padding: .25em .9em; font-size: .9rem; cursor: pointer; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .sitenav {
    position: fixed; inset: 58px 0 auto 0; background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 1.2rem var(--gutter) 2rem; border-bottom: 1px solid var(--line); gap: 1.4rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .sitenav.open { opacity: 1; transform: none; visibility: visible; }
  .sitenav ul { flex-direction: column; gap: .6rem; }
  .sitenav ul:first-child a { font-size: 1.6rem; font-stretch: 115%; font-weight: 300; }
  .langs { flex-direction: row !important; }
}

/* ---------- type ---------- */
.h-page {
  font-stretch: 125%; font-weight: 200; font-size: clamp(2.4rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.01em;
  margin: 0 0 .4em;
}
.h-sec { font-size: 1rem; font-weight: 600; margin: 0 0 1.2rem; letter-spacing: .01em; }
.h-aside { font-size: .85rem; font-weight: 600; color: var(--mute); margin: 0 0 .7rem; }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.05em; }
.prose a { word-break: break-word; }
.more { margin: 1.6rem 0 0; }
.more a { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.empty { color: var(--mute); padding: 2rem 0; }
.page-head { padding-top: clamp(2.5rem, 7vw, 6rem); }

/* ---------- hero: the strings ---------- */
.hero {
  position: relative; height: min(86vh, 860px); min-height: 460px; overflow: hidden;
  margin-top: -59px; /* sit under the translucent header */
}
.strings { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.hero-text { position: absolute; left: var(--gutter); bottom: clamp(1.5rem, 5vh, 3.5rem); pointer-events: none; }
.hero-name {
  margin: 0; font-stretch: 125%; font-weight: 150; line-height: .86; letter-spacing: -.02em;
  font-size: clamp(4.2rem, 15vw, 15rem);
  -webkit-text-stroke: .16em var(--paper); paint-order: stroke fill;
}
.hero-tag { margin: 1.1rem 0 0; font-size: clamp(1rem, 1.6vw, 1.25rem); -webkit-text-stroke: 6px var(--paper); paint-order: stroke fill; }
.hero-hint { position: absolute; right: var(--gutter); bottom: 18px; -webkit-text-stroke: 5px var(--paper); paint-order: stroke fill; margin: 0; font-size: .8rem; color: var(--mute); pointer-events: none; transition: opacity .6s; }
.hero.touched .hero-hint { opacity: 0; }

/* ---------- home ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(3rem, 8vw, 7rem); }
.intro-text p:first-child { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.45; font-weight: 340; }
.listen-note { font-size: .9rem; color: var(--mute); margin: -.6rem 0 1rem; }
.tracklist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.track {
  display: grid; grid-template-columns: 28px 1fr; align-items: baseline; column-gap: .7rem; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line); padding: .62rem 0; cursor: pointer;
}
.track .tr-title { font-weight: 500; }
.track .tr-proj { grid-column: 2; font-size: .82rem; color: var(--mute); }
.tr-ico { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ink); position: relative; align-self: center; grid-row: span 2; }
.tr-ico::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 7px solid var(--ink); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.track:hover .tr-ico { background: var(--ink); }
.track:hover .tr-ico::after { border-left-color: var(--paper); }
.track.is-playing .tr-ico { background: var(--signal); border-color: var(--signal); }
.track.is-playing .tr-ico::after { border: 0; left: 7px; top: 6px; width: 7px; height: 9px; border-left: 2px solid var(--paper); border-right: 2px solid var(--paper); }
.track.is-playing .tr-title { color: var(--signal-ink); }

.more-tracks { background: none; border: 0; padding: .8rem 0 0; cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: .25em; }
.recent { padding-bottom: clamp(3rem, 8vw, 7rem); }
.sheet { columns: 3 260px; column-gap: clamp(1rem, 2.4vw, 2.2rem); }
.sheet-item { display: block; break-inside: avoid; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); text-decoration: none; }
.sheet-item img { width: 100%; height: auto; background: var(--paper-2); filter: saturate(.9); transition: filter .25s; }
.sheet-item:hover img { filter: saturate(1.05); }
.si-title { display: block; margin-top: .7rem; font-stretch: 115%; font-weight: 400; font-size: 1.15rem; line-height: 1.2; }
.si-sub { display: block; font-size: .86rem; color: var(--mute); margin-top: .2rem; }

.trans-teaser { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.tt-lead { font-stretch: 115%; font-weight: 300; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.15; margin: 0 0 1.4rem; max-width: 22ch; }

/* ---------- index of works ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.5rem 0 2rem; }
.chip { background: none; border: 1px solid var(--line); border-radius: 99px; padding: .32em .95em; font-size: .88rem; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.index { list-style: none; margin: 0 0 clamp(3rem, 8vw, 6rem); padding: 0; border-top: 1px solid var(--ink); }
.row { border-bottom: 1px solid var(--line); }
.row[hidden] { display: none; }
.row a {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1.3fr) minmax(0, 1fr) 132px; gap: 1.4rem; align-items: center;
  text-decoration: none; padding: .9rem 0; position: relative;
}
.r-year { font-size: .88rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.r-title { font-stretch: 118%; font-weight: 300; font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.12; }
.r-sub { font-size: .9rem; color: var(--mute); line-height: 1.4; }
.r-partner { display: block; color: var(--ink); }
.r-thumb img, .r-nothumb { width: 132px; height: 88px; object-fit: cover; background: var(--paper-2); }
.r-nothumb { display: block; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 9px); }
.r-sound { position: absolute; right: 142px; top: 50%; width: 14px; height: 12px; transform: translateY(-50%);
  background: linear-gradient(var(--signal), var(--signal)) 0 100%/2px 40% no-repeat, linear-gradient(var(--signal), var(--signal)) 4px 100%/2px 100% no-repeat, linear-gradient(var(--signal), var(--signal)) 8px 100%/2px 65% no-repeat, linear-gradient(var(--signal), var(--signal)) 12px 100%/2px 30% no-repeat; }
.row a:hover .r-title { color: var(--signal-ink); }
.row a:hover .r-thumb img { filter: contrast(1.05); }
@media (max-width: 760px) {
  .row a { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "thumb title" "thumb sub" "thumb year"; gap: .1rem .9rem; align-items: start; }
  .r-thumb { grid-area: thumb; } .r-thumb img, .r-nothumb { width: 84px; height: 64px; }
  .r-title { grid-area: title; } .r-sub { grid-area: sub; } .r-year { grid-area: year; font-size: .8rem; }
  .r-sound { right: 0; top: 1.2rem; transform: none; }
}

/* ---------- project ---------- */
.p-head { padding-top: clamp(2rem, 6vw, 5rem); padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.p-crumb { margin: 0 0 1.2rem; font-size: .9rem; }
.p-crumb a { color: var(--mute); text-decoration: none; }
.p-crumb a::before { content: "← "; }
.p-title { font-stretch: 125%; font-weight: 200; font-size: clamp(2.3rem, 7.4vw, 6.6rem); line-height: .96; letter-spacing: -.015em; margin: 0; max-width: 16ch; overflow-wrap: break-word; hyphens: auto; }
.p-meta { display: flex; flex-wrap: wrap; gap: .3rem 2rem; margin: 1.4rem 0 0; font-size: 1rem; }
.p-year { font-variant-numeric: tabular-nums; }
.p-partner { color: var(--mute); }
.p-cover { margin: 0 auto clamp(2rem, 5vw, 4rem); }
.p-cover img { width: 100%; max-height: 82vh; object-fit: contain; background: var(--paper-2); }
.p-cover figcaption, .gallery figcaption { font-size: .82rem; color: var(--mute); margin-top: .5rem; }
.zoom { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.p-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); gap: clamp(2rem, 6vw, 6rem); padding-bottom: clamp(2rem, 6vw, 5rem); }
.p-body p:first-child { font-size: 1.14em; }
.p-aside > section { margin-bottom: 2.4rem; }
.p-aside { align-self: start; position: sticky; top: 80px; }
.credits { margin: 0; font-size: .92rem; line-height: 1.45; }
.credits > div { padding: .45rem 0; border-top: 1px solid var(--line); }
.credits dt { color: var(--mute); font-size: .84rem; }
.credits dd { margin: 0; }
.links { list-style: none; margin: 0; padding: 0; }
.links li { padding: .45rem 0; border-top: 1px solid var(--line); }
.links a { word-break: break-word; }
.p-videos { display: grid; gap: clamp(1rem, 3vw, 2rem); margin-bottom: clamp(2rem, 5vw, 4rem); }
.p-videos video { width: 100%; background: #000; max-height: 82vh; }
.embed { position: relative; aspect-ratio: 16/9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { columns: 3 240px; column-gap: clamp(.8rem, 2vw, 1.6rem); margin-bottom: clamp(2rem, 6vw, 5rem); }
.gallery figure { margin: 0 0 clamp(.8rem, 2vw, 1.6rem); break-inside: avoid; }
.gallery img { width: 100%; height: auto; background: var(--paper-2); }
.p-nav { display: flex; justify-content: space-between; gap: 2rem; padding-block: 2rem 4rem; border-top: 1px solid var(--line); }
.p-nav a { text-decoration: none; font-stretch: 112%; font-size: 1.1rem; max-width: 45%; }
.p-nav a span { display: block; font-stretch: 100%; font-size: .82rem; color: var(--mute); }
.pn-next { text-align: right; margin-left: auto; }
@media (max-width: 860px) {
  .intro, .trans-teaser, .p-grid { grid-template-columns: 1fr; }
  .p-aside { position: static; }
}

/* ---------- approach, bio, contact ---------- */
.approach { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.side-img { margin: 0; position: sticky; top: 90px; max-width: 420px; }
.side-img img { width: 100%; }
.prose.long { font-size: 1.06rem; }
@media (max-width: 760px) { .approach { grid-template-columns: 1fr; } .side-img { position: static; max-width: 260px; } }
.prose.long p:first-child { font-size: 1.2em; line-height: 1.5; }
.coda { font-stretch: 120%; font-weight: 250; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.15; max-width: 26ch; margin: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 9vw, 8rem); }
.two { padding-bottom: clamp(2rem, 6vw, 4rem); }
.lead-first p:first-child { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45; }
.bio { display: grid; grid-template-columns: minmax(200px, .6fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); padding-bottom: clamp(4rem, 9vw, 8rem); align-items: start; }
.portrait { margin: 0; position: sticky; top: 90px; }
.portrait img { width: 100%; filter: grayscale(1); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); padding-bottom: clamp(4rem, 9vw, 8rem); }
.c-lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 30ch; margin-top: 0; }
.c-mail { font-stretch: 118%; font-weight: 300; font-size: clamp(1.3rem, 2.6vw, 2rem); word-break: break-all; }
.c-social { list-style: none; padding: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.c-form label { display: block; margin-bottom: 1.1rem; }
.c-form label span { display: block; font-size: .88rem; color: var(--mute); margin-bottom: .3rem; }
.c-form input, .c-form textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: .5rem 0; border-radius: 0; }
.c-form textarea { border: 1px solid var(--ink); padding: .6rem; resize: vertical; }
.c-form .hp { position: absolute; left: -9999px; }
.btn { background: var(--ink); color: var(--paper); border: 0; padding: .75em 1.5em; border-radius: 99px; cursor: pointer; font-weight: 500; }
.btn:hover { background: var(--signal-ink); }
.notice { padding: .8rem 1rem; border-left: 3px solid var(--signal); background: var(--paper-2); }
.notice.err { border-left-color: #B3261E; }
@media (max-width: 760px) { .bio, .contact { grid-template-columns: 1fr; } .portrait { position: static; max-width: 300px; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--ink); padding: 2.4rem var(--gutter) 7rem; display: grid; grid-template-columns: auto 1fr auto; gap: .4rem 2rem; align-items: baseline; font-size: .92rem; }
.foot-name { font-stretch: 125%; font-weight: 300; font-size: 1.3rem; }
.foot-tag { color: var(--mute); }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot-small { grid-column: 1 / -1; color: var(--mute); font-size: .8rem; margin-top: 1rem; }
.foot-small a { color: inherit; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* ---------- persistent player ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(80px, 2fr) auto 32px; align-items: center; gap: 1rem;
  padding: 10px var(--gutter); background: var(--ink); color: var(--paper); min-height: 64px;
}
.player[hidden] { display: none; }
.player-strings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; }
.player > *:not(canvas) { position: relative; }
.pl-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--paper); background: var(--ink); cursor: pointer; display: grid; place-items: center; }
.pl-toggle .ico { width: 12px; height: 14px; border-left: 3px solid var(--paper); border-right: 3px solid var(--paper); }
.pl-toggle.paused .ico { width: 0; height: 0; border-right: 0; border-left: 12px solid var(--paper); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.pl-meta { min-width: 0; line-height: 1.25; }
.pl-title { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-proj { display: block; font-size: .8rem; color: #B9BCD0; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-proj:hover { color: var(--paper); text-decoration: underline; }
.pl-seek { width: 100%; accent-color: var(--paper); background: transparent; }
.pl-time { font-size: .82rem; font-variant-numeric: tabular-nums; color: #B9BCD0; }
.pl-close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #B9BCD0; }
.pl-close:hover { color: var(--paper); }
.player :focus-visible { outline-color: var(--paper); }
@media (max-width: 640px) {
  .player { grid-template-columns: 44px minmax(0, 1fr) auto 28px; }
  .pl-seek { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(29, 27, 58, .96); display: grid; grid-template-columns: 56px 1fr 56px; grid-template-rows: 1fr auto; align-items: center; color: var(--paper); }
.lb img { max-width: 100%; max-height: 86vh; margin: auto; object-fit: contain; }
.lb figure { margin: 0; grid-column: 2; display: grid; gap: .6rem; justify-items: center; }
.lb figcaption { font-size: .85rem; color: #B9BCD0; }
.lb button { background: none; border: 0; color: var(--paper); font-size: 2rem; cursor: pointer; height: 100%; }
.lb .lb-close { position: absolute; top: 10px; right: 14px; height: auto; }
.lb .lb-count { grid-column: 1 / -1; text-align: center; font-size: .8rem; padding-bottom: 1rem; color: #B9BCD0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
