/* =========================================================
   RELENTLESSAARON — Urban Culture & Entertainment Magazine
   "Atlanta Runs Different"
   Tabloid energy: black masthead, blood-red accents, condensed
   impact headlines. Display: Anton · Labels: Barlow Condensed ·
   Body: Archivo.
   ========================================================= */

:root {
  --black:    #0b0b0d;   /* off-black base */
  --black-2:  #131316;   /* raised surface */
  --black-3:  #1c1c21;   /* card surface on dark */
  --ink:      #18181b;   /* text on light */
  --paper:    #ffffff;
  --paper-2:  #f4f4f5;   /* light section bg */
  --paper-3:  #e9e9ec;   /* hairlines on light */
  --red:      #e01313;   /* signature red */
  --red-2:    #b50f0f;   /* pressed red */
  --red-glow: rgba(224, 19, 19, 0.45);
  --line:     rgba(255,255,255,0.10);  /* hairline on dark */
  --muted:    #9a9aa2;   /* secondary text on dark */
  --muted-2:  #6c6c75;   /* secondary text on light */

  --container: 1180px;

  --f-display: "Anton", "Arial Narrow", sans-serif;       /* impact heads */
  --f-cond:    "Barlow Condensed", "Arial Narrow", sans-serif; /* labels/nav */
  --f-body:    "Archivo", "Helvetica Neue", Arial, sans-serif; /* copy */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ========================= TOP BAR ========================= */
.topbar {
  background: var(--black);
  color: #cfcfd4;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-cond);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px; gap: 16px;
}
.topbar-tag {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #b6b6bd; font-weight: 600;
}
.topbar-right { display: flex; align-items: center; gap: 4px; }
.social-link, .search-btn {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  color: #cfcfd4; transition: color .15s, background .15s;
  border-radius: 2px;
}
.social-link:hover, .search-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.social-link svg, .search-btn svg { width: 15px; height: 15px; }
.search-btn { margin-left: 4px; }

/* ========================= MASTHEAD ========================= */
.masthead {
  background: var(--black);
  color: #fff;
  position: relative;
}
.masthead::after {
  /* faint skyline texture behind the masthead */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 140% at 80% -20%, rgba(224,19,19,0.18), transparent 55%);
  pointer-events: none;
}
.masthead-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  background: var(--red);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 22px; color: #fff; letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 6px 18px var(--red-glow);
  transform: skewX(-6deg);
}
.brand-mark span { transform: skewX(6deg); }
.brand-word {
  font-family: var(--f-display);
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 0.9; letter-spacing: 0.01em;
  text-transform: uppercase; color: #fff;
}
.brand-word .accent { color: var(--red); }

.tagline-stack { text-align: right; line-height: 1; }
.tagline-crown { color: var(--red); margin-bottom: 2px; }
.tagline-crown svg { width: 26px; height: 18px; display: inline-block; }
.tagline-city {
  font-family: var(--f-display);
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
}
.tagline-script {
  font-family: "Pacifico", cursive;
  font-size: clamp(15px, 2vw, 20px);
  color: var(--red);
  transform: rotate(-4deg); display: inline-block;
  margin-top: 2px;
}

/* ========================= PRIMARY NAV ========================= */
.mainnav {
  background: var(--black-2);
  border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--red);
  position: sticky; top: 0; z-index: 60;
}
.mainnav-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; }
.nav-links { display: flex; align-items: stretch; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  height: 52px; padding: 0 17px;
  font-family: var(--f-cond);
  font-size: 16px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #e7e7ea;
  border-bottom: 3px solid transparent; margin-bottom: -3px;
  transition: color .15s, background .15s, border-color .15s;
}
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-links > li > a.is-active {
  color: #fff; background: var(--red); border-bottom-color: var(--red-2);
}
.nav-links .caret { width: 9px; height: 9px; opacity: 0.7; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 9px;
  align-self: center;
  background: var(--red); color: #fff;
  font-family: var(--f-cond);
  font-size: 15px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 11px 22px; border-radius: 2px;
  transition: background .15s, transform .1s;
}
.nav-cta:hover { background: var(--red-2); }
.nav-cta:active { transform: translateY(1px); }
.nav-cta svg { width: 16px; height: 16px; }

