@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces-500i.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/source-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/source-serif-600.woff2") format("woff2");
}

:root {
  --indigo: #1f2a4d;
  --indigo-deep: #141b33;
  --cream: #f3ead3;
  --paper: #f7f1e4;
  --ochre: #c9962b;
  --ochre-soft: #e4c57a;
  --ochre-ink: #6d4d12;
  --serif: "Fraunces", Palatino, "Palatino Linotype", Georgia, serif;
  --body: "Source Serif 4", Palatino, "Palatino Linotype", Georgia, serif;
  --wrap: 68rem;
}

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

html { scroll-behavior: smooth; color-scheme: light; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--indigo);
  background-color: var(--cream);
  background-image: url("/assets/noise-dark.png");
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, .brand-name, .tagline, .button, .footer-brand, .premiere {
  font-family: var(--serif);
  font-weight: 500;
}

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

h1 {
  font-size: clamp(2.5rem, 10.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

h2 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

a { color: inherit; }
a:hover { color: var(--ochre-ink); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 0.75rem; top: 0.75rem; z-index: 30;
  transform: translateY(-150%);
  background: var(--cream); color: var(--indigo);
  padding: 0.6rem 0.9rem; border: 2px solid var(--indigo); text-decoration: none;
}
.skip:focus { transform: none; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--ochre-soft);
  outline-offset: 3px;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 40rem); }

.kicker {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-ink);
}

.lede { max-width: 34rem; margin-bottom: 0; font-size: 1.08rem; }

section { padding: 3rem 0; scroll-margin-top: 1rem; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 1rem;
  background-color: var(--cream);
  background-image: url("/assets/noise-dark.png");
  border-bottom: 1px solid rgba(31, 42, 77, 0.25);
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  min-height: 48px; color: var(--indigo); text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand-name { font-size: 1.1rem; line-height: 1.1; white-space: nowrap; }
.nav { display: flex; gap: 0.25rem; }
.nav a {
  display: inline-flex; align-items: center;
  min-height: 48px; padding: 0 0.55rem;
  text-decoration: none; font-family: var(--serif); font-weight: 500;
}
.nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* Hero */
.hero {
  padding: 0;
  background-color: var(--indigo);
  background-image: url("/assets/noise-light.png");
  color: var(--cream);
}
.hero-art { margin: 0; }
.hero-art img { width: 100%; height: 34vh; max-height: 240px; min-height: 160px; object-fit: cover; object-position: 50% 45%; }
.hero-copy { width: min(100% - 2.5rem, 36rem); margin: 0 auto; padding: 1.4rem 0 2.25rem; }
.hero .kicker, .hero .tagline { color: var(--ochre); }
.tagline {
  font-style: italic;
  font-size: clamp(1.3rem, 4.5vw, 1.85rem);
  line-height: 1.2;
  margin: 0.2rem 0 0.8rem;
}
.mission { font-size: 1.08rem; line-height: 1.5; margin-bottom: 1.25rem; max-width: 32rem; }

.cta-row { display: flex; flex-direction: column; gap: 0.85rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
  line-height: 1.15;
  text-decoration: none;
  border: 2px solid var(--indigo-deep);
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.button-primary {
  background: var(--ochre);
  color: var(--indigo-deep);
  box-shadow: 4px 4px 0 var(--indigo-deep);
}
.button-primary:hover { background: #d7a53a; color: var(--indigo-deep); transform: translate(-1px, -1px); }
.hero .button-primary { border-color: var(--ochre); box-shadow: 4px 4px 0 #0c1122; }
.button-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 234, 211, 0.6);
}
.button-ghost:hover { color: var(--indigo-deep); background: var(--cream); border-color: var(--cream); }
.hero-note { margin: 0.8rem 0 0; font-size: 0.92rem; color: var(--ochre-soft); }

/* Songs */
.section-head { margin-bottom: 1.5rem; }
.songs-band {
  background-color: #e5d7b4;
  background-image: url("/assets/noise-dark.png");
  border-top: 3px solid var(--ochre);
  border-bottom: 1px solid rgba(31, 42, 77, 0.25);
}
.songs-band .section-head {
  padding-bottom: 1.1rem;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid rgba(31, 42, 77, 0.25);
}
.songs {
  --gap: 1.75rem;
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap);
}
.song {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  background: #fffaf0;
  border: 2px solid var(--indigo);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--indigo);
}
.song-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 2px solid var(--indigo); }
.song-body { display: flex; flex-direction: column; flex: 1; padding: 0.9rem 1rem 0.9rem; }
.song-meta {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 0 0 0.45rem;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ochre-ink);
}
.song-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.1rem; height: 2.1rem; padding: 0 0.35rem;
  border-radius: 50%;
  background: var(--indigo); color: var(--ochre-soft);
  font-family: var(--serif); font-weight: 600; font-size: 0.95rem; letter-spacing: 0;
}
.song-title { font-size: 1.4rem; line-height: 1.2; margin-bottom: 0.9rem; color: var(--indigo-deep); }
.song-action { margin-top: auto; }
.song .watch { width: 100%; }
.premiere {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; padding: 0.7rem 1rem;
  font-size: 1.1rem;
  color: var(--indigo);
  background: rgba(201, 150, 43, 0.12);
  border: 2px dashed rgba(31, 42, 77, 0.45);
}
.guide-link {
  display: inline-block; align-self: center;
  padding: 0.6rem 0.5rem 0.2rem; margin-top: 0.25rem;
  font-size: 0.98rem; color: var(--indigo);
  text-underline-offset: 0.2em; text-decoration-color: rgba(31, 42, 77, 0.4);
}

