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

/* =========================================
   HERITAGE — Typography Insight
   Color palette:
   --ivory:    #F8F5F0  (background)
   --cream:    #EFEBE3  (section alt bg)
   --graphite: #2C2C2C  (primary text)
   --charcoal: #1A1A1A  (headings)
   --terra:    #B05C3A  (accent / CTA)
   --sapphire: #3A5C80  (secondary accent)
   --muted:    #7A7570  (meta text)
   --border:   #DDD8D0  (dividers)
   ========================================= */

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

:root {
  --ivory:    #F8F5F0;
  --cream:    #EFEBE3;
  --graphite: #2C2C2C;
  --charcoal: #1A1A1A;
  --terra:    #B05C3A;
  --sapphire: #3A5C80;
  --muted:    #7A7570;
  --border:   #DDD8D0;
  --white:    #FFFFFF;
  --radius:   4px;
  --max-w:    1140px;
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
}

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

body {
  background: var(--ivory);
  color: var(--graphite);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--charcoal);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }

p { margin-bottom: 1.25rem; font-size: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 80px 0; }
.section--alt { background: var(--cream); }
.section--dark { background: var(--charcoal); color: var(--ivory); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--ivory); }
.section--dark p { color: #C8C4BE; }

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  display: block;
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1.25rem; }
.section-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.75;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── HEADER / NAV ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--terra); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--graphite);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--terra);
  background: #F5EDE8;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 5px;
  vertical-align: middle;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--graphite);
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: var(--cream); color: var(--terra); }

.nav-cta {
  background: var(--terra) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  padding: 0.45rem 1.1rem !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: #9A4E30 !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--graphite);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.btn-primary:hover { background: #9A4E30; border-color: #9A4E30; }
.btn-secondary {
  background: transparent;
  color: var(--terra);
  border-color: var(--terra);
}
.btn-secondary:hover { background: #F5EDE8; }
.btn-sapphire {
  background: var(--sapphire);
  color: var(--white);
  border-color: var(--sapphire);
}
.btn-sapphire:hover { background: #2E4D6C; }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--graphite); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ── HERO ── */
.hero {
  padding: 110px 0 90px;
  background: var(--ivory);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 38%;
  height: 100%;
  background: var(--cream);
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.hero-title em {
  font-style: italic;
  color: var(--terra);
}
.hero-text {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-img {
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  object-fit: cover;
  width: 100%;
  height: 460px;
}
.hero-stat-strip {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--terra);
  line-height: 1;
}
.hero-stat span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  gap: 1.75rem;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-3px); }

.card-img { width: 100%; height: 200px; object-fit: cover; }

.card-body { padding: 1.5rem; }
.card-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.5rem;
}
.card-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.card-excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.card-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terra);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link::after { content: '→'; transition: transform 0.2s; }
.card-link:hover::after { transform: translateX(4px); }

/* Featured card */
.card--featured { display: grid; grid-template-columns: 1fr 1fr; }
.card--featured .card-img { height: 100%; min-height: 260px; }

/* ── ARTICLE LAYOUT ── */
.article-header {
  padding: 72px 0 56px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.article-header .breadcrumb {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb span { color: var(--terra); }

.article-header h1 { max-width: 760px; margin-bottom: 1rem; }
.article-header .article-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 660px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.article-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
  align-items: center;
}
.article-meta strong { color: var(--graphite); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  padding: 60px 0;
  align-items: start;
}
.article-body h2 { margin: 2.5rem 0 1rem; }
.article-body h3 { margin: 2rem 0 0.75rem; font-size: 1.25rem; }
.article-body p { font-size: 1.02rem; line-height: 1.85; margin-bottom: 1.4rem; }
.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--graphite);
}
.article-body li { margin-bottom: 0.5rem; font-size: 1rem; line-height: 1.7; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote {
  border-left: 3px solid var(--terra);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body blockquote p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--charcoal);
  margin: 0;
}
.article-body .inline-img {
  width: 100%;
  border-radius: var(--radius);
  margin: 2rem 0;
  height: 360px;
  object-fit: cover;
}

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--sans);
}
.sidebar-widget ul li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget a { color: var(--graphite); }
.sidebar-widget a:hover { color: var(--terra); }
.sidebar-highlight {
  background: var(--terra);
  color: var(--white);
  text-align: center;
}
.sidebar-highlight h4 { color: var(--white); border-bottom-color: rgba(255,255,255,0.3); }
.sidebar-highlight p { color: rgba(255,255,255,0.85); font-size: 0.875rem; margin-bottom: 1rem; }

/* ── TABLE OF CONTENTS ── */
.toc {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.toc h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-family: var(--sans);
  color: var(--muted);
  margin-bottom: 1rem;
}
.toc ol { list-style: decimal; margin-left: 1.25rem; }
.toc li { font-size: 0.88rem; margin-bottom: 0.4rem; }
.toc a { color: var(--sapphire); }
.toc a:hover { text-decoration: underline; }

