/* johngnazzo.com — shared styles */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #1f1f1f;
  --muted: #5f5f5f;
  --line: #e2ddd3;
  --accent: #9a3b26;
  --frame: #000000;
  --maxw: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15161a;
    --surface: #1f2026;
    --text: #ececec;
    --muted: #a3a3a3;
    --line: #33343c;
    --accent: #e0876f;
    --frame: #d0d0d0;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

/* Header / nav */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.site-header .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.brand {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--text);
  text-decoration: none;
}
.nav { display: flex; gap: 20px; }
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { border-color: var(--accent); }

/* Layout */
main { max-width: var(--maxw); margin: 0 auto; padding: 32px 16px 64px; }
.hero { padding: 40px 0 24px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin: 0 0 8px; }
.hero p { color: var(--muted); font-size: 1.15rem; margin: 0; max-width: 640px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
}
.card h2, .card h3 { margin-top: 0; }
.card p { color: var(--muted); }
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.button.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* Artist jump links */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
  padding: 0;
  list-style: none;
}
.jump a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}
.jump a:hover { border-color: var(--accent); }

/* Artist sections */
.artist {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--artist, var(--accent));
  border-radius: 10px;
  padding: 24px;
  margin-top: 28px;
  scroll-margin-top: 16px;
}
.artist h2 { margin: 0 0 4px; }
.artist .genre {
  color: var(--artist, var(--accent));
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.artist ul.tracks { padding-left: 20px; margin: 8px 0 16px; }
.artist ul.tracks li { margin: 2px 0; }
.links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Books */
.book { display: flex; flex-direction: column; }
.book .cover {
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: bold;
  background: var(--cover, #555);
}
.book .meta { font-size: 0.85rem; color: var(--muted); margin: 0 0 8px; }
.book .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--line);
  color: var(--text);
  margin-bottom: 8px;
}
.book .links { margin-top: auto; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 24px 16px;
}

