/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

@supports (scrollbar-gutter: stable) {
  html {
    overflow-y: auto;
    scrollbar-gutter: stable;
  }
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  text-transform: lowercase;
  display: flex;
  flex-direction: column;
  padding-top: 44px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  border-bottom: none;
}

nav {
  width: 100%;
  margin: 0 auto;
}

.nav-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.navbar {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 44px;
  justify-content: space-between;
  gap: 35px;
}

.nav-brand {
  flex: 0 0 auto;
}

.navbar li {
  display: inline-flex;
  align-items: center;
  height: 100%;
  margin: 0;
}

.navbar a.nav-logo {
  font-weight: 600;
  font-size: 21px !important;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.8);
}

.navbar a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  letter-spacing: -0.2px;
}

.navbar a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-center ul {
  display: flex;
  list-style: none;
  gap: 35px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.social-nav {
  flex: 0 0 auto;
  display: flex;
  gap: 35px;
}

.navbar img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.navbar img:hover {
  opacity: 1;
  transform: none;
}

.content {
  max-width: 800px;
  margin: 2em auto;
  padding: 1em;
  flex: 1;
}

.hero {
  max-width: 100%;
  min-height: 100vh;
  left: 0;
  margin: 0;
  padding: 4em 1em;
  text-align: center;
  border-bottom: 1px solid #1a1a1a;
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.62)), url('hero-home.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.home-page .hero {
  min-height: calc(100vh - 44px);
  min-height: calc(100svh - 44px);
  left: 0;
  margin: 0;
  padding: clamp(76px, 10vw, 132px) 24px clamp(96px, 12vw, 150px);
  text-align: center;
  border-bottom: none;
  background:
    linear-gradient(rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.44)),
    url('hero-home.jpg');
  background-repeat: no-repeat;
  background-size: auto 112%;
  background-position: center 41%;
  background-attachment: scroll;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home-page .hero-copy {
  width: min(100%, 720px);
  margin: clamp(2.4rem, 7vh, 4.75rem) auto 0;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.62);
}

.home-page .hero h1 {
  font-size: clamp(2.55rem, 5.8vw, 4.1rem);
  line-height: 1;
  margin-bottom: 0.42em;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.home-page .hero-copy-lines {
  display: grid;
  gap: 0.15rem;
}

.home-page .hero p {
  max-width: 720px;
  margin: 0 auto;
}

.home-page .hero-lead {
  color: rgba(245, 245, 247, 0.82);
  max-width: 640px !important;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.42;
  letter-spacing: -0.012em;
  font-weight: 400;
  margin-top: 0 !important;
}

.home-page .hero-lead-secondary {
  color: rgba(245, 245, 247, 0.72);
}

@media screen and (min-aspect-ratio: 4/3) {
  .home-page .hero {
    background-size: cover;
  }
}

@media screen and (min-width: 1200px) {
  .home-page .hero {
    background-position: center 47%;
  }
}

@media screen and (min-width: 1600px) {
  .home-page .hero {
    background-position: center 51%;
  }
}

.posts {
  list-style: none;
  border-left: 1px solid #1a1a1a;
  margin-left: 1em;
  padding-left: 2em;
}

.posts li {
  margin-bottom: 2em;
  position: relative;
}

.posts li::before {
  content: '';
  position: absolute;
  left: -2.1em;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: #c20a0a;
  border-radius: 50%;
}

.posts a {
  color: #3aafa9;
  text-decoration: none;
  font-weight: normal;
  display: block;
  margin-bottom: 0.3em;
  transition: all 0.3s ease;
}

.posts a:hover {
  text-decoration: underline;
  color: #3aafa9;
}

.posts a:visited {
  color: #2b7a78;
}

.posts a:visited:hover {
  color: #2b7a78;
  text-decoration: underline;
}

.posts .date {
  color: #777;
  font-size: 0.9em;
  float: right;
}

.about-section {
  border-left: 1px solid #1a1a1a;
  padding-left: 2em;
  margin-left: 1em;
}

.section-title {
  color: #c20a0a;
  margin-top: 2em;
  margin-bottom: 0.5em;
  position: relative;
}

.section-title::before {
  content: '';
  position: absolute;
  left: -2.1em;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: #c20a0a;
  border-radius: 50%;
}

.quote {
  margin-top: 2em;
  padding: 1em 0;
  color: #777;
  font-style: italic;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}

footer {
  text-align: center;
  padding: 1em 0;
  background: #000;
  margin-top: auto;
  border-top: 1px solid #1a1a1a;
}

.social-links {
  text-align: center;
  margin-bottom: 1em;
}

.social-links img {
  width: 30px;
  margin: 10px;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

.spotify-playlists {
  margin-top: 20px;
}

#cookie-consent {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 15px;
  border-radius: 0;
  border: 1px solid #1a1a1a;
  font-size: 14px;
  max-width: 300px;
  z-index: 1000;
}

#cookie-consent button {
  margin-left: 10px;
  padding: 5px 10px;
  background-color: #c20a0a;
  border: none;
  cursor: pointer;
  color: #fff;
}

