/* ===== CSS Reset & Base ===== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
  /* Brand greens (sampled from design) */
  --green-950: #0f2e1a;   /* dark sections */
  --green-900: #123c22;   /* headings, footer */
  --green-850: #1b3825;   /* cards on dark */
  --green-800: #1f4a2c;   /* dark diagram nodes */
  --green-600: #37761d;   /* primary */
  --green-700: #2c5f16;   /* primary hover */
  --green-500: #6fa02e;   /* decorative accents only (fails text contrast) */
  --green-300: #8cbf4f;   /* text accents on dark backgrounds */
  --green-200: #dbe7cb;
  --sage: #eef5e7;        /* pale section background */
  --sage-dark: #e3eed7;
  --sage-line: #d5e1cb;

  /* Accent */
  --orange: #9c6204;       /* fills behind white text (5:1) */
  --orange-light: #e0a526; /* text/strokes on dark (5.7:1) */

  /* Neutrals */
  --text: #475361;
  --text-muted: #5e6975;
  --border: #e1e7e3;
  --white: #ffffff;

  /* Typography */
  --font-primary: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Layout */
  --section-padding: 80px 0;
  --leading-body: 1.5;
  --leading-card: 1.45;
  --container-width: 1328px;
  --container-padding: 0 24px;
  --header-height: 88px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

body {
  font-family: var(--font-primary);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ===== Accessibility helpers ===== */
.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--green-900);
  outline-offset: 3px;
}

/* sections focused programmatically by in-page links */
[tabindex="-1"]:focus {
  outline: none;
}

.hero :focus-visible,
.circular-section :focus-visible,
.research-section :focus-visible,
.footer :focus-visible {
  outline-color: var(--white);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

h2 {
  font-size: 3.25rem;
  line-height: 1.12;
}

/* ===== Section Label ===== */
.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 16px;
}

.circular-section .section-label,
.research-section .section-label {
  color: var(--green-300);
}

.section-header {
  margin-bottom: 32px;
}

/* ===== Buttons ===== */
.btn-primary,
.btn-outline,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-normal), border-color var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--green-600);
  color: var(--green-900);
}

.btn-outline:hover {
  background: var(--green-600);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.js .animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible { opacity: 1; }
.animate-on-scroll.fade-up.visible { animation: fadeInUp 0.7s ease forwards; }
.animate-on-scroll.fade-in.visible { animation: fadeIn 0.7s ease forwards; }
.animate-on-scroll.slide-left.visible { animation: slideInLeft 0.7s ease forwards; }
.animate-on-scroll.slide-right.visible { animation: slideInRight 0.7s ease forwards; }
.animate-on-scroll.scale-in.visible { animation: scaleIn 0.7s ease forwards; }

.delay-1 { animation-delay: 0.1s !important; }
.delay-2 { animation-delay: 0.2s !important; }
.delay-3 { animation-delay: 0.3s !important; }
.delay-4 { animation-delay: 0.4s !important; }
.delay-5 { animation-delay: 0.5s !important; }
.delay-6 { animation-delay: 0.6s !important; }

@media (prefers-reduced-motion: reduce) {
  .js .animate-on-scroll { opacity: 1; }
  .animate-on-scroll.visible,
  .hero-content { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ===== HEADER / NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--sage);
  transition: box-shadow var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(15, 46, 26, 0.08);
}

.header .container {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  z-index: 1001;
}

.logo img {
  width: 176px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-links a:not(.btn-primary) {
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-900);
  padding: 4px 0;
  position: relative;
}

.nav-links a:not(.btn-primary)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-600);
  transition: width var(--transition-normal);
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-nav {
  justify-self: end;
}

.btn-nav-mobile {
  display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
  justify-self: end;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-900);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 46, 26, 0.55) 0%, rgba(15, 46, 26, 0.5) 55%, rgba(15, 46, 26, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); /* keeps text legible over bright sky */
  max-width: 880px;
  animation: fadeInUp 1s ease;
}

.hero-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #f4f7ee;
  line-height: 1.2;
  margin-bottom: 32px;
}

.hero-content p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 840px;
  margin: 0 auto 32px;
  line-height: 1.45;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== PROBLEM / OPPORTUNITY SECTION ===== */
.problem-section {
  padding: var(--section-padding);
  background: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.problem-text h2 {
  margin-bottom: 24px;
}

.problem-text p {
  font-size: 1.0625rem;
  line-height: var(--leading-body);
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  min-height: 114px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-number {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--green-600);
  line-height: 1;
}

.stat-number small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stat-desc {
  font-size: 0.9375rem;
  line-height: var(--leading-card);
  max-width: 420px;
}

/* ===== WHAT IS TECHLOCKER SECTION ===== */
.about-section {
  padding: var(--section-padding);
  background: var(--sage);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.0625rem;
  line-height: var(--leading-body);
  margin-bottom: 24px;
}

.about-text .about-note {
  font-weight: 600;
}

/* Hub diagram */
.hub-diagram {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 100 / 64;
  margin-top: 40px !important;
  margin: 0 auto;
}

.hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hub-lines line {
  stroke: #c5d6b7;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.hub-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 112px;
  height: 132px;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.15;
  z-index: 2;
}

.hub-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hub-dot {
  width: 16px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-600);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.hub-node:hover .hub-dot {
  transform: scale(1.25);
}

.hub-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-900);
  white-space: nowrap;
}

