/* Rising Songwriters — hipster-country: earth tones + red.
   Cream paper, espresso ink, barn-red accents, vintage slab type. */

:root {
  --paper: #f3ead6;
  --paper-deep: #e9dcc0;
  --ink: #2b1d12;
  --ink-soft: #5c4632;
  --red: #a83226;
  --red-dark: #7e231a;
  --gold: #c39a4e;
  --tan: #d9c49a;
  --olive: #6b6a3f;
  --card: #faf5e8;
  --line: #d8c8a4;
  --shadow: rgba(43, 29, 18, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Karla", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(195, 154, 78, 0.10), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(168, 50, 38, 0.07), transparent 50%);
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(43, 29, 18, 0.012) 0 1px,
    transparent 1px 3px
  );
}

h1, h2, h3, .slab {
  font-family: "Zilla Slab", Georgia, serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.site-header {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 5px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  font-family: "Zilla Slab", serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: var(--paper);
  text-decoration: none;
}
.brand .star { color: var(--red); }
.brand small {
  display: block;
  font-family: "Karla", sans-serif;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tan);
}
.brand:hover { text-decoration: none; color: var(--paper); }
nav.main-nav a {
  color: var(--paper);
  margin-left: 22px;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
nav.main-nav a:hover { color: var(--gold); text-decoration: none; }

/* ---------- kickers / section heads ---------- */
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--red);
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  padding: 4px 2px;
  margin-bottom: 14px;
}
.section { padding: 64px 0; }
.section-head { margin-bottom: 34px; max-width: 720px; }
.section-head h2 { font-size: 2.4rem; font-weight: 700; }
.section-head p { color: var(--ink-soft); margin: 0.4em 0 0; }
.rule-double { border: 0; border-top: 3px double var(--line); margin: 0; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, #241610 0%, #3a2415 60%, #4a2c17 100%);
  color: var(--paper);
  padding: 72px 0;
  border-bottom: 5px solid var(--red);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "\2605 \2605 \2605";
  position: absolute;
  right: 4%;
  top: 18px;
  color: rgba(195, 154, 78, 0.35);
  letter-spacing: 12px;
  font-size: 1.1rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}
.hero-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--red);
  outline: 3px solid var(--gold);
  outline-offset: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background: var(--ink-soft);
}
.hero h1 { font-size: 3rem; margin: 0.15em 0 0.35em; color: var(--paper); }
.hero h1 .amp { color: var(--gold); font-style: italic; }
.hero p.lede { font-size: 1.12rem; color: #e8dcc2; max-width: 620px; }
.hero .sync-note {
  background: rgba(168, 50, 38, 0.22);
  border-left: 4px solid var(--red);
  padding: 12px 18px;
  margin: 20px 0;
  max-width: 620px;
  font-size: 0.98rem;
}
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff8ea;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 13px 28px;
  border-radius: 3px;
  border: 2px solid var(--red-dark);
  box-shadow: 3px 3px 0 var(--red-dark);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
  color: #fff8ea;
  text-decoration: none;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--red-dark);
}
.btn.ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--tan);
  box-shadow: 3px 3px 0 rgba(217, 196, 154, 0.35);
  margin-left: 12px;
}

/* ---------- monogram portraits (photo overlays when available) ---------- */
.portrait {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Zilla Slab", serif;
  font-weight: 700;
  color: #faf5e8;
  flex: 0 0 auto;
  text-transform: uppercase;
  border: 3px solid rgba(43, 29, 18, 0.25);
  box-shadow: inset 0 0 0 3px rgba(250, 245, 232, 0.25), 0 6px 14px var(--shadow);
  position: relative;
  overflow: hidden;
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait .mono { position: relative; }

/* ---------- Find Them First! ---------- */
.rotation-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 28px;
  display: inline-block;
}
.rotation-note strong { color: var(--red); }
/* ---------- hitmaker -> dig-deeper pair cards ---------- */
.pair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.pair-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pair-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px var(--shadow); }
.pair-card .if-line { font-size: 1rem; margin-bottom: 16px; }
.pair-card .if-line .top-name { font-weight: 700; color: var(--red); }
.pair-duo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.duo-person {
  margin: 0;
  flex: 1;
  text-align: center;
  min-width: 0;
}
.duo-person .portrait { width: 84px; height: 84px; font-size: 1.4rem; margin: 0 auto 10px; }
.duo-person figcaption strong { display: block; font-size: 0.98rem; }
.duo-person figcaption strong a { color: var(--ink); }
.duo-person figcaption strong a:hover { color: var(--red); }
.duo-song { display: block; font-size: 0.8rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.45; }
.duo-sonic { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.45; }
.duo-arrow {
  flex: 0 0 auto;
  text-align: center;
  color: var(--red);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 22px;
}
.duo-arrow span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}
.pair-card p.reason { font-size: 0.94rem; color: var(--ink-soft); margin: 0 0 6px; }
.pair-card .bio-link { margin: 10px 0 0; font-weight: 700; }
.peak-badge {
  display: inline-block;
  background: var(--red);
  color: #fff8ea;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 20px;
  padding: 2px 10px;
  margin-top: 6px;
  text-transform: uppercase;
}
#photo-credits { margin-top: 40px; font-size: 0.82rem; color: var(--ink-soft); }
#photo-credits h3 { font-size: 1rem; color: var(--ink); margin-bottom: 6px; }

