/* =============================================
   TRAVESS — lo-fi early internet aesthetic
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --accent: #d0d0d0;
  --muted: #999999;
  --highlight: #c9441a;
  --card-bg: #f5f5f5;
  --body: 'Times New Roman', Times, Georgia, serif;
  --mono: 'Courier New', Courier, monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--body);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  cursor: default;
  font-size: 0.9rem;
}

a {
  color: var(--fg);
  text-decoration: none;
}

::selection {
  background: var(--highlight);
  color: var(--bg);
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--accent);
  mix-blend-mode: normal;
}

.nav-logo {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
  text-transform: lowercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--fg);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  padding: 2rem 3rem 6rem;
  position: relative;
  background: url('hero-bg.jpg') right bottom / cover no-repeat;
}

.hero h1 {
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(4.5rem, 12vw, 7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-transform: lowercase;
  color: #fff;
}

.tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.15em;
  text-transform: lowercase;
}

/* --- Marquee --- */
.marquee-bar {
  overflow: hidden;
  white-space: nowrap;
  background: var(--fg);
  color: var(--bg);
  padding: 0.6rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.marquee-content {
  display: inline-block;
  animation: marquee 18s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Sections --- */
.section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--card-bg);
}

.section h2 {
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--muted);
}

/* --- Releases --- */
.releases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.release {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}

.release:hover {
  transform: translateY(-4px);
}

img.release-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border: 0;
  outline: 0;
}

.release-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
}

.release-title {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.release-year {
  color: var(--muted);
  font-size: 0.75rem;
}

/* --- Live --- */
.live-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.live-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--fg);
  border: 1px solid var(--accent);
}

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

.text-link {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.2s;
  width: fit-content;
}

.text-link:hover {
  color: var(--highlight);
}

/* --- About --- */
.about-content {
  max-width: 500px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.email-link {
  color: var(--muted);
  border-bottom: 1px solid var(--accent);
  cursor: pointer;
  transition: color 0.2s;
}

.email-link:hover {
  color: var(--fg);
}

/* --- Links --- */
.links-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.link-card {
  font-size: 0.9rem;
  text-transform: lowercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-card:hover {
  color: var(--muted);
}

/* --- Footer --- */
footer {
  border-top: 1px solid var(--accent);
  padding: 1.5rem 2rem;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.footer-hit-counter {
  font-family: var(--body);
  background: var(--card-bg);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--muted);
  font-size: 0.65rem;
}

/* --- Responsive --- */
@media (max-width: 640px) {
  nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    gap: 1.2rem;
    font-size: 0.7rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .releases {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .links-grid {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}
