/* ============================================
   THE AMERICA250 JOURNAL — SHARED STYLES
   ============================================ */

:root {
  --ink: #1a1a1a;
  --paper: #fbf8f3;
  --paper-warm: #f5efe4;
  --red: #b8232e;
  --red-deep: #8b1a1a;
  --navy: #1f2d5c;
  --navy-deep: #0e1840;
  --gold: #b8893d;
  --rule: #c9bfa9;
  --muted: #6b6358;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 18px;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184, 137, 61, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(184, 35, 46, 0.03) 0%, transparent 40%);
}

img { max-width: 100%; height: auto; display: block; }

/* TOP BAR */
.top-bar {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 0;
  text-align: center;
}
.top-bar .stars { color: var(--red); letter-spacing: 4px; }

/* MASTHEAD */
.masthead {
  border-bottom: 3px double var(--ink);
  padding: 40px 24px 24px;
  text-align: center;
  position: relative;
}
.masthead-meta {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.masthead-meta span::before { content: "★ "; color: var(--red); }
.masthead h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 12px;
}
.masthead h1 a { color: var(--ink); text-decoration: none; }
.masthead h1 .amp { font-style: italic; color: var(--red); font-weight: 400; }
.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
}

/* NAV */
nav.primary {
  background: rgba(251, 248, 243, 0.96);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  flex-wrap: wrap;
}
.nav-inner a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav-inner a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-inner a:hover { color: var(--red); }
.nav-inner a:hover::after { width: 100%; }

/* SHARED BUTTONS */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--red); color: var(--paper); border-color: var(--red); }
.btn.primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.light { color: var(--paper); border-color: var(--paper); }
.btn.light:hover { background: var(--paper); color: var(--ink); }

/* SHARED LABELS */
.feature-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.feature-label::before {
  content: "";
  flex: 0 0 30px;
  height: 1px;
  background: var(--red);
}

/* SECTION DIVIDER */
.section-divider {
  max-width: 1200px;
  margin: 80px auto 50px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.section-divider span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

/* ARTICLE BODY */
.article-header {
  max-width: 800px;
  margin: 80px auto 40px;
  padding: 0 24px;
  text-align: center;
}
.article-category {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 24px;
}
.article-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.article-deck {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 32px;
}
.article-meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.article-meta strong { color: var(--ink); font-weight: 600; }

.hero-art {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 24px;
}
.hero-art img {
  width: 100%;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.18));
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.article-body p {
  font-size: 20px;
  line-height: 1.75;
  margin-bottom: 24px;
  color: var(--ink);
}
.article-body p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 88px;
  float: left;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  color: var(--red);
}
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 48px 0 20px;
}
.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  margin: 32px 0 16px;
}
.article-body blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.4;
  color: var(--red);
  border-left: 4px solid var(--red);
  padding: 16px 0 16px 32px;
  margin: 40px 0;
}
.article-body em { color: var(--red-deep); font-style: italic; }
.article-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.article-body img {
  margin: 40px 0;
  width: 100%;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.12));
}
.article-divider {
  text-align: center;
  margin: 48px 0;
  color: var(--gold);
  letter-spacing: 16px;
  font-size: 14px;
}

/* PULL QUOTE BAND */
.pullquote-section {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 24px;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
}
.pullquote-section::before,
.pullquote-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 4px;
}
.pullquote-section::before {
  top: 0;
  background: linear-gradient(90deg, var(--red) 0%, var(--paper) 50%, var(--navy) 100%);
}
.pullquote-section::after {
  bottom: 0;
  background: linear-gradient(90deg, var(--navy) 0%, var(--paper) 50%, var(--red) 100%);
}
.pullquote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.pullquote .mark {
  font-family: 'Playfair Display', serif;
  font-size: 100px;
  line-height: 0.5;
  color: var(--gold);
  font-weight: 900;
}
.pullquote blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.3;
  margin: 32px 0;
}
.pullquote cite {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* NEWSLETTER */
.newsletter {
  background: var(--ink);
  color: var(--paper);
  padding: 90px 24px;
  text-align: center;
}
.newsletter-inner { max-width: 600px; margin: 0 auto; }
.newsletter .stars { letter-spacing: 6px; color: var(--red); font-size: 16px; margin-bottom: 20px; }
.newsletter h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 16px;
}
.newsletter p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: rgba(251, 248, 243, 0.85);
  margin-bottom: 32px;
}
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--paper);
  background: rgba(251, 248, 243, 0.05);
}
.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  background: transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--paper);
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(251, 248, 243, 0.5); font-style: italic; }
.newsletter-form button {
  background: var(--red);
  color: var(--paper);
  border: none;
  padding: 16px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.newsletter-form button:hover { background: var(--red-deep); }

/* FOOTER */
footer {
  background: #0d0d0d;
  color: var(--paper);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 28px;
  margin-bottom: 12px;
}
.footer-brand h3 .amp { color: var(--red); font-style: italic; font-weight: 400; }
.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(251, 248, 243, 0.7);
  line-height: 1.5;
}
footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 600;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul a {
  color: rgba(251, 248, 243, 0.8);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  transition: color 0.3s ease;
}
footer ul a:hover { color: var(--paper); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(251, 248, 243, 0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(251, 248, 243, 0.6);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .stars { color: var(--red); letter-spacing: 4px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .nav-inner { gap: 20px; }
  .masthead-meta { gap: 16px; font-size: 9px; }
  .footer-inner { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}

/* ENTRANCE ANIM */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.article-header, .article-body { animation: fadeUp 0.8s ease-out backwards; }
.article-body { animation-delay: 0.15s; }
