/* ─────────────────────────────────────────────────────────────────────────────
   Meridian Polls — Shared Stylesheet
   Brand: Navy #0B1F3A | Sand #F7F0E6 | Gold #D4900A | Terra #B85C38 | Forest #2C4A3E
───────────────────────────────────────────────────────────────────────────── */

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

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

:root {
  --navy:    #0B1F3A;
  --sand:    #F7F0E6;
  --sand-d:  #EDE4D6;
  --gold:    #D4900A;
  --gold-l:  #F5D090;
  --terra:   #B85C38;
  --forest:  #2C4A3E;
  --slate:   #7A6F64;
  --light:   #DDD6CA;
  --white:   #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-mono:  'DM Mono', monospace;

  --max-w: 1200px;
  --nav-h: 72px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* ── Utility ──────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--slate);
}
.gold-rule {
  display: block; height: 1px; background: var(--gold);
  border: none; margin: 0;
}
.pan-strip {
  height: 4px;
  background: linear-gradient(to right,
    var(--navy)  0% 25%,
    var(--gold)  25% 50%,
    var(--terra) 50% 75%,
    var(--forest)75% 100%);
}
.tag {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; padding: 4px 10px;
  border: 1px solid var(--light); color: var(--slate);
  border-radius: 2px;
}
.tag--terra { border-color: var(--terra); color: var(--terra); }
.tag--gold  { border-color: var(--gold);  color: var(--gold); }
.tag--forest{ border-color: var(--forest);color: var(--forest); }

/* ── Navigation ───────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.2s var(--ease);
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo svg { flex-shrink: 0; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-name {
  font-weight: 700; font-size: 15px; letter-spacing: 3px;
  color: var(--white); text-transform: uppercase;
}
.nav__logo-sub {
  font-weight: 300; font-size: 11px; letter-spacing: 4px;
  color: rgba(255,255,255,0.55); text-transform: uppercase; margin-top: 2px;
}
.nav__links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav__links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s; position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.2s var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__cta {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 10px 20px;
  background: var(--terra); color: var(--white);
  border: none; cursor: pointer;
  transition: background 0.15s;
}
.nav__cta:hover { background: #a04e2c; }

/* Mobile menu toggle */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px; background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}
.nav__mobile {
  display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--navy); padding: 16px 32px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block; padding: 12px 0; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a.active {
  color: var(--white);
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

/* ── Page Hero ────────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--navy); padding: 72px 0 64px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
}
.page-hero .section-label { color: var(--gold); margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(36px, 5vw, 60px);
  color: var(--white); line-height: 1.15; max-width: 720px;
}
.page-hero p {
  font-size: 17px; color: rgba(255,255,255,0.6); margin-top: 16px; max-width: 560px;
}

/* ── Hero (Homepage) ──────────────────────────────────────────────────────── */
.hero {
  background: var(--navy); padding: 96px 0 0; position: relative; overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero__label { color: var(--gold); margin-bottom: 20px; }
.hero h1 {
  font-family: var(--font-serif); font-size: clamp(44px, 5.5vw, 80px);
  color: var(--white); line-height: 1.1; margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-l); }
.hero__sub {
  font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 14px 28px; cursor: pointer;
  transition: all 0.15s var(--ease); border: none;
}
.btn--terra { background: var(--terra); color: var(--white); }
.btn--terra:hover { background: #a04e2c; }
.btn--outline-gold {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(212,144,10,0.45);
}
.btn--outline-gold:hover { background: rgba(212,144,10,0.08); border-color: var(--gold); }
.btn--outline-navy {
  background: transparent; color: var(--navy);
  border: 1px solid rgba(11,31,58,0.25);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

.hero__visual {
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 0;
}
.hero__stat-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--gold); padding: 40px;
  position: relative;
}
.hero__stat-card .stat-num {
  font-family: var(--font-mono); font-size: 80px; font-weight: 500;
  color: var(--white); line-height: 1;
}
.hero__stat-card .stat-label {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-top: 12px;
}
.hero__stat-card .stat-sub {
  font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 8px;
}
.hero__stat-meta {
  display: flex; gap: 24px; margin-top: 24px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
}
.hero__stat-meta div { font-size: 12px; color: rgba(255,255,255,0.45); }
.hero__stat-meta strong { display: block; font-size: 20px; color: var(--white); margin-bottom: 2px; }

.hero__base {
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; gap: 40px;
}
.hero__base-item { font-size: 12px; color: rgba(255,255,255,0.35); }
.hero__base-item strong { color: rgba(255,255,255,0.7); font-weight: 500; }

/* ── Stats Bar ────────────────────────────────────────────────────────────── */
.stats-bar { background: var(--sand-d); padding: 56px 0; }
.stats-bar__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide-x: var(--light);
}
.stats-bar__item {
  text-align: center; padding: 0 32px;
  border-right: 1px solid var(--light);
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__num {
  font-family: var(--font-mono); font-size: 48px; font-weight: 500;
  color: var(--navy); line-height: 1;
}
.stats-bar__label {
  font-size: 12px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--slate); margin-top: 10px;
}

