@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/https/shadetheory.dev/fonts/fraunces-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/https/shadetheory.dev/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/https/shadetheory.dev/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/https/shadetheory.dev/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/https/shadetheory.dev/fonts/inter-latin-600-normal.woff2") format("woff2");
}

:root {
  --bg: #141210;
  --bg-2: #1c1916;
  --fg: #e7ddd2;
  --muted: #c9bdb2;
  --mauve: #c4a3ad;
  --slate: #a7b0b8;
  --line: rgba(231, 221, 210, 0.22);
  --max: 72rem;
  --motion: 160ms cubic-bezier(0.25, 0.1, 0.25, 1);
  --press: 0.98;
  --focus: var(--mauve);
  --night-glow: rgba(86, 168, 112, 0.28);
  --night-focus: #8fca9a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(80rem 32rem at -10% -20%, rgba(120, 72, 84, 0.22), transparent 55%),
    radial-gradient(40rem 24rem at 110% 8%, rgba(70, 78, 88, 0.28), transparent 50%),
    var(--bg);
  color: var(--fg);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  mix-blend-mode: overlay;
}
img, svg, video { max-width: 100%; }
a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
  transition:
    color var(--motion),
    text-decoration-color var(--motion),
    text-underline-offset var(--motion);
}
a:hover {
  color: var(--mauve);
  text-decoration-color: var(--mauve);
  text-underline-offset: 0.22em;
}
a:active { opacity: 0.97; }
a:has(> img) {
  text-decoration: none;
}
a:has(> img):hover {
  text-decoration: none;
  text-underline-offset: 0.18em;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--fg);
  color: var(--bg);
  padding: 0.7rem 1rem;
  z-index: 20;
  text-decoration: none;
}
.skip:focus { transform: none; }

