/* ==========================================================================
   Clemente Prudencio — clementeprudencio.com
   Design tokens
   ========================================================================== */

:root {
  --bg:          #0c0d0c;
  --bg-alt:      #0a0b0a;
  --panel:       #0f100f;
  --panel-2:     #121412;
  --panel-3:     #161816;
  --hover:       #141614;
  --hover-row:   #101210;

  --ink:         #f2f4f1;
  --ink-strong:  #d7dbd6;
  --ink-muted:   #b9c0b9;
  --ink-dim:     #8a928a;
  --ink-faint:   #77807a;
  --ink-nav:     #9aa09a;

  --accent:      #4fe08a;
  --accent-hi:   #78ecaa;
  --accent-ink:  #0a1a10;
  --warn:        #e0a24f;

  --line:        #212421;
  --line-2:      #242724;
  --line-3:      #2a2e2a;
  --line-4:      #2c302c;
  --line-5:      #2f332f;
  --line-soft:   #1c1f1c;
  --line-softer: #1a1c1a;

  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --pad-x: clamp(18px, 4vw, 56px);
  --pad-y: clamp(44px, 7vw, 104px);
  --ease:  cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keep anchored sections clear of the sticky header */
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

/* height:auto keeps the width/height attributes from defeating aspect-ratio;
   rules that need a fixed height (hero) override it by specificity. */
img { display: block; max-width: 100%; height: auto; }

button { font: inherit; color: inherit; }

/* Drawn play/pause marks — sized by the font-size of whatever contains them. */
.icon {
  display: block;
  flex: none;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 500;
  border-radius: 2px;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 12px; color: var(--accent-ink); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   Language visibility — CSS-driven so switching never repaints content
   ========================================================================== */

html[data-lang="en"] .i18n:not([lang="en"]),
html[data-lang="da"] .i18n:not([lang="da"]),
html[data-lang="es"] .i18n:not([lang="es"]) { display: none !important; }

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.body-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(16px, 3vw, 40px);
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  background: rgba(12, 13, 12, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__brand {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-header__right {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px clamp(14px, 2.5vw, 26px);
  min-width: 0;
}

.site-nav {
  display: flex;
  gap: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.04em;
  min-width: 0;
  /* never wrap into a tall sticky bar — scroll instead on narrow screens */
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  color: var(--ink-nav);
  white-space: nowrap;
  scroll-snap-align: start;
  transition: color 160ms var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="true"] { color: var(--ink); }

.lang-switch {
  display: flex;
  align-items: center;
  flex: none;
  border: 1px solid var(--line-3);
  border-radius: 2px;
  overflow: hidden;
}

.lang-switch button {
  appearance: none;
  border: 0;
  padding: 6px 10px;
  background: transparent;
  color: var(--ink-nav);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid var(--line);
}
.section--alt { background: var(--bg-alt); }

.section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(22px, 3vw, 48px);
  align-items: start;
}

.section__body {
  grid-column: span 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
}

/* ==========================================================================
   Hero
   ========================================================================== */

/* One DOM order, two layouts: on wide screens the title and tagline sit in
   the left column beside the photo; on phones they stack, with the title
   overlaid on the bottom of the image. */
.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  grid-template-rows: 1fr auto;
  min-height: min(86vh, 820px);
}

.hero__img {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero__title {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  margin: 0;
  padding: clamp(32px, 6vw, 72px) var(--pad-x) clamp(16px, 2.5vw, 28px);
  font-size: clamp(38px, 6vw, 80px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__break { display: none; }

.hero__meta {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 3vw, 32px);
  align-items: center;
  margin-inline: var(--pad-x);
  padding: clamp(14px, 2vw, 20px) 0 clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--line-2);
}

.hero__role {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: -0.01em;
  color: var(--ink-strong);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background 160ms var(--ease);
}
.btn:hover { background: var(--accent-hi); color: var(--accent-ink); }
.btn--self-start { align-self: flex-start; }

.btn-ghost {
  appearance: none;
  align-self: flex-start;
  padding: 11px 18px;
  background: transparent;
  border: 1px solid var(--line-5);
  border-radius: 2px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Secondary call to action beside the primary one. Phones only — the wide
   hero keeps the single button the desktop design specifies. */
.btn-outline {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px 12px;
  border: 1px solid var(--line-5);
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Hamburger — phones only. */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line-3);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.icon-btn {
  width: 38px;
  height: 38px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-4);
  background: transparent;
  color: var(--ink-muted);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   Bio
   ========================================================================== */

/* Four grid children (label, text, portrait, disclosure) so the phone can
   stack them in reading order — label, text, portrait, button — while the
   wide layout keeps the portrait in its own left-hand column. */
.bio__grid {
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  column-gap: clamp(22px, 3vw, 48px);
  row-gap: clamp(18px, 2.5vw, 28px);
}
.bio__grid > .eyebrow  { grid-column: 1; grid-row: 1; }
.bio__grid > .bio__portrait { grid-column: 1; grid-row: 2; }
.bio__grid > .bio__text { grid-column: 2; grid-row: 1; }
.bio__grid > .bio__more { grid-column: 2; grid-row: 2; }

.bio__portrait {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line-2);
}

.bio__text,
.bio__more {
  min-width: 0;
  max-width: 64ch;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bio__long {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 6px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.bio__long[hidden] { display: none; }

.bio__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bio__group h3 {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ==========================================================================
   Video
   ========================================================================== */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}

.video {
  margin: 0;
  min-width: 0;
}

.video__frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line-2);
}
.video__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video__poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 1px solid var(--line-2);
  background: var(--panel-3);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms var(--ease);
}
.video__poster:hover { border-color: var(--accent); }

.video__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 10, 0.1) 0%, rgba(10, 11, 10, 0.55) 100%);
}