.nav-toggle { display: none; color: #fff; padding: 14px 0; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ========================= BREAKING TICKER ========================= */
.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  display: flex; align-items: stretch;
}
.ticker-label {
  flex: none;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--black);
  font-family: var(--f-cond);
  font-size: 14px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff;
  padding: 0 18px;
  position: relative; z-index: 2;
}
.ticker-label::after {
  content: ""; position: absolute; right: -12px; top: 0; bottom: 0; width: 12px;
  background: var(--black);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ticker-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: ticker-pulse 1.4s ease-out infinite;
}
@keyframes ticker-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,19,19,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(224,19,19,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,19,19,0); }
}
.ticker-viewport { overflow: hidden; flex: 1; display: flex; align-items: center; }
.ticker-track {
  display: inline-flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 34s linear infinite;
  font-family: var(--f-cond);
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center;
  padding: 9px 26px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff;
}
.ticker-item::before {
  content: ""; width: 5px; height: 5px; background: #fff;
  border-radius: 50%; margin-right: 16px; opacity: 0.8;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ========================= HERO ========================= */
.hero { background: var(--black); padding: 26px 0 34px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

/* shared media-card base (dark photo placeholders) */
.media {
  position: relative; overflow: hidden;
  background: #15151a; color: #fff;
  display: block; border-radius: 3px;
  isolation: isolate;
}
.media .media-bg { position: absolute; inset: 0; z-index: 0; }
.media .media-bg svg { width: 100%; height: 100%; object-fit: cover; }
.media .scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,11,13,0.05) 0%, rgba(11,11,13,0.35) 45%, rgba(11,11,13,0.92) 100%);
}
.media .media-body { position: relative; z-index: 2; }

/* feature (big left) */
.feature {
  grid-row: 1 / span 2;
  min-height: 430px;
  display: flex; align-items: flex-end;
}
.feature .media-body { padding: 34px; width: 100%; }
.badge {
  display: inline-block;
  font-family: var(--f-cond);
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--red); color: #fff;
  padding: 6px 12px; margin-bottom: 16px;
}
.badge.is-dark { background: var(--black); }
.feature-title {
  font-family: var(--f-display);
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.86; letter-spacing: 0.005em;
  text-transform: uppercase; color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.feature-title .hl { color: var(--red); display: block; }
.feature-sub {
  font-family: var(--f-cond);
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: 0.04em; text-transform: uppercase;
  color: #d6d6db; max-width: 34ch;
  margin: 16px 0 22px;
}
.btn-read {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--black); color: #fff;
  font-family: var(--f-cond);
  font-size: 15px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 26px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: background .15s, border-color .15s, gap .15s;
}
.btn-read:hover { background: var(--red); border-color: var(--red); gap: 18px; }
.btn-read .arrow { transition: transform .15s; }
.btn-read:hover .arrow { transform: translateX(3px); }

/* featured (top right) */
.feat-top { min-height: 246px; display: flex; align-items: flex-end; }
.feat-top .media-body { padding: 24px; }
.feat-top .badge { margin-bottom: 12px; }
.feat-title {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 0.92; text-transform: uppercase; color: #fff;
}
.feat-deck {
  font-family: var(--f-cond);
  font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  color: #cfcfd4; margin-top: 10px; max-width: 40ch;
}
.watch {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 14px;
  font-family: var(--f-cond);
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff;
}
.watch .play {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); display: grid; place-items: center;
}
.watch .play svg { width: 11px; height: 11px; }

/* two small cards (bottom right) */
.feat-small-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feat-small { min-height: 168px; display: flex; align-items: flex-end; }
.feat-small .media-body { padding: 18px; }
.cat-tab {
  display: inline-block;
  font-family: var(--f-cond);
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff;
  background: var(--red); padding: 4px 9px; margin-bottom: 9px;
}
.cat-tab.alt { background: #2a2a31; color: var(--red); }
.feat-small-title {
  font-family: var(--f-display);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 0.95; text-transform: uppercase; color: #fff;
}
.feat-small-deck {
  font-family: var(--f-cond);
  font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: #c4c4ca; margin-top: 7px;
}

.media:hover .feature-title,
.media:hover .feat-title,
.media:hover .feat-small-title { color: #fff; }
a.media { transition: transform .25s ease; }
a.media:hover { transform: translateY(-3px); }
a.media:hover .scrim { background: linear-gradient(180deg, rgba(224,19,19,0.10) 0%, rgba(11,11,13,0.4) 45%, rgba(11,11,13,0.94) 100%); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feature { grid-row: auto; min-height: 360px; }
}
@media (max-width: 520px) {
  .feat-small-row { grid-template-columns: 1fr; }
}

/* ========================= LATEST STORIES ========================= */
.latest { background: var(--paper); padding: 56px 0 64px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 30px;
  border-bottom: 2px solid var(--ink); padding-bottom: 14px;
}
.section-title {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-display);
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink);
}
.section-title::before {
  content: ""; width: 7px; height: 30px; background: var(--red); display: inline-block;
}
.viewall {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-cond);
  font-size: 14px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
  transition: color .15s, gap .15s;
}
.viewall:hover { color: var(--red); gap: 12px; }