.wrap { width: min(100% - 2.2rem, var(--max)); margin-inline: auto; }
header.site {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem 1.5rem;
  padding: 0.7rem 0 0.15rem;
}
.mark img { height: 30px; width: auto; }
.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--fg);
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  transition: opacity var(--motion);
}
.mark:hover { color: var(--fg); text-decoration: none; opacity: 0.92; }
.mark svg { color: var(--fg); }
nav[aria-label="Primary"] { display: flex; flex-wrap: wrap; gap: 0.2rem; }
nav[aria-label="Primary"] a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.7rem;
  transition: color var(--motion), text-decoration-color var(--motion), text-underline-offset var(--motion);
}
nav[aria-label="Primary"] a:hover,
nav[aria-label="Primary"] a[aria-current="page"] {
  color: var(--fg);
  text-decoration-color: currentColor;
  text-underline-offset: 0.22em;
}
.studies {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.15rem;
  width: 100%;
}
.studies-label {
  color: var(--slate);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 0.35rem;
}
.studies a {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.55rem;
  border-bottom: 1px solid transparent;
  transition: color var(--motion), border-color var(--motion);
}
.studies a:hover { color: var(--fg); border-bottom-color: color-mix(in srgb, var(--mauve) 55%, transparent); }
.studies a[aria-current="page"] {
  color: var(--fg);
  border-bottom-color: var(--mauve);
}
.shade-word {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.16em;
  text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
  transition: color var(--motion), text-decoration-color var(--motion), opacity var(--motion);
}
.shade-word:hover {
  color: var(--mauve);
  text-decoration-color: var(--mauve);
}
.shade-word:active { opacity: 0.97; }
.shade-find { position: relative; }
.shade-pop {
  display: none;
  position: absolute;
  z-index: 7;
  left: 0;
  top: calc(100% + 0.35rem);
  min-width: 14rem;
  padding: 0.55rem 0.75rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
}
.shade-find:hover .shade-pop,
.shade-find:focus-within .shade-pop,
.shade-find.is-open .shade-pop { display: block; }
.listen-cue { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.92rem; }
.cover-draft {
  width: min(14rem, 80%);
  min-height: 14rem;
  margin: 1.1rem 0 1.2rem;
  padding: 0.9rem;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(-12deg, transparent, transparent 10px, rgba(231, 221, 210, 0.05) 11px);
}
.cover-draft p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.sound-controls { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.button, button.button {
  appearance: none;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  min-height: 44px;
  padding: 0.55rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform-origin: center center;
  transition:
    color var(--motion),
    background-color var(--motion),
    border-color var(--motion),
    transform var(--motion),
    box-shadow var(--motion),
    opacity var(--motion);
}
.button:hover { color: var(--bg); background: var(--fg); }
.button:active {
  transform: scale(var(--press));
  opacity: 0.97;
}
.button.ghost { border-color: var(--line); color: var(--fg); }
.button.ghost:hover { color: var(--bg); background: var(--fg); border-color: var(--fg); }
.button.ghost:active {
  transform: scale(var(--press));
  opacity: 0.97;
}

.sleeve {
  min-height: calc(100svh - 3.7rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
}
.guest { width: min(100%, 58rem); color: var(--muted); font-size: 0.98rem; }
.guest-ask, .guest-now {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0;
}
.guest-now, html[data-album-answer="yes"] .guest-ask, html[data-album-answer="no"] .guest-ask { display: none; }
html[data-album-answer="yes"] .guest-now { display: flex; }
html[data-album-answer="no"] .guest { display: none; }
.guest-now a {
  color: var(--fg);
  font-weight: 600;
  text-decoration-color: color-mix(in srgb, var(--fg) 45%, transparent);
  transition: color var(--motion), text-decoration-color var(--motion), text-underline-offset var(--motion);
}
.guest-now a:hover { text-decoration-color: var(--mauve); }
.guest-time { font-variant-numeric: tabular-nums; min-width: 2.8rem; }
.guest audio { width: 1px; height: 1px; opacity: 0; position: absolute; }
.sleeve-face {
  width: min(100%, 58rem);
  margin-inline: auto;
  border: 1px solid var(--line);
  background: #101410;
}
.ask-night { display: none; }
html[data-hour="night"] .ask-day { display: none; }
html[data-hour="night"] .ask-night { display: inline; }
.sea-glow { position: relative; }
html[data-hour="night"] .sea-art {
  filter: brightness(0.8) saturate(0.9) hue-rotate(12deg);
}
html[data-hour="night"] .sleeve-face {
  box-shadow: 0 0 36px rgba(86, 168, 112, 0.22);
}
html[data-hour="night"] {
  --focus: var(--night-focus);
}
html[data-hour="night"] .button:hover,
html[data-hour="night"] .button.ghost:hover {
  box-shadow: 0 0 14px var(--night-glow);
}
html[data-hour="night"] .button:active,
html[data-hour="night"] .button.ghost:active {
  transform: none;
  box-shadow: 0 0 16px var(--night-glow);
}
html[data-hour="night"] .sea-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 78%, rgba(150, 230, 165, 0.2), transparent 22%),
    radial-gradient(ellipse at 84% 70%, rgba(130, 215, 150, 0.16), transparent 20%);
  mix-blend-mode: screen;
}
.sea-art {
  display: block;
  width: 100%;
  height: auto;
}
.sleeve-label { padding: 0.85rem 1rem 1rem; }
.sleeve h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.05rem, 4vw, 3.15rem);
  line-height: 1.05;
}
.sleeve .player { margin-top: 0.7rem; }
.sleeve-song { color: var(--muted); font-size: 0.98rem; }
.below {
  max-width: 34rem;
  padding: 0.2rem 0 1.2rem;
}
.below h2 {
  margin: 0;
  max-width: 22rem;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--muted);
}
.below .lede { margin-top: 0.75rem; font-size: 1.02rem; color: var(--muted); }
.story-link { margin: 0.9rem 0 0; }
.story-link a { font-weight: 600; }
.brand-name {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}
.music-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 2rem;
  margin-top: 1rem;
}
.music-grid img,
.release-art {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.music-grid h3 { margin: 0.35rem 0; font-size: 1.45rem; }
.music-grid h3 a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color var(--motion), text-decoration-color var(--motion), text-underline-offset var(--motion);
}
.music-grid h3 a:hover {
  text-decoration-color: var(--mauve);
  text-underline-offset: 0.22em;
}
.music-grid .quiet { margin-top: 0.25rem; }
.song {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: 1.5rem 2rem;
  align-items: center;
}
.song-still {
  width: 100%;
  height: auto;
  display: block;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(16rem, 1fr);
  gap: 1.5rem 8vw;
  align-items: start;
  padding: 0.4rem 0 1rem;
}
.eyebrow, .kicker {
  margin: 0 0 0.7rem;
  color: var(--mauve);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
}
.lede { margin: 1.3rem 0 0.55rem; max-width: 36rem; font-size: 1.15rem; }
.quiet { margin: 0; max-width: 38rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

.intro { margin: 0 0 0 6%; }
.picture {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: transparent;
  clip-path: polygon(0 1.5%, 100% 0, 99.2% 98.5%, 0.6% 100%);
}
.picture[hidden] { display: none !important; }
.intro figcaption { margin-top: 0.8rem; }
.transcript { margin: 0; max-width: 36rem; color: var(--fg); }
.draft-note { margin: 0.45rem 0 0; color: var(--slate); font-size: 0.92rem; }

section.block {
  padding: 3.4rem 0;
  border-top: 1px solid var(--line);
}
section.block h2 { margin: 0 0 0.8rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.origin { margin-left: 8%; max-width: 46rem; }
#poem-title { position: relative; margin-bottom: 4.75rem; }
.verse {
  max-width: 36rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.45;
}
.verse p { margin: 0 0 0.4rem; }

.asides { margin-left: 18%; max-width: 34rem; border-top: 0; padding-top: 0.2rem; }
.asides ul { list-style: none; margin: 0; padding: 0; }
.asides li {
  margin: 0 0 1.25rem;
  color: var(--fg);
  font-size: 1.08rem;
  line-height: 1.45;
}
.asides q { quotes: "“" "”" "‘" "’"; }
.asides time {
  display: block;
  margin-top: 0.15rem;
  color: var(--slate);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.6rem 3rem;
  margin-top: 1.4rem;
}
.card, .note {
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.card h3, .note h3 { margin: 0 0 0.35rem; font-size: 1.45rem; }
.card h3 a, .note h3 a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color var(--motion), text-decoration-color var(--motion), text-underline-offset var(--motion);
}
.card h3 a:hover, .note h3 a:hover {
  text-decoration-color: var(--mauve);
  text-underline-offset: 0.22em;
}
.card p, .note p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 0.9fr; gap: 2rem 3rem; margin-top: 2rem; }
.links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.links a, .story-list a { font-weight: 600; }
.idea {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1.4rem;
}
.idea p { margin: 0; color: var(--muted); }
.story-list { list-style: none; margin: 1rem 0 0; padding: 0; }
footer.site {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.6rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
}
footer.site a { color: var(--fg); font-weight: 600; }
.title-slot { margin-top: 1rem; }
.title-slot:empty { display: none; }
.embed-frame, .title-slot iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  background: #090807;
}