/* anchor each node so its dot sits exactly on the line end */
.hub-node--top { flex-direction: column; gap: 14px; transform: translate(-50%, calc(-100% + 9px)); }
.hub-node--bottom { flex-direction: column; gap: 14px; transform: translate(-50%, -9px); }
.hub-node--right { transform: translate(-8px, -50%); }
.hub-node--left { transform: translate(calc(-100% + 8px), -50%); }

/* ===== CAPABILITIES SECTION ===== */
.capabilities-section {
  padding: var(--section-padding);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.capability-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 250px;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.capability-card:hover {
  border-color: var(--green-200);
  box-shadow: 0 10px 30px rgba(15, 46, 26, 0.08);
  transform: translateY(-4px);
}

.capability-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  background: var(--sage);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-600);
}

.capability-icon svg {
  width: 22px;
  height: 22px;
}

.capability-card h3 {
  font-size: 1.25rem;
  line-height: 1.15;
  margin-bottom: 16px;
}

.capability-card p {
  font-size: 1.0625rem;
  line-height: var(--leading-body);
}

/* ===== CIRCULAR ECONOMY SECTION ===== */
.circular-section {
  padding: var(--section-padding);
  background: var(--green-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.circular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.circular-text h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.circular-text > p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--leading-body);
  margin-bottom: 24px;
}

.circular-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.circular-features li {
  position: relative;
  padding-left: 14px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.circular-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-600);
}

/* Cycle diagram */
.cycle-diagram {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.cycle-diagram::before {
  content: '';
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 118, 29, 0.12) 0%, rgba(15, 46, 26, 0) 70%);
}

.cycle-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cycle-spokes line {
  stroke: rgba(224, 165, 38, 0.25);
  stroke-width: 1.5;
}

.cycle-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
}

.cycle-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 23%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--orange-light);
  background: rgba(224, 165, 38, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.cycle-center strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--orange-light);
}

.cycle-center span {
  font-size: 0.75rem;
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.75);
  max-width: 72px;
}

.cycle-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
  font-size: 0.75rem;
  line-height: 1.15;
  color: var(--white);
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-normal);
}

.cycle-node:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.cycle-node--green { background: var(--green-600); }
.cycle-node--orange { background: var(--orange); }
.cycle-node--dark { background: var(--green-800); }

/* ===== IMPACT SECTION ===== */
.impact-section {
  padding: var(--section-padding);
  background: var(--white);
}

.impact-section .section-header {
  text-align: center;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1188px;
  margin: 0 auto;
}

.impact-card {
  background: var(--sage);
  border: 1px solid var(--sage-line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(15, 46, 26, 0.08);
}

.impact-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

.impact-card-icon svg {
  width: 100%;
  height: 100%;
}

.impact-card h3 {
  font-size: 1.625rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.impact-card h3 .accent {
  color: var(--green-600);
}

.impact-card p {
  font-size: 0.9375rem;
  line-height: var(--leading-card);
}

/* ===== RESEARCH SECTION ===== */
.research-section {
  padding: var(--section-padding);
  background: var(--green-950);
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: stretch;
}

.research-text h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.research-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.research-card {
  padding: 24px;
  background: var(--green-850);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-normal);
}

.research-card:hover {
  border-color: rgba(140, 191, 79, 0.5);
}

.research-card h3 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--green-300);
  margin-bottom: 16px;
}

.research-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-card);
}

.research-image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.research-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* ===== DISCIPLINES SECTION ===== */
.disciplines-section {
  padding: var(--section-padding);
  background: var(--white);
}

.disciplines-grid {
  display: grid;
  grid-template-columns: 776fr 560fr;
  gap: 24px;
  align-items: center;
}

.disciplines-text h2 {
  margin-bottom: 24px;
}

.disciplines-text > p {
  font-size: 1.0625rem;
  line-height: var(--leading-body);
  margin-bottom: 24px;
}

.disciplines-image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.disciplines-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.disciplines-list {
  background: var(--sage);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.disciplines-list li {
  border-bottom: 2px solid var(--sage-line);
  color: var(--green-900);
}

.disciplines-list li:last-child {
  border-bottom: none;
}

.disciplines-list summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 62px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: background var(--transition-normal), padding var(--transition-normal);
}

.disciplines-list summary::-webkit-details-marker {
  display: none;
}

.disciplines-list summary:hover,
.disciplines-list details[open] summary {
  background: var(--sage-dark);
}

.disciplines-list summary:hover {
  padding-left: 32px;
}