/* ── Section ──────────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section--sand { background: var(--sand); }
.section--sand-d { background: var(--sand-d); }
.section--navy { background: var(--navy); }
.section--forest { background: var(--forest); }

.section__header { margin-bottom: 48px; }
.section__header .section-label { margin-bottom: 12px; }
.section__header h2 {
  font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2; color: var(--navy);
}
.section--navy .section__header h2 { color: var(--white); }
.section--navy .section__header .section-label { color: var(--gold); }
.section__header p {
  font-size: 16px; color: var(--slate); margin-top: 14px; max-width: 560px;
}
.section__header-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}

/* ── Poll Cards ───────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.card {
  background: var(--white); padding: 32px;
  border-top: 3px solid var(--terra);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  cursor: pointer;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(11,31,58,0.1); }
.card--gold  { border-top-color: var(--gold); }
.card--forest{ border-top-color: var(--forest); }
.card--navy  { border-top-color: var(--navy); }

.card__tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.card__num {
  font-family: var(--font-mono); font-size: 40px; color: var(--navy);
  line-height: 1; margin-bottom: 8px; font-weight: 500;
}
.card h3 {
  font-family: var(--font-serif); font-size: 20px; line-height: 1.35;
  color: var(--navy); margin-bottom: 10px;
}
.card p { font-size: 14px; color: var(--slate); line-height: 1.6; }
.card__meta {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--sand-d);
  display: flex; justify-content: space-between; align-items: center;
}
.card__meta-date { font-size: 12px; color: var(--slate); }
.card__meta-link {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--terra);
  transition: color 0.15s;
}
.card:hover .card__meta-link { color: var(--navy); }

/* Featured card */
.card--featured {
  grid-column: span 2; border-top-width: 4px; border-top-color: var(--gold);
  background: var(--navy); color: var(--white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.card--featured h3 {
  font-family: var(--font-serif); font-size: 28px; color: var(--white); line-height: 1.25;
}
.card--featured p { color: rgba(255,255,255,0.6); }
.card--featured .card__num { color: var(--gold); font-size: 64px; }
.card--featured .card__meta { border-top-color: rgba(255,255,255,0.1); }
.card--featured .card__meta-date { color: rgba(255,255,255,0.4); }
.card--featured .card__meta-link { color: var(--gold); }
.card--featured:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.3); }

/* ── Mission Strip ────────────────────────────────────────────────────────── */
.mission {
  background: var(--navy); padding: 80px 0;
  border-top: 3px solid var(--terra);
}
.mission__inner {
  display: grid; grid-template-columns: 2fr 1fr; gap: 80px; align-items: center;
}
.mission h2 {
  font-family: var(--font-serif); font-size: clamp(28px, 3vw, 40px);
  color: var(--white); line-height: 1.25; margin-bottom: 16px;
}
.mission p { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.mission__quote {
  border-left: 3px solid var(--gold); padding-left: 24px;
}
.mission__quote blockquote {
  font-family: var(--font-serif); font-size: 18px; font-style: italic;
  color: rgba(255,255,255,0.85); line-height: 1.6;
}
.mission__quote cite {
  display: block; font-style: normal; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-top: 12px;
}

/* ── Methodology ──────────────────────────────────────────────────────────── */
.method-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.method-step {
  padding: 32px 24px; background: var(--white);
  border-top: 3px solid var(--light);
  transition: border-color 0.2s;
}
.method-step:hover { border-top-color: var(--gold); }
.method-step__num {
  font-family: var(--font-mono); font-size: 36px; color: var(--light);
  line-height: 1; margin-bottom: 16px; font-weight: 500;
}
.method-step h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.method-step p { font-size: 13px; color: var(--slate); line-height: 1.6; }

/* ── Standards ────────────────────────────────────────────────────────────── */
.standards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.standard-card {
  padding: 32px; background: var(--white);
}
.standard-card h3 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.standard-card p { font-size: 14px; color: var(--slate); line-height: 1.7; }
.standard-card__icon {
  width: 36px; height: 36px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sand-d); color: var(--terra); font-size: 18px;
}

