        /* FONTS */

@font-face {
  font-family: "Amulya";
  src: url("/assets/fonts/Amulya-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Amulya";
  src: url("/assets/fonts/Amulya-VariableItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/Satoshi-VariableItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
}

        /* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}



        /* GLOBAL */

html {
  background: var(--background);
}

* {
  accent-color: var(--color-accent);
  caret-color: var(--color-accent);
}



        /* ROOT */

:root {
  color-scheme: light dark;



        /* colors */
  --background: #f8fafc;
  --text: #0b0b0f;
  
  --color-accent: #6d28d9;
  --color-accent-soft: rgba(109, 40, 217, 0.2);

  --color-instagram: #e1306c;
  --color-bandcamp: #629aa9;
  
  --color-spotify: #1ed760;
  --color-spotify-soft: rgba(30, 215, 96, 0.2);
  
  --color-applemusic: #FF4E6B;
  --color-applemusic-soft: rgba(255, 78, 107, 0.2);
  
  --color-youtube: #ff0000;
  --color-youtube-soft: rgba(255, 0, 0, 0.2);
  
  --color-soundcloud: #F37422;
  --color-soundcloud-soft: rgba(243, 116, 34, 0.2);

  --glass-fill: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(21, 22, 26, 0.1);



        /* fonts */
  --font-body: "Satoshi", system-ui, sans-serif;
  --font-heading: "Amulya", system-ui, sans-serif;



        /* font sizes */
  --font-size-h1: clamp(3rem, 2rem + 5vw, 7rem);
  --font-size-h2: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  --font-size-h3: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --font-size-xs: 0.8rem;
  --font-size-s: 1rem;
  --font-size-m: 1.25rem;
  --font-size-l: 2rem;
  --font-size-xl: 3rem;



        /* transitions */
  --transition-fast: 100ms;
  --transition-med: 300ms;
  --transition-slow: 600ms;



        /* shapes */
  --radius-circle: 9999px;
  --radius-cover: 15px;



        /* content */
  --content-max: 1440px;
  --content-mid: 1000px;
  --content-small: 800px;
  --content-min: 500px;



        /* padding */
  --padding-h1-top: 2rem;
  --padding-h2-top: 1.5rem;
  --padding-h3-top: 1rem;

  --padding-h1-bottom: 1rem;
  --padding-h2-bottom: 0.75rem;
  --padding-h3-bottom: 0.5rem;
}



        /* darkmode */
@media (prefers-color-scheme: dark) {
  :root {
    --background: #0b0b0f;
    --text: #f8fafc;
    /* --color-accent: #d97706; */
    --glass-fill: rgba(21, 22, 26, 0.25);
    --glass-border: rgba(255, 255, 255, 0.1);
  }
}



        /* BODY */

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2.5vh;
  margin: auto;
  width: auto;
  text-align: center;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--font-size-s);
}



        /* header */
header {
  width: min(100% - 2rem, 600px);
  margin: auto;
  position: sticky;
  top: 2.5vh;
  z-index: 100;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 1rem;
}


header a {
  transition: color var(--transition-med);
}

/* header a[aria-current="page"] {
  color: var(--color-accent);
} */

@media (hover: hover) and (pointer: fine) {
  header a:hover,
  header a[aria-current="page"] {
    color: var(--color-accent);
  }
}

/* header a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
} */



        /* main */
main {
  /* width: min(100% - 2rem, var(--content-max)); */
  margin: auto;
}



        /* footer */
footer {
  width: min(100% - 2rem, 300px);
  margin: auto;
  text-align: center;
  padding: 3rem 0;
}

footer nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
}

footer a {
  transition: color var(--transition-slow);
}

footer a:hover,
footer a[aria-current="page"] {
  color: var(--color-accent);
}

/* footer a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
} */



        /* TEXT */

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h1);
  /* padding-top: var(--padding-h1-top);
  padding-bottom: var(--padding-h1-bottom); */
}

h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  /* padding-top: var(--padding-h2-top);
  padding-bottom: var(--padding-h2-bottom); */
}

h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  /* padding-top: var(--padding-h3-top);
  padding-bottom: var(--padding-h3-bottom); */
}



        /* HOME */

.hero {
  text-align: center;
}

.hero h1 {
  padding-bottom: 0;
}

.hero-description {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-bottom: var(--padding-h2-bottom);
}



        /* MUSIC & RELEASES */

        /* music */
.music {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.music-description {
  font-size: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  padding-bottom: var(--padding-h2-bottom);
}

        /* releases */
.streaming {
  display: flex;
  flex-wrap: wrap;
  width: min(100% - 2rem, 600px);
  margin: auto;
  gap: 0.5rem;
  justify-content: space-evenly;
  transition: text var(--transition-med) ease;
}


.releases {
  width: min(100% - 2rem, var(--content-mid));
  margin: auto;
  padding-top: 2.5rem;
}

.release-track {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
  "date tags genre"
  "title title title";
  gap: 0.5rem;
  padding-block: 2rem 2rem;
}

.release-date {
  grid-area: date;
  text-align: left;
}

.release-tags {
  grid-area: tags;
  text-align: center;
}

.release-genre {
  grid-area: genre;
  text-align: right;
  }

.release-title {
  grid-area: title;
  border-top: 1.5px solid var(--text);
  font-size: clamp(3rem, 6.5vw, 8rem);
  text-align: left;

}

.release-title a {
  transition: color 300ms ease
}

.release-title a:hover {
  color: var(--color-accent);
  
}


        /* SERVICES */

.services {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.service-area {
  font-weight: 400;
  font-size: clamp(3rem, 1.5rem + 2vw, 3.5rem);
  padding: 0 0 var(--padding-h2-bottom) 0;
}

.service-group {
  width: 100% - 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 0.75fr));
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
}


