/* ================================================================
   The Plastics & Climate Project — Shared Stylesheet
   Brand: --forest: #1a5c42, --amber: #c8601a
   Font: Outfit (Google Fonts)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --ink:          #0f1e15;
  --forest:       #1a5c42;
  --green:        #22916a;
  --amber:        #c8601a;
  --amber-hover:  #a84e14;
  --bg:           #f7f9f7;
  --bg-alt:       #eef2ec;
  --white:        #ffffff;
  --text:         #1e2d22;
  --muted:        #5a7060;
  --border:       #cdd9cb;
  --max-w:        1040px;
  --radius:       10px;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--green); }
ul { list-style: none; }
hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--forest); color: var(--white); }
.section--dark a { color: rgba(255,255,255,0.85); }
.section--dark a:hover { color: var(--white); }

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img {
  height: 42px;
  width: auto;
}
.nav__logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav__brand {
  font-size: 15px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.2px;
}
.nav__tagline {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav__links a:hover {
  color: var(--forest);
  background: var(--bg-alt);
  text-decoration: none;
}
.nav__links a.active {
  color: var(--forest);
  font-weight: 600;
}
.nav__cta {
  background: var(--amber) !important;
  color: var(--white) !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  margin-left: 8px;
  transition: background 0.15s !important;
}
.nav__cta:hover {
  background: var(--amber-hover) !important;
  color: var(--white) !important;
  text-decoration: none !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 18px;
  color: var(--forest);
  cursor: pointer;
  margin-left: auto;
  line-height: 1;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero--short {
  min-height: 280px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}
.hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 720px;
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin-bottom: 32px;
  font-weight: 400;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Page Header (non-hero pages) ---- */
.page-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 48px;
}
.page-header .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-header__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.2;
}
.page-header__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn--primary:hover {
  background: var(--amber-hover);
  border-color: var(--amber-hover);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
}
.btn--outline-dark {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--outline-dark:hover {
  background: var(--forest);
  color: var(--white);
}
.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--forest);
  padding: 0;
}
.stats-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
}
.stat-item {
  flex: 1;
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-item__number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__divider {
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  margin: 8px auto;
}
.stat-item__label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
  font-weight: 400;
}

/* ---- Section Typography ---- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section--dark .section-title { color: var(--white); }
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 680px;
}
.section--dark .lead { color: rgba(255,255,255,0.8); }

/* ---- Quote Block ---- */
.quote-block {
  background: var(--bg-alt);
  border-left: 4px solid var(--forest);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 32px 40px;
  margin: 0;
}
.quote-block__text {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 16px;
}
.quote-block__text::before { content: '\201C'; }
.quote-block__text::after  { content: '\201D'; }
.quote-block__attribution {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.02em;
}
.quote-block__attribution::before { content: '— '; }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Impact Cards ---- */
.impact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px 28px 32px;
  border-left: 4px solid var(--forest);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.impact-card__icon {
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 4px;
}
.impact-card__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.3;
}
.impact-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ---- Fact Items ---- */
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.fact-item {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 3px solid rgba(255,255,255,0.4);
}
.fact-item p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  margin: 0;
}