#cookie-consent button:hover {
  background-color: #aa0505;
}

@media screen and (max-width: 700px) {
  .navbar li {
    display: block;
    margin: 10px 0;
  }

  .hero {
    background-position: 50%;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }

  .content {
    padding: 1em 1.2em;
    margin: 1em auto;
  }

  .content > h1,
  .home-section > h1 {
    padding-inline: 0.12rem;
  }

  .posts {
    margin-left: 0.5em;
    padding-left: 1.5em;
  }

  .posts li::before {
    left: -1.6em;
  }

  .about-section {
    margin-left: 0.65em;
    padding-left: 1.35em;
    padding-right: 0.15em;
  }

  .section-title::before {
    left: -1.6em;
  }

  #cookie-consent {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }
}

@media screen and (max-width: 700px) {
  .home-page .hero {
    min-height: calc(100svh - 44px);
    padding-top: 5.75em;
    background-position: center 40%;
    background-attachment: scroll;
  }

  .home-page .hero-copy {
    margin-top: 3.25em;
  }

  .home-page .hero h1 {
    font-size: 2.65em;
    margin-bottom: 0.35em;
  }

  .home-page .hero-copy-lines {
    gap: 0.24rem;
  }

  .home-page .hero-lead {
    max-width: 22rem;
    font-size: 0.98em;
    line-height: 1.42;
  }
}

@supports (-webkit-touch-callout: none) {
  .hero {
    height: -webkit-fill-available;
  }
}

.content p {
  margin: 2rem 0;
  line-height: 1.6;
  text-align: justify;
}

.content .date {
  display: block;
  text-align: right;
  margin-bottom: 2rem;
}

