:root {
  --ink: #17120f;
  --muted: #6f6258;
  --cream: #fff8ed;
  --paper: #fffdf8;
  --turquoise: #31d7ce;
  --turquoise-dark: #0b6f6b;
  --gold: #d8aa45;
  --gold-soft: #fff0bd;
  --burgundy: #651d32;
  --line: rgba(101, 29, 50, 0.16);
  --shadow: 0 24px 70px rgba(42, 23, 12, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(49, 215, 206, 0.18), transparent 34rem),
    radial-gradient(circle at top right, rgba(216, 170, 69, 0.2), transparent 30rem),
    linear-gradient(180deg, #fffaf0 0%, #fffdf8 46%, #f7efe3 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 3vw, 3rem);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(216, 170, 69, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(11, 111, 107, 0.16);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.top-nav a:hover {
  color: var(--burgundy);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 66vh;
  display: grid;
  align-content: center;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 6rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--turquoise-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  margin: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.hero-copy {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.75;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(216, 170, 69, 0.4);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.gold {
  background: linear-gradient(135deg, #f6d477, var(--gold));
  color: #321d05;
  box-shadow: 0 14px 34px rgba(216, 170, 69, 0.26);
}

.btn.glass {
  background: rgba(255, 255, 255, 0.6);
  color: var(--burgundy);
}

.btn.dark {
  background: var(--burgundy);
  color: #fff8ed;
  border-color: var(--burgundy);
}

.btn.full {
  width: 100%;
}

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.featured-copy,
.signal-card,
.article-card,
.cta,
.article-shell,
.article-aside > .signal-card {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.featured-copy {
  padding: clamp(1.6rem, 4vw, 3rem);
}

.featured-copy p,
.article-card p,
.cta p,
.article-shell p,
.signal-card p {
  color: var(--muted);
  line-height: 1.75;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
  color: var(--burgundy);
  font-size: 0.88rem;
  font-weight: 800;
}

.meta span::before {
  content: "• ";
  color: var(--gold);
}

.signal-card {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.signal-card ul,
.rich-list {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.signal-card li,
.rich-list li {
  margin-bottom: 0.65rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.75;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.article-card {
  padding: 1.4rem;
}

.article-card h3 a:hover {
  color: var(--burgundy);
}

.read-more {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--turquoise-dark);
  font-weight: 900;
}

.cta {
  margin: 0 0 clamp(4rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(101, 29, 50, 0.94), rgba(22, 14, 12, 0.96)),
    radial-gradient(circle at top right, rgba(49, 215, 206, 0.3), transparent 26rem);
  color: #fffaf0;
}

.cta p,
.cta .eyebrow {
  color: rgba(255, 248, 237, 0.78);
}

.article-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.2rem;
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
  align-items: start;
}

.article-shell {
  padding: clamp(1.6rem, 5vw, 4rem);
}

.article-shell h1 {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.back-link {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--turquoise-dark);
  font-weight: 900;
}

.article-section {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tag-row span {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(49, 215, 206, 0.12);
  border: 1px solid rgba(49, 215, 206, 0.28);
  color: var(--turquoise-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.source-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.source-list a {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.source-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.sticky {
  position: sticky;
  top: 6rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 3vw, 3rem);
  border-top: 1px solid rgba(216, 170, 69, 0.22);
  color: var(--muted);
}

footer nav {
  display: flex;
  gap: 1rem;
}

@media (max-width: 860px) {
  .top-nav {
    display: none;
  }

  .featured,
  .article-main {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Shared footer discovery links */
.afmr-footer-discovery {
  width: min(1080px, calc(100% - 28px));
  margin: 26px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(193, 154, 107, 0.28);
}

.afmr-footer-discovery p {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
  font-weight: 800;
}

.afmr-footer-discovery div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.afmr-footer-discovery a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(193, 154, 107, 0.34);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.afmr-footer-discovery a:hover {
  transform: translateY(-1px);
}

/* Creator Radar generated article images */
.cr-generated-image-link {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 250, 240, 0.08);
  box-shadow: 0 20px 54px rgba(22, 9, 20, 0.14);
}

.cr-generated-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cr-image-enhanced {
  overflow: hidden;
}

.cr-article-hero-image {
  margin: 24px 0 26px;
}

.cr-article-hero-image .cr-generated-image-link {
  max-width: 980px;
  margin-inline: auto;
}

@media (max-width: 720px) {
  .cr-generated-image-link {
    border-radius: 18px;
    margin-bottom: 14px;
  }

  .cr-article-hero-image {
    margin: 18px 0 20px;
  }
}

/* Server-side Creator Radar article image */
.cr-server-article-image {
  margin: 24px 0 28px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 20px 54px rgba(22, 9, 20, 0.14);
  background: rgba(255, 250, 240, 0.12);
}

.cr-server-article-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (max-width: 720px) {
  .cr-server-article-image {
    border-radius: 18px;
    margin: 18px 0 22px;
  }
}
