/* ============================================================
   Healthfully — Pure CSS Stylesheet
   Design: Warm Scientific Humanism
   Fonts: Lora (serif headings) + Nunito Sans (body)
   Palette: Off-white #FAF8F4 | Deep slate #1C2B3A | Teal #0D9488 | Amber #D97706
   ============================================================ */

@import url('fonts.css');

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

:root {
  --bg:        #FAF8F4;
  --bg2:       #F2EFE9;
  --bg3:       #E8E3DA;
  --slate:     #1C2B3A;
  --slate2:    #2E4057;
  --slate3:    #4A6274;
  --teal:      #0D9488;
  --teal-dark: #0A7A6F;
  --teal-light:#CCFBF1;
  --amber:     #D97706;
  --amber-light:#FEF3C7;
  --red:       #DC2626;
  --white:     #FFFFFF;
  --border:    #D6D0C8;
  --shadow-sm: 0 1px 3px rgba(28,43,58,.08);
  --shadow:    0 4px 16px rgba(28,43,58,.10);
  --shadow-lg: 0 8px 32px rgba(28,43,58,.14);
  --radius:    8px;
  --radius-lg: 14px;
  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Nunito Sans', system-ui, sans-serif;
  --nav-h:     64px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--slate);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--slate);
}

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: .35rem; }

/* ── Layout helpers ───────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 780px; }
.container--wide   { max-width: 1400px; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(250,248,244,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.nav__logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700;
  color: var(--slate); text-decoration: none;
}
.nav__logo-icon {
  width: 32px; height: 32px; background: var(--teal); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: .9rem; flex-shrink: 0;
}
.nav__logo-sub { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-family: var(--font-sans); font-weight: 700; display: block; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a { font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--slate3); text-decoration: none; transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--teal); }
.nav__search { position: relative; }
.nav__search input {
  padding: .4rem .9rem .4rem 2.2rem; border: 1px solid var(--border);
  border-radius: 20px; font-size: .85rem; background: var(--bg2);
  font-family: var(--font-sans); width: 200px; transition: width .3s, border-color .2s;
}
.nav__search input:focus { outline: none; border-color: var(--teal); width: 260px; background: white; }
.nav__search-icon { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); color: var(--slate3); font-size: .85rem; pointer-events: none; }
.nav__hamburger { display: none; background: none; border: none; cursor: pointer; padding: .4rem; flex-direction: column; gap: 5px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--slate); border-radius: 2px; transition: .3s; }
.nav__mobile { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; z-index: 99; flex-direction: column; gap: .75rem; }
.nav__mobile.open { display: flex; }
.nav__mobile a { font-size: .95rem; font-weight: 600; color: var(--slate); padding: .5rem 0; border-bottom: 1px solid var(--border); }

/* ── Page offset ──────────────────────────────────────────── */
.page-top { padding-top: var(--nav-h); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: 3rem; padding: 5rem 0 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg) 55%, var(--teal-light) 100%);
  z-index: 0;
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.hero__eyebrow::before { content: ''; display: block; width: 2rem; height: 2px; background: var(--teal); }
.hero__title { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; color: var(--slate); margin-bottom: 1.25rem; }
.hero__title em { color: var(--teal); font-style: italic; }
.hero__desc { font-size: 1.1rem; color: var(--slate3); max-width: 480px; margin-bottom: 2rem; }
.hero__stats { display: flex; gap: 2rem; margin-bottom: 2.5rem; }
.hero__stat-num { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: var(--slate); display: block; }
.hero__stat-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate3); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__image { position: relative; z-index: 1; display: flex; justify-content: center; }
.hero__image img { width: 100%; max-width: 540px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .9rem; font-weight: 700;
  cursor: pointer; border: 2px solid transparent; transition: all .2s; text-decoration: none;
}
.btn--primary { background: var(--teal); color: white; }
.btn--primary:hover { background: var(--teal-dark); color: white; text-decoration: none; }
.btn--outline { background: transparent; border-color: var(--slate); color: var(--slate); }
.btn--outline:hover { background: var(--slate); color: white; text-decoration: none; }
.btn--sm { padding: .5rem 1rem; font-size: .8rem; }
.btn--teal-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn--teal-outline:hover { background: var(--teal); color: white; text-decoration: none; }

