@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/bodoni-moda-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("../assets/fonts/bodoni-moda-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/ibm-plex-mono-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f4f1e7;
  --ground: #080914;
  --deep: #111638;
  --indigo: #1d2d86;
  --saffron: #ff6a24;
  --india-yellow: #E3A857;
  --muted: #a8aaa4;
  --line: rgba(244, 241, 231, 0.24);
  --pad: clamp(1.25rem, 3vw, 3.5rem);
  --font-sans: "Inter", Arial, Helvetica, sans-serif;
  --font-serif: "Bodoni Moda", Didot, Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", "Courier New", Courier, monospace;
  font-family: var(--font-sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--ground); line-height: 1.35; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 6.5rem; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--india-yellow); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 30;
  padding: .75rem 1rem;
  color: var(--ground);
  background: var(--india-yellow);
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1rem var(--pad);
  background: rgba(8, 9, 20, .72);
  border-bottom: 1px solid rgba(244, 241, 231, .12);
  backdrop-filter: blur(.8rem);
  font-size: .82rem;
  letter-spacing: .02em;
}

.wordmark { flex: 0 0 auto; font-weight: 700; white-space: nowrap; }
.project-name { display: inline-block; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: clamp(.75rem, 1.7vw, 1.6rem); white-space: nowrap; }
.listen-nav { justify-self: center; }
.section-nav { justify-self: end; }
.site-header a, .release-links a, footer a { transition: color 180ms ease, opacity 180ms ease; }
.site-header a:hover, .release-links a:hover, footer a:hover { color: var(--india-yellow); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr minmax(17rem, 38vw) 1fr;
  place-items: end center;
  padding: 7rem var(--pad) 4.5rem;
}

.hero-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.82) contrast(1.22) hue-rotate(7deg);
}

.shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 20, .58);
}

.hero-date {
  position: absolute;
  left: var(--pad);
  bottom: 1.8rem;
  z-index: 2;
  margin: 0;
  color: rgba(244, 241, 231, .82);
  font-family: var(--font-mono);
  font-size: .8rem;
}

.cover-wrap {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: 100%;
  box-shadow: .9rem .9rem 0 rgba(0, 0, 0, .55);
}

.cover-wrap::after {
  content: "";
  position: absolute;
  inset: .6rem -.6rem -.6rem .6rem;
  z-index: -1;
  border: 1px solid rgba(255, 106, 36, .75);
}

.cover-wrap img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 3;
  grid-row: 1;
  justify-self: stretch;
  align-self: end;
  padding: 0 0 2rem clamp(1.4rem, 3vw, 4rem);
}

.hero h1 {
  margin: 0 0 .4rem;
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 7.2vw, 8.2rem);
  font-weight: 400;
  line-height: .84;
  letter-spacing: -.04em;
  font-optical-sizing: auto;
  white-space: nowrap;
}

.actions { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.actions a { padding: 0 0 .28rem; border-bottom: 1px solid currentColor; font-size: .82rem; }
.actions a:hover { color: var(--india-yellow); }
.down { position: absolute; z-index: 2; right: var(--pad); bottom: 1.5rem; font-size: 2rem; }

.music { padding: clamp(5rem, 8vw, 8rem) var(--pad) clamp(7rem, 11vw, 12rem); }

.release-group + .release-group { margin-top: clamp(7rem, 12vw, 13rem); }
.group-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.group-head h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(2.8rem, 5.4vw, 5.7rem); font-weight: 400; font-style: italic; line-height: .92; letter-spacing: -.03em; font-optical-sizing: auto; }

