/* BIA808 Entertainment — DUO: Future Culture design system.
   Near-black glass, blueprint grid, thin red light lines.
   Fonts self-hosted (Oswald + Inter, latin variable woff2). */

@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald-500.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #050608;
  --bg-2: #090b0f;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --red: #ff1f1f;
  --red-deep: #c00;
  --text: #f2f4f6;
  --muted: #9aa5b1;
  --muted-2: #6b7684;
  --max: 1200px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }

/* Blueprint grid + red glow backdrop */
.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(255, 31, 31, 0.14), transparent 65%),
    radial-gradient(700px 500px at 85% 110%, rgba(40, 90, 255, 0.07), transparent 60%),
    linear-gradient(rgba(120, 160, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
}
.mast-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 2px;
}
.mast-date {
  margin: 0; font-size: 11px; letter-spacing: 0.18em; color: var(--muted);
  font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mast-socials { display: flex; gap: 4px; flex: none; }
.mast-socials a {
  width: 30px; height: 30px; display: grid; place-items: center;
  color: var(--muted); border-radius: 8px; border: 1px solid transparent;
}
.mast-socials a:hover { color: #fff; border-color: var(--line); background: var(--glass); }
.mast-socials svg { width: 17px; height: 17px; }
.mast-main { display: flex; align-items: baseline; gap: 18px; padding-top: 2px; padding-bottom: 8px; flex-wrap: wrap; }
.wordmark {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: 0.02em; color: #fff;
}
.wordmark .wm-red { color: var(--red); }
.wordmark-sm { font-size: 24px; }
.mast-tag { margin: 0; font-size: 11px; letter-spacing: 0.3em; color: var(--muted); font-weight: 600; }
.nav {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  border-top: 1px solid var(--line);
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 11px 13px; font-family: "Oswald", sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav a:hover { color: #fff; }
.nav a.active { color: #fff; border-bottom-color: var(--red); }
.nav .nav-cta { color: var(--red); margin-left: auto; }
.nav .nav-cta:hover { color: #ff5b5b; }

/* ---------- Generic ---------- */
main { flex: 1; padding: 26px 20px 60px; }
.block { margin-top: 44px; }
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.section-kicker { font-size: 11px; letter-spacing: 0.22em; color: var(--red); font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.section-title { margin: 0; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 30px; text-transform: uppercase; letter-spacing: 0.02em; }
.page-head { margin: 6px 0 26px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.page-kicker { margin: 0 0 4px; font-size: 11px; letter-spacing: 0.24em; color: var(--red); font-weight: 700; }
.page-title { margin: 0; font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(38px, 6vw, 56px); text-transform: uppercase; line-height: 1.02; }
.btn {
  display: inline-block; background: var(--red); color: #fff; border: 0; cursor: pointer;
  font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 14px; padding: 12px 22px; border-radius: 10px;
}
.btn:hover { background: #ff3b3b; color: #fff; }
.btn-ghost { background: var(--glass); border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(255,31,31,.5); }
.pill-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  background: var(--red); color: #fff; font-family: "Oswald", sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: 0.14em; padding: 3px 9px; border-radius: 999px; text-transform: uppercase;
}
.pill-ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.pill-video { background: #14181f; border: 1px solid rgba(255,31,31,.55); color: #ff6b6b; }
.pill-breaking { background: #fff; color: var(--red-deep); }
.canada-line { color: #ffb3b3; font-size: 13px; font-weight: 600; margin: 6px 0 0; }

/* ---------- Ads ---------- */
.ad-slot {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  padding: 22px 18px 16px; margin: 22px 0; overflow: hidden;
}
.ad-slot::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 160px at 50% -40px, rgba(255,31,31,.14), transparent 70%);
  pointer-events: none;
}
.ad-label {
  position: absolute; top: 8px; left: 10px; font-size: 9px; letter-spacing: 0.22em;
  color: var(--muted-2); font-weight: 700;
}
.house-ad { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; position: relative; }
.house-kicker { font-size: 10px; letter-spacing: 0.3em; color: var(--red); font-weight: 700; }
.house-title { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(18px, 3.4vw, 28px); text-transform: uppercase; line-height: 1.15; color: #fff; }
.house-cta { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); font-weight: 700; margin-top: 4px; }
.ad-leaderboard { margin-top: 0; }
.ad-article { margin: 28px 0; }
.ad-infeed { grid-column: 1 / -1; margin: 0; }

/* ---------- Hero ---------- */
.hero { margin-top: 4px; }
.hero-media {
  position: relative; display: block; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16 / 8.2; background: #0b0d11;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,31,31,.16), transparent 42%),
    linear-gradient(0deg, rgba(3,4,6,.94) 8%, rgba(3,4,6,.45) 46%, rgba(3,4,6,.05) 75%),
    linear-gradient(180deg, rgba(3,4,6,.25), transparent 30%);
}
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.top-badge {
  background: var(--red); color: #fff; font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 0.18em; padding: 5px 12px; border-radius: 6px;
  box-shadow: 0 0 24px rgba(255,31,31,.55);
}
.hero-title {
  font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 5.2vw, 54px); line-height: 1.02; color: #fff; max-width: 900px;
  overflow-wrap: anywhere;
}
.hero-dek { color: #d7dce2; font-size: clamp(14px, 2vw, 18px); max-width: 760px; }
.hero-meta { color: var(--muted); font-size: 12px; letter-spacing: 0.14em; font-weight: 600; text-transform: uppercase; }
.why-leads {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 12px;
  background: var(--glass); border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 10px; padding: 13px 16px;
}
.why-label { font-family: "Oswald", sans-serif; font-weight: 700; letter-spacing: 0.16em; color: var(--red); font-size: 13px; white-space: nowrap; padding-top: 2px; }
.why-leads p { margin: 0; color: #d7dce2; font-size: 14.5px; }

/* ---------- Need To Hear ---------- */
.need-list { display: flex; flex-direction: column; }
.need-item {
  display: flex; align-items: center; gap: 18px; padding: 14px 6px;
  border-bottom: 1px solid var(--line);
}
.need-item:hover .need-title { color: var(--red); }
.need-rank {
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: 34px; color: transparent;
  -webkit-text-stroke: 1.5px var(--red); min-width: 44px; text-align: center; flex: none;
}
.need-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.need-title { font-family: "Oswald", sans-serif; font-weight: 600; font-size: clamp(16px, 2.4vw, 21px); text-transform: uppercase; line-height: 1.15; }
.need-meta { color: var(--muted); font-size: 12px; letter-spacing: 0.12em; font-weight: 600; text-transform: uppercase; }
.need-thumb { width: 116px; height: 74px; object-fit: cover; border-radius: 8px; flex: none; border: 1px solid var(--line); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255,31,31,.45); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: #0b0d11; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card-title { margin: 0; font-family: "Oswald", sans-serif; font-weight: 600; font-size: 19px; line-height: 1.18; text-transform: uppercase; overflow-wrap: anywhere; }
.card-title a:hover { color: var(--red); }
.card-dek { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.card-meta { margin: 0; color: var(--muted-2); font-size: 11.5px; letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase; }
.see-all { margin-top: 20px; text-align: center; }
.load-more-wrap { margin-top: 26px; text-align: center; }

/* ---------- Trending ---------- */
.trend-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trend-item {
  background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.trend-item:hover { border-color: rgba(255,31,31,.45); }
.trend-rank { font-family: "Oswald", sans-serif; font-weight: 700; color: var(--red); font-size: 22px; }
.trend-title { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 15.5px; line-height: 1.2; text-transform: uppercase; }
.trend-meta { color: var(--muted-2); font-size: 11px; letter-spacing: 0.14em; font-weight: 700; }

/* ---------- Newsletter ---------- */
.newsletter {
  margin-top: 48px; border: 1px solid rgba(255,31,31,.35); border-radius: 18px;
  background:
    radial-gradient(600px 220px at 50% -60px, rgba(255,31,31,.16), transparent 70%),
    var(--glass);
  padding: 34px 26px; text-align: center;
}
.news-kicker { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.28em; color: var(--red); font-weight: 700; }
.newsletter h2 { margin: 0 0 8px; font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(24px, 4vw, 36px); text-transform: uppercase; }
.newsletter p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.news-form { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.news-form input {
  background: #0a0c10; border: 1px solid var(--line); border-radius: 10px; color: var(--text);
  padding: 13px 16px; font-size: 15px; min-width: min(340px, 100%); font-family: inherit;
}
.news-form button {
  background: var(--red); color: #fff; border: 0; border-radius: 10px; cursor: pointer;
  font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: 0.12em; padding: 13px 22px; font-size: 14px;
}
.news-form button:hover { background: #ff3b3b; }
.form-note { min-height: 20px; font-size: 13.5px; margin-top: 12px; }
.form-note.success { color: #7ee2a0; }
.form-note.error { color: #ff8585; }

/* ---------- Article ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article-title { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 5vw, 48px); line-height: 1.04; margin: 14px 0 12px; overflow-wrap: anywhere; }
.article-dek { font-size: clamp(16px, 2.4vw, 20px); color: #cfd6dd; margin: 0 0 14px; line-height: 1.45; }
.byline { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; margin: 0 0 20px; }
.byline strong { color: var(--text); }
.article-figure { margin: 0 0 6px; }
.article-figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 16/9; object-fit: cover; }
.article-figure figcaption { color: var(--muted-2); font-size: 12px; margin-top: 8px; }
.video-note {
  background: var(--glass); border: 1px solid rgba(255,31,31,.35); border-radius: 10px;
  padding: 12px 16px; font-size: 14.5px; color: #d7dce2;
}
.article-body p { font-size: 17.5px; line-height: 1.72; color: #e6eaee; margin: 0 0 20px; overflow-wrap: break-word; }
.article-foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted-2);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}

/* ---------- Prose pages (About / Send a Story) ---------- */
.prose { max-width: 860px; }
.prose.narrow { max-width: 680px; }
.prose p { color: #d7dce2; font-size: 16.5px; line-height: 1.65; }
.prose h2 { font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 26px; margin: 34px 0 10px; }
.prose ul { color: #d7dce2; line-height: 1.65; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: #ff6b6b; text-decoration: underline; text-underline-offset: 3px; }
.follow-banner {
  margin: 40px 0; border: 1px solid rgba(255,31,31,.4); border-radius: 18px; padding: 30px 26px;
  background: radial-gradient(700px 240px at 50% -80px, rgba(255,31,31,.18), transparent 70%), var(--glass);
  text-align: center;
}
.follow-banner h2 { margin-top: 0; font-size: 34px; }
.follow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.follow-tile {
  border: 1px solid var(--line); background: rgba(0,0,0,.3); border-radius: 12px; padding: 18px 10px;
  display: flex; flex-direction: column; gap: 3px; text-decoration: none !important;
}
.follow-tile:hover { border-color: var(--red); }
.follow-name { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 19px; text-transform: uppercase; color: #fff; }
.follow-handle { color: var(--red); font-size: 13.5px; font-weight: 600; }
.partners { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: var(--glass); margin: 36px 0; }
.mail-big { font-family: "Oswald", sans-serif; font-weight: 700; letter-spacing: 0.06em; font-size: 19px; }

/* ---------- Forms ---------- */
.tip-form { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.identity { border: 0; padding: 0; margin: 0; }
.identity legend { font-weight: 700; margin-bottom: 10px; color: var(--text); }
.radio-card {
  display: inline-flex; gap: 10px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; margin: 0 10px 10px 0;
  background: var(--glass); max-width: 300px;
}
.radio-card input { margin-top: 4px; accent-color: var(--red); }
.radio-card small { display: block; color: var(--muted); font-weight: 400; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea {
  background: #0a0c10; border: 1px solid var(--line); border-radius: 10px; color: var(--text);
  padding: 12px 14px; font-size: 15px; font-family: inherit; width: 100%;
}
.field input:focus, .field textarea:focus, .news-form input:focus { outline: 1px solid var(--red); border-color: var(--red); }
.btn-submit { align-self: flex-start; }
.fineprint { color: var(--muted-2); font-size: 13px; }

/* ---------- Empty / 404 ---------- */
.empty { text-align: center; padding: 60px 20px; background: var(--glass); border: 1px solid var(--line); border-radius: 16px; }
.empty h2 { font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 28px; margin: 6px 0 8px; }
.empty p { color: var(--muted); }

/* ---------- Footer (slim, every page) ---------- */
.footer { border-top: 1px solid var(--line); border-bottom: 3px solid var(--red); background: rgba(5,6,8,.9); }
.foot-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 16px;
}
.foot-tag { color: var(--muted); font-size: 12.5px; }
.foot-links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 13px; font-weight: 600; }
.foot-links a:hover { color: #fff; }
.foot-copy { color: var(--muted-2); font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trend-rail { grid-template-columns: repeat(2, 1fr); }
  .hero-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
  .trend-rail { grid-template-columns: 1fr; }
  .follow-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-media { aspect-ratio: auto; min-height: 420px; }
  .hero-media img { position: absolute; inset: 0; }
  .hero-content { padding: 18px; }
  .wordmark { font-size: 36px; }
  .mast-tag { letter-spacing: 0.18em; font-size: 10px; }
  .need-thumb { width: 84px; height: 58px; }
  .need-rank { font-size: 26px; min-width: 32px; }
  .foot-links { margin-left: 0; }
  main { padding: 18px 16px 48px; }
}
