/*
Theme Name: Eric Goode Artist
Theme URI: https://ericgoode.dev/
Author: Eric Goode
Description: Custom one-page WordPress artist theme for Eric Goode, featuring music, radio airplay, bio, and contact sections.
Version: 2.0.1
Text Domain: eric-goode-artist
*/

:root {
  --bg: #24150f;
  --paper: #f4efe6;
  --ink: #181511;
  --muted: #b8afa3;
  --amber: #d88b39;
  --amber2: #f1bc72;
  --line: rgba(255,255,255,.12);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background-color: #130c09; background-image:
  linear-gradient(rgba(16,8,5,.08), rgba(16,8,5,.08)),
  url('assets/site-leather-background.jpg');
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
  color: #f7f3ec; font-family: Inter, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - var(--max))/2)); background: linear-gradient(to bottom, rgba(12,10,8,.92), rgba(12,10,8,.45), transparent); backdrop-filter: blur(4px); }
.brand, .footer-brand { font-family: Oswald, sans-serif; font-weight: 700; letter-spacing: .12em; }
.brand { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand span { font-size: 17px; }
.brand small { font-family: Inter, system-ui, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--amber2); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.nav a:not(.nav-cta) { opacity: .82; }
.nav a:hover { opacity: 1; }
.nav-cta { padding: 10px 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.menu { display: none; color: white; background: none; border: 0; font-size: 25px; }
.hero { min-height: 94vh; position: relative; display: grid; align-items: end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-position: center 44%; background-size: cover; background-repeat: no-repeat; transform: scale(1.035); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,7,6,.92) 0%, rgba(8,7,6,.64) 40%, rgba(8,7,6,.18) 72%), linear-gradient(0deg, #24150f 0%, transparent 35%); }
.hero-content { position: relative; width: min(var(--max), calc(100% - 48px)); margin: 0 auto 11vh; max-width: 780px; margin-left: max(24px, calc((100vw - var(--max))/2)); }
.eyebrow { margin: 0 0 14px; color: var(--amber2); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 22px; font-family: Oswald, sans-serif; text-transform: uppercase; font-size: clamp(54px, 8vw, 104px); line-height: .91; letter-spacing: -.035em; max-width: 900px; }
h1 em { font-family: 'Playfair Display', serif; text-transform: none; font-weight: 600; color: var(--amber2); letter-spacing: -.02em; }
.lead { max-width: 610px; color: #e6ded3; line-height: 1.7; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--amber); color: #17120c; }
.btn.ghost { border: 1px solid rgba(255,255,255,.36); background: rgba(0,0,0,.12); }
.scroll-cue { position: absolute; right: max(26px, calc((100vw - var(--max))/2)); bottom: 26px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; border-radius: 50%; }
.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 110px 0; }
.section-heading h2, .radio-band h2, .contact h2 { font-family: Oswald, sans-serif; font-size: clamp(40px, 5vw, 66px); line-height: 1; text-transform: uppercase; margin-bottom: 28px; }
.album-grid { display: grid; grid-template-columns: minmax(280px, 470px) 1fr; gap: clamp(36px, 7vw, 90px); align-items: center; }
.album-art { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.album-copy { font-size: 18px; color: #ddd4c8; line-height: 1.75; }
.album-kicker { color: white; font-weight: 700; }
.track-pills { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 30px; }
.track-pills span { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 999px; padding: 9px 12px; font-size: 12px; color: #e7dfd3; }
.text-link { font-weight: 700; color: var(--amber2); }
.listen-everywhere { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.listen-everywhere a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); color: #f7f3ec; font-size: 12px; font-weight: 700; letter-spacing: .02em; transition: .2s ease; }
.listen-everywhere a:hover { border-color: rgba(241,188,114,.7); background: rgba(241,188,114,.08); transform: translateY(-1px); }
.spotify-wrap { margin-top: 72px; padding: 12px; background: rgba(30,18,13,.94); border: 1px solid var(--line); border-radius: 18px; }
.split-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.split-heading > p { color: var(--muted); line-height: 1.7; max-width: 500px; }
.song-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.song-card { background: rgba(39,24,17,.90); border: 1px solid var(--line); overflow: hidden; }
.song-card img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.88); transition: .25s ease; }
.song-card img.song-art-contain { width: 100% !important; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; object-position: center center !important; background: #0c1118; transform: none !important; }
.song-card:hover img:not(.song-art-contain) { transform: scale(1.025); filter: saturate(1); }
.song-card:hover img.song-art-contain { transform: none !important; filter: saturate(1); }
.song-card div { padding: 18px; }
.song-card span { display: block; margin-bottom: 8px; color: var(--amber2); text-transform: uppercase; font-size: 10px; letter-spacing: .15em; font-weight: 700; }
.song-card h3 { font-family: Oswald, sans-serif; font-size: 22px; line-height: 1.08; margin: 0; }
.radio-band { position: relative; overflow: hidden; padding: 105px 24px; background: linear-gradient(135deg, #3a2417, #1d110c 68%); border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.radio-band::after { content: "ON AIR"; position: absolute; right: -30px; top: 0; font-family: Oswald, sans-serif; font-size: 210px; font-weight: 700; color: rgba(255,255,255,.025); line-height: .8; }
.radio-inner { position: relative; z-index: 1; width: min(var(--max), 100%); margin: auto; }
.radio-inner > p:not(.eyebrow) { max-width: 720px; color: #d7cec2; line-height: 1.7; font-size: 18px; }
.station-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.station-grid > div { padding: 24px 20px; min-height: 112px; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.station-grid strong, .station-grid span { display: block; }
.station-grid strong { font-size: 14px; line-height: 1.35; }
.station-grid span { margin-top: 9px; color: var(--muted); font-size: 12px; }
.station-grid small { display:block; margin-top:10px; color:#d7cec2; line-height:1.5; font-size:12px; }
.station-grid .station-meta { color:var(--amber2); font-weight:600; }
.about-grid { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: 70px; align-items: center; }
.about-photo-wrap { overflow: hidden; border: 1px solid var(--line); background: #21140e; }
.about-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; }
.about-copy { color: #d8d0c4; font-size: 18px; line-height: 1.78; }
.about-copy h2 { margin: 8px 0 26px; }
.availability { margin-top: 28px; color: var(--amber2); font-weight: 700; }
.contact { width: min(var(--max), calc(100% - 48px)); margin: 0 auto 80px; padding: 70px; background: var(--paper); color: var(--ink); display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.contact .eyebrow { color: #9a5a1f; }
.contact h2 { margin-bottom: 12px; }
.contact p { margin-bottom: 0; color: #5f564c; }
footer { width: min(var(--max), calc(100% - 48px)); margin: auto; padding: 30px 0 45px; display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; border-top: 1px solid var(--line); color: #968d82; font-size: 12px; }
.footer-links { display: flex; gap: 18px; color: #ddd4c8; }
footer p { margin: 0; }
@media (max-width: 850px) {
  .site-header { padding: 0 22px; }
  .menu { display: block; }
  .nav { position: absolute; top: 70px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; background: #21140e; padding: 20px; border: 1px solid var(--line); }
  .nav.open { display: flex; }
  .hero { min-height: 88vh; }
  .hero-bg { background-position: 62% center; }
  .hero-content { margin-left: 24px; margin-bottom: 8vh; }
  .album-grid, .split-heading, .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-photo { max-height: 620px; object-position: center 20%; }
  .song-grid { grid-template-columns: repeat(2,1fr); }
  .station-grid { grid-template-columns: repeat(2,1fr); }
  .contact { padding: 42px 28px; flex-direction: column; align-items: flex-start; }
  footer { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 520px) {
  .section { width: min(100% - 32px, var(--max)); padding: 82px 0; }
  .hero-content { width: calc(100% - 32px); margin-left: 16px; }
  .hero-shade { background: linear-gradient(0deg, #24150f 0%, rgba(22,12,8,.34) 38%, rgba(18,10,7,.62) 100%), linear-gradient(90deg, rgba(8,7,6,.78), rgba(8,7,6,.12)); }
  h1 { font-size: clamp(46px, 16vw, 70px); }
  .song-grid, .station-grid { grid-template-columns: 1fr; }
  .station-grid { width:100%; margin-top:30px; }
  .station-grid > div { width:auto; min-height:0; padding:20px 16px; }
  .song-card img.song-art-contain { width: 100% !important; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; object-position: center center !important; transform: none !important; }
  .contact { width: calc(100% - 32px); }
}

.footer-platform-links { flex-wrap: wrap; justify-content: center; }
.footer-platform-links a { white-space: nowrap; }
@media (max-width: 850px) { .footer-platform-links { justify-content: flex-start; gap: 12px 16px; } }

/* Blog */
.blog-page, .single-post-page { padding-top: 76px; }
.blog-hero { padding-bottom: 38px; }
.blog-hero h1, .single-post-header h1 { font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: -.035em; }
.blog-hero h1 { margin: 0 0 20px; font-size: clamp(54px, 8vw, 96px); line-height: .94; }
.blog-intro { max-width: 720px; color: var(--muted); font-size: 19px; line-height: 1.75; }
.blog-list-section { padding-top: 30px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); background: rgba(39,24,17,.90); }
.blog-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0f0e0c; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-copy { padding: 24px; }
.blog-card-copy h2, .blog-card-copy h3 { margin: 0 0 14px; font-family: Oswald, sans-serif; text-transform: uppercase; line-height: 1.08; }
.blog-card-copy h2 { font-size: 30px; }
.blog-card-copy h3 { font-size: 26px; }
.blog-card-copy p:not(.blog-meta) { color: #cfc6ba; line-height: 1.68; }
.blog-meta { margin-bottom: 12px; color: var(--amber2); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 700; }
.empty-blog { padding: 48px; border: 1px solid var(--line); background: rgba(39,24,17,.90); }
.empty-blog h2, .empty-blog h3 { font-family: Oswald, sans-serif; text-transform: uppercase; }
.blog-pagination { margin-top: 44px; }
.blog-pagination ul { display: flex; gap: 8px; padding: 0; list-style: none; }
.blog-pagination a, .blog-pagination span { display: grid; min-width: 40px; min-height: 40px; place-items: center; border: 1px solid var(--line); }
.home-blog { border-top: 1px solid var(--line); }
.home-blog-grid { margin-top: 38px; }
.home-empty-blog { margin-top: 32px; }
.blog-all-button { margin-top: 26px; }
.single-post { width: min(860px, calc(100% - 48px)); margin: 0 auto; padding: 90px 0 110px; }
.single-post-header { margin-bottom: 38px; }
.single-post-header h1 { margin: 0 0 18px; font-size: clamp(48px, 7vw, 82px); line-height: .98; }
.single-post-image { margin-bottom: 46px; }
.single-post-image img { width: 100%; height: auto; }
.single-post-content { color: #e3dbd0; font-family: Georgia, 'Times New Roman', serif; font-size: 20px; line-height: 1.9; }
.single-post-content h2, .single-post-content h3 { margin-top: 1.8em; color: #fff; font-family: Oswald, sans-serif; text-transform: uppercase; }
.single-post-content a { color: var(--amber2); text-decoration: underline; }
.single-post-content blockquote { margin: 2em 0; padding-left: 24px; border-left: 3px solid var(--amber); color: #f0e7da; font-style: italic; }
.single-post-back { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 850px) { .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } .single-post { width: calc(100% - 32px); padding-top: 70px; } .single-post-content { font-size: 18px; } }

/* Keep the full genre list on a single line */
.genre-line {
  white-space: nowrap;
  font-size: clamp(9px, 1.05vw, 12px);
  letter-spacing: .10em;
  max-width: none;
}
@media (max-width: 850px) {
  .genre-line {
    font-size: clamp(7.5px, 2.05vw, 10px);
    letter-spacing: .035em;
  }
}
@media (max-width: 420px) {
  .genre-line {
    font-size: 7.2px;
    letter-spacing: .02em;
  }
}