/* ---------- news ---------- */
.news-list { display: grid; gap: 18px; margin-bottom: 30px; }
.news-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 6px;
  padding: 18px 22px;
  box-shadow: 0 3px 10px var(--shadow);
}
.news-item .meta {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.news-item .meta .src { color: var(--red); font-weight: 700; }
.news-item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--red); }
.news-item p { margin: 0; font-size: 0.96rem; color: var(--ink-soft); }
.pager { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pager button {
  font-family: "Karla", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
}
.pager button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.pager button:disabled { opacity: 0.35; cursor: default; }
.pager button.current { background: var(--red); border-color: var(--red-dark); color: #fff8ea; }
.pager .page-info { font-size: 0.88rem; color: var(--ink-soft); margin-left: 8px; }
.news-updated { font-size: 0.85rem; color: var(--ink-soft); margin-top: 16px; font-style: italic; }

/* ---------- writers page ---------- */
.writer-profile {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 26px;
  box-shadow: 0 4px 12px var(--shadow);
  scroll-margin-top: 90px;
}
.writer-profile .portrait { width: 130px; height: 130px; font-size: 2.1rem; }
.writer-profile h2 { font-size: 1.7rem; margin-bottom: 4px; }
.sonic-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 700;
  margin-bottom: 12px;
}
.writer-profile p.bio { color: var(--ink-soft); margin: 0 0 16px; }
.writer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.chip {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: 20px;
  padding: 6px 18px;
}
.chip:hover { background: var(--red); color: #fff8ea; text-decoration: none; }

/* ---------- ryan bio page ---------- */
.bio-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 40px;
}
.bio-hero .hero-photo { width: 280px; height: 280px; }
.sync-box {
  background: #2b1d12;
  color: var(--paper);
  border-radius: 10px;
  padding: 30px 34px;
  margin: 34px 0;
  border-top: 6px solid var(--red);
}
.sync-box h2 { color: var(--gold); font-size: 1.6rem; }
.sync-box ul { margin: 12px 0 0; padding-left: 20px; }
.sync-box li { margin-bottom: 8px; color: #e8dcc2; }
.prose { max-width: 760px; }
.prose p { color: var(--ink-soft); }
.prose p strong { color: var(--ink); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
form.pitch { display: grid; gap: 18px; }
form.pitch label { font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; }
form.pitch input, form.pitch select, form.pitch textarea {
  width: 100%;
  font-family: "Karla", sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 6px;
  background: #fffdf6;
  color: var(--ink);
}
form.pitch input:focus, form.pitch select:focus, form.pitch textarea:focus {
  outline: none;
  border-color: var(--red);
}
form.pitch textarea { min-height: 170px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); font-style: italic; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--tan);
  border-top: 5px solid var(--red);
  padding: 40px 0;
  margin-top: 40px;
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer .fbrand { font-family: "Zilla Slab", serif; font-weight: 700; color: var(--paper); font-size: 1.1rem; }
.site-footer a { color: var(--tan); }
.site-footer a:hover { color: var(--gold); }
.site-footer nav a { color: var(--tan); margin-left: 18px; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .hero-grid, .bio-hero { grid-template-columns: 1fr; }
  .hero-photo { width: 220px; height: 220px; margin: 0 auto; }
  .hero { text-align: center; }
  .hero p.lede, .hero .sync-note { margin-left: auto; margin-right: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .writer-profile { grid-template-columns: 1fr; text-align: center; }
  .writer-profile .portrait { margin: 0 auto; }
  .writer-links { justify-content: center; }
  nav.main-nav a { margin-left: 14px; font-size: 0.82rem; }
  .section-head h2 { font-size: 1.9rem; }
  .hero h1 { font-size: 2.2rem; }
}