.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(12, 13, 12, 0.55);
  border: 1px solid rgba(242, 244, 241, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.video__poster:hover .video__play {
  background: rgba(79, 224, 138, 0.9);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translate(-50%, -50%) scale(1.06);
}

/* ==========================================================================
   Block wrappers inside a section
   ========================================================================== */

.block {
  margin-top: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
}

.block__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: baseline;
  justify-content: space-between;
}

/* ==========================================================================
   Audio player
   ========================================================================== */

.player {
  border: 1px solid var(--line-2);
  background: var(--panel);
}

.player__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(16px, 2.4vw, 24px);
}

.player__toggle {
  flex: none;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms var(--ease);
}
.player__toggle:hover { background: var(--accent-hi); }

/* Grid so the same markup gives two arrangements:
   wide   -> [title who] / [scrub] / [elapsed .... total]
   phone  -> [title]     / [scrub] / [who ........ total] */
.player__main {
  flex: 1 1 240px;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: baseline;
}

.player__title {
  grid-column: 1;
  grid-row: 1;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  min-width: 0;
}

.player__who {
  grid-column: 2;
  grid-row: 1;
  font-size: 13px;
  color: var(--ink-dim);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player__scrub {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  height: 4px;
  background: var(--line-2);
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
  display: block;
}
/* larger hit area without changing the visual line */
.player__scrub::after {
  content: "";
  position: absolute;
  inset: -10px 0;
}
.player__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--accent);
}

.player__time {
  grid-row: 3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.player__time--elapsed { grid-column: 1; }
.player__time--total   { grid-column: 2; justify-self: end; }

.player__skip {
  flex: none;
  display: flex;
  gap: 8px;
}

.player__error {
  margin: 0;
  padding: 0 clamp(16px, 2.4vw, 24px) clamp(14px, 2vw, 18px);
  font-size: 13px;
  color: var(--warn);
}
.player__error code { font-family: var(--mono); }

.works { border-top: 1px solid var(--line-soft); }

.work { border-bottom: 1px solid var(--line-soft); }

.work__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: clamp(15px, 2vw, 20px) clamp(16px, 2.4vw, 24px);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 160ms var(--ease);
}
.work__head:hover { background: var(--hover); }

.work__titles {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.work__title {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  transition: color 160ms var(--ease);
}
.work.is-current .work__title { color: var(--accent); }

.work__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  align-items: baseline;
}
.work__with { font-size: 13px; color: var(--ink-dim); text-wrap: pretty; }
.work__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.work__aside {
  display: flex;
  align-items: center;
  gap: 12px;
}
.work__count {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
/* Wide layout keeps the count beside the chevron; the phone copy stays out
   of the document (and out of the accessibility tree) until its breakpoint. */
.work__count--inline { display: none; }
.work__chevron {
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--line-4);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-muted);
}
.work__mark {
  width: 28px;
  height: 28px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent);
}