/* ── Section headings ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); margin-bottom: .75rem; }
.section-header__title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: .75rem; }
.section-header__desc { font-size: 1rem; color: var(--slate3); max-width: 560px; margin: 0 auto; }

/* ── Category cards ───────────────────────────────────────── */
.categories { padding: 5rem 0; background: var(--bg2); }
.categories__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.cat-card {
  background: white; border-radius: var(--radius-lg); padding: 1.5rem 1.25rem;
  border: 1px solid var(--border); text-decoration: none; color: var(--slate);
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; gap: .6rem;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; color: var(--slate); }
.cat-card__icon { font-size: 1.6rem; }
.cat-card__title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; }
.cat-card__count { font-size: .78rem; color: var(--slate3); }
.cat-card__bar { height: 3px; border-radius: 2px; margin-top: .25rem; }

/* ── Featured articles ────────────────────────────────────── */
.featured { padding: 5rem 0; }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.featured__main { grid-row: span 2; }
.article-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card--large .article-card__img { height: 280px; }
.article-card__img { height: 180px; overflow: hidden; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-card__tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 4px; margin-bottom: .75rem; }
.article-card__title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--slate); }
.article-card--large .article-card__title { font-size: 1.4rem; }
.article-card__summary { font-size: .88rem; color: var(--slate3); flex: 1; margin-bottom: 1rem; }
.article-card__footer { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--slate3); }
.article-card__read { color: var(--teal); font-weight: 700; font-size: .82rem; }

/* ── Quote banner ─────────────────────────────────────────── */
.quote-banner { padding: 5rem 0; background: var(--slate); color: white; }
.quote-banner__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.quote-banner__marks { font-size: 5rem; line-height: 1; color: var(--teal); font-family: var(--font-serif); margin-bottom: -1rem; }
.quote-banner__text { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-style: italic; line-height: 1.5; margin-bottom: 1.5rem; color: rgba(255,255,255,.92); }
.quote-banner__author { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.quote-banner__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.quote-banner__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; border: none; transition: background .2s; }
.quote-banner__dot.active { background: var(--teal); }

/* ── All sections browser ─────────────────────────────────── */
.all-sections { padding: 5rem 0; background: var(--bg2); }
.all-sections__tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; justify-content: center; }
.tab-btn {
  padding: .45rem 1rem; border-radius: 20px; font-size: .82rem; font-weight: 700;
  border: 2px solid var(--border); background: white; color: var(--slate3); cursor: pointer; transition: all .2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--teal); border-color: var(--teal); color: white; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.section-articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.mini-card {
  background: white; border-radius: var(--radius); padding: 1.1rem 1.25rem;
  border: 1px solid var(--border); text-decoration: none; color: var(--slate);
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; gap: .4rem;
}
.mini-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--slate); }
.mini-card__title { font-family: var(--font-serif); font-size: .95rem; font-weight: 700; }
.mini-card__summary { font-size: .8rem; color: var(--slate3); line-height: 1.5; }
.mini-card__meta { font-size: .72rem; color: var(--teal); font-weight: 700; margin-top: auto; }