/* ── Research Filter ──────────────────────────────────────────────────────── */
.filter-bar {
  background: var(--white); border-bottom: 1px solid var(--sand-d);
  padding: 20px 0; position: sticky; top: var(--nav-h); z-index: 100;
}
.filter-bar__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.filter-btn {
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 18px; border: 1px solid var(--light); background: transparent;
  color: var(--slate); cursor: pointer; transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.research-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  margin-top: 2px;
}
.research-card {
  background: var(--white); padding: 32px;
  border-top: 3px solid var(--terra);
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  display: none;
}
.research-card.visible { display: flex; flex-direction: column; }
.research-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(11,31,58,0.09); }
.research-card--gold  { border-top-color: var(--gold); }
.research-card--forest{ border-top-color: var(--forest); }
.research-card--navy  { border-top-color: var(--navy); }
.research-card__tags  { display: flex; gap: 8px; margin-bottom: 16px; }
.research-card h3 {
  font-family: var(--font-serif); font-size: 20px; line-height: 1.35;
  color: var(--navy); margin-bottom: 10px; flex: 1;
}
.research-card p     { font-size: 14px; color: var(--slate); line-height: 1.6; }
.research-card__meta {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--sand-d);
  display: flex; justify-content: space-between; align-items: center;
}
.research-card__date { font-size: 12px; color: var(--slate); }
.research-card__link {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--terra);
}

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start;
}
.contact-info h2 {
  font-family: var(--font-serif); font-size: 30px; color: var(--navy); margin-bottom: 16px;
}
.contact-info p { font-size: 15px; color: var(--slate); line-height: 1.7; margin-bottom: 32px; }
.contact-detail { display: flex; flex-direction: column; gap: 16px; }
.contact-detail__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail__icon {
  width: 36px; height: 36px; background: var(--sand-d);
  display: flex; align-items: center; justify-content: center;
  color: var(--terra); flex-shrink: 0; font-size: 16px;
}
.contact-detail__text strong { display: block; font-size: 13px; font-weight: 600; color: var(--navy); }
.contact-detail__text span   { font-size: 13px; color: var(--slate); }

/* Form */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans); font-size: 14px; color: var(--navy);
  background: var(--sand); border: 1px solid var(--light);
  padding: 12px 16px; outline: none; transition: border-color 0.15s;
  appearance: none; -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6F64' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 12px; color: var(--slate); line-height: 1.6;
  padding: 16px; background: var(--sand-d); border-left: 3px solid var(--gold);
}
.btn--form {
  align-self: flex-start; background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 14px 36px; border: none; cursor: pointer; transition: background 0.15s;
}
.btn--form:hover { background: #172f56; }

/* ── About Intro ──────────────────────────────────────────────────────────── */
.about-intro {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start;
}
.about-intro__body p {
  font-size: 16px; color: var(--slate); line-height: 1.8; margin-bottom: 20px;
}
.about-intro__body strong { color: var(--navy); }
.about-intro__sidebar {
  padding: 36px; background: var(--sand-d); border-top: 3px solid var(--gold);
}
.about-intro__sidebar h3 {
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--navy); margin-bottom: 20px;
}
.about-stat { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--light); }
.about-stat:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.about-stat__num {
  font-family: var(--font-mono); font-size: 36px; color: var(--navy); line-height: 1;
}
.about-stat__label { font-size: 12px; color: var(--slate); margin-top: 4px; }

