/* The Football Collective — one-pager
   Bold black/white + one acid-lime accent. */

:root {
  --ink: #0a0a0a;
  --ink-2: #161616;
  --paper: #f3f1eb;
  --paper-2: #ffffff;
  --muted: #5b5b56;
  --line: #dedcd4;
  --accent: #c8f000;
  --accent-ink: #0a0a0a;
  --header-h: 76px;
  --ticker-h: 40px;
  --wrap: 1200px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  height: var(--header-h);
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.logo img {
  height: 64px;
  width: auto;
}

.site-nav ul {
  display: flex;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 99px;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--accent);
  color: var(--accent-ink);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px 8px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Ticker ---------- */
.ticker {
  display: flex;
  align-items: stretch;
  background: var(--ink-2);
  color: #fff;
  height: var(--ticker-h);
  overflow: hidden;
  border-bottom: 1px solid #2a2a2a;
}
.ticker-label {
  flex: 0 0 auto;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 1;
}
.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 45s linear 0.6s infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-left: 12px;
}
.ticker-group span {
  padding: 0 28px;
  position: relative;
}
.ticker-group span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Section heads ---------- */
.latest { padding: 48px 0 80px; }
.section-head { margin-bottom: 28px; }
.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head h1,
.about-copy h2,
.contact-intro h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
#latest, #about, #contact { scroll-margin-top: calc(var(--header-h) + var(--ticker-h) + 12px); }

/* ---------- Meta / tags ---------- */
.meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tag {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1.3;
}
time, .trend-time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  width: fit-content;
}
.source-link:hover { background: var(--accent); }

/* ---------- News stage: hero + sidebar ---------- */
.news-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 36px 36px;
  margin-bottom: 56px;
  align-items: stretch;
}
.news-stage > * { min-height: 100%; height: 100%; }

.hero {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.hero-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero:hover .hero-media img { transform: scale(1.04); }
.hero-body { padding: 24px 24px 28px; }
.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-title a { text-decoration: none; }
.hero-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.dek {
  margin: 14px 0 0;
  font-size: 1.05rem;
  color: #2a2a2a;
  max-width: 46ch;
}

/* Trending sidebar */
.trending {
  background: var(--ink);
  color: #fff;
  padding: 24px 22px 10px;
  display: flex;
  flex-direction: column;
}
.trending h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
}
.trending li + li { border-top: 1px solid #2a2a2a; }
.trending a {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  text-decoration: none;
  color: #fff;
}
.trending a:hover .trend-title { color: var(--accent); }
.trending .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
  line-height: 1;
  min-width: 1.6em;
}
.trend-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.trend-title {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.trending .tag { align-self: flex-start; }

/* ---------- Card grid ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  min-height: 100%;
}
.card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #ddd;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: #333;
  flex: 1;
}
.card .source-link { margin-top: auto; padding-top: 14px; }

/* ---------- About ---------- */
.about {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 88px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}
.about-brand {
  display: flex;
  justify-content: center;
  background: var(--paper);
  padding: 36px;
  border: 1px solid var(--line);
}
.about-brand img {
  width: min(100%, 420px);
  height: auto;
}
.about-copy h2 { margin-bottom: 22px; max-width: 14ch; }
.about-copy p {
  margin: 0 0 16px;
  font-size: 1.12rem;
  max-width: 42ch;
}
.about-copy p:last-child {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

/* ---------- Contact ---------- */
.contact { padding: 88px 0 100px; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.contact-intro h2 { margin-bottom: 18px; }
.contact-intro p { max-width: 42ch; margin: 0 0 24px; }

.social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.social-btn:hover,
.social-btn:focus-visible {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  outline: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 28px;
}
.contact-form label { display: grid; gap: 6px; }
.contact-form label span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfcbbe;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 2px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-disclaimer {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.btn {
  justify-self: start;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 22px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:hover, .btn:focus-visible {
  background: var(--accent);
  color: var(--accent-ink);
  outline: none;
}
.form-note {
  margin: 0;
  padding: 12px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 40px 0 36px;
  border-top: 3px solid var(--accent);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 40px;
  align-items: center;
}
.footer-logo img { height: 52px; width: auto; }
.site-footer nav ul {
  display: flex;
  gap: 8px 22px;
  flex-wrap: wrap;
}
.site-footer nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer nav a:hover { color: var(--accent); }
.copyright {
  margin: 0;
  font-size: 13px;
  color: #b3b3b3;
  justify-self: end;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .news-stage {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-copy h2 { max-width: none; }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .copyright { justify-self: start; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .logo img { height: 46px; }
  .nav-toggle { display: block; z-index: 120; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .site-nav a {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    padding: 10px 18px;
  }
  body.nav-open { overflow: hidden; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .latest { padding: 32px 0 56px; }
  .about, .contact { padding: 56px 0; }
  .news-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-body, .contact-form { padding: 18px; }
  .hero-title { font-size: 1.55rem; }
  .ticker-label { padding: 0 10px; font-size: 10px; }
  .about-brand { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .hero-media img, .card-media img { transition: none; }
}