/* ── About strip ──────────────────────────────────────────── */
.about-strip { padding: 5rem 0; }
.about-strip__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-strip__label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .75rem; }
.about-strip__title { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 1rem; }
.about-strip__text { color: var(--slate3); margin-bottom: 1.5rem; }
.about-strip__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-stat { background: var(--bg2); border-radius: var(--radius); padding: 1rem; border-left: 3px solid var(--teal); }
.about-stat__num { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--teal); }
.about-stat__label { font-size: .78rem; color: var(--slate3); }
.about-strip__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-strip__img img { width: 100%; height: 380px; object-fit: cover; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--slate); color: rgba(255,255,255,.75); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand { }
.footer__logo { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: white; display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; text-decoration: none; }
.footer__logo-icon { width: 28px; height: 28px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; color: white; flex-shrink: 0; }
.footer__tagline { font-size: .85rem; line-height: 1.6; margin-bottom: 1.25rem; }
.footer__heading { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: white; margin-bottom: 1rem; }
.footer__links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer__links a { font-size: .85rem; color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--teal); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; }
.footer__bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer__bottom a:hover { color: var(--teal); }

/* ── Section page hero ────────────────────────────────────── */
.section-hero {
  padding: 5rem 0 4rem; position: relative; overflow: hidden;
  background: var(--slate);
}
.section-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,43,58,.95) 50%, rgba(13,148,136,.3) 100%);
  z-index: 1;
}
.section-hero__bg { position: absolute; inset: 0; z-index: 0; }
.section-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.section-hero__content { position: relative; z-index: 2; }
.section-hero__breadcrumb { font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.section-hero__breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.section-hero__breadcrumb a:hover { color: var(--teal); }
.section-hero__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); margin-bottom: .75rem; }
.section-hero__title { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; color: white; margin-bottom: 1rem; }
.section-hero__desc { font-size: 1.05rem; color: rgba(255,255,255,.8); max-width: 600px; margin-bottom: 2rem; }
.section-hero__meta { display: flex; gap: 2rem; }
.section-hero__meta-item { font-size: .82rem; color: rgba(255,255,255,.6); }
.section-hero__meta-item strong { color: white; display: block; font-size: 1.1rem; font-family: var(--font-serif); }

/* ── Article list on section page ────────────────────────── */
.section-content { padding: 4rem 0; }
.section-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sidebar__card { background: white; border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--border); margin-bottom: 1.5rem; }
.sidebar__title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.sidebar__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.sidebar__list a { font-size: .85rem; color: var(--slate3); text-decoration: none; display: flex; align-items: center; gap: .4rem; transition: color .2s; }
.sidebar__list a:hover { color: var(--teal); }
.sidebar__list a.current { color: var(--teal); font-weight: 700; }
.sidebar__list a::before { content: '›'; color: var(--teal); font-size: 1rem; }

/* ── Article detail page ──────────────────────────────────── */
.article-hero {
  padding: 4rem 0 3rem; background: var(--slate); position: relative; overflow: hidden;
}
.article-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,43,58,.97) 55%, rgba(13,148,136,.25) 100%);
  z-index: 1;
}
.article-hero__bg { position: absolute; inset: 0; z-index: 0; }
.article-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.article-hero__content { position: relative; z-index: 2; max-width: 780px; }
.article-hero__breadcrumb { font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.article-hero__breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.article-hero__breadcrumb a:hover { color: var(--teal); }
.article-hero__tag { display: inline-block; background: var(--teal); color: white; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 4px; margin-bottom: 1rem; }
.article-hero__title { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; color: white; margin-bottom: 1rem; }
.article-hero__summary { font-size: 1.05rem; color: rgba(255,255,255,.8); max-width: 620px; }

/* ── Article reading layout ───────────────────────────────── */
.article-reading { padding: 4rem 0; }
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }
.article-body { font-size: 1.05rem; line-height: 1.85; color: var(--slate2); }
.article-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--slate); }
.article-body h3 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--slate); }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  border-left: 4px solid var(--teal); margin: 2rem 0;
  padding: 1rem 1.5rem; background: var(--teal-light); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--slate2);
}
.article-body strong { color: var(--slate); }

/* Key facts box */
.key-facts { background: var(--amber-light); border: 1px solid #FDE68A; border-radius: var(--radius-lg); padding: 1.75rem; margin: 2.5rem 0; }
.key-facts__title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--slate); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.key-facts__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.key-facts__list li { display: flex; gap: .75rem; font-size: .9rem; color: var(--slate2); }
.key-facts__list li::before { content: '✓'; color: var(--amber); font-weight: 700; flex-shrink: 0; }

