:root {
  --bg: #121010;
  --bg-raised: #1c1917;
  --bg-card: #201c1a;
  --text: #f4ead9;
  --text-dim: #a89a86;
  --copper: #c9893a;
  --copper-dim: #8f5f28;
  --cream: #f4ead9;
  --border: #332d29;
  --tag-football: #c9893a;
  --tag-hoops: #b25c3f;
  --tag-tennis: #6f8f6a;
  --tag-culture: #9a4b3f;
}

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

body {
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  background-color: #17110b;
  background-image:
    linear-gradient(rgba(10,6,3,0.42), rgba(10,6,3,0.42)),
    url("../images/wood-tile.jpg");
  background-repeat: repeat;
  background-size: auto, 512px 512px;
}


a { color: inherit; text-decoration: none; }

/* ---------- ticker ---------- */
.ticker {
  background: var(--copper);
  color: #171310;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0;
}

.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 32s linear infinite;
}

.ticker span { margin-right: 48px; }


/* live scores in the ticker */
.ticker-track.scores span { margin-right: 40px; }
.ticker-track.scores b { color: #3a2a12; margin-right: 6px; }
.ticker-track.scores strong { color: #1a1208; }
.ticker-track.scores em { font-style: normal; opacity: 0.75; margin-left: 6px; font-weight: 700; }
.ticker-track.scores em.live { opacity: 1; color: #7a1f14; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ---------- header ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  height: 88px;
  width: 88px;
  border-radius: 50%;
}

@media (max-width: 640px) {
  .brand img { height: 64px; width: 64px; }
}

.brand .wordmark {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1;
}

.brand .wordmark span { color: var(--copper); }

.brand .tagline {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
}

nav a {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav a:hover { color: var(--copper); }

@media (max-width: 640px) {
  header { flex-wrap: wrap; row-gap: 6px; padding: 10px 16px; }
  .brand .wordmark { font-size: 1.35rem; }
  .brand .tagline { display: none; }
  nav { width: 100%; }
  nav ul { gap: 18px; }
}

.disclaimer-bar {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ---------- layout ---------- */
.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
}

/* ---------- tags ---------- */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 3px;
  color: #171310;
}

.tag.football { background: var(--tag-football); }
.tag.hoops { background: var(--tag-hoops); }
.tag.tennis { background: var(--tag-tennis); }
.tag.culture { background: var(--tag-culture); color: var(--cream); }
.tag.cfb { background: #a97436; }
.tag.cbb { background: #c4692a; }
.tag.hockey { background: #7d8e9c; }
.tag.baseball { background: #b8a98f; }

/* ---------- byline ---------- */
.byline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.byline .avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--copper-dim);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.byline strong { color: var(--text); }

.byline .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

.byline .stats {
  margin-left: auto;
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
}

/* ---------- featured post ---------- */
.featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 28px;
}

.site-h1 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  margin: 0 0 16px 2px;
}

.featured h1, .featured h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-top: 14px;
  text-transform: uppercase;
}

.featured p.dek {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 640px;
}

/* ---------- feed ---------- */
.feed-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.feed-item .thumb {
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--copper-dim);
  background: var(--bg-raised);
}

.feed-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured .badge {
  float: right;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid var(--copper-dim);
  margin: 0 0 12px 20px;
}

@media (max-width: 640px) {
  .feed-item .thumb { flex-basis: 72px; width: 72px; height: 72px; }
  .featured .badge { width: 90px; height: 90px; }
}

.feed-item .body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 8px;
  line-height: 1.3;
}

.feed-item .body p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 6px;
}

/* ---------- sidebar ---------- */
.sidebar-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 20px;
}

.sidebar-block h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--copper);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.trending-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.trending-item:last-child { border-bottom: none; }

.trending-item .rank {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--copper-dim);
  flex: 0 0 24px;
}

.trending-item .title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
}

.cats { display: flex; flex-wrap: wrap; gap: 8px; }