.content h1 {
  font-size: 1.5em;
  margin-bottom: 1em;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.back-button {
  display: inline-block;
  margin-bottom: 2rem;
  color: #49c7ee;
  text-decoration: none;
}

.back-button:hover {
  text-decoration: underline;
}

.mobile-nav-button {
  display: none;
  position: fixed;
  top: 7px;
  right: 20px;
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 1001;
  cursor: pointer;
  padding: 5px;
}

.mobile-nav-button span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.mobile-nav-button.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.mobile-nav-button.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  visibility: hidden;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  text-align: center;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin: 20px 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-nav.active li:nth-child(1) {
  transition-delay: 0.05s;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.active li:nth-child(2) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.active li:nth-child(3) {
  transition-delay: 0.15s;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.active li:nth-child(4) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.active li:nth-child(5) {
  transition-delay: 0.25s;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 24px;
  display: block;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #fff;
}

.mobile-social-links {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-nav.active .mobile-social-links {
  transition-delay: 0.7s;
  opacity: 1;
  transform: translateY(0);
}

.mobile-social-links img {
  width: 28px;
  height: 28px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.mobile-social-links img:hover {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .mobile-nav-button {
    display: flex;
  }

  .navbar {
    display: none;
  }

  .mobile-nav-overlay {
    display: block;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    height: 44px;
  }

  .mobile-nav {
    padding: 0;
  }

  body {
    padding-top: 44px;
  }
}

.video-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin: 2rem 0;
}

.video-container h2 {
  margin-bottom: 1rem;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.9);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #111;
  border-radius: 4px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.spotify-embed {
  margin-top: 1.25rem;
}

.spotify-embed iframe {
  display: block;
  border: 0;
}

@media screen and (max-width: 768px) {
  .video-section {
    gap: 3rem;
    margin: 1.5rem 0;
  }
}

.mobile-logo {
  display: none;
  position: fixed;
  top: 46%;
  transform: translateY(-50%);
  left: 20px;
  font-size: 24px;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  letter-spacing: 0;
  text-transform: lowercase;
  z-index: 1001;
  transition: color 0.3s ease;
  line-height: 1;
}

.mobile-logo:hover {
  color: #fff;
}

@media screen and (max-width: 799px) {
  .mobile-nav-button {
    display: flex;
  }

  .mobile-logo {
    display: block;
  }

  .navbar {
    display: none;
  }

  .mobile-nav-overlay {
    display: block;
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    height: 44px;
  }

  .mobile-nav {
    padding: 0;
  }

  body {
    padding-top: 44px;
  }
}

.filter-section {
  margin: 1em 0;
}

.home-section {
  margin-top: 4rem;
}

.home-section:first-child {
  margin-top: 0;
}

.home-section h1 {
  margin-bottom: 1em;
}

.home-section .about-section p:first-child {
  margin-top: 0;
}


@keyframes softReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin: 2rem 0;
}

.media-grid .video-container h2 {
  font-size: 1em;
}

.inline-link {
  color: #3aafa9;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.quiet-list {
  list-style: none;
}

.quiet-list li {
  margin-bottom: 2rem;
}

.quiet-list strong {
  display: block;
  color: #fff;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1em;
}

.filter-buttons button {
  background: transparent;
  border: 1px solid #1a1a1a;
  color: rgba(255, 255, 255, 0.8);
  padding: 5px 15px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
  text-transform: lowercase;
}

.filter-buttons button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.filter-buttons button.active {
  background: #c20a0a;
  border-color: #c20a0a;
  color: #fff;
}

.no-posts {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

@media screen and (max-width: 768px) {
  .filter-buttons {
    gap: 8px;
  }

  .filter-buttons button {
    padding: 4px 12px;
    font-size: 13px;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .content > h1,
  .content > p,
  .content > .about-section,
  .content > .filter-section,
  .content > .media-grid,
  .content > .video-section,
  .home-section,
  .posts li,
  main.page-shell > section {
    animation: softReveal 0.7s ease both;
  }

  .hero-copy {
    animation-duration: 0.82s;
  }

  .content > p,
  .content > .about-section,
  .content > .filter-section,
  .content > .media-grid,
  .content > .video-section,
  main.page-shell > section:nth-of-type(2) {
    animation-delay: 0.06s;
  }

  .posts li:nth-child(1),
  .home-section:nth-child(2),
  main.page-shell > section:nth-of-type(3) {
    animation-delay: 0.08s;
  }

  .posts li:nth-child(2),
  .home-section:nth-child(3) {
    animation-delay: 0.12s;
  }

  .posts li:nth-child(3),
  .home-section:nth-child(4) {
    animation-delay: 0.16s;
  }

  .posts li:nth-child(4),
  .home-section:nth-child(5) {
    animation-delay: 0.2s;
  }

  .posts li:nth-child(5),
  .home-section:nth-child(6) {
    animation-delay: 0.24s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
