@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Source+Sans+3:wght@300;400;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #f5f3ee;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --rule: #c5c0b5;
  --teal: #2a3f4e;
  --gold: #8B6F3B;
  --light-bg: #f0ede6;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── SITE WRAPPER ── */
.site { max-width: 960px; margin: 0 auto; border-left: 0.5px solid var(--rule); border-right: 0.5px solid var(--rule); }

/* ── HEADER / NAV ── */
.site-header {
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
  padding: 22px 0 0;
  text-align: center;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
  text-decoration: none;
  display: block;
}

.site-logo span { font-weight: 400; color: var(--muted); }

.site-tagline {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
  border-top: 0.5px solid var(--rule);
}

.site-nav a {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 9px 14px;
  border-right: 0.5px solid var(--rule);
  transition: background 0.15s;
}

.site-nav a:first-child { border-left: 0.5px solid var(--rule); }
.site-nav a:hover { background: var(--light-bg); }
.site-nav a.nav-subscribe { background: var(--ink); color: var(--cream); }
.site-nav a.nav-subscribe:hover { background: #333; }
.site-nav a.active { background: var(--light-bg); }

/* ── BACKLINK BANNER ── */
.backlink-bar {
  background: var(--teal);
  text-align: center;
  padding: 9px 20px;
  font-size: 12px;
  color: rgba(240,237,230,0.85);
  letter-spacing: 0.03em;
}

.backlink-bar a {
  color: #c5a96a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: var(--cream);
  border: none;
  padding: 10px 22px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s;
}
.btn-primary:hover { background: #7a6030; }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(240,237,230,0.55);
  padding: 10px 22px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-dark {
  background: var(--teal);
  color: var(--cream);
  border: none;
  padding: 9px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  width: 100%;
  text-align: center;
  transition: background 0.15s;
}
.btn-dark:hover { background: #1e3040; }

.btn-gold {
  background: var(--gold);
  color: var(--cream);
  border: none;
  padding: 9px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s;
}
.btn-gold:hover { background: #7a6030; }

/* ── SECTION HEADING ── */
.section-heading {
  text-align: center;
  padding: 16px 0 14px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── TAG PILLS ── */
.tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  color: var(--cream);
  background: var(--teal);
}
.tag.clinical { background: #3d6b5a; }
.tag.nutrition { background: var(--gold); }
.tag.research { background: #2a3f4e; }
.tag.tech { background: #4a4a7a; }

/* ── FOOTER ── */
.site-footer {
  background: #2a3f4e;
  color: rgba(245,243,238,0.55);
  font-size: 12px;
  padding: 32px 40px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
}

.footer-brand .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.85);
  margin-bottom: 8px;
}

.footer-brand .footer-logo span { font-weight: 400; }

.footer-brand p {
  font-family: 'EB Garamond', serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245,243,238,0.5);
  margin-bottom: 12px;
}

.footer-brand .fmc-link {
  font-size: 12px;
  color: #c5a96a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,243,238,0.4);
  margin-bottom: 12px;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  padding-bottom: 6px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(245,243,238,0.6);
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: rgba(245,243,238,0.9); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: rgba(245,243,238,0.3);
}

.footer-bottom a { color: rgba(245,243,238,0.4); }
.footer-bottom a:hover { color: rgba(245,243,238,0.7); }

/* ── MEDICAL DISCLAIMER BAR ── */
.disclaimer-bar {
  background: var(--light-bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 40px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .site-logo { font-size: 22px; }
  .site-nav a { padding: 8px 10px; font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