/* ── INFO BOXES ── */
.info-box {
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.info-box--tip {
  background: #EAF2FF;
  border-left: 3px solid var(--sapphire);
}
.info-box--tip p { color: #2A4D70; margin: 0; font-size: 0.93rem; }
.info-box--note {
  background: #FDF3EE;
  border-left: 3px solid var(--terra);
}
.info-box--note p { color: #7A3820; margin: 0; font-size: 0.93rem; }

/* ── COMPARISON TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.compare-table th {
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--sans);
}
.compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--cream); }

/* ── GLOSSARY ── */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.glossary-item {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.glossary-term {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.glossary-def { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ── QUIZ ── */
.quiz-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.quiz-question { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 1.25rem; }
.quiz-options { display: grid; gap: 0.75rem; margin-bottom: 1.75rem; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.93rem;
  background: var(--ivory);
}
.quiz-option:hover { border-color: var(--terra); background: #FDF3EE; }
.quiz-option.selected { border-color: var(--sapphire); background: #EAF2FF; }
.quiz-option.correct { border-color: #4A9B6F; background: #EDF8F2; }
.quiz-option.wrong { border-color: #C0392B; background: #FDEDED; }
.quiz-option input { accent-color: var(--terra); }
.quiz-nav { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.quiz-progress {
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: auto;
}
.quiz-result {
  display: none;
  text-align: center;
  padding: 2rem;
}
.quiz-score {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--graphite);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}
.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.93rem;
  color: var(--graphite);
  transition: border-color 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--sapphire); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-success {
  display: none;
  background: #EDF8F2;
  border: 1px solid #4A9B6F;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-top: 1.25rem;
}
.form-success p { color: #2E7D52; font-size: 0.95rem; margin: 0; font-weight: 500; }

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--terra);
  border: 1px solid var(--border);
}
.contact-info-item h5 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.contact-info-item p { font-size: 0.93rem; color: var(--graphite); margin: 0; }

/* ── ABOUT ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card { text-align: center; }
.team-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  filter: grayscale(15%);
}
.team-name { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 0.25rem; }
.team-role { font-size: 0.8rem; color: var(--terra); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

/* ── FEATURE LIST ── */
.features-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-item { padding: 1.75rem; }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.feature-item h4 { font-family: var(--sans); font-size: 1rem; margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.25rem;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item span { font-size: 0.82rem; color: var(--muted); }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.375rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--terra);
  border: 2px solid var(--ivory);
  box-shadow: 0 0 0 2px var(--terra);
}
.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.35rem;
}
.timeline-title { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 0.5rem; }
.timeline-text { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── FAQ ── */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--charcoal);
  gap: 1rem;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--terra);
  flex-shrink: 0;
  transition: transform 0.25s;
  font-family: var(--sans);
  font-weight: 300;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-item.open .faq-a { display: block; }

/* ── NEWSLETTER ── */
.newsletter-box {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  gap: 3rem;
  align-items: center;
}
.newsletter-text { flex: 1; }
.newsletter-text h3 { color: var(--ivory); margin-bottom: 0.75rem; }
.newsletter-text p { color: #A0A0A0; margin: 0; font-size: 0.93rem; }
.newsletter-form { flex: 1; display: flex; gap: 0.75rem; }
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.35); }

/* ── FOOTER ── */
.site-footer {
  background: var(--charcoal);
  color: #A0A0A0;
  padding: 60px 0 0;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo {
  color: var(--ivory);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p { color: #7A7A7A; line-height: 1.75; font-size: 0.85rem; max-width: 240px; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ivory);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a { color: #7A7A7A; transition: color 0.2s; font-size: 0.85rem; }
.footer-col a:hover { color: var(--terra); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: #555; margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.78rem; color: #555; }
.footer-bottom-links a:hover { color: var(--terra); }

/* ── BREADCRUMB ── */
.page-hero {
  background: var(--cream);
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lead { font-size: 1.05rem; color: var(--muted); max-width: 620px; }

/* ── POLICY PAGES ── */
.policy-wrap { max-width: 860px; margin: 0 auto; padding: 60px 0 80px; }
.policy-wrap h1 { margin-bottom: 0.5rem; }
.policy-date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.policy-wrap h2 { font-size: 1.35rem; margin: 2.5rem 0 0.75rem; }
.policy-wrap h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
.policy-wrap p { font-size: 0.95rem; line-height: 1.85; color: var(--graphite); }
.policy-wrap ul, .policy-wrap ol { margin: 0.75rem 0 1.25rem 1.5rem; }
.policy-wrap li { font-size: 0.93rem; margin-bottom: 0.4rem; line-height: 1.7; color: var(--graphite); }
.policy-wrap ul { list-style: disc; }
.policy-wrap ol { list-style: decimal; }
.policy-wrap table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.875rem; }
.policy-wrap th { background: var(--cream); padding: 0.75rem 1rem; text-align: left; font-weight: 600; border: 1px solid var(--border); }
.policy-wrap td { padding: 0.7rem 1rem; border: 1px solid var(--border); vertical-align: top; }

/* ── TAG / BADGE ── */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--muted);
  border: 1px solid var(--border);
}
.tag--terra { background: #F5EDE8; color: var(--terra); border-color: #E8C5B0; }
.tag--sapphire { background: #EAF2FF; color: var(--sapphire); border-color: #B0C8E8; }

/* ── PULL QUOTE ── */
.pull-quote {
  text-align: center;
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 3rem 0;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--charcoal);
  max-width: 720px;
  margin: 0 auto 1rem;
  line-height: 1.55;
}
.pull-quote cite { font-size: 0.8rem; color: var(--muted); font-style: normal; letter-spacing: 0.08em; }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--terra);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 99;
  text-decoration: none;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); background: #9A4E30; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-item:nth-child(2) { border-right: none; }
  .stats-bar .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 72px 0 60px; }
  .hero::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-img { height: 280px; }
  .hero-stat-strip { gap: 1.5rem; flex-wrap: wrap; }
  .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
  .card--featured { grid-template-columns: 1fr; }
  .card--featured .card-img { height: 220px; }
  .article-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .features-cols { grid-template-columns: 1fr 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .newsletter-box { flex-direction: column; gap: 1.75rem; }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .compare-table { font-size: 0.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: var(--cream); }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .features-cols { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