/* ── Principles ───────────────────────────────────────────────────────────── */
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.principle {
  padding: 36px 32px; background: var(--white);
}
.principle__mark {
  font-size: 22px; font-weight: 700; color: var(--terra); margin-bottom: 14px;
  font-family: var(--font-mono);
}
.principle h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.principle p  { font-size: 14px; color: var(--slate); line-height: 1.7; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer { background: var(--navy); padding: 64px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__tagline {
  font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.6;
  max-width: 220px;
}
.footer__tagline em { color: var(--terra); font-style: normal; }
.footer__col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a,
.footer__col li span {
  font-size: 14px; color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer__copy a { color: rgba(255,255,255,0.45); }
.footer__copy a:hover { color: var(--white); }
.footer__social { display: flex; gap: 16px; align-items: center; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; color: rgba(255,255,255,0.45); transition: border-color 0.15s, color 0.15s; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }

/* ── Responsive ───────────────────────────────────────────────────────────── */

/* ── Skip link ────────────────────────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100px;
  left: 0;
  z-index: 9999;
  padding: 8px 18px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* ── Screen-reader only (visually hidden) ─────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .hero__grid       { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual     { display: none; }
  .method-steps     { grid-template-columns: repeat(3, 1fr); }
  .footer__grid     { grid-template-columns: 1fr 1fr; }
  .contact-layout   { grid-template-columns: 1fr; gap: 48px; }
  .about-intro      { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .cards-grid, .research-grid { grid-template-columns: 1fr; }
  .card--featured   { grid-column: span 1; grid-template-columns: 1fr; gap: 24px; }
  .stats-bar__grid  { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .stats-bar__item  { border-right: none; border-bottom: 1px solid var(--light); padding: 24px; }
  .stats-bar__item:last-child, .stats-bar__item:nth-child(2) { border-bottom: none; }
  .method-steps     { grid-template-columns: 1fr 1fr; }
  .standards-grid   { grid-template-columns: 1fr; }
  .principles-grid  { grid-template-columns: 1fr; }
  .mission__inner   { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid     { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .section          { padding: 64px 0; }
}

/* ── Research track rows (pre-launch) ─────────────────────────────────── */
@media (max-width: 768px) {
  [style*="grid-template-columns:200px 1fr auto"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  [style*="grid-template-columns:1fr auto"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Newsletter Section (homepage) ───────────────────────────────────── */
.newsletter-section {
  background: var(--navy); padding: 96px 0;
}
.newsletter__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.newsletter__copy h2 {
  font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 44px);
  color: var(--white); line-height: 1.2; margin-bottom: 16px;
}
.newsletter__copy p {
  font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.75;
}
.newsletter__form {
  display: flex; gap: 0;
}
.newsletter__input {
  flex: 1; padding: 16px 20px;
  font-family: var(--font-sans); font-size: 14px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  border-right: none; color: var(--white); outline: none;
  transition: border-color 0.15s;
}
.newsletter__input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter__input:focus { border-color: var(--gold); }
.newsletter__btn {
  padding: 16px 28px; background: var(--terra); color: var(--white);
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  border: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s;
}
.newsletter__btn:hover { background: #a04e2c; }
.newsletter__note {
  margin-top: 12px; font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6;
}

/* ── Footer Newsletter Strip ─────────────────────────────────────────── */
.footer__newsletter {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 28px 0; flex-wrap: wrap;
}
.footer__newsletter-copy {
  display: flex; flex-direction: column; gap: 4px;
}
.footer__newsletter-copy strong {
  font-size: 14px; font-weight: 600; color: var(--white); letter-spacing: 0.5px;
}
.footer__newsletter-copy span {
  font-size: 13px; color: rgba(255,255,255,0.45);
}
.footer__newsletter-form {
  display: flex; gap: 0; flex-shrink: 0;
}
.footer__newsletter-form input {
  padding: 11px 16px; width: 240px;
  font-family: var(--font-sans); font-size: 13px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  border-right: none; color: var(--white); outline: none;
  transition: border-color 0.15s;
}
.footer__newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.footer__newsletter-form input:focus { border-color: var(--gold); }
.footer__newsletter-form button {
  padding: 11px 20px; background: var(--gold); color: var(--navy);
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  border: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s;
}
.footer__newsletter-form button:hover { background: #c07d08; }
.footer__rule {
  border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 0 0 40px;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .newsletter__inner { grid-template-columns: 1fr; gap: 40px; }
  .newsletter__form { flex-direction: column; }
  .newsletter__input { border-right: 1px solid rgba(255,255,255,0.15); }
  .footer__newsletter { flex-direction: column; align-items: flex-start; }
  .footer__newsletter-form { width: 100%; }
  .footer__newsletter-form input { flex: 1; width: auto; }
}

/* ── Honeypot (anti-spam) ────────────────────────────────────────────── */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* ── Full responsive pass ────────────────────────────────────────────── */

/* Homepage research programme cards */
@media (max-width: 768px) {
  .prog-grid-3,
  .prog-grid-2 {
    grid-template-columns: 1fr !important;
  }

  /* Section header row — stack title + button */
  .section__header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  /* About page — 4-col methodology tech specs */
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Contact FAQ — 2-col inline grid */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Contact turnaround times — justify-content:space-between rows */
  [style*="justify-content:space-between;padding:14px 16px"] {
    flex-direction: column !important;
    gap: 4px !important;
  }

  /* Research page commission CTA box */
  [style*="grid-template-columns:1fr auto;align-items:center"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero stat card — full width on mobile */
  .hero__stat-card {
    width: 100%;
  }

  /* Page hero — reduce padding */
  .page-hero {
    padding: 48px 0 40px;
  }

  /* Research track rows cadence label */
  .research-track-cadence {
    text-align: left !important;
  }
}

/* Tablet (1024px) — methodology specs go 2-col */
@media (max-width: 1024px) {
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .prog-grid-3 {
    grid-template-columns: 1fr 1fr !important;
  }
}