.disciplines-list summary:focus-visible {
  outline-offset: -3px;
}

.discipline-name {
  flex: 1;
}

.discipline-number {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
}

.discipline-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--green-600);
  transition: transform var(--transition-normal);
}

.disciplines-list details[open] .discipline-chevron {
  transform: rotate(180deg);
}

.disciplines-list details p {
  padding: 4px 24px 20px;
  background: var(--sage-dark);
  font-size: 0.9375rem;
  line-height: var(--leading-card);
  color: var(--text);
  animation: disciplineReveal 0.25s ease;
}

@keyframes disciplineReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CONTACT / CTA SECTION ===== */
.contact-section {
  position: relative;
  padding: var(--section-padding);
  background: var(--sage);
  text-align: center;
  overflow: hidden;
}

.contact-map {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58%;
  width: 560px;
  pointer-events: none;
}

.contact-map svg {
  width: 100%;
  height: 100%;
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.contact-section h2 {
  margin-bottom: 24px;
}

.contact-section .location {
  font-size: 1.0625rem;
  line-height: var(--leading-body);
  margin-bottom: 24px;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 100px;
}

.footer-brand .logo img {
  width: 160px;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: var(--leading-card);
  margin-top: 16px;
}

.footer-col h2 {
  font-family: var(--font-primary);
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 4px;
  font-size: 0.9375rem;
}

.footer-col ul li a,
.footer-address {
  display: inline-block;
  padding: 4px 0;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-col ul li a:hover {
  color: var(--green-300);
}

.footer-address {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-collab {
  font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  h2 { font-size: 2.75rem; }
  .hero-content h1 { font-size: 3.4rem; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-card { min-height: 0; }
  .contact-map { left: 62%; opacity: 0.7; }
}

@media (max-width: 1024px) {
  .problem-grid,
  .about-grid,
  .circular-grid,
  .research-grid,
  .disciplines-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .research-image img { min-height: 360px; }
  .contact-map { display: none; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
    --header-height: 72px;
  }

  h2 { font-size: 2.25rem; }

  .header .container { grid-template-columns: 1fr auto; }
  .btn-nav { display: none; }
  .menu-toggle { display: flex; }
  .logo img { width: 150px; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--sage);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    box-shadow: -10px 0 40px rgba(15, 46, 26, 0.15);
    visibility: hidden; /* keep off-screen links out of the tab order */
    transition: right var(--transition-normal), visibility 0s linear 0.3s;
  }

  .nav-links.active {
    right: 0;
    visibility: visible;
    transition: right var(--transition-normal), visibility 0s;
  }

  .btn-nav-mobile { display: inline-flex !important; margin-top: 8px; }

  .hero { min-height: 560px; padding: 80px 20px; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content p { font-size: 1rem; }

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

  .hub-label { font-size: 0.75rem; white-space: normal; max-width: 90px; }
  .hub-node--top .hub-label,
  .hub-node--bottom .hub-label { text-align: center; }
  .hub-center { width: 88px; height: 104px; font-size: 0.85rem; }
  .hub-node--left,
  .hub-node--right { flex-direction: column; gap: 8px; text-align: center; transform: translate(-50%, calc(-100% + 9px)); }
  .hub-node--right { flex-direction: column-reverse; }

  .circular-features { grid-template-columns: 1fr; }

  .research-cards { grid-template-columns: 1fr; }

  .impact-card h3 { font-size: 1.4rem; }
  .disciplines-image img { height: 280px; }

  .footer-grid { grid-template-columns: 1fr; margin-bottom: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  h2 { font-size: 1.9rem; }
  .hero-content h1 { font-size: 2rem; }

  .hero-buttons,
  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

}

/* Phones: single-column cards, circular diagram becomes a stacked flow */
@media (max-width: 560px) {
  .impact-grid,
  .capabilities-grid { grid-template-columns: 1fr; }

  .cycle-diagram {
    aspect-ratio: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .cycle-diagram::before,
  .cycle-lines {
    display: none;
  }

  .cycle-center {
    position: static;
    transform: none;
    width: auto;
    aspect-ratio: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    text-align: left;
  }

  .cycle-center strong {
    font-size: 1rem;
  }

  .cycle-center span {
    max-width: none;
    font-size: 0.85rem;
  }

  .cycle-node,
  .cycle-node:hover {
    position: relative;
    left: auto !important; /* override the inline diagram coordinates */
    top: auto !important;
    transform: none;
  }

  .cycle-node {
    width: auto;
    aspect-ratio: auto;
    justify-content: flex-start;
    text-align: left;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    box-shadow: none;
  }

  .cycle-node::before {
    content: '';
    position: absolute;
    left: 24px;
    top: -12px;
    height: 12px;
    border-left: 2px dashed rgba(255, 255, 255, 0.3);
  }

  .cycle-diagram::after {
    content: '↻ Feeds back into the start of the cycle';
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    padding-left: 16px;
  }
}