.prose { padding: 2.4rem 0 3rem; max-width: 40rem; }
.prose.album { max-width: 46rem; }
.tracklist { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.track-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  transition: background-color var(--motion);
}
.track-row.is-active { background: rgba(198, 161, 90, 0.12); }
.track-row:hover:not(.is-active) { background: rgba(231, 221, 210, 0.05); }
.track-hit {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.35rem 0.4rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: opacity var(--motion), background-color var(--motion);
}
.track-hit:active { opacity: 0.97; }
.track-hit .num { color: var(--mauve); min-width: 3.6rem; font-variant-numeric: tabular-nums; }
.track-row .button { align-self: center; }
.transport {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.8rem 0 0.9rem;
  background: var(--bg);
}
.transport-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.transport-buttons .button, .track-row .button { min-height: 44px; }
.now { margin: 0; min-height: 1.4rem; font-size: 1.15rem; }
.clock { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.play-note { margin: 0; min-height: 1.2rem; color: var(--muted); }
.album-play input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--mauve); }
.track-hit:focus-visible, .transport .button:focus-visible, .track-row .button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.player { display: flex; flex-wrap: wrap; gap: 0.55rem 0.7rem; align-items: center; }
.player input[type="range"] { flex: 1 1 12rem; min-width: 8rem; min-height: 44px; accent-color: var(--mauve); }
.player .time { min-width: 3rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.player audio { width: 1px; height: 1px; opacity: 0; position: absolute; }
.prose h1 { max-width: 18ch; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.byline { color: var(--muted); }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 0.4rem; }
.prose p { color: var(--fg); }
.rule {
  margin-top: 2rem;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 2px solid var(--mauve);
}
code, .mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.92em; }

@media (max-width: 860px) {
  .hero, .grid, .split, .idea, .song, .music-grid { grid-template-columns: 1fr; }
  .intro, .origin, .asides { margin-left: 0; }
  h1 { max-width: 16ch; }
  header.site { gap: 0.2rem 0.8rem; }
  nav[aria-label="Primary"] a { padding: 0 0.4rem; }
  .sleeve {
    min-height: calc(100svh - 3.1rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0 0.2rem;
  }
  .sleeve h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:active,
  .button.ghost:active {
    transform: none;
  }
}