.records-grid { display: grid; gap: clamp(4rem, 8vw, 9rem); }
.album-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(17rem, 1fr));
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.album-card:nth-child(even) .release-art { order: 2; }
.album-card:nth-child(even) .release-info { order: 1; }
.release-info { min-width: 0; }
.release-art { position: relative; background: var(--deep); }
.release-art::before { content: ""; position: absolute; inset: -.55rem .55rem .55rem -.55rem; border: 1px solid rgba(244, 241, 231, .16); pointer-events: none; }
.release-art img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; }
.carousel { overflow: hidden; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x; -webkit-overflow-scrolling: touch; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel-slide .art-open { width: calc(100% + 2px); margin-left: -1px; }
.art-open { display: block; width: 100%; padding: 0; color: inherit; background: none; border: 0; cursor: zoom-in; }
.art-open:focus-visible { outline: 2px solid var(--india-yellow); outline-offset: -2px; }
.carousel-controls { position: absolute; z-index: 3; right: .65rem; bottom: .65rem; display: flex; align-items: center; gap: .65rem; padding: .38rem .45rem; color: var(--ink); background: rgba(8, 9, 20, .84); border: 1px solid rgba(244, 241, 231, .35); font-family: var(--font-mono); font-size: .78rem; }
.carousel-controls button { display: grid; width: 2rem; height: 2rem; place-items: center; padding: 0; color: inherit; background: none; border: 0; font: inherit; cursor: pointer; }
.carousel-controls button:hover, .carousel-controls button:focus-visible { color: var(--india-yellow); }
.release-meta { display: flex; justify-content: flex-end; gap: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--font-mono); font-size: .8rem; }
.release-info h4 { max-width: 13ch; margin: 1rem 0 .9rem; font-family: var(--font-serif); font-size: clamp(2.6rem, 5.4vw, 5.9rem); font-weight: 400; line-height: .9; letter-spacing: -.035em; font-optical-sizing: auto; }
.release-info > p { margin: 0 0 2rem; color: var(--muted); font-size: 1rem; }
.tracklist { padding: 0; margin: 2.4rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.tracklist li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; align-items: center; gap: .8rem; min-height: 3.25rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: .84rem; line-height: 1.45; }
.tracklist li > span { min-width: 0; overflow-wrap: anywhere; }
.tracklist time { flex: 0 0 auto; color: var(--muted); }
.track-play { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; padding: 0; color: var(--ink); background: transparent; border: 1px solid rgba(244, 241, 231, .48); border-radius: 50%; font: 700 .7rem/1 var(--font-sans); cursor: pointer; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.track-play span { transform: translateX(.06rem); }
.track-play:hover, .track-play:focus-visible { color: var(--india-yellow); border-color: var(--india-yellow); }
.track-play[aria-pressed="true"] { color: var(--ground); background: var(--india-yellow); border-color: var(--india-yellow); }
.track-play[aria-pressed="true"] span { transform: none; }
.credits { margin-top: 1.4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credits summary { display: flex; min-height: 2.75rem; justify-content: space-between; align-items: center; padding: .65rem 0; font-family: var(--font-mono); font-size: .86rem; cursor: pointer; list-style: none; }
.credits summary::-webkit-details-marker { display: none; }
.credits summary::after { content: "+"; color: var(--india-yellow); font-size: 1rem; }
.credits[open] summary::after { content: "−"; }
.credits summary:hover { color: var(--india-yellow); }
.credits-body { padding: .35rem 0 1rem; }
.credits-body p { max-width: 42rem; margin: 0 0 .75rem; color: #d7d4cc; font-family: var(--font-sans); font-size: .95rem; line-height: 1.55; }
.credits-body p:last-child { margin-bottom: 0; }
.release-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.release-links a { padding-bottom: .25rem; border-bottom: 1px solid currentColor; }

.singles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 3.5rem); }
.single-card .release-art { margin-bottom: 1.5rem; }
.single-card .release-art::before { border-color: rgba(255, 106, 36, .35); }
.single-card:nth-child(2) { margin-top: clamp(2rem, 6vw, 7rem); }
.single-card:nth-child(3) { margin-top: clamp(4rem, 12vw, 14rem); }
.single-card .release-info h4 { min-height: 1.8em; font-size: clamp(1.8rem, 3.6vw, 3.8rem); }
.single-track { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.35rem; color: var(--muted); font-family: var(--font-mono); font-size: .84rem; }

.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(20rem, 1.15fr) minmax(18rem, .85fr);
  min-height: 90svh;
  align-items: center;
  gap: clamp(2rem, 7vw, 9rem);
  padding: var(--pad);
  background: #0b0d0e;
}
.about-texture {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .39;
  filter: saturate(.45) contrast(1.18) brightness(.58);
}
.about-portrait { position: relative; z-index: 1; width: 100%; max-height: 84svh; object-fit: cover; filter: saturate(.82) contrast(1.08); box-shadow: 1.2rem 1.2rem 0 var(--india-yellow); }
.about-copy { position: relative; z-index: 1; container-type: inline-size; }
.about h2 { max-width: none; margin: 1rem 0 2.5rem; font-family: var(--font-serif); font-size: clamp(1.6rem, 9cqw, 4.8rem); font-weight: 400; line-height: .94; letter-spacing: -.03em; font-optical-sizing: auto; }
.about div > p:last-child { max-width: 38rem; color: #d7d4cc; font-family: var(--font-sans); font-size: 1.05rem; line-height: 1.6; letter-spacing: -.008em; }

footer { display: flex; align-items: center; gap: 2rem; padding: 2rem var(--pad); color: var(--muted); border-top: 1px solid var(--line); font-size: .78rem; }
footer > span:first-child { margin-right: auto; color: var(--ink); white-space: nowrap; }
footer nav { display: flex; gap: clamp(1.35rem, 2.5vw, 2rem); }

.now-playing {
  position: fixed;
  isolation: isolate;
  z-index: 24;
  left: 50%;
  bottom: 1rem;
  width: min(38rem, calc(100vw - 2rem));
  padding: .55rem .65rem .6rem;
  color: var(--ink);
  background: rgba(8, 9, 20, .72);
  border: 1px solid rgba(244, 241, 231, .12);
  box-shadow: 0 .8rem 3rem rgba(0, 0, 0, .48);
  -webkit-backdrop-filter: blur(.8rem);
  backdrop-filter: blur(.8rem);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 2rem));
  transition: width 220ms ease, padding 220ms ease, opacity 220ms ease, transform 220ms ease;
}
.now-playing[data-visible="true"] { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.now-playing[data-collapsed="true"] { width: min(25rem, calc(100vw - 2rem)); padding: .35rem; cursor: pointer; }
.now-playing[data-collapsed="true"][data-idle="true"] { opacity: 1; transform: translate(-50%, 0) scale(.985); }
.now-playing[data-collapsed="true"][data-idle="true"] .now-playing-head { opacity: .72; }
.now-playing[data-collapsed="true"][data-idle="true"]:hover, .now-playing[data-collapsed="true"][data-idle="true"]:focus-within { transform: translate(-50%, 0); }
.now-playing[data-collapsed="true"][data-idle="true"]:hover .now-playing-head, .now-playing[data-collapsed="true"][data-idle="true"]:focus-within .now-playing-head { opacity: 1; }
.now-playing-head { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) auto auto; align-items: center; gap: .65rem; transition: opacity 180ms ease; }
.now-playing-art { width: 4.25rem; height: 4.25rem; object-fit: cover; }
.now-playing-copy { min-width: 0; }
.now-playing-copy > span { display: block; margin-bottom: .15rem; color: var(--india-yellow); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.now-playing-copy strong { display: block; overflow: hidden; font-size: .92rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.now-playing-toggle { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; padding: 0; color: var(--ground); background: var(--india-yellow); border: 1px solid var(--india-yellow); border-radius: 50%; font: 700 .76rem/1 var(--font-sans); cursor: pointer; }
.now-playing-toggle span { display: block; }
.now-playing-toggle[data-playing="false"] span { transform: translateX(.09rem); }
.now-playing-collapse { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; padding: 0; color: var(--ink); background: rgba(8, 9, 20, .3); border: 1px solid var(--line); border-radius: 50%; font: 700 .9rem/1 var(--font-sans); cursor: pointer; }
.now-playing-collapse svg { display: block; width: .75rem; height: .75rem; overflow: visible; transition: transform 180ms ease; }
.now-playing-collapse path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.now-playing[data-collapsed="true"] .now-playing-collapse svg { transform: rotate(180deg); }
.now-playing-progress { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 3rem; align-items: center; gap: .65rem; margin-top: .65rem; color: var(--muted); font-family: var(--font-mono); font-size: .68rem; }
.now-playing[data-collapsed="true"] .now-playing-progress, .now-playing[data-collapsed="true"] .now-playing-copy > span { display: none; }
.now-playing[data-collapsed="true"] .now-playing-art { width: 2.75rem; height: 2.75rem; }
.now-playing[data-collapsed="true"] .now-playing-head { grid-template-columns: 2.75rem minmax(0, 1fr) auto auto; }
.now-playing-progress time:last-child { text-align: right; }
.now-playing-progress input { width: 100%; height: 1.5rem; margin: 0; accent-color: var(--india-yellow); cursor: ew-resize; touch-action: none; }

.dialog-open { overflow: hidden; }
.art-dialog {
  width: min(80vw, 74rem);
  max-width: none;
  max-height: 86vh;
  margin: auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem) 1.4rem;
  color: var(--ink);
  background: #080914;
  border: 1px solid rgba(244, 241, 231, .38);
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, .72);
  overflow: hidden;
}
.art-dialog::backdrop { background: rgba(27, 28, 31, .82); backdrop-filter: blur(5px) grayscale(.35); }
.dialog-stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
.dialog-stage img { width: 100%; height: min(70vh, 68vw); object-fit: contain; }
.dialog-close { position: absolute; top: .65rem; right: .65rem; min-width: 2.75rem; min-height: 2.75rem; padding: .35rem .5rem; color: var(--ink); background: none; border: 0; font: 700 .75rem/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.dialog-nav { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; padding: 0; color: var(--ink); background: none; border: 0; font: 1.7rem/1 var(--font-sans); cursor: pointer; }
.dialog-close:hover, .dialog-close:focus-visible, .dialog-nav:hover, .dialog-nav:focus-visible { color: var(--india-yellow); }
.dialog-count { display: block; margin-top: .85rem; text-align: center; color: var(--muted); font-family: var(--font-mono); font-size: .78rem; }

@media (max-width: 960px) {
  html { scroll-behavior: auto; }
  .site-header { grid-template-columns: 1fr auto; gap: .7rem 1rem; }
  .wordmark { grid-column: 1; }
  .section-nav { grid-column: 2; }
  .listen-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .hero { padding-top: 8.5rem; }
  .album-card { gap: clamp(2rem, 4vw, 3rem); }
  .about { grid-template-columns: 1fr; min-height: auto; gap: 3.5rem; padding-top: 5rem; padding-bottom: 5rem; }
  .about-portrait { max-height: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 7.5rem; }
  [id] { scroll-margin-top: 7.5rem; }
  .site-header { align-items: center; gap: .45rem 1rem; padding-top: .8rem; padding-bottom: .8rem; }
  .section-nav { gap: 1rem !important; }
  .listen-nav { width: 100%; justify-content: space-between; }
  .hero { grid-template-columns: 1fr; align-content: center; gap: 2rem; padding-top: 9.5rem; padding-bottom: 6rem; }
  .cover-wrap { grid-column: 1; grid-row: 1; width: min(76vw, 27rem); }
  .hero-copy { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; padding: 0; }
  .hero-date { bottom: 1.8rem; }
  .album-card { grid-template-columns: 1fr; gap: 2rem; }
  .album-card:nth-child(even) .release-art, .album-card:nth-child(even) .release-info { order: initial; }
  .carousel-controls button { width: 2.75rem; height: 2.75rem; }
  .release-links { gap: 1.1rem; }
  .singles-grid { grid-template-columns: 1fr; gap: 5rem; }
  .single-card:nth-child(2), .single-card:nth-child(3) { margin-top: 0; }
  .single-card .release-info h4 { min-height: 0; }
  .art-dialog { width: 92vw; padding-right: .75rem; padding-left: .75rem; }
  .dialog-stage { gap: .25rem; }
  .dialog-stage img { height: min(72vh, 78vw); }
  footer { flex-wrap: wrap; }
  footer > span:first-child { width: 100%; }
}

@media (max-width: 540px) {
  :root { --pad: 1.15rem; }
  .site-header { display: flex; flex-wrap: wrap; justify-content: space-between; font-size: .76rem; }
  .wordmark { order: 1; }
  .section-nav { order: 2; }
  .site-header .listen-nav { display: none; }
  .hero { min-height: 100svh; gap: 1.5rem; padding-top: 6.5rem; }
  .cover-wrap { width: min(82vw, 25rem); }
  .hero h1 { font-size: clamp(3rem, 17vw, 4.5rem); }
  .actions { gap: .75rem 1rem; }
  .hero-date { bottom: 1.25rem; font-size: .72rem; }
  .down { right: 1.15rem; bottom: 1rem; }
  .music { padding-top: 4.5rem; padding-bottom: 7rem; }
  .release-group + .release-group { margin-top: 8rem; }
  .group-head { margin-bottom: 2.5rem; }
  .group-head h2 { font-size: clamp(2.8rem, 15vw, 4rem); }
  .release-info h4 { max-width: 12ch; font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .tracklist { margin-top: 1.8rem; }
  .tracklist li { font-size: .82rem; }
  .single-card .release-info h4 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .about { padding-top: 4rem; padding-bottom: 4.5rem; }
  footer { display: grid; grid-template-columns: 1fr auto; gap: 1.25rem; }
  footer > span:first-child, footer nav { grid-column: 1 / -1; width: auto; }
  footer nav { flex-wrap: wrap; gap: .85rem 1rem; }
}

@media (hover: none) {
  .site-header a, .release-links a, footer a { -webkit-tap-highlight-color: rgba(227, 168, 87, .24); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-motion { display: none; }
  * { transition-duration: .01ms !important; }
}
