/* ===== "What I Love" page ===== */
html {
  scroll-behavior: smooth;
}

body.love-page {
  --text-strong: #3a2f14;
  --text-primary: rgba(58, 47, 20, 0.75);
  background: radial-gradient(120% 60% at 50% 0%, rgba(239, 239, 239, 0.5) 0%, rgba(239, 239, 239, 0) 60%), var(--color-love-bg);
  background-attachment: fixed;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 2.75rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 2.75rem auto 0;
  max-width: 1000px;
  width: calc(100% - 3rem);
  padding: 1rem 2rem;
  border-radius: 1.25rem;
  background: #EFEFEFE6;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.navbar.is-scrolled {
  background: #EFEFEF99;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text-strong);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-strong);
  border-bottom-color: var(--color-build-bg);
}

/* ===== Sections ===== */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  scroll-margin-top: 6rem;
}

.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-strong);
  margin-bottom: 0.75rem;
}

.section p {
  color: var(--text-primary);
  max-width: 40ch;
}

.subsection-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  min-height: calc(100vh - 9rem);
}

.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  color: var(--text-strong);
  max-width: 22ch;
  line-height: 1.3;
}

/* ===== What I'm Into ===== */
.into-section {
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.into-section > h2 {
  text-align: center;
}

.interest-group {
  margin-top: 3.5rem;
}

.interest-group .subsection-label {
  text-align: left;
  margin-bottom: 1.5rem;
}

.poster-grid {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x proximity;
}

.poster-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 210px;
  aspect-ratio: 2 / 3;
  border-radius: 0.75rem;
  background: rgba(239, 239, 239, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-card--square {
  aspect-ratio: 1 / 1;
  width: 100%;
}

.song-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 210px;
}

.song-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-strong);
  text-align: center;
}

.poster-placeholder {
  color: var(--text-primary);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.poster-grid::-webkit-scrollbar {
  height: 6px;
}

.poster-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

/* ===== Things I Create ===== */
.create-section {
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.create-section > h2 {
  text-align: center;
}

.create-grid {
  margin-top: 3rem;
  columns: 3;
  column-gap: 1.75rem;
}

.create-card {
  break-inside: avoid;
  margin-bottom: 1.75rem;
  border-radius: 1rem;
  overflow: hidden;
}

.create-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.create-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 239, 239, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.create-tag {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

/* ===== Find Me Elsewhere ===== */
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-hero-link {
  display: inline-block;
  font-size: clamp(1.75rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--text-strong);
  text-decoration: none;
  word-break: break-word;
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s ease;
}

.contact-hero-link:hover {
  border-bottom-color: var(--color-build-bg);
}

.contact-secondary {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.5rem;
}

.contact-secondary a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-secondary svg {
  flex-shrink: 0;
}

.contact-secondary a:hover {
  color: var(--text-strong);
  border-bottom-color: var(--color-build-bg);
}

/* ===== Beyond the Canvas ===== */
.beyond-text {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-primary);
  max-width: 40ch;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.beyond-link {
  display: inline-block;
  padding: 1rem 2.25rem;
  border-radius: 2rem;
  background: var(--color-build-bg);
  color: var(--text-strong);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.beyond-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    width: calc(100% - 2rem);
  }

  .nav-links {
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .create-grid {
    columns: 2;
  }
}