.work__tracks {
  display: flex;
  flex-direction: column;
  padding: 0 clamp(16px, 2.4vw, 24px) clamp(12px, 1.6vw, 16px);
}
.work__tracks[hidden] { display: none; }

.track {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid var(--line-softer);
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: background 160ms var(--ease);
}
.track:hover { background: var(--hover); }

.track__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
}
.track__label {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  align-items: baseline;
}
.track__title { font-size: 15px; text-wrap: pretty; }
.track__who { font-size: 12px; color: var(--ink-faint); }
.track__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ink-faint);
}

.track.is-current .track__num,
.track.is-current .track__title,
.track.is-current .track__mark { color: var(--accent); }

/* Work whose recordings are not published yet: listed, but inert. */
.work.is-pending .work__title,
.work.is-pending .work__count { color: var(--ink-dim); }

.track--pending {
  cursor: default;
  color: var(--ink-faint);
}
.track--pending:hover { background: transparent; }
.track--pending .track__title { color: var(--ink-faint); }

.track-note {
  margin: 10px 0 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line-softer);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ==========================================================================
   Photo gallery
   ========================================================================== */

/* Six photos: fixed column counts keep the grid balanced instead of
   leaving a single orphan tile on the last row. */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}
@media (min-width: 700px)  { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.gallery__item {
  padding: 0;
  border: 1px solid var(--line-2);
  background: transparent;
  display: block;
  cursor: zoom-in;
  overflow: hidden;
  transition: border-color 160ms var(--ease);
}
.gallery__item:hover { border-color: var(--accent); }

.gallery__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.gallery__item:hover img { transform: scale(1.03); }

/* ==========================================================================
   Concerts
   ========================================================================== */

/* Label, year and list are grid siblings so the phone can put the year on
   the label's line while the wide layout keeps it above the list. */
.concerts__grid {
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  column-gap: clamp(22px, 3vw, 48px);
  row-gap: clamp(20px, 3vw, 30px);
}
.concerts__grid > .eyebrow        { grid-column: 1; grid-row: 1; }
.concerts__grid > .concerts__year { grid-column: 2; grid-row: 1; }
.concerts__grid > .concerts       { grid-column: 2; grid-row: 2; }

.concerts {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 30px);
}

.concerts__year {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.concert-list { display: flex; flex-direction: column; }

.concert {
  display: grid;
  grid-template-columns: minmax(96px, 110px) minmax(0, 1fr) auto;
  gap: clamp(12px, 2.5vw, 28px);
  align-items: baseline;
  padding: clamp(16px, 2.2vw, 22px) 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  transition: background 160ms var(--ease);
}
.concert-list .concert:last-child { border-bottom: 1px solid var(--line); }
.concert:hover { background: var(--hover-row); color: var(--ink); }

.concert__date {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.concert__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.concert__title {
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.concert__venue {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-dim);
  text-wrap: pretty;
}
.concert__arrow {
  font-size: 13px;
  color: var(--ink-faint);
  transition: color 160ms var(--ease), transform 160ms var(--ease);
}
.concert:hover .concert__arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.past { display: flex; flex-direction: column; }

.past__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: clamp(14px, 1.8vw, 18px) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--ink-muted);
  transition: color 160ms var(--ease);
}
.past__toggle:hover { color: var(--ink); }

.past__sign {
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--line-4);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.past__list { display: flex; flex-direction: column; }
.past__list[hidden] { display: none; }

.past__item {
  display: grid;
  grid-template-columns: minmax(96px, 110px) minmax(0, 1fr);
  gap: clamp(12px, 2.5vw, 28px);
  align-items: baseline;
  padding: clamp(14px, 1.8vw, 18px) 0;
  border-bottom: 1px solid var(--line-softer);
}
.past__date {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.past__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.past__title { font-size: 16px; color: var(--ink-muted); text-wrap: pretty; }
.past__venue { font-size: 13px; color: var(--ink-faint); }

/* ==========================================================================
   Press kit
   ========================================================================== */

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.press-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  transition: border-color 160ms var(--ease);
}
.press-card:hover { border-color: var(--accent); color: var(--ink); }

