/* ============================================================
   Patsy & Kathy — Brand Stylesheet
   Colors and fonts per the Patsy & Kathy Brand Kit
   ============================================================ */

:root {
  /* Primary palette */
  --cream: #F0EBDB;        /* Songbook Cream */
  --teal: #2E9E9C;         /* Patsy Teal */
  --pink: #EF5A6F;         /* Heartstring Pink */
  --yellow: #F7B32B;       /* Sunshine Yellow */
  --navy: #30395B;         /* Storybook Navy */
  /* Supporting palette */
  --sky: #5B9BD9;
  --green: #58B368;
  --coral: #F2803B;
  --plum: #8E3B6E;
  --lavender: #9B7EC8;

  --font-head: 'Fredoka', 'Baloo 2', sans-serif;
  --font-body: 'Quicksand', 'Nunito', sans-serif;
  --font-script: 'Pacifico', 'Caveat', cursive;
}

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); }

/* ---------- Header ---------- */
header {
  background: var(--cream);
  border-bottom: 3px solid var(--teal);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
}

.brand-wordmark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-script);
  font-size: 2.3rem;
  color: var(--teal);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .brand-wordmark { display: none; }
}

.brand {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--teal);
  text-decoration: none;
  line-height: 1.2;
}

nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }

nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
}

nav a:hover, nav a.active { color: var(--pink); }

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  text-decoration: none;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover { transform: scale(1.05); opacity: 0.92; }

.btn-pink  { background: var(--pink);  color: #fff; }
.btn-teal  { background: var(--teal);  color: #fff; }
.btn-yellow{ background: var(--yellow); color: var(--navy); }
.btn-navy  { background: var(--navy);  color: #fff; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 2.5rem 1.25rem 2rem;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.12;
  color: var(--navy);
}

.hero .tagline {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: var(--teal);
  margin-top: 0.9rem;
}

.hero p.lead { margin-top: 1.3rem; font-size: 1.15rem; }

.hero .actions { margin-top: 2rem; display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 3rem 1.25rem; }
.inner { max-width: 1080px; margin: 0 auto; }
.inner-narrow { max-width: 760px; margin: 0 auto; }

h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.8rem;
}

.section-sub { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }

.band-white { background: #fff; }
.band-teal { background: var(--teal); color: #fff; }
.band-teal h2 { color: #fff; }

/* ---------- Platform pills ---------- */
.platforms {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.platform-pill {
  font-family: var(--font-head);
  font-weight: 500;
  background: #fff;
  color: var(--navy);
  border: 2.5px solid var(--navy);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.platform-logo {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.platform-pill:hover { transform: scale(1.05); background: var(--yellow); }

.band-teal .platform-pill { border-color: #fff; }

/* ---------- Song grid ---------- */
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.1rem;
}

.song-card {
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(48, 57, 91, 0.12);
}

.song-card:hover { transform: translateY(-4px) rotate(-0.5deg); }

.song-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.song-card .song-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
}

.song-card .song-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
}

.song-card .song-note { font-size: 0.92rem; opacity: 0.92; }

.bg-teal { background: var(--teal); }
.bg-pink { background: var(--pink); }
.bg-sky { background: var(--sky); }
.bg-green { background: var(--green); }
.bg-coral { background: var(--coral); }
.bg-plum { background: var(--plum); }
.bg-lavender { background: var(--lavender); }
.bg-navy { background: var(--navy); }
.bg-yellow { background: var(--yellow); color: var(--navy); }

/* ---------- Video embeds ---------- */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(48, 57, 91, 0.18);
  background: var(--navy);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-link { display: block; }

.video-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.video-link:hover img { transform: scale(1.03); }

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  box-shadow: 0 6px 18px rgba(48, 57, 91, 0.35);
}

/* ---------- About page ---------- */
.about-copy p { margin-bottom: 1.2rem; }

.values-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}

.value-chip {
  background: #fff;
  border-radius: 18px;
  padding: 1.3rem 1.1rem;
  text-align: center;
}

.value-chip .emoji { font-size: 2rem; }

.value-chip h3 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--teal);
  margin: 0.4rem 0 0.3rem;
}

/* ---------- Footer ---------- */
footer { background: var(--navy); color: var(--cream); }

.footer-coffee {
  text-align: center;
  padding: 3rem 1.25rem 2.4rem;
  border-bottom: 1px solid rgba(240, 235, 219, 0.25);
}

.footer-coffee h2 { color: var(--cream); }

.footer-coffee p { max-width: 560px; margin: 0.6rem auto 1.4rem; }

.footer-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-main .brand { color: var(--yellow); }

.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.footer-links a { color: var(--cream); text-decoration: none; font-family: var(--font-head); font-weight: 400; }
.footer-links a:hover { color: var(--yellow); }

.footer-tag {
  text-align: center;
  padding: 0 1.25rem 1.8rem;
  font-family: var(--font-script);
  color: var(--yellow);
  font-size: 1.15rem;
}

.footer-copy { text-align: center; font-size: 0.85rem; opacity: 0.7; padding-bottom: 1.5rem; }

@media (max-width: 560px) {
  .header-inner { justify-content: center; }
  .footer-main { justify-content: center; text-align: center; }
}

/* ---------- Header logo ---------- */
.brand-logo {
  height: 96px;
  width: auto;
  border-radius: 18px;
  display: block;
}

@media (max-width: 560px) {
  .brand-logo { height: 72px; }
}