/* Song grid (per-song cards) */
.artist .count { font-weight: normal; color: var(--muted); font-size: 0.9rem; }
.song-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.song {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}
.song img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--line);
}
.song h4 {
  font-family: Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.25;
  margin: 10px 0 2px;
}
.song-meta { font-size: 0.78rem; color: var(--muted); margin: 0 0 10px; }
.song-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.sl {
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
}
.sl.apple { background: #fa2d48; }
.sl.itunes { background: #8e44ad; }
.sl.spotify { background: #1db954; color: #000; }
.sl:hover { filter: brightness(1.1); }

/* Minnesota Bob page: image left, info + link buttons right */
.crumb { font-size: 0.9rem; color: var(--muted); margin: 0; }
.crumb a { text-decoration: none; }
.song-section { margin-top: 40px; scroll-margin-top: 16px; }
.song-section h2 { margin: 0 0 4px; border-bottom: 2px solid #b5651d; padding-bottom: 6px; }
.section-intro { color: var(--muted); margin: 8px 0 16px; }
.song-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.song-row {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}
.song-row img {
  width: 110px;
  height: 110px;
  flex: 0 0 110px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--line);
}
.song-info { min-width: 0; display: flex; flex-direction: column; }
.song-info h3 {
  font-size: 1rem;
  line-height: 1.25;
  margin: 0 0 2px;
}
.song-info .song-meta { margin: 0 0 10px; }
.song-info .sl { font-size: 0.8rem; padding: 6px 12px; }
@media (max-width: 400px) {
  .song-list { grid-template-columns: 1fr; }
  .song-row img { width: 88px; height: 88px; flex-basis: 88px; }
}
.explicit {
  display: inline-block;
  font-family: sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--muted);
  color: var(--bg);
  border-radius: 3px;
  padding: 0 4px;
  vertical-align: middle;
}

/* Children's songs subgroups */
.subsection { margin-top: 24px; scroll-margin-top: 16px; }
.sub-title {
  font-size: 1.2rem;
  margin: 0 0 4px;
  padding-left: 10px;
  border-left: 4px solid #b5651d;
}
.subsection .section-intro { margin: 4px 0 12px; }
.subsection > .song-list { margin-top: 12px; }

/* Stacked song cards: title, image, buttons, then space */
.song-section .song-list,
.subsection .song-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.song-card {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;          /* centers title, image and buttons */
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--frame);   /* thin black frame */
  border-radius: 12px;
  padding: 24px 20px 28px;
  margin-bottom: 48px;          /* space before the next song */
}
.song-card h3 {
  width: 100%;
  max-width: 320px;
  font-size: 1.344rem;          /* 12% bigger than 1.2rem */
  line-height: 1.3;
  text-align: center;
  margin: 0 auto 14px;
}
.song-card img {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px;
  background: var(--line);
}
.song-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 0 auto;
}
.song-btn {
  font: inherit;
  font-weight: 700;
  font-size: 0.944rem;          /* scaled down 8% to fit */
  padding: 4.69px 11.91px;      /* button 8% smaller overall */
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.05s;
}
.song-btn:hover { filter: brightness(1.08); }
.song-btn:active { transform: translateY(1px); }
.song-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.song-btn.spotify { background: #1db954; color: #000; }
.song-btn.itunes { background: #8e44ad; color: #fff; }

/* Artist song pages */
.song-section[style*="--artist-line"] h2 { border-bottom-color: var(--artist-line); }
.song-list .loading { color: var(--muted); text-align: center; padding: 40px 0; }

/* Book panels (same frame/buttons as song panels) */
.book-card img {
  aspect-ratio: auto;
  width: auto;
  max-width: 240px;
  max-height: 360px;
  height: auto;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.cover-placeholder {
  width: 240px;
  max-width: 100%;
  aspect-ratio: 2 / 3;
  margin: 0 auto 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: bold;
  background: var(--cover, #555);
}
.book-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: -6px 0 10px;
}
.book-desc {
  text-align: left;
  max-width: 340px;
  margin: 0 auto 18px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.coming-soon {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--line);
  margin: 0;
}
.song-btn.kindle { background: #ff9900; color: #111; }
.song-btn.paperback { background: #232f3e; color: #fff; }
.song-btn.hardcover { background: #146eb4; color: #fff; }

/* Keep both song buttons the same width */
.song-btn {
  width: 150px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

/* =========================================================
   2026-11 modern refresh: fonts, sticky menu, page heroes,
   homepage hero, about photo, card grid
   ========================================================= */
:root { --maxw: 1200px; --display: "Fraunces", Georgia, serif; --body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body { font-family: var(--body); }
h1, h2, h3, .brand, .song-card h3, .sub-title, .cover-placeholder { font-family: var(--display); letter-spacing: -0.01em; }
h1 { font-weight: 800; }
h2, h3 { font-weight: 700; }

/* ---- Sticky header + mobile menu ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.brand { font-size: 1.45rem; font-weight: 800; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); font-size: 1.4rem; line-height: 1; padding: 6px 10px; cursor: pointer;
}
@media (max-width: 700px) {
  .site-header .inner { flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; padding: 8px 0 4px; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
  .nav a.active { border-color: var(--line); border-left-color: var(--accent); padding-left: 10px; }
  .site-header.open .nav { display: flex; }
}

/* ---- Full-width page hero (artist, music, books pages) ---- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  --hero-color: #1f2a44;
  background: var(--hero-color);
}
.page-hero::before {
  content: ""; position: absolute; inset: -20px;
  background-image: var(--hero-img, none); background-size: cover; background-position: center;
  filter: blur(6px); transform: scale(1.08); opacity: 0.9;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg,
    color-mix(in srgb, var(--hero-color) 92%, #000) 0%,
    color-mix(in srgb, var(--hero-color) 78%, transparent) 55%,
    color-mix(in srgb, var(--hero-color) 55%, transparent) 100%);
}
.page-hero .hero-inner {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: 56px 16px 64px; display: flex; gap: 32px; align-items: center; justify-content: space-between;
}
.page-hero .hero-text { max-width: 640px; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 4px 0 10px; color: #fff; }
.page-hero p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin: 0; }
.page-hero .crumb, .page-hero .crumb a { color: rgba(255,255,255,0.8); }
.page-hero .eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 6px;
}
.page-hero .button { background: #fff; color: var(--hero-color); }
.page-hero .button.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.8); }
.page-hero .jump a { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: #fff; }
.page-hero .jump a:hover { background: rgba(255,255,255,0.22); }
.page-hero .hero-art {
  width: 220px; flex: 0 0 220px; aspect-ratio: 1 / 1; border-radius: 12px; object-fit: cover;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45); background: rgba(255,255,255,0.1);
}
.page-hero .hero-art:not([src]), .page-hero .hero-art[src=""] { visibility: hidden; }
.page-hero.curve { padding-bottom: 28px; }
.page-hero.curve .hero-curve {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; z-index: 1;
  background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
@media (max-width: 700px) {
  .page-hero .hero-inner { flex-direction: column; align-items: flex-start; padding: 36px 16px 48px; }
  .page-hero .hero-art { width: 150px; flex-basis: 150px; }
}
main > .crumb:first-child { display: none; }

/* ---- Homepage hero ---- */
.home-hero { --hero-color: #14213d; }
.home-hero .collage {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; opacity: 0.55;
}
.home-hero .collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-hero::before { display: none; }
.home-hero .hero-inner { padding: 72px 16px 84px; }
.home-hero h1 { font-size: clamp(2.3rem, 6.5vw, 4rem); line-height: 1.05; }
.featured {
  position: relative; z-index: 1; flex: 0 0 360px; width: 360px;
  background: rgba(255,255,255,0.96); color: #1f1f1f; border-radius: 16px; padding: 20px;
  text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.featured .tag {
  display: inline-block; background: #e63946; color: #fff; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.featured img { width: 170px; margin: 0 auto 12px; border-radius: 6px; box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.featured h2 { font-size: 1.15rem; margin: 0 0 4px; color: #1f1f1f; }
.featured .meta { font-size: 0.85rem; color: #666; margin: 0 0 14px; }
.featured .song-buttons { flex-direction: row; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 860px) {
  .home-hero .hero-inner { flex-direction: column; align-items: flex-start; }
  .featured { width: 100%; max-width: 360px; flex-basis: auto; align-self: center; }
  .home-hero .collage { grid-template-columns: repeat(3, 1fr); }
}

/* ---- About / photo ---- */
.about {
  display: flex; gap: 36px; align-items: center; margin: 56px auto 8px; max-width: 900px;
}
.about .portrait {
  width: 200px; height: 200px; flex: 0 0 200px; border-radius: 50%; object-fit: cover;
  border: 5px solid var(--surface); box-shadow: 0 0 0 3px var(--accent), 0 12px 30px rgba(0,0,0,0.2);
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 4rem; font-weight: 800;
}
.about h2 { margin: 0 0 8px; font-size: 1.8rem; }
.about p { color: var(--muted); margin: 0 0 10px; }
@media (max-width: 700px) {
  .about { flex-direction: column; text-align: center; }
  .about .portrait { width: 160px; height: 160px; flex-basis: 160px; font-size: 3.2rem; }
}

/* ---- Card grid: 1 column on phones, 2-3 on wider screens ---- */
.song-section .song-list,
.subsection .song-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 28px;
  align-items: stretch;
}
.song-card { max-width: none; margin-bottom: 0; transition: transform 0.15s, box-shadow 0.15s; }
.song-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.song-card .song-buttons { margin-top: auto; }
.song-section .song-list .loading { grid-column: 1 / -1; }
.cards .card { transition: transform 0.15s, box-shadow 0.15s; }
.cards .card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
@media (prefers-reduced-motion: reduce) {
  .song-card, .cards .card { transition: none; }
  .song-card:hover, .cards .card:hover { transform: none; }
}
.page-hero .hero-art.book-art { aspect-ratio: auto; height: auto; object-fit: contain; width: 190px; flex-basis: 190px; }

/* =========================================================
   Motion, dividers and dark music pages
   ========================================================= */
html, body { overflow-x: clip; }

/* ---- Dark look (music pages use <html class="theme-dark">) ---- */
:root { --frame: #000000; }
@media (prefers-color-scheme: dark) { :root { --frame: rgba(255,255,255,0.22); } }
html.theme-dark {
  --bg: #111217;
  --surface: #1b1c23;
  --text: #ececec;
  --muted: #a6a6ad;
  --line: #2f3039;
  --accent: #e8896f;
  --frame: rgba(255,255,255,0.22);
  color-scheme: dark;
}
html.theme-dark .song-card:hover,
html.theme-dark .cards .card:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.55); }
html.theme-dark .site-header { box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 6px 18px rgba(0,0,0,0.35); }

/* ---- Fade-in on scroll (only when the visitor allows motion) ---- */
html.motion-ok .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.motion-ok .reveal.in-view { opacity: 1; transform: none; }
.song-card:hover, .cards .card:hover, .artist:hover { transform: translateY(-4px); }
.artist { transition: transform 0.15s, box-shadow 0.15s; }
.artist:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
@media (prefers-reduced-motion: reduce) {
  .artist, .song-card, .cards .card { transition: none !important; }
  .song-card:hover, .cards .card:hover, .artist:hover { transform: none !important; }
}

/* ---- Softer header edge (no flat line) ---- */
.site-header { border-bottom: none; box-shadow: 0 6px 18px rgba(0,0,0,0.08); }

/* ---- Section headings: angled accent bar instead of a flat underline ---- */
.song-section > h2 {
  border-bottom: none !important;
  position: relative;
  padding-bottom: 14px;
}
.song-section > h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 130px; height: 6px;
  background: var(--artist-line, var(--accent));
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  border-radius: 3px 0 0 3px;
}

/* ---- Angled divider between sections ---- */
.song-section + .song-section { position: relative; padding-top: 72px; }
.song-section + .song-section::before {
  content: ""; position: absolute; top: 4px; left: 50%;
  width: 100vw; height: 46px; transform: translateX(-50%);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--artist-line, var(--accent)) 35%, transparent),
    color-mix(in srgb, var(--artist-line, var(--accent)) 10%, transparent));
  clip-path: polygon(0 70%, 100% 0, 100% 30%, 0 100%);
}

/* ---- Curved footer instead of a flat top line ---- */
.site-footer {
  position: relative; border-top: none; margin-top: 70px;
  background: var(--surface); padding: 28px 16px 32px;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px;
  background: var(--surface);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ---- Email signup band ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup { padding: 64px 16px 20px; }
.signup-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #000));
  color: #fff; border-radius: 20px; padding: 40px 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.signup h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 4vw, 2rem); color: #fff; }
.signup p { margin: 0 0 20px; color: rgba(255,255,255,0.9); }
.signup-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.signup-form input {
  flex: 1 1 240px; min-width: 0; font: inherit; padding: 12px 16px; border-radius: 10px;
  border: 2px solid transparent; background: #fff; color: #1f1f1f;
}
.signup-form input:focus { outline: none; border-color: #ffd166; }
.signup-form button {
  font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 10px; border: 0; cursor: pointer;
  background: #1f1f1f; color: #fff;
}
.signup-form button:hover { background: #000; }
.signup .signup-msg { margin: 14px 0 0; min-height: 1.5em; font-weight: 600; }

/* ---- Footer social icons ---- */
.socials { display: flex; justify-content: center; gap: 14px; margin: 0 0 14px; }
.social {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  transition: transform 0.15s, background 0.15s, color 0.15s;
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover { transform: translateY(-2px); color: #fff; }
.social.spotify:hover { background: #1db954; }
.social.youtube:hover { background: #ff0000; }
.social.applemusic:hover { background: #fa243c; }
.social.amazon:hover { background: #ff9900; color: #111; }
.social.instagram:hover { background: #e1306c; }
.site-footer p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .social { transition: none; } .social:hover { transform: none; } }

/* ---- Clickable featured cover in page headers ---- */
.hero-art-link {
  position: relative; display: block; flex: 0 0 220px; width: 220px; border-radius: 12px;
  color: #fff; text-decoration: none; transition: transform 0.15s;
}
.hero-art-link .hero-art { width: 100%; flex: none; display: block; }
.hero-art-link:hover { transform: translateY(-4px) scale(1.02); }
.hero-art-link:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.hero-art-label {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  background: rgba(0,0,0,0.65); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-size: 0.8rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 700px) { .hero-art-link { width: 170px; flex-basis: 170px; } }
@media (prefers-reduced-motion: reduce) { .hero-art-link { transition: none; } .hero-art-link:hover { transform: none; } }

/* ---- Highlight the song you jumped to ---- */
.song-card { scroll-margin-top: 90px; }
.song-card.spotlight { animation: spotlight 2.6s ease; }
@keyframes spotlight {
  0%, 60% { box-shadow: 0 0 0 4px var(--accent), 0 0 30px 6px color-mix(in srgb, var(--accent) 55%, transparent); }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .song-card.spotlight { animation: none; outline: 4px solid var(--accent); outline-offset: 2px; }
}

/* ---- Keep jump targets clear of the sticky menu bar ---- */
.artist, .song-section, .subsection, .about, #signup { scroll-margin-top: 90px; }

/* ---- Homepage headline: name line + tagline ---- */
.home-hero h1 .h1-name {
  display: block; font-size: 0.52em; line-height: 1.1; margin-bottom: 10px;
  color: rgba(255,255,255,0.92); letter-spacing: 0;
}

/* ---- Homepage: two featured cards (book + song) ---- */
.featured-stack {
  position: relative; z-index: 1; flex: 0 0 400px; width: 400px;
  display: flex; flex-direction: column; gap: 16px;
}
.feature {
  display: flex; gap: 16px; align-items: center;
  background: rgba(255,255,255,0.96); color: #1f1f1f; border-radius: 16px; padding: 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.4); transition: transform 0.15s;
}
.feature:hover { transform: translateY(-3px); }
.feature-art { flex: 0 0 110px; display: block; }
.feature-art img {
  width: 110px; height: 110px; object-fit: cover; border-radius: 8px; display: block;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25); background: #ddd;
}
.feature-art img.book { height: auto; aspect-ratio: 2 / 3; width: 84px; margin: 0 auto; }
.feature-body { min-width: 0; text-align: left; }
.feature .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; color: #fff;
}
.feature .tag.book { background: #e63946; }
.feature .tag.song { background: #1db954; color: #062b14; }
.feature h2 { font-size: 1.25rem; margin: 0 0 2px; color: #1f1f1f; }
.feature .meta { font-size: 0.85rem; color: #555; margin: 0 0 10px; }
.feature .feature-btn { width: auto; padding: 7px 16px; }
.feature-alt { display: block; margin-top: 6px; font-size: 0.8rem; color: #555; }
@media (max-width: 860px) {
  .featured-stack { width: 100%; max-width: 440px; flex-basis: auto; align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .feature { transition: none; } .feature:hover { transform: none; } }