.press-card__kind {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.press-card__name {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.press-card__note { font-size: 12px; color: var(--accent); }

/* The phone layout puts a download arrow beside each card; the wide layout
   keeps the cards as the desktop design drew them. */
.press-card__go { display: none; }

.max-52 { max-width: 52ch; }
.max-42 { max-width: 42ch; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: var(--pad-y) var(--pad-x) clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--accent);
}

.site-footer__email {
  margin: 0;
  font-size: clamp(20px, 2.9vw, 34px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.03em;
  word-break: break-word;
}
.site-footer__email a {
  border-bottom: 1px solid var(--line-5);
  transition: border-color 160ms var(--ease);
}
.site-footer__email a:hover { border-color: var(--accent); }

.site-footer__note {
  margin: 0;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-faint);
  text-wrap: pretty;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 3vw, 28px);
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 160ms var(--ease);
}
.social a:hover { color: var(--accent); }

.social__icon {
  width: 16px;
  height: 16px;
  flex: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__legal {
  margin: clamp(32px, 5vw, 60px) 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 9, 8, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: clamp(14px, 3vw, 40px);
  cursor: zoom-out;
  border: 0;
}
.lightbox[hidden] { display: none; }

.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  max-height: calc(100dvh - 180px);
  object-fit: contain;
  cursor: default;
}

.lightbox__credit {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
}

.lightbox__controls {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
}

.lightbox__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-4);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.lightbox__btn:hover { border-color: var(--accent); color: var(--accent); }

.lightbox__count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}

.lightbox__close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
}

/* ==========================================================================
   Full-screen menu (phones)
   ========================================================================== */

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: max(18px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu[hidden] { display: none; }

.menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.menu__brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.menu__close {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line-3);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}
.menu__close:hover { border-color: var(--accent); color: var(--accent); }

.menu__nav {
  display: flex;
  flex-direction: column;
}

.menu__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-softer);
  color: var(--ink);
}
.menu__nav a:hover { color: var(--accent); }

.menu__label {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.menu__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}