/* About */
.about {
  background: rgba(31, 42, 77, 0.05);
  border-top: 1px solid rgba(31, 42, 77, 0.12);
}
.about h2 { margin-bottom: 1rem; }
.about p { font-size: 1.1rem; }
.verse {
  margin: 1.25rem 0 1.4rem;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 3px solid var(--ochre);
}
.verse p {
  margin: 0 0 0.3rem;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.3rem; line-height: 1.35;
}
.verse footer {
  font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ochre-ink);
}


/* Footer */
.site-footer {
  background-color: var(--indigo-deep);
  color: var(--cream);
  padding: 2.25rem 0 2.5rem;
  text-align: center;
}
.social-icons {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: flex; flex-wrap: nowrap; justify-content: center; gap: 0.5rem;
}
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); color: var(--indigo);
  border: 2px solid var(--ochre);
  text-decoration: none;
}
.site-footer .social-icon, .site-footer .social-icon:visited { color: var(--indigo); }
.site-footer .social-icon:hover, .site-footer .social-icon:focus-visible { background: var(--ochre-soft); color: var(--indigo-deep); }
.social-icon svg { width: 20px; height: 20px; }
@media (min-width: 600px) {
  .social-icons { gap: 0.8rem; }
  .social-icon { width: 52px; height: 52px; }
  .social-icon svg { width: 24px; height: 24px; }
}
.social-icon[aria-disabled="true"] { opacity: 0.35; cursor: default; pointer-events: none; }
.footer-brand { font-size: 1.35rem; margin: 0; }
.site-footer .tagline { color: var(--ochre); font-size: 1.15rem; margin: 0 0 0.5rem; }
.email-line { margin-bottom: 1rem; }
.site-footer a { color: var(--ochre-soft); }
.site-footer a:visited { color: var(--ochre-soft); }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--cream); }
.email-line a { font-size: 1.05rem; text-underline-offset: 0.2em; }
.fine { max-width: 36rem; margin: 0 auto 0.5rem; font-size: 0.88rem; color: rgba(243, 234, 211, 0.75); }

/* 404 page */
.missing { padding: 4rem 0 5rem; }
.missing h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }

@media (min-width: 600px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .song { flex-basis: calc((100% - var(--gap)) / 2); }
}

@media (min-width: 960px) {
  section { padding: 5rem 0; }
  .story { padding: 5rem 0; }
  .section-head { margin-bottom: 2rem; }
  .hero-art img { height: auto; max-height: none; min-height: 0; }
  .mission { font-size: 1.15rem; }
  .site-header { padding: 0.6rem 2.5rem; }
  .hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    width: min(100% - 5rem, 76rem);
    margin: 0 auto;
    padding: 3rem 0;
  }
  .hero-art { order: 2; }
  .hero-art img { border: 1.5px solid rgba(228, 197, 122, 0.5); }
  .hero-copy { width: auto; padding: 0; }
  .songs { --gap: 1.75rem; }
  .song { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button-primary:hover { transform: none; }
}

/* Our Story page */
.story { padding: 3rem 0 5rem; }
.story h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin-bottom: 1rem;
}
.story h2 {
  font-size: clamp(1.45rem, 3.6vw, 1.85rem);
  line-height: 1.15;
  margin: 2.4rem 0 0.85rem;
}
.story p { font-size: 1.1rem; }
.story .back-link { margin-top: 2.5rem; }
.story .back-link a {
  font-family: var(--serif);
  font-weight: 500;
  text-underline-offset: 0.2em;
}

/* Homepage link to the full story */
.about .story-link { margin: 1.6rem 0 0; }
.about .story-link a {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--ochre);
}
