/* ============================================
   Harlowe Crowley — The Lights Stay On
   Landing page stylesheet
   ============================================ */

:root {
  --bg: #0b0a08;
  --bg-raised: #15130f;
  --fg: #f7f1e3;
  --fg-muted: #a8a097;
  --fg-dim: #6e6860;
  --accent: #e6a857;         /* porch-light amber */
  --accent-soft: #8a6438;
  --rule: rgba(247, 241, 227, 0.12);
  --shadow: rgba(0, 0, 0, 0.6);

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 920px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(11, 10, 8, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  border: none;
}
.nav-brand:hover { border: none; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0; padding: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a { border: none; color: var(--fg-muted); }
.nav-links a:hover { color: var(--fg); }

@media (max-width: 700px) {
  .site-nav { padding: 0.75rem 1.25rem; }
  .nav-links { gap: 1rem; font-size: 0.75rem; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  /* Grid with place-items: center allows overflow-downward when content is taller than vh */
  display: grid;
  place-items: center;
  text-align: center;
  padding: 9rem 1.5rem 5rem;    /* more headroom below the sticky nav */
}
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Keep bg/overlay clipped to hero bounds without clipping content */
  clip-path: inset(0);
  z-index: 0;
}
.hero-bg {
  background-size: cover;
  background-position: center;
  filter: brightness(0.6) saturate(0.9);
}
.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(11, 10, 8, 0.55) 0%,
    rgba(11, 10, 8, 0.35) 40%,
    rgba(11, 10, 8, 0.85) 100%
  );
}
.hero-content {
  position: relative;
  max-width: 780px;
  z-index: 2;
}
.hero-cover {
  display: block;
  width: clamp(220px, 32vw, 360px);
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 0 2rem;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 4px 12px rgba(0,0,0,0.4);
}
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}
.hero-artist {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 1.08;             /* was 1 — too tight for Playfair Black, clipped ascenders */
  letter-spacing: 0.01em;
  margin: 0 0 0.5rem;
  padding-top: 0.1em;            /* extra top breathing room for heavy display faces */
  text-transform: uppercase;
  color: var(--fg);
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-style: italic;
  margin: 0 0 1.5rem;
  color: var(--fg);
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.hero-subtitle {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.hero-note {
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-top: 1.5rem;
}
.hero-note code {
  font-size: 0.85em;
  background: rgba(247,241,227,0.05);
  padding: 0.1em 0.4em;
  border-radius: 2px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 46px;
  border: 1.5px solid var(--fg-muted);
  border-radius: 14px;
  z-index: 2;
}
.scroll-indicator span {
  display: block;
  width: 2px; height: 8px;
  background: var(--fg-muted);
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { top: 8px; opacity: 1; }
  80% { top: 24px; opacity: 0; }
  100% { top: 8px; opacity: 0; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--fg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}
.btn-secondary {
  background: transparent;
  color: var(--fg);
}
.btn-secondary:hover {
  background: var(--fg);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border-color: var(--fg-dim);
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--fg-muted);
}

/* ===== SECTION BASE ===== */
.section {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--rule);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-heading {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.01em;
  margin: 0 0 0.5rem;
}
.section-sub {
  color: var(--fg-muted);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 3rem;
}

/* ===== ABOUT ===== */
.section-about {
  background: var(--bg);
  text-align: center;
}
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  line-height: 1.4;
  color: var(--fg);
  max-width: 780px;
  margin: 0 auto 3.5rem;
  position: relative;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 3em;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--accent);
  margin-right: 0.1em;
}
.about-body {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  color: var(--fg);
}
.about-body p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.4rem;
}
.about-body em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--fg);
}
.about-credit {
  margin-top: 3rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
}

/* ===== TRACKLIST ===== */
.section-tracks {
  background: var(--bg-raised);
}
.tracklist {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.track {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.track:hover { background: rgba(230, 168, 87, 0.04); }
.t-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--fg-dim);
  letter-spacing: 0.02em;
}
.t-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--fg);
}
.t-note {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 0.75rem;
  display: inline-block;
  padding: 0.1em 0.5em;
  border: 1px solid var(--accent-soft);
  border-radius: 2px;
  vertical-align: 0.15em;
}
.t-dur {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.track.featured .t-title { color: var(--accent); }
.track.featured .t-num { color: var(--accent); }

.act-break {
  display: block;
  padding: 2rem 0 1rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.act-break span {
  background: var(--bg-raised);
  padding: 0 1rem;
}

@media (max-width: 600px) {
  .track {
    grid-template-columns: 40px 1fr auto;
    gap: 0.75rem;
    padding: 1rem 0;
  }
  .t-num { font-size: 1.1rem; }
  .t-title { font-size: 1.02rem; }
  .t-note { display: block; margin: 0.25rem 0 0; vertical-align: 0; }
}

/* ===== PRESS ===== */
.section-press {
  background: var(--bg);
  text-align: center;
}
.press-empty {
  color: var(--fg-muted);
  font-size: 1.05rem;
}
.press-pitch {
  font-size: 0.95rem;
  margin-top: 2rem;
}
.press-pitch a {
  color: var(--accent);
  border-bottom-color: var(--accent-soft);
}

/* ===== CONNECT ===== */
.section-connect {
  background: var(--bg-raised);
  text-align: center;
}
.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 480px;
  margin: 2rem auto 3rem;
}
.signup input[type="email"] {
  flex: 1;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--fg-dim);
  color: var(--fg);
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  border-radius: var(--radius);
}
.signup input[type="email"]::placeholder { color: var(--fg-dim); }
.signup input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230,168,87,0.15);
}

.social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.social a { color: var(--fg-muted); border: none; }
.social a:hover { color: var(--accent); }

/* ===== FOOTER ===== */
.site-footer {
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.footer-credit {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}
.footer-credit em {
  font-style: italic;
  color: var(--fg-muted);
}
.footer-small {
  font-size: 0.8rem;
  color: var(--fg-dim);
  line-height: 1.7;
  margin: 0;
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
