/* ==========================================================================
   tribute.css : design system for the hand-crafted Glen Campbell pages
   (homepage, /about/, /media/). Editorial Americana: warm paper, espresso,
   dusty denim blue, a thread of rhinestone gold.
   ========================================================================== */

:root {
  --paper: #f6f3ec;
  --paper-deep: #efeadf;
  --espresso: #241c14;
  --espresso-soft: #3a2e21;
  --ink: #2b2318;
  --ink-soft: #6b5d4a;
  --denim: #5b7f99;
  --denim-deep: #3e6076;
  --gold: #b8892e;
  --gold-soft: #d8b96a;
  --card: #fffdf8;
  --rule: #e0d8c8;
  --serif: "Fraunces", "Literata", Georgia, serif;
  --body: "Literata", Georgia, serif;
  --sans: "Muli", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--denim-deep); text-decoration: none; }
a:hover { color: var(--gold); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  background: var(--espresso);
  border-bottom: 3px solid var(--gold);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
}
.site-logo img { width: 150px; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #cdbfa5;
  padding: 10px 14px;
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.site-nav a.is-active { color: var(--gold-soft); }
.site-nav a.nav-quiet { color: #8d7f68; font-size: 12px; }
.site-nav a.nav-quiet:hover { color: #cdbfa5; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--espresso);
  color: #f4ecdd;
  overflow: hidden;
}
.hero::after {
  /* film-grain vignette */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 20%, transparent 40%, rgba(12,8,4,.55) 100%);
  pointer-events: none;
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: saturate(.82) contrast(1.02);
  opacity: .5;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 120px 0 110px;
  max-width: 720px;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.hero .dates {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: #cdbfa5;
  margin: 0 0 22px;
}
.hero p.lede {
  font-size: 19px;
  line-height: 1.65;
  color: #e8ddc8;
  margin: 0 0 34px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 8px;
  display: inline-block;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a2761f; color: #fff; }
.btn-ghost { border: 1px solid rgba(244,236,221,.4); color: #f4ecdd; }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

/* ---------- stat band ---------- */
.stats {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0;
}
.stat {
  text-align: center;
  padding: 34px 12px;
  border-left: 1px solid var(--rule);
}
.stat:first-child { border-left: 0; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px;
  color: var(--espresso);
  line-height: 1.1;
}
.stat span {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- sections ---------- */
section.band { padding: 84px 0; }
.band-alt { background: var(--paper-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-dark { background: var(--espresso); color: #e8ddc8; }
.band-dark .section-title { color: #f4ecdd; }
.band-dark .eyebrow { color: var(--gold-soft); }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  color: var(--espresso);
  margin: 0 0 14px;
}
.section-intro { max-width: 640px; color: var(--ink-soft); margin: 0 0 42px; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* drop cap for story blocks */
.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: .82;
  padding: 6px 10px 0 0;
  color: var(--gold);
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(36,28,20,.12); }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.card-body { padding: 20px 22px 24px; }
.card-kicker {
  font-family: var(--sans); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 8px;
}
.card h3 {
  font-family: var(--serif); font-weight: 600; font-size: 20px;
  line-height: 1.3; margin: 0 0 8px;
}
.card h3 a { color: var(--espresso); }
.card h3 a:hover { color: var(--denim-deep); }
.card p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* ---------- news list ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--rule); }
.news-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 18px 4px;
  font-family: var(--serif); font-size: 19px; color: var(--espresso);
}
.news-list a:hover { color: var(--denim-deep); }
.news-list .arrow { color: var(--gold); font-family: var(--sans); }

/* ---------- timeline (about page) ---------- */
.timeline { position: relative; margin: 40px 0 0; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--gold-soft), var(--rule));
}
.tl-item { position: relative; padding: 0 0 46px; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--paper);
}
.tl-year {
  font-family: var(--sans); font-size: 13px; letter-spacing: .2em;
  color: var(--gold); text-transform: uppercase; margin: 0 0 6px;
}
.tl-item h3 {
  font-family: var(--serif); font-weight: 600; font-size: 24px;
  margin: 0 0 10px; color: var(--espresso);
}
.tl-item p { margin: 0; color: var(--ink); }
.tl-item p + p { margin-top: 10px; }

/* ---------- video ---------- */
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 22px 50px rgba(20,14,8,.35);
  background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption {
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
  margin-top: 12px; letter-spacing: .04em;
}
.band-dark .video-caption { color: #b3a488; }

/* ---------- essential recordings ---------- */
.records { list-style: none; margin: 0; padding: 0; counter-reset: rec; }
.records li {
  counter-increment: rec;
  display: flex; align-items: baseline; gap: 20px;
  padding: 16px 4px; border-bottom: 1px solid rgba(244,236,221,.14);
}
.records li::before {
  content: counter(rec, decimal-leading-zero);
  font-family: var(--sans); font-size: 13px; color: var(--gold-soft);
  letter-spacing: .1em; min-width: 30px;
}
.records .title { font-family: var(--serif); font-size: 21px; color: #f4ecdd; flex: 1; }
.records .title a { color: inherit; }
.records .title a:hover { color: var(--gold-soft); }
.records .year { font-family: var(--sans); font-size: 13px; color: #b3a488; letter-spacing: .1em; }

/* ---------- quote pull ---------- */
.pull {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 26px;
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.5;
  color: var(--espresso-soft);
  margin: 42px 0;
}
.pull cite {
  display: block; font-style: normal; font-family: var(--sans);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 12px;
}

/* ---------- music room (quiet affiliate block) ---------- */
.music-room { padding: 64px 0 84px; }
.music-room .section-title { font-size: 26px; }
.music-room .card { background: transparent; border: 1px solid var(--rule); box-shadow: none; }
.music-room .card:hover { transform: none; box-shadow: 0 8px 22px rgba(36,28,20,.08); }
.music-room .card-body { padding: 22px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--espresso);
  color: #b3a488;
  padding: 54px 0 40px;
  font-family: var(--sans);
  font-size: 13px;
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 30px;
  align-items: flex-start; justify-content: space-between;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: #cdbfa5; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-legal { max-width: 520px; line-height: 1.7; color: #8d7f68; }
.footer-legal a { color: #b3a488; }

/* ---------- reveal on load ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .rise-2 { animation-delay: .12s; }
  .rise-3 { animation-delay: .24s; }
  .rise-4 { animation-delay: .36s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 700px) {
  .site-header .wrap { flex-direction: column; padding: 16px 24px; }
  .hero-inner { padding: 70px 0 64px; }
  section.band { padding: 56px 0; }
}
