/* Album-world interface: night portrait, intact letterforms and quiet controls. */

/* Biography becomes one low-light field rather than a staggered collage. */
.source-bio {
  --material-base: #09110e;
  --material-ink: #edf4ee;
  --material-muted: #a9bdb0;
  --material-line: #9eb7a43d;
  background: var(--material-base);
  color: var(--material-ink);
  padding: clamp(76px, 9vw, 140px) var(--gutter, 6vw);
}
.source-bio .biography-intro {
  width: auto;
  max-width: 1200px;
  margin: 0 auto clamp(48px, 6vw, 86px);
}
.source-bio .biography-intro .source-bio__question { color: #e4efe6; }
.source-bio .biography-wordmark { width: clamp(240px, 32vw, 460px); }
.source-bio .biography-wordmark img { filter: brightness(0) invert(1); }
.source-bio .biography-trace { opacity: .16; }
.source-bio .biography-rule { background: #a6bba82b; }
.source-bio .biography-rule > span { background: #b3cbb9; }
.source-bio .biography-roles { color: #a5b9ac; font-size: 14px; }
.source-bio .source-bio__collage {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: 30px clamp(36px, 6vw, 88px);
  max-width: 1200px;
  margin: 0 auto;
}
.source-bio .source-bio__portrait {
  grid-column: 1;
  grid-row: 1 / span 2;
  position: sticky;
  top: clamp(28px, 8vh, 90px);
  align-self: start;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid #a4c2ad29;
  background: #07100b;
  transform: none;
  isolation: isolate;
}
.source-bio .source-bio__portrait::before,
.source-bio .source-bio__portrait::after { display: none; }
.source-bio .source-bio__portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 563 / 555;
  object-fit: cover;
  filter: grayscale(1) sepia(.55) hue-rotate(68deg) saturate(.85) brightness(1.04) contrast(1.12);
  transition: filter 260ms ease;
}
.source-bio[data-vision=original] .source-bio__portrait img { filter: none; }
.source-bio[data-vision=original] .source-bio__portrait::after { opacity: 0; }
.source-bio .vision-controls {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 6px 12px;
  border-top: 0;
  background: #07100b;
}
.source-bio .vision-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #8caa9552;
  border-radius: 0;
  background: transparent;
  color: #d0dfd4;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.source-bio .vision-mode-toggle[aria-pressed=true] { background: transparent; border-color: #a6c7b177; color: #e4f3e8; }
.source-bio .vision-mode-toggle:hover { background: transparent; border-color: #b9d8c199; }
.source-bio .source-bio__panel,
.source-bio .source-bio__panel.charcoal-surface {
  grid-column: 2;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  color: #c7d4cb;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.source-bio .source-bio__panel--first { grid-row: 1; }
.source-bio .source-bio__panel--second { grid-row: 2; padding-top: 28px; border-top: 1px solid var(--material-line); }
.source-bio .source-bio__panel.charcoal-surface::before,
.source-bio .source-bio__panel.charcoal-surface::after { display: none; }
.source-bio .source-bio__panel h3 {
  margin: 0 0 26px;
  color: #eef5ef;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 450;
  line-height: 1.14;
  letter-spacing: -.045em;
}
.source-bio .source-bio__panel p { max-width: none; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; letter-spacing: -.015em; }

/* Optional reading stays in the document and works without JavaScript. */
.artist-reading{margin-top:20px;font-size:14px;line-height:1.7;pointer-events:auto}
.artist-reading>summary{display:list-item;width:max-content;min-height:44px;padding:10px 0;cursor:pointer;color:inherit;text-decoration:underline;text-underline-offset:5px}
.artist-reading>summary:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.artist-reading>div{padding-top:14px}
.reading-sources{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:14px}
.reading-sources>a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;line-height:1.5;text-decoration:underline;text-underline-offset:4px}
.editorial-copy .editorial-reading{max-width:42ch;color:#3f4d49}
.drawing-stage .editorial-copy{grid-template-columns:minmax(0,1fr);max-width:760px;gap:0}
.drawing-stage .editorial-copy>p{max-width:52ch;font-size:clamp(16px,1.25vw,19px);line-height:1.8}

/* The complete e glyphs sit above environmental effects. */
.drawing-section { z-index: 9; }
.drawing-stage .outline-line {
  top: 24px;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: .13em .02em;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  overflow: visible;
  font-size: clamp(110px, 18vw, 290px);
  font-weight: 250;
  line-height: 1;
  letter-spacing: -.06em;
  -webkit-text-stroke: 1px #7f9290;
  z-index: 3;
}
.drawing-stage .outline-line > span { display: block; line-height: 1; overflow: visible; }
.drawing-stage .outline-line > span:nth-child(even) { transform: rotate(180deg); transform-origin: center; }
.drawing-stage .outline-ink { -webkit-text-stroke: 1.15px #2c4b40; z-index: 4; }
.drawing-stage .editorial-copy { padding-top: clamp(205px, 26vw, 410px); }

/* The hero offers one clear primary action and one quieter way into the record. */
.hero .hero-services { gap: 18px; }
.hero .hero-services [data-open-platform] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #e8f0ec;
  border-radius: 2px;
  background: #edf3ef;
  color: #0d1712;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.3;
  transition: background 180ms ease, border-color 180ms ease;
}
.hero .hero-services [data-open-platform]:hover { background: #fff; border-color: #fff; }
.hero .hero-services > a { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 0; border-bottom: 1px solid #e3eee463; font-size: 14px; line-height: 1.3; }
.hero .hero-services > a:hover { border-bottom-color: #e3eee4; }

/* Album controls inherit each world's ink and material. */
.archive-entry .archive-actions { gap: 24px; align-items: center; margin-top: 26px; }
.archive-entry .archive-listen,
.archive-entry .archive-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  gap: 10px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.archive-entry .archive-listen { order: -1; border: 1px solid var(--material-ink); background: var(--material-ink); color: var(--material-base); font-weight: 450; }
.archive-entry .archive-listen:hover { opacity: .84; }
.archive-entry .archive-explore { padding: 12px 0; border: 0; border-bottom: 1px solid var(--material-line); border-radius: 0; background: transparent; color: var(--material-ink); }
.archive-entry .archive-explore:hover,
.archive-entry .archive-explore[aria-expanded=true] { background: transparent; border-color: var(--material-muted); color: var(--material-ink); }
.archive-entry .archive-actions button > span[aria-hidden=true] { display: none; }
.archive-entry .archive-turn { min-height: 44px; padding: 10px 2px; color: var(--material-muted); border-bottom: 1px solid var(--material-line); text-decoration: none; font-size: 14px; }
.archive-entry .archive-turn:hover { color: var(--material-ink); border-bottom-color: var(--material-ink); }
.archive-entry .archive-listen:focus-visible,
.archive-entry .archive-explore:focus-visible,
.archive-entry .archive-turn:focus-visible { outline: 2px solid var(--material-ink); outline-offset: 5px; }

/* Service links form three equal, quiet rows instead of generic glass boxes. */
.platform-section .platform-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 0 32px; max-width: 1100px; margin-top: clamp(28px, 4vw, 52px); }
.platform-section .platform-actions > a:not(:last-child) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
  min-height: 72px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid #b6cbb73d;
  border-bottom: 1px solid #b6cbb71c;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #e7eeea;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.015em;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.platform-section .platform-actions > a:not(:last-child):hover { background: #d6e9db05; border-top-color: #c3dac890; color: #fff; }
.platform-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; color: #a9c0b2; }
.platform-icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.platform-name { display: block; flex: 1 1 auto; }
.platform-section .platform-actions small { margin-left: auto; color: #9bb0a2; font-size: 12px; }
.platform-section .platform-actions > a:last-child { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; margin: 18px 0 0; padding: 10px 0; border: 0; background: transparent; color: #a8bdb0; font-size: 14px; line-height: 1.4; text-decoration: none; }
.platform-section .platform-actions > a:last-child::after { content: ""; display: block; width: 28px; height: 1px; background: currentColor; transition: width 180ms ease; }
.platform-section .platform-actions > a:last-child:hover { color: #e7eeea; }
.platform-section .platform-actions > a:last-child:hover::after { width: 42px; }

/* Progress is an actual scroll value, provided as a fraction from zero to one. */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 12px 6px 6px;
  border: 1px solid #b7c4bb44;
  border-radius: 999px;
  background: #0d1712e8;
  color: #e6efe8;
  box-shadow: 0 8px 24px #0002;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  text-decoration: none;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}
.back-to-top[hidden] { display: none !important; }
.back-to-top:hover { background: #15271ded; border-color: #c7d7cd88; }
.back-to-top .top-progress-circle { display: block; flex: 0 0 36px; width: 36px; height: 36px; fill: none; stroke: #9db5a43b; stroke-width: 1.2; transform: rotate(-90deg); }
.back-to-top .top-progress-value { stroke: #cbded1; stroke-linecap: round; stroke-dasharray: 106.814; stroke-dashoffset: calc(106.814px * (1 - var(--top-progress, 0))); }
.back-to-top .top-mark { position: absolute; left: 24px; top: 50%; transform: translate(-50%, -54%); font-size: 26px; line-height: 1; font-weight: 300; }
.back-to-top .top-label { padding: 0 3px; font-size: 14px; line-height: 1.2; }
.back-to-top:focus-visible,
.source-bio .vision-mode-toggle:focus-visible { outline: 2px solid #dceee1; outline-offset: 4px; }

@media (max-width: 900px) {
  .source-bio .source-bio__collage { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .source-bio .source-bio__portrait { position: relative; top: auto; grid-column: 1; grid-row: 1; width: 100%; max-width: 520px; margin: 0 auto; }
  .source-bio .source-bio__panel,
  .source-bio .source-bio__panel.charcoal-surface { grid-column: 1; }
  .source-bio .source-bio__panel--first { grid-row: 2; }
  .source-bio .source-bio__panel--second { grid-row: 3; padding-top: 28px; }
  .source-bio .source-bio__panel p { max-width: none; font-size: 16px; }
  .source-bio .biography-intro { max-width: 100%; margin-bottom: 44px; }
  .source-bio .biography-wordmark { width: clamp(235px, 50vw, 420px); }
}
@media (max-width: 700px) {
  .source-bio { padding-block: 70px; }
  .source-bio .biography-signature { gap: 14px; }
  .source-bio .biography-wordmark { width: calc(100% - 48px); max-width: 380px; }
  .source-bio .biography-roles { justify-content: flex-start; gap: 8px 18px; font-size: 14px; }
  .source-bio .source-bio__panel h3 { font-size: clamp(28px, 6vw, 36px); }
  .drawing-stage .outline-line { top: 12px; font-size: clamp(86px, 23vw, 160px); }
  .drawing-stage .editorial-copy { padding-top: clamp(165px, 36vw, 255px); }
  .hero .hero-services { gap: 14px; }
  .hero .hero-services [data-open-platform] { padding-inline: 17px; }
  .platform-section .platform-actions { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .platform-section .platform-actions > a:not(:last-child) { min-height: 64px; padding-block: 17px; border-bottom: 0; font-size: 17px; }
  .platform-section .platform-actions > a:last-child { width: max-content; margin-top: 16px; }
  .back-to-top { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 44px; padding: 6px 10px 6px 6px; }
  .back-to-top .top-progress-circle { flex-basis: 32px; width: 32px; height: 32px; }
  .back-to-top .top-mark { left: 22px; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .source-bio .source-bio__portrait img,
  .source-bio .vision-mode-toggle,
  .hero .hero-services [data-open-platform],
  .archive-entry .archive-listen,
  .archive-entry .archive-explore,
  .platform-section .platform-actions > a,
  .platform-section .platform-actions > a::after,
  .back-to-top { transition: none; }
}
.is-paused .source-bio .source-bio__portrait img,
.is-paused .source-bio .vision-mode-toggle,
.is-paused .hero .hero-services [data-open-platform],
.is-paused .archive-entry .archive-listen,
.is-paused .archive-entry .archive-explore,
.is-paused .platform-section .platform-actions > a,
.is-paused .platform-section .platform-actions > a::after,
.is-paused .back-to-top { transition: none; }
@media (prefers-contrast: more) {
  .source-bio { --material-base: #050906; --material-ink: #fff; --material-muted: #d0ddd3; --material-line: #a8bbaa; }
  .source-bio .source-bio__portrait::after { display: none; }
  .drawing-stage .outline-line { -webkit-text-stroke: 1.25px #344b43; }
  .platform-section .platform-actions > a:not(:last-child) { border-top-color: #b6cbb7; }
  .back-to-top { background: #050906; border-color: #d0ddd3; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.back-to-top{left:max(24px,env(safe-area-inset-left));right:auto}
@media(max-width:700px){.back-to-top{left:max(16px,env(safe-area-inset-left));right:auto}}