.trending-item .meta {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 3px;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}

footer a { color: var(--copper); }

/* ---------- about page ---------- */
main.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-left: 5px solid var(--copper);
  padding-left: 12px;
}

.bio {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.bio .stats-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  min-width: 240px;
}

.bio .stats-box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.bio .stats-box div span { flex: 0 0 auto; color: var(--text-dim); }
.bio .stats-box div strong { flex: 1 1 auto; text-align: right; }

.bio .stats-box div:last-child { border-bottom: none; }
.bio .stats-box strong { color: var(--copper); }

/* ---------- article page ---------- */
main.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}

main.article .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

main.article h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-top: 14px;
}

main.article .lede {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-top: 14px;
}

main.article .body {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

main.article .body p {
  font-size: 1.03rem;
  margin-bottom: 18px;
}

main.article .body p:last-child { margin-bottom: 0; }

main.article .body h2 {
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--copper);
  margin: 28px 0 12px;
}

main.article .box {
  background: var(--bg-raised);
  border-left: 4px solid var(--copper);
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 0.95rem;
}

main.article .box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}

main.article .box strong { color: var(--copper); }

main.article .sources {
  margin-top: 22px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

main.article .sources a { color: var(--copper); }

/* ---------- bio page ---------- */
main.bio-page { max-width: 880px; margin: 0 auto; padding: 36px 24px 80px; }

.bio-hero { display: grid; grid-template-columns: 1fr 220px; gap: 28px; align-items: start; }
.bio-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 900; line-height: 1.08; text-transform: uppercase; }
.bio-hero .lede { font-size: 1.1rem; color: var(--text-dim); margin-top: 14px; }
.bio-hero figure { margin: 0; }
.bio-hero img { width: 100%; border-radius: 6px; border: 1px solid var(--border); }
@media (max-width: 700px) { .bio-hero { grid-template-columns: 1fr; } .bio-hero figure { max-width: 220px; } }

.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 26px 0 8px; }
.proof div { background: var(--bg-card); padding: 12px 14px; font-size: 0.85rem; }
.proof div strong { display: block; color: var(--copper); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 3px; }

.bio-section { margin-top: 34px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 26px 28px; overflow: hidden; }
.bio-section h2 { font-size: 1.3rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--copper); }
.bio-section p { font-size: 1.02rem; margin-bottom: 16px; }
.bio-section p:last-child { margin-bottom: 0; }
.bio-section blockquote { border-left: 3px solid var(--copper-dim); padding: 6px 16px; margin: 4px 0 18px; color: var(--text-dim); font-style: italic; }
.bio-section blockquote cite { display: block; font-style: normal; font-size: 0.8rem; margin-top: 6px; }

.bio-section figure { float: right; width: 240px; margin: 4px 0 14px 22px; }
.bio-section figure.wide { width: 300px; }
.bio-section figure img { width: 100%; display: block; border-radius: 5px; border: 1px solid var(--border); }
.bio-section figcaption { font-size: 0.72rem; color: var(--text-dim); margin-top: 6px; line-height: 1.4; }
.bio-section .pair { display: flex; gap: 14px; float: right; width: 340px; margin: 4px 0 14px 22px; }
.bio-section .pair figure { float: none; width: 50%; margin: 0; }
@media (max-width: 640px) {
  .bio-section figure, .bio-section figure.wide, .bio-section .pair { float: none; width: 100%; margin: 0 0 16px; }
  .bio-section .pair figure { width: 50%; }
}

main.article .embeds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 6px 0 22px;
}

main.article .embeds .twitter-tweet {
  margin: 0 !important;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

main.article .embeds .twitter-tweet a { color: var(--copper); }

.related {
  margin-top: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
}

.related h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--copper);
  margin-bottom: 12px;
}

.related a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.related a:hover strong { color: var(--copper); }

main.article .back {
  display: inline-block;
  margin-top: 26px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--copper);
}