/* ---- Deliverables List ---- */
.deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: deliverable-counter;
}
.deliverables-list li {
  counter-increment: deliverable-counter;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--text);
}
.deliverables-list li::before {
  content: counter(deliverable-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

/* ---- Team Grid ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-card__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.team-card__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.team-card__bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 6px;
}

/* ---- Advisory Board ---- */
.advisory-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.advisory-item {
  padding: 20px 20px 20px 24px;
  border-left: 3px solid var(--forest);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.advisory-item__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.advisory-item__title {
  font-size: 0.85rem;
  color: var(--forest);
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.4;
}
.advisory-item__bio {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---- Partners ---- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.partner-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.partner-card__logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.partner-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.partner-card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.partner-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  margin-top: 4px;
}
.partner-card__link:hover { text-decoration: underline; }

/* ---- Publication Cards ---- */
.pub-card {
  display: flex;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  align-items: flex-start;
}
.pub-card__img {
  width: 180px;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.pub-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pub-card__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}
.pub-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.pub-card__subtitle {
  font-size: 0.97rem;
  color: var(--muted);
  font-style: italic;
}
.pub-card__desc {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}
.pub-card__authors {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.pub-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.pub-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: background 0.12s, border-color 0.12s;
}
.pub-card__link:hover {
  background: var(--bg-alt);
  border-color: var(--forest);
  text-decoration: none;
}

/* ---- Paper Card ---- */
.paper-card {
  display: flex;
  gap: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  align-items: flex-start;
}
.paper-card__img {
  width: 160px;
  flex-shrink: 0;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.paper-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.paper-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}
.paper-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.paper-card__journal {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* ---- Policy List ---- */
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.policy-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.policy-item__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--forest);
  padding: 64px 0;
  text-align: center;
}
.cta-banner__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-banner__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Repository ---- */
.repo-section {
  padding: 0 0 60px;
}
.repo-section + .repo-section {
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.repo-section__header {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.repo-section__img {
  width: 220px;
  flex-shrink: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.repo-section__meta {
  flex: 1;
}
.repo-section__caption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
  font-style: italic;
}
.paper-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.paper-list li {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  padding: 10px 16px 10px 36px;
  position: relative;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.paper-list li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
}

/* ---- Video Grid ---- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 3px solid var(--forest);
  overflow: hidden;
}
.video-card__thumb {
  display: block;
  position: relative;
  margin: -24px -28px 16px;        /* flush to card top & sides (counter padding) */
  aspect-ratio: 16 / 9;
  background: #0b0b0b;
  overflow: hidden;
}
.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.video-card__thumb:hover img { transform: scale(1.04); }
.video-card__thumb::before {     /* play-button backing circle */
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(11, 11, 11, 0.6);
  transition: background 0.2s ease;
}
.video-card__thumb:hover::before { background: var(--forest); }
.video-card__thumb::after {      /* play triangle */
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
  transform: translateX(3px);    /* optical centering within circle */
}
.video-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.video-card__title a {
  color: var(--ink);
  text-decoration: none;
}
.video-card__title a:hover {
  color: var(--forest);
  text-decoration: underline;
}
.video-card__meta {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.55;
}
.video-card__meta strong {
  color: var(--text);
  font-weight: 600;
}

/* ---- Press Grid ---- */
.press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.press-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  border-top: 3px solid var(--border);
  transition: border-color 0.15s, transform 0.15s;
}
.press-item:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
}
.press-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.press-item a:hover { text-decoration: none; }
.press-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.press-item__arrow {
  font-size: 0.8rem;
  color: var(--forest);
  margin-top: 6px;
  font-weight: 600;
}

/* ---- Contact / Donate ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info__intro {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
}
.contact-person {
  margin-bottom: 20px;
}
.contact-person__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.contact-person__role {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-person__email a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--forest);
}
.contact-person__email a:hover { text-decoration: underline; }
.contact-media {
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--forest);
}
.contact-media__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 6px;
}
.donate-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.donate-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.donate-card__body {
  padding: 28px;
}
.donate-card__heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 10px;
}
.donate-card__text {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}
.donate-card__fiscal {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ---- Footer ---- */
.footer {
  background: var(--forest);
  color: var(--white);
  padding: 48px 0 32px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__brand img {
  height: 44px;
  width: auto;
  align-self: flex-start; /* don't let column-flex stretch the logo full-width */
  opacity: 0.9;
  margin-bottom: 8px;
}
.footer__tagline {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  max-width: 440px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.12s;
}
.footer__links a:hover { color: var(--white); text-decoration: none; }
.footer__contact {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}
.footer__contact a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.footer__contact a:hover { color: var(--white); text-decoration: underline; }
.footer__copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ---- Utilities ---- */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.text-forest { color: var(--forest); }
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ---- Two-col intro layout ---- */
.intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.intro-layout--wide {
  grid-template-columns: 2fr 1fr;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .press-grid { grid-template-columns: 1fr 1fr; }
  .intro-layout { grid-template-columns: 1fr; }
  .intro-layout--wide { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 99;
    gap: 0;
  }
  .nav__links.nav__links--open { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a {
    padding: 12px 24px;
    border-radius: 0;
    font-size: 15px;
  }
  .nav__cta {
    margin: 8px 16px !important;
    border-radius: var(--radius) !important;
    text-align: center;
  }
  .nav__inner { position: relative; }

  .card-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .advisory-list { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }

  .pub-card {
    flex-direction: column;
  }
  .pub-card__img {
    width: 100%;
    max-width: 200px;
  }
  .paper-card {
    flex-direction: column;
  }
  .paper-card__img {
    width: 100%;
    max-width: 180px;
  }

  .stats-bar__inner {
    flex-direction: column;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 24px;
  }
  .stat-item:last-child { border-bottom: none; }

  .hero__content { padding: 56px 24px; }
  .section { padding: 56px 0; }

  .repo-section__header { flex-direction: column; }
  .repo-section__img { width: 100%; max-width: 100%; }

  .policy-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .press-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 1.7rem; }
  .quote-block { padding: 24px; }
}