.story-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.story {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: 3px; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.story:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(11,11,13,0.13); border-color: var(--paper-3); }
.story-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #15151a; }
.story-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.story-thumb .cat-tab { position: absolute; left: 12px; top: 12px; margin: 0; z-index: 2; }
.story-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.story h3 {
  font-family: var(--f-display);
  font-size: 19px; line-height: 1.0; text-transform: uppercase;
  color: var(--ink); transition: color .15s;
}
.story:hover h3 { color: var(--red); }
.story p {
  font-family: var(--f-body);
  font-size: 13.5px; color: var(--muted-2); line-height: 1.5; margin: 0;
}
.story-meta {
  margin-top: auto; padding-top: 10px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-cond);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted-2);
  border-top: 1px solid var(--paper-3);
}
.story-meta .by { color: var(--ink); }
.story-meta .sep { color: var(--red); }

@media (max-width: 980px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .story-grid { grid-template-columns: 1fr; } }

/* ========================= RELENTLESS TRUTH (ESSAYS) ========================= */
.essays { background: var(--paper-2); padding: 56px 0 64px; }
.essays .section-note {
  font-family: var(--f-cond);
  font-size: 14px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-2);
}
.essays-lede {
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.55; color: var(--muted-2);
  max-width: 64ch; margin: 0 0 16px;
}
.topic-strip {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 0 30px; padding: 0;
}
.topic-chip {
  font-family: var(--f-cond);
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink);
  background: var(--paper); border: 1px solid var(--paper-3);
  border-radius: 999px; padding: 7px 15px;
}
.topic-chip::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  background: var(--red); border-radius: 50%; margin-right: 8px;
  vertical-align: middle;
}
.essay-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.cat-tab.gold { background: var(--red); }
.story.is-topic { border-style: dashed; border-color: #d4c9ac; background: #fbf7ec; }
@media (max-width: 980px) { .essay-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .essay-grid { grid-template-columns: 1fr; } }

/* ========================= SUBSCRIBE BAND ========================= */
.subscribe {
  background: var(--black); color: #fff;
  position: relative; overflow: hidden;
  padding: 54px 0;
}
.subscribe::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 160% at 90% 50%, rgba(224,19,19,0.22), transparent 60%);
}
.subscribe-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.subscribe .kicker {
  font-family: var(--f-cond);
  font-size: 14px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.subscribe h2 {
  font-family: var(--f-display);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 0.92; text-transform: uppercase;
}
.subscribe p { color: var(--muted); max-width: 46ch; margin: 14px 0 0; font-size: 15px; }
.sub-form { display: flex; flex-direction: column; gap: 10px; }
.sub-row {
  display: flex; border: 2px solid #34343c; border-radius: 3px; overflow: hidden;
  background: var(--black-2);
}
.sub-row input {
  flex: 1; background: transparent; border: 0; color: #fff;
  padding: 16px 18px; font: 500 16px var(--f-body);
}
.sub-row input::placeholder { color: #6c6c75; }
.sub-row input:focus { outline: none; background: rgba(255,255,255,0.03); }
.sub-row button {
  background: var(--red); color: #fff;
  font-family: var(--f-cond);
  font-size: 15px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 0 26px;
  transition: background .15s;
}
.sub-row button:hover { background: var(--red-2); }
.sub-status { font-family: var(--f-cond); font-size: 14px; letter-spacing: 0.06em; color: var(--red); min-height: 1.2em; text-transform: uppercase; }
.sub-note { font-size: 12px; color: var(--muted-2); letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .subscribe-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ========================= FOOTER ========================= */
.site-footer { background: var(--black); color: #fff; border-top: 3px solid var(--red); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  padding: 52px 0 40px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 40ch; line-height: 1.6; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 2px; color: #cfcfd4;
  transition: background .15s, color .15s, border-color .15s;
}
.footer-social a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-family: var(--f-cond);
  font-size: 14px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  font-family: var(--f-cond);
  font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: #cfcfd4;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--f-cond);
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2);
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ========================= MOBILE NAV ========================= */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--black-2); border-bottom: 3px solid var(--red);
    padding: 8px 0;
  }
  .mainnav { position: relative; }
  .mainnav-inner { align-items: center; }
  .nav-links.is-open { display: flex; }
  .nav-links > li > a { height: auto; padding: 13px 24px; border-bottom: 1px solid var(--line); margin: 0; }
  .nav-links > li > a.is-active { border-bottom-color: var(--line); }
  .nav-cta { margin: 0; }
}
@media (max-width: 560px) {
  .topbar-tag { font-size: 11px; letter-spacing: 0.14em; }
  .masthead-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tagline-stack { text-align: left; }
  .nav-cta span { display: none; }
}
