:root {
  color-scheme: light;
  --ink: #211817;
  --dark: #251818;
  --paper: #fffaf2;
  --cream: #ffe9cf;
  --muted: #695550;
  --rust: #8a452e;
  --sun: #ffba8d;
  --serif: Fraunces, Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
a:focus-visible, iframe:focus-visible {
  outline: 3px solid #2d7fac;
  outline-offset: 5px;
}

.shell { width: min(100% - 7rem, 75rem); margin-inline: auto; }
.section { scroll-margin-top: 1.5rem; }
.skip-link {
  position: absolute;
  inset: .9rem auto auto .9rem;
  transform: translateY(-160%);
  z-index: 5;
  padding: .6rem 1rem;
  background: var(--paper);
  color: var(--ink);
}
.skip-link:focus { transform: none; }

.header, .footer { background: #1c1413; color: var(--paper); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.85rem;
}
.wordmark {
  color: inherit;
  font: 600 1.375rem/1.2 var(--serif);
  letter-spacing: -.04em;
  white-space: nowrap;
  text-decoration: none;
}
.header nav { display: flex; flex-wrap: wrap; gap: .4rem clamp(1.1rem, 3.6vw, 3.2rem); }
.header nav a, .top-link { font-weight: 600; text-decoration: none; }
.header nav a:hover, .header nav a[aria-current], .top-link:hover { color: var(--sun); }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 79% 45%, #5a3329 0%, var(--dark) 54%);
  color: var(--cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  min-height: min(42rem, max(34rem, 72vh));
}
.hero-art {
  display: grid;
  place-items: center;
  width: min(100%, 28rem);
  aspect-ratio: 1;
  justify-self: center;
  overflow: hidden;
  isolation: isolate;
  border-radius: 50%;
  background: radial-gradient(circle at 58% 36%, #603629, #2b1b1a 76%);
  box-shadow: 0 0 0 1px #eab19663, 0 0 0 .7rem #ffba8d11, 0 1.5rem 4rem #160e0b55;
}
.hero-art img {
  width: 100%;
  height: auto;
  filter: grayscale(1) invert(1) contrast(1.4) sepia(.85) saturate(1.45);
  mix-blend-mode: screen;
}
.hero-copy { max-width: 33rem; padding-block: 4.1rem 4.5rem; }
.hero h1 {
  font-size: clamp(5rem, 10.7vw, 10.1rem);
  line-height: .86;
  letter-spacing: -.08em;
  font-variation-settings: "opsz" 110;
}
.hero h1 span { color: var(--sun); }
.hero p {
  max-width: 23rem;
  margin-top: 1.65rem;
  color: #f8dac6;
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.85rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .6rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.25;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}
.button-primary { background: var(--sun); color: #341a16; }
.button-primary:hover { background: #ffc9a7; }
.button-outline { border-color: #ac8679; color: var(--cream); }
.button-outline:hover { background: #402827; border-color: var(--cream); }
.button-dark { background: #382521; color: var(--paper); }
.button-dark:hover { background: #56362b; }
.play-icon {
  width: 0;
  height: 0;
  border-block: .34rem solid transparent;
  border-left: .55rem solid currentColor;
}

.music { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .65rem 1.1rem;
  margin-bottom: clamp(1.5rem, 3.6vw, 2.75rem);
}
.album-release {
  display: grid;
  grid-template-columns: clamp(8rem, 17vw, 12rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
  padding: clamp(1.2rem, 2.8vw, 2rem);
  background: #f3e5d7;
  border: 1px solid #e6d2c0;
  border-radius: .7rem;
}
.album-cover { width: 100%; height: auto; border-radius: .4rem; }
.album-release h3 { font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -.045em; }
.album-date { margin-top: .5rem; color: #6e3d2f; font-weight: 700; }
.album-platforms { margin-top: .3rem; color: var(--muted); }
.album-release .button { margin-top: .85rem; }
.music-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(14rem, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.eyebrow {
  margin-bottom: .6rem;
  color: var(--rust);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .11em;
  line-height: 1.45;
  text-transform: uppercase;
}
h2 { font-size: clamp(2.45rem, 4.5vw, 4.55rem); line-height: 1.03; letter-spacing: -.055em; }
.music-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.35rem; }
.music-actions .music-link { margin-top: 0; }
.release-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 12.5rem;
  border-radius: .6rem;
  background: #251818;
  scroll-margin-top: 1.25rem;
}
.release-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}
.video-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  padding-top: .85rem;
}
.video-caption h3 { font-size: clamp(1.35rem, 3vw, 2.05rem); line-height: 1.22; letter-spacing: -.04em; }
.video-caption .music-link, .section-head .music-link { margin: 0; }
.video-list {
  background: #f2e6d8;
  border: 1px solid #e6d2c0;
  border-radius: .7rem;
  padding: 1.2rem;
}
.video-list h3 { padding-inline: .55rem; font: 700 1rem/1.45 var(--sans); }
.video-list ul {
  list-style: none;
  margin: .65rem 0 0;
  padding: .3rem .35rem .3rem .3rem;
  max-height: 21rem;
  overflow-y: auto;
  scrollbar-color: #b38168 #ebd8c8;
}
.video-list li + li { margin-top: .25rem; }
.video-list a {
  display: block;
  padding: .65rem .75rem;
  min-height: 2.8rem;
  border: 1px solid transparent;
  border-radius: .4rem;
  color: #432b25;
  font-size: .975rem;
  font-weight: 600;
  text-decoration: none;
}
.video-list a:hover { background: #fffbf6; }
.video-list a[aria-current] { background: #fff9ef; border-color: #e9b78f; color: #773923; }
.spotify-feature {
  display: grid;
  grid-template-columns: minmax(12rem, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 1.25rem 2.5rem;
  margin-top: clamp(2.75rem, 6vw, 4.25rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid #dfcaba;
}
.spotify-feature h3 {
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.spotify-select { margin-top: .95rem; }
.spotify-select label { display: block; margin-bottom: .25rem; color: var(--muted); font-weight: 600; font-size: .9rem; }
.spotify-select select {
  appearance: none;
  max-width: 100%;
  min-height: 2.75rem;
  background: #fffaf2;
  color: var(--ink);
  border: 1px solid #b78d77;
  border-radius: .4rem;
  padding: .45rem 2.1rem .45rem .7rem;
  font: 600 1rem/1.25 var(--sans);
}
.spotify-select:has(select) { position: relative; width: fit-content; max-width: 100%; }
.spotify-select:has(select)::after {
  content: "";
  position: absolute;
  right: .85rem;
  bottom: 1.15rem;
  width: .45rem;
  height: .45rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
.listen-note { margin-top: .75rem; max-width: 29rem; color: var(--muted); }
.spotify-player {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: .75rem;
  background: #363441;
}
.music-link { display: inline-block; margin-top: .65rem; color: var(--rust); font-weight: 700; text-underline-offset: .25em; }
.music-link:hover { color: var(--ink); }

.shelf { display: grid; grid-template-columns: 1.25fr 1fr; }
.books, .comics, .games { display: flex; padding-block: clamp(3.5rem, 6vw, 5rem); }
.books { background: #f3e4d2; justify-content: flex-end; }
.comics { background: #f0dac6; justify-content: flex-start; }
.games {
  grid-column: 1 / -1;
  background: radial-gradient(ellipse at 90% 100%, #315e70, transparent 63%), #1b3b48;
  color: #fff9ef;
  align-items: center;
}
.shelf-inner { width: min(100%, 45rem); padding-inline: clamp(2rem, 5vw, 4.75rem); }
.book-grid { display: grid; grid-template-columns: minmax(6.5rem, .78fr) minmax(0, 1.22fr); gap: clamp(1.35rem, 3vw, 2.5rem); align-items: center; }
.book-cover {
  width: 100%;
  height: auto;
  border-radius: .15rem .3rem .3rem .15rem;
  box-shadow: .45rem .65rem 1.4rem #43271742;
}
.book-cover-link { display: block; border-radius: .15rem .3rem .3rem .15rem; }
.book-title-link { color: inherit; text-decoration: none; }
.book-title-link:hover { text-decoration: underline; text-decoration-thickness: .04em; text-underline-offset: .1em; }
.book-sequel { margin-top: 1.8rem; padding-top: 1.55rem; border-top: 1px solid #d7bbab; }
.shelf h2 { font-size: clamp(2.35rem, 4.4vw, 4rem); }
.shelf h2 + p { margin-top: .9rem; }
.books h2 + p, .comics h2 + p { color: #55413b; }
.books .button, .comics .button { margin-top: 1.15rem; }
.book-status { margin-top: .7rem; color: #634937; font-size: .9375rem; font-weight: 600; }
.games .eyebrow { color: #bce0e7; }
.game-subtitle { display: block; margin-top: .32em; color: #e2eecf; font-size: .56em; letter-spacing: -.04em; }
.game-copy p:not(.eyebrow) { color: #edf1ee; }
.release-status {
  display: inline-block;
  margin-top: 1.15rem;
  padding: .5rem .75rem;
  border: 1px solid #8cb0b9;
  border-radius: .35rem;
  font-size: .9rem;
  font-weight: 600;
}
.footer-inner { min-height: 5.35rem; }
.footer small { color: #e5c8b6; font-size: .875rem; }
.footer-contact { color: #f8dac6; text-underline-offset: .23em; }
.footer-contact:hover { color: var(--sun); }

.reader { background: #221918; color: var(--paper); }
.reader-main { max-width: 47rem; padding-block: 3.5rem; }
.reader-main .eyebrow { color: var(--sun); }
.reader-main h1 { font-size: clamp(2.35rem, 6vw, 4.5rem); line-height: 1.03; letter-spacing: -.055em; }
.reader-byline { margin-top: .75rem; color: #ebcfbf; }
.reader-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 1.5rem 2rem; }
.reader-nav a { padding: .45rem .75rem; border: 1px solid #bc9785; border-radius: .35rem; color: var(--paper); text-decoration: none; }
.reader-nav a:hover { color: var(--sun); border-color: var(--sun); }
.comic-page { margin: 0 auto 2rem; max-width: 43rem; scroll-margin-top: 1.25rem; }
.comic-page figcaption { margin-bottom: .5rem; color: #ebcfbf; font-size: .9rem; }
.comic-page img { width: 100%; height: auto; background: #f3e4d2; border-radius: .2rem; }
.reader-end { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.reader-end .button { border-color: #bc9785; }

@media (max-width: 64rem) {
  .shell { width: calc(100% - 4rem); }
  .shelf-inner { padding-inline: 2rem; }
  .shelf { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 47rem) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 0; flex-wrap: wrap; gap: .45rem 1.25rem; padding-block: .85rem; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; padding-block: 3.25rem 3rem; }
  .hero-art { grid-row: 1; width: min(75%, 18rem); }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(4rem, 15vw, 6.75rem); }
  .hero p { margin-top: 1rem; }
  .hero-actions { margin-top: 1.4rem; }
  .music-grid, .spotify-feature { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: 1fr; }
  .books { justify-content: flex-start; }
  .shelf-inner { padding-inline: 1.25rem; }
  .footer-inner { flex-wrap: wrap; gap: .45rem 1.3rem; padding-block: 1.25rem; }
}

@media (max-width: 23rem) {
  .header nav { gap: .75rem; }
  .header nav a { font-size: .94rem; }
  .wordmark { font-size: 1.22rem; }
  .book-grid { column-gap: 1rem; }
}

@media (max-width: 31rem) {
  .album-release { grid-template-columns: 1fr; }
  .album-cover { width: min(100%, 12rem); }
}

@media (max-width: 21rem) {
  .shell { width: calc(100% - 1.5rem); }
  .book-grid { grid-template-columns: 1fr; }
  .book-cover { width: min(65%, 12rem); }
}

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