.menu__foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu__langs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu__langs button {
  flex: 1;
  padding: 14px 0;
  border: 1px solid var(--line-3);
  border-radius: 2px;
  background: transparent;
  color: var(--ink-nav);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.menu__langs button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.menu__email {
  font-size: 14px;
  color: var(--ink-dim);
}
.menu__email:hover { color: var(--accent); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal.is-armed {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-armed.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal.is-armed { opacity: 1; transform: none; }
}

/* ==========================================================================
   Narrow screens
   ========================================================================== */

/* ==========================================================================
   Phones — the Mobile.dc.html layout
   ========================================================================== */

@media (max-width: 720px) {
  :root { --pad-x: 16px; }

  html { scroll-padding-top: 76px; }

  /* ---- header: brand, language, hamburger. No inline section links. ---- */
  .site-header {
    gap: 10px;
    padding: max(12px, env(safe-area-inset-top)) var(--pad-x) 12px;
    flex-wrap: nowrap;
  }
  .site-header__brand { font-size: 15px; }
  .site-nav { display: none; }
  .menu-btn { display: flex; }
  .lang-switch button { width: 44px; height: 44px; }

  /* ---- hero: title overlaid on the photo, actions below ---- */
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0;
  }
  .hero__img {
    grid-column: 1;
    grid-row: 1;
    height: 420px;
    min-height: 0;
    object-position: 50% 28%;
  }
  .hero__title {
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
    align-self: end;
    padding: 56px var(--pad-x) 20px;
    font-size: 42px;
    line-height: 0.98;
    background: linear-gradient(180deg, rgba(12, 13, 12, 0) 0%, rgba(12, 13, 12, 0.86) 68%, var(--bg) 100%);
  }
  .hero__break { display: inline; }

  .hero__meta {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin-inline: 0;
    padding: 20px var(--pad-x) 30px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero__role { font-size: 16px; line-height: 1.45; }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero__actions .btn { justify-content: center; padding: 15px 12px; }
  .btn-outline { display: flex; }

  /* ---- sections stack to one column ---- */
  .section { padding: 34px var(--pad-x) 38px; }
  .section__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .section__body { grid-column: 1; }

  .concerts__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 18px;
  }
  .concerts__grid > .eyebrow        { grid-column: 1; grid-row: 1; align-self: baseline; }
  .concerts__grid > .concerts__year { grid-column: 2; grid-row: 1; justify-self: end; align-self: baseline; }
  .concerts__grid > .concerts       { grid-column: 1 / -1; grid-row: 2; }

  .bio__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }
  .bio__grid > .eyebrow,
  .bio__grid > .bio__text,
  .bio__grid > .bio__portrait,
  .bio__grid > .bio__more { grid-column: 1; grid-row: auto; }
  .bio__portrait { aspect-ratio: 4 / 5; }
  .bio__text,
  .bio__more { gap: 16px; max-width: none; }
  .lede { font-size: 21px; line-height: 1.35; letter-spacing: -0.025em; }
  .body-text { font-size: 15px; }
  .btn-ghost { width: 100%; padding: 15px 16px; text-align: center; }

  /* ---- concerts: date and arrow on one line, then title, then venue ---- */
  .concert {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 7px;
    padding: 16px 0;
  }
  .concert__date { grid-column: 1; grid-row: 1; font-size: 12px; letter-spacing: 0.1em; }
  .concert__arrow { grid-column: 2; grid-row: 1; }
  .concert__info { grid-column: 1 / -1; grid-row: 2; gap: 7px; }
  .concert__title { font-size: 19px; line-height: 1.2; }
  .concert__venue { font-size: 13px; }

  .past__toggle { border-top: 1px solid var(--line); }
  .past__sign { width: 30px; height: 30px; }
  .past__item { grid-template-columns: minmax(0, 1fr); row-gap: 5px; padding: 14px 0; }
  .past__date { font-size: 11px; }
  .past__title { font-size: 15px; }
  .past__venue { font-size: 12px; }

  /* ---- media ---- */
  .video-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .video__play { width: 58px; height: 58px; font-size: 18px; }
  .block { margin-top: 20px; gap: 14px; }
  .block__head { flex-direction: column; gap: 4px; }

  .player__bar { gap: 14px; padding: 16px; }
  .player__toggle { width: 52px; height: 52px; font-size: 16px; }
  .player__main { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .player__title {
    grid-column: 1 / -1;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .player__who {
    grid-column: 1;
    grid-row: 3;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--ink-faint);
  }
  .player__time--elapsed { display: none; }
  .player__time--total { grid-column: 2; grid-row: 3; font-size: 10px; }
  .player__skip { display: none; }

  .work__head { gap: 12px; padding: 16px; }
  .work__title { font-size: 15px; }
  .work__sub { gap: 2px 6px; }
  .work__count--inline { display: inline; }
  .work__count--inline::after { content: " ·"; }
  .work__with {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
  .work__count--aside { display: none; }
  .work__meta { display: none; }
  .work__chevron,
  .work__mark {
    width: 30px;
    height: 30px;
    border: 1px solid var(--line-4);
    border-radius: 2px;
  }
  .work__tracks { padding: 0 16px 10px; }
  .track { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; min-height: 44px; padding: 13px 0; }
  .track__title { font-size: 14px; }
  .track__who { display: none; }
  .track-note { font-size: 10px; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  /* ---- press cards: one row each, arrow on the right ---- */
  .press-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .press-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px 14px;
    padding: 16px;
  }
  .press-card__kind { grid-column: 1; grid-row: 1; }
  .press-card__name { grid-column: 1; grid-row: 2; font-size: 15px; }
  .press-card__note { display: none; }
  .press-card__go {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
    font-size: 12px;
    color: var(--accent);
  }

  /* ---- footer ---- */
  .site-footer {
    padding: 34px var(--pad-x) max(60px, env(safe-area-inset-bottom));
    gap: 16px;
  }
  .site-footer__email { font-size: 20px; letter-spacing: -0.025em; line-height: 1.3; }
  .site-footer__note { font-size: 14px; }
  .site-footer__legal { margin-top: 12px; font-size: 10px; }

  /* ---- photo viewer ---- */
  /* Solid on a phone — a translucent scrim lets the page show through at
     this size and the photo stops reading as the subject. */
  .lightbox {
    gap: 16px;
    padding: max(18px, env(safe-area-inset-top)) 12px max(24px, env(safe-area-inset-bottom));
    background: #080908;
  }
  .lightbox__img { max-height: 62vh; max-height: 62dvh; }
  .lightbox__btn { width: 46px; height: 46px; }
  .lightbox__close { top: max(18px, env(safe-area-inset-top)); right: 12px; }
}

@media (max-width: 380px) {
  .menu__label { font-size: 26px; }
  .hero__title { font-size: 38px; }
  .track { gap: 10px; }
}

@media print {
  .site-header, .lang-switch, .video, .player, .gallery, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}
