@font-face {
  font-family: Inter;
  src: url('assets/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url('assets/outfit-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #101213;
  --text: #e9ece9;
  --muted: #a0a6a3;
  --subtle: #7c8580;
  --line: #2b3030;
  --accent: #b6f3ca;
  --intro-height: 88px;
  --intro-fade: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--intro-height) + var(--intro-fade)); }
body { margin: 0; background: var(--background); color: var(--text); font-family: Inter, Arial, sans-serif; font-size: 14px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--background); }
a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
img { max-width: 100%; display: block; }
.page-width { width: calc(100% - 96px); max-width: 1100px; margin-inline: auto; }
.skip-link { position: fixed; z-index: 50; top: 8px; left: 8px; padding: 8px 16px; background: var(--accent); color: #101213; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.intro { --portrait-size: 72px; position: sticky; top: 0; z-index: 20; padding: 8px 0; background: var(--background); }
.intro::after { content: ''; position: absolute; top: 100%; inset-inline: 0; height: var(--intro-fade); background: linear-gradient(to bottom, var(--background) 0%, rgb(16 18 19 / 90%) 25%, rgb(16 18 19 / 55%) 60%, transparent 100%); pointer-events: none; }
.intro-heading { display: flex; align-items: center; justify-content: center; gap: 20px; animation: header-enter .7s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes header-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.identity { min-width: 0; }
.portrait-frame { position: relative; flex: 0 0 var(--portrait-size); width: var(--portrait-size); max-width: 100%; }
.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--background) 1%, transparent 20%, transparent 80%, var(--background) 99%),
    linear-gradient(to top, var(--background) 1%, transparent 22%, transparent 83%, var(--background) 99%);
}
.portrait { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.identity h1 { font-family: Inter, Arial, sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -.8px; line-height: 1.15; white-space: nowrap; color: #ededed; text-shadow: 0 0 2.4px rgb(224 224 224 / 55%), 0 0 12px rgb(160 160 160 / 34%), 0 0 24px rgb(120 120 120 / 18%); }
.identity .role { font-size: 11.5px; line-height: 1.55; color: #c3cac5; margin-top: 4px; padding-inline-start: 3px; }
.biography { border-top: 1px solid var(--line); padding: 24px 0 28px; }
.biography h2 { margin-bottom: 18px; }
.bio { max-width: none; }
.bio-content { color: var(--muted); font-size: 14px; line-height: 1.85; overflow: hidden; }
.bio-content > p + p { margin-top: 12px; }
.bio.is-collapsed .bio-content {
  max-height: 11.1em;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
}
.bio-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  margin-top: 12px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #222526;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  touch-action: manipulation;
}
.bio-toggle::before { content: ''; position: absolute; inset: -6px 0; }
.bio-toggle, .bio-toggle * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.bio-toggle { -webkit-tap-highlight-color: transparent; }
.bio-toggle[hidden] { display: none; }
.bio-toggle:hover { background: #292d2f; border-color: #4d5d52; }
.bio-toggle { transition: background-color .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease, transform .12s ease; }
.bio-toggle:active, .bio-toggle.is-pressed { background: #354b3d; border-color: #8ead9b; box-shadow: inset 0 2px 4px rgb(0 0 0 / 35%); transform: translateY(2px) scale(.95); }
.streaming-link { transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .12s ease; }
.streaming-link:active { transform: translateY(1px) scale(.98); }
.video-link, .linkedin-link, .contact-line a, .back-to-top { transition: color .16s ease, opacity .12s ease; }
.video-link:active, .linkedin-link:active, .contact-line a:active, .back-to-top:active { opacity: .72; }
.bio-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.bio-toggle svg { transition: transform .2s ease; }
.bio-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.bio-links { display: flex; align-items: center; flex-wrap: wrap; column-gap: 26px; row-gap: 5px; margin-top: 22px; font-size: 12px; color: var(--text); }
.contact-line a { border-bottom: 1px solid #4d5d52; }
.linkedin-link { display: inline-flex; align-items: center; gap: 6px; }
.linkedin-link svg { display: block; flex-shrink: 0; width: 14px; height: 14px; fill: currentColor; pointer-events: none; }
.work-columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 72px; row-gap: 8px; border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 24px; }
.biography h2, .work-columns h2, .credits h2 { font-family: Outfit, Arial, sans-serif; font-size: 19.5px; line-height: 1.3; font-weight: 400; letter-spacing: -.3px; }
.column-description { margin-top: 7px; font-size: 12px; color: var(--muted); }
.soundcloud-player { margin-top: 23px; border: 1px solid var(--line); background: #202223; border-radius: 2px; overflow: hidden; }
/* Keep neutral tones unchanged while matching the embed accent to YouTube red. */
.soundcloud-player iframe { display: block; width: 100%; height: 450px; border: 0; color-scheme: light; filter: invert(.9) hue-rotate(114deg) saturate(2.1); }
.soundcloud-player iframe:not([src]) { display: none; }
.soundcloud-credit { margin-top: 8px; color: var(--subtle); font-size: 10px; }
.original-songs { display: grid; gap: 25px; margin-top: 23px; }
.original-song, .credit-song { min-width: 0; }
.original-song h3, .credit-song h3 { font-family: Outfit, Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5; }
.original-song h3 { margin-bottom: 10px; }
.video-embed { aspect-ratio: 16 / 9; overflow: hidden; background: #202223; border-radius: 2px; }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-link { display: inline-block; color: var(--muted); font-size: 10px; margin-top: 6px; }
.video-link span { margin-left: 5px; }
.release-artwork { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; background: #202223; }
.credit-details { min-width: 0; }
.streaming-links { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; list-style: none; padding: 0; margin: 3px 0 0 -12px; }
.streaming-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 3px; color: #c8cfcb; touch-action: manipulation; }
.streaming-link svg { display: block; width: 20px; height: 20px; fill: currentColor; pointer-events: none; }
.streaming-link:hover { color: var(--accent); background: #202825; }
.streaming-link:focus-visible { outline-offset: 1px; }
.credits { border-top: 1px solid var(--line); padding: 24px 0 48px; }
.credits-list { display: grid; gap: 18px; max-width: 900px; margin-top: 22px; }
.credit-song { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 20px; }
.credit-details h3 { margin-bottom: 4px; }
.credit-role { color: var(--muted); font-size: 11.25px; line-height: 1.7; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 22px; color: var(--subtle); font-size: 10px; }
.back-to-top { display: none; }
@media (min-width: 561px) {
  .bio.is-collapsed .bio-content { max-height: 8.325em; }
  /* Share the caption row so wrapping notes cannot shorten either player. */
  .casino-column, .originals-column { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .casino-column .column-body { display: flex; flex-direction: column; }
  .soundcloud-player { position: relative; flex: 1; min-height: 452px; }
  .soundcloud-player iframe { position: absolute; inset: 0; height: 100%; }
  .soundcloud-credit, .originals-column > .video-link { margin-top: 0; align-self: start; }
  .originals-column > .video-link { justify-self: start; }
}
@media (max-width: 1000px) {
  .page-width { width: calc(100% - 64px); }
  .intro { --portrait-size: 64px; }
  .intro-heading { gap: 18px; }
  .identity h1 { font-size: 32px; }
  .bio-content { font-size: 13px; }
  .bio-links { font-size: 11px; margin-top: 17px; column-gap: 20px; }
  .work-columns { column-gap: 44px; }
  .work-columns h2 { font-size: 19.5px; }
}
@media (max-width: 740px) {
  .page-width { width: calc(100% - 40px); }
  .intro { --portrait-size: 58px; padding-block: 8px; }
  .intro-heading { gap: 16px; }
  .identity h1 { font-size: 30px; letter-spacing: -.5px; }
  .identity .role { font-size: 11px; margin-top: 4px; }
  .bio-content { font-size: 12px; }
  .bio-links { font-size: 10px; }
  .work-columns { column-gap: 28px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding-top: 22px; }
  .biography h2, .work-columns h2, .credits h2 { font-size: 18.5px; }
  .biography, .credits { padding-top: 22px; }
  .credit-song { gap: 18px; }
  .column-description { font-size: 11px; }
}
@media (max-width: 560px) {
  .intro { --portrait-size: clamp(44px, 12vw, 54px); padding-block: 6px; }
  .intro-heading { gap: 10px; }
  .identity h1 { font-size: clamp(23px, 6.4vw, 27px); }
  .identity .role { font-size: 11px; line-height: 1.5; margin-top: 3px; padding-inline-start: 2px; }
  .bio-content { font-size: 13px; }
  .biography { padding-bottom: 22px; }
  .bio-links { font-size: 11px; gap: 7px 20px; margin-top: 18px; }
  .work-columns { grid-template-columns: 1fr; gap: 34px; padding-top: 22px; padding-bottom: 35px; }
  .work-columns h2 { font-size: 19.5px; }
  .column-description { font-size: 12px; }
  .credits { padding-bottom: 35px; }
  .biography h2, .credits h2 { font-size: 19.5px; }
  .credits-list { gap: 16px; }
  .credit-song { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .soundcloud-player { margin-top: 20px; }
  .originals-column { padding-top: 29px; border-top: 1px solid var(--line); }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; font-size: 9px; padding-block: 19px; }
  .back-to-top { display: inline-flex; grid-column: 1 / -1; justify-self: center; align-items: center; gap: 5px; min-height: 44px; padding-inline: 12px; color: var(--muted); font-size: 10px; touch-action: manipulation; }
}
@media (min-width: 741px) {
  html { scroll-padding-top: 30px; }
  .intro { --portrait-size: 160px; position: static; top: auto; z-index: auto; padding: 46px 0 28px; }
  .intro::after { content: none; }
  .intro-heading { gap: 44px; }
  .identity h1 { font-size: 48px; text-shadow: 0 0 2.9px rgb(224 224 224 / 70%), 0 0 13.5px rgb(160 160 160 / 45%), 0 0 27.5px rgb(120 120 120 / 25%); }
  .identity .role { font-size: 14px; line-height: 1.8; margin-top: 9px; padding-inline-start: 4px; }
}
@media (min-width: 741px) and (max-width: 1000px) {
  .intro { --portrait-size: 138px; }
  .intro-heading { gap: 36px; }
  .identity h1 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro-heading { animation: none; }
  .bio-toggle, .bio-toggle svg, .streaming-link, .video-link, .linkedin-link, .contact-line a, .back-to-top { transition: none; }
  .bio-toggle:active, .bio-toggle.is-pressed, .streaming-link:active { transform: none; }
}