.service-card {
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  padding: 2rem 1rem;
  overflow: hidden;
  justify-content: space-evenly;
  text-align: center;
  
  transition: border-color var(--transition-med);
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    border-color: var(--color-accent);
  }
}

.service-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  padding: 0 1rem 1rem 1rem;
}

.service-icon {
  display: block;
  width: 2em;
  height: 2em;
  fill: currentColor;
  flex-shrink: 0;
}

.service-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-inline: auto;
  align-items: center;
  text-wrap: balance;
  gap: 1rem;
}

.service-detail-line {
  font-size: var(--font-size-s);
}

.service-detail-key {
  font-size: var(--font-size-xs);
  letter-spacing: 0.25em;
}



        /* CLIENTS */
.clients {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.clients-grid {
  width: 100% - 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 40rem), 1fr));
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.client {
  text-wrap: balance;
}

.client-name {
  
}

.client-line {
  
}

.client-logo {
  justify-content: center;
  /* display: block; */
  /* aspect-ratio: 1 / 1; */
  width: 50%;
  /* height: 90%; */
}
.client-logo img {
  object-fit: cover;
  /* display: block; */
  /* aspect-ratio: 1 / 1; */
  width: 50%;
  /* height: 90%; */
}



        /* ABOUT */

.about {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 5vw, 2rem);
  text-align: center;
}

.about img {
  width: min(100%, 720px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-circle);
}

.about-text-mid {
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text-left {
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}



        /* CONTACT */

.contact {
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  text-align: center;
}

.contact-intro {
  width: min(100%, 900px);
  padding-bottom: 2rem;
}

.contact-grid {
  width: min(100%, 1100px);
  list-style: none;
  display: inline-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-inline: auto;
  gap: 1rem;
}
/* .contact-grid .button:hover {
  transform: none;
} */
  
.contact-icon {
  display: block;
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
  flex-shrink: 0;
}

.contact-grid a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  color: var(--color-text);
  text-decoration: none;

  /* transition: color var(--transition-med) ease, border-color var(--transition-med) ease; */
}



        /* BUTTONS */

.button-group {
  /* display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem; */
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.75rem 1.5rem;

  border: 1px solid var(--glass-border);
  border-radius: var(--radius-circle);

  background: var(--glass-fill);
  color: var(--text);

  text-decoration: none;

  transition: background var(--transition-med) ease, border-color var(--transition-med) ease, box-shadow var(--transition-slow) ease;
  
}

/* .button:active {
  transform: scale(0.97);
} */

.button:focus {
  outline: 2px solid;
  outline-offset: 3px;
  outline-color: rgba(109, 40, 217, 0.5);
}

.button:target {
  animation: highlight 1s ease;
}

@keyframes highlight {

  50% {
    box-shadow: 0 0 0.25rem 0.25rem rgba(109, 40, 217, 0.2);
  }
}


        /* hover colors */
.spotify {
  transition: border-color var(--transition-med) ease, box-shadow var(--transition-slow) ease, color var(--transition-med) ease;
}
@media (hover: hover) and (pointer: fine) {
  .spotify:hover {
    border-color: var(--color-spotify);
    color: var(--color-spotify);
    box-shadow: 0 0 0.25rem 0.25rem var(--color-spotify-soft);
  }
}

.applemusic {
  transition: border-color var(--transition-med) ease, box-shadow var(--transition-slow) ease, color var(--transition-med) ease;
}
@media (hover: hover) and (pointer: fine) {
  .applemusic:hover {
    border-color: var(--color-applemusic);
    color: var(--color-applemusic);
    box-shadow: 0 0 0.25rem 0.25rem var(--color-applemusic-soft);
  }
}

.youtube {
  transition: border-color var(--transition-med) ease, box-shadow var(--transition-slow) ease, color var(--transition-med) ease;
}
@media (hover: hover) and (pointer: fine) {
  .youtube:hover {
    border-color: var(--color-youtube);
    color: var(--color-youtube);
    box-shadow: 0 0 0.25rem 0.25rem var(--color-youtube-soft);
  }
}

.soundcloud {
  transition: border-color var(--transition-med) ease, box-shadow var(--transition-slow) ease, color var(--transition-med) ease;
}
@media (hover: hover) and (pointer: fine) {
  .soundcloud:hover {
    border-color: var(--color-soundcloud);
    color: var(--color-soundcloud);
    box-shadow: 0 0 0.25rem 0.25rem var(--color-soundcloud-soft);
  }
}

.contact-me {
  transition: border-color var(--transition-med) ease, box-shadow var(--transition-slow) ease, color var(--transition-med) ease;
}
@media (hover: hover) and (pointer: fine) {
  .contact-me:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 0.25rem 0.25rem var(--color-accent-soft);
  }
}

.service {
  transition: border-color var(--transition-med) ease, box-shadow var(--transition-slow) ease, color var(--transition-med) ease;
}
@media (hover: hover) and (pointer: fine) {
  .service:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 0.25rem 0.25rem var(--color-accent-soft);
  }
}











        /* ANCHOR */

a {
  color: inherit;
  text-decoration: none;
}



        /* CUSTOM */

.glass {
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-radius: var(--radius-circle);
}



        /* PSEUDO */

::selection {
  color: var(--text);
  background: rgba(109, 40, 217, 0.2);
}
