/* ── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:        #B87800;
  --gold-hover:  #9E6600;
  --base:        #FAF8F2;
  --header-bg:   #F2EDE2;
  --card-bg:     #FFFFFF;
  --border:      #E0D8CC;
  --text:        #1C1A17;
  --text-muted:  #5A5048;
  --text-dim:    #9A8E84;
  --max-w:       1080px;
  --max-w-prose: 740px;
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--base);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Header / Nav ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(20px, 5vw, 48px);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span { color: var(--gold); }
.site-logo img {
  height: 160px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: #FAF8F2 !important;
  font-weight: 600 !important;
  padding: 8px 18px;
  border-radius: 100px;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--gold-hover) !important; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 48px) clamp(48px, 7vw, 80px);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 820px;
  margin-bottom: 24px;
}

.hero p {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-muted);
  max-width: 660px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero.hero-compact {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--gold); color: #FAF8F2; }
.btn-primary:hover { background: var(--gold-hover); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── About ──────────────────────────────────────────────────────────────────── */
.about-section {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 48px);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.about-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 4px;
}

.about-text h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}

.about-text p { color: var(--text-muted); line-height: 1.7; font-size: 16px; }

/* ── Articles Section ───────────────────────────────────────────────────────── */
.articles-section {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 48px);
}

.articles-inner { max-width: var(--max-w); margin: 0 auto; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ── Article Cards ──────────────────────────────────────────────────────────── */
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
  margin: -28px -28px 0;
  width: calc(100% + 56px);
  border-radius: var(--radius) var(--radius) 0 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.card-series {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}

.card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.card-date { font-size: 12px; color: var(--text-dim); }

.card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.card:hover .card-cta { gap: 8px; }

/* ── Newsletter ─────────────────────────────────────────────────────────────── */
.newsletter-section {
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--border);
  background: #EDE8DE;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.newsletter-inner p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 12px 20px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: var(--text-dim); }
.newsletter-form input:focus { border-color: var(--gold); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 32px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
}
.footer-logo span { color: var(--gold); }

.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-copy { font-size: 13px; color: var(--text-dim); }

/* ── Article Page ───────────────────────────────────────────────────────────── */
.article-hero {
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 48px) clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  max-width: var(--max-w-prose);
  margin: 0 auto;
}

.article-series {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.article-hero h1 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.article-lede {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin-top: 24px;
}

.article-body {
  max-width: var(--max-w-prose);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 48px);
}

.article-body h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  color: var(--text);
}

.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}

.article-body p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.75;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  color: var(--text-muted);
  line-height: 1.75;
}
.article-body li { margin-bottom: 8px; }

.article-body strong { color: var(--text); font-weight: 600; }

.article-body .callout {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 28px 0;
}
.article-body .callout p { margin: 0; font-size: 15px; }

.article-nav {
  max-width: var(--max-w-prose);
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 48px) 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
}

.article-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  transition: opacity var(--transition);
}
.article-nav a:hover { opacity: 0.8; }
.article-nav span { color: var(--border); }

/* ── Stat Highlights ────────────────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.stat-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Newsletter Dropdown ────────────────────────────────────────────────────── */
.nav-cta-wrap {
  position: relative;
  flex-shrink: 0;
}

.newsletter-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  z-index: 200;
}
.newsletter-dropdown.open { display: block; }

.newsletter-dropdown h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.newsletter-dropdown label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.newsletter-dropdown input {
  width: 100%;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  margin-bottom: 14px;
  transition: border-color var(--transition);
  box-sizing: border-box;
}
.newsletter-dropdown input::placeholder { color: var(--text-dim); }
.newsletter-dropdown input:focus { border-color: var(--gold); }

.newsletter-dropdown .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* ── Article Figures ────────────────────────────────────────────────────────── */
.article-figure {
  margin: 32px 0;
  text-align: center;
}

.article-figure img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
}

.article-figure figcaption {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 10px;
  line-height: 1.5;
  font-style: italic;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 16px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .site-nav .nav-links { display: none; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-radius: 12px; }
  .newsletter-form .btn { border-radius: 12px; width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-row { grid-template-columns: 1fr; }
}