/* Pull quote */
.pull-quote { border-left: 4px solid var(--teal); padding: 1.5rem 2rem; margin: 2.5rem 0; background: white; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; box-shadow: var(--shadow-sm); }
.pull-quote__text { font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; color: var(--slate); margin-bottom: .75rem; line-height: 1.6; }
.pull-quote__author { font-size: .8rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; }

/* ── Related articles ─────────────────────────────────────── */
.related { padding: 4rem 0; background: var(--bg2); }
.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }

/* ── Articles index page ──────────────────────────────────── */
.articles-page { padding: 4rem 0; }
.search-bar { display: flex; gap: 1rem; margin-bottom: 2.5rem; }
.search-bar input {
  flex: 1; padding: .75rem 1.25rem; border: 2px solid var(--border);
  border-radius: var(--radius); font-size: 1rem; font-family: var(--font-sans);
  background: white; transition: border-color .2s;
}
.search-bar input:focus { outline: none; border-color: var(--teal); }
.search-bar select {
  padding: .75rem 1rem; border: 2px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; font-family: var(--font-sans); background: white; cursor: pointer;
}
.search-bar select:focus { outline: none; border-color: var(--teal); }
.search-results-count { font-size: .85rem; color: var(--slate3); margin-bottom: 1.5rem; }
.articles-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.no-results { text-align: center; padding: 4rem 0; color: var(--slate3); }
.no-results h3 { font-size: 1.2rem; margin-bottom: .5rem; }

/* ── About page ───────────────────────────────────────────── */
.about-page { padding: 4rem 0; }
.about-page__hero { background: var(--slate); padding: 5rem 0; margin-bottom: 4rem; }
.about-page__hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-page__hero-text h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: white; margin-bottom: 1rem; }
.about-page__hero-text p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.about-page__hero-img { border-radius: var(--radius-lg); overflow: hidden; }
.about-page__hero-img img { width: 100%; height: 320px; object-fit: cover; }
.about-content { max-width: 780px; }
.about-content h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.about-content p { color: var(--slate2); margin-bottom: 1.25rem; }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0; }
.principle-card { background: white; border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--border); border-top: 3px solid var(--teal); }
.principle-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.principle-card p { font-size: .88rem; color: var(--slate3); margin: 0; }

/* ── Tags ─────────────────────────────────────────────────── */
.tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
.tag { font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 4px; background: var(--bg3); color: var(--slate3); }

/* ── Back to top ──────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal);
  color: white; border: none; cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--teal-dark); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { font-size: .8rem; color: var(--slate3); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--slate3); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin: 0 .4rem; }

/* ── Page hero (generic) ──────────────────────────────────── */
.page-hero { background: var(--slate); padding: 4rem 0 3rem; }
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: white; margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; }

/* ── Prev/Next navigation ─────────────────────────────────── */
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.article-nav__item { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; text-decoration: none; color: var(--slate); transition: border-color .2s; }
.article-nav__item:hover { border-color: var(--teal); text-decoration: none; color: var(--slate); }
.article-nav__item--next { text-align: right; }
.article-nav__label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate3); margin-bottom: .3rem; }
.article-nav__title { font-family: var(--font-serif); font-size: .9rem; font-weight: 700; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 0 2rem; }
  .hero__image { display: none; }
  .featured__grid { grid-template-columns: 1fr; }
  .featured__main { grid-row: span 1; }
  .section-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .about-strip__inner { grid-template-columns: 1fr; }
  .about-strip__img { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about-page__hero-inner { grid-template-columns: 1fr; }
  .about-page__hero-img { display: none; }
  .principles-grid { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__search { display: none; }
  .nav__hamburger { display: flex; }
  .hero__stats { gap: 1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn { width: auto; }
  .section-hero__meta { flex-direction: column; gap: .75rem; }
  .search-bar { flex-direction: column; }
}
