/* ==========================================================================
   TaDu j.d.o.o. — One-page site
   Design system: CSS custom properties drive both light and dark themes.
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  /* Light theme (default) */
  --bg: #ffffff;
  --bg-alt: #f6f6f3;
  --surface: #ffffff;
  --surface-border: #e6e5e0;
  --text: #16171b;
  --text-secondary: #53565f;
  --text-muted: #666a72;
  --border: #e6e5e0;
  --border-strong: #d3d2cb;
  --accent: #f4bd00;
  --accent-text-on: #16171b;
  --accent-soft: #fdf4d6;
  --teal: #0b7a63;
  --teal-soft: #e3f3ee;
  --shadow-sm: 0 1px 2px rgba(20, 20, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 20, 24, 0.08);
  --shadow-lg: 0 20px 48px rgba(20, 20, 24, 0.12);
  --focus-ring: #0b7a63;
  --logo-filter: none;
  --scrim: rgba(255, 255, 255, 0.86);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #17181c;
  --bg-alt: #1e2024;
  --surface: #1e2024;
  --surface-border: #303339;
  --text: #f3f3f0;
  --text-secondary: #c2c4c9;
  --text-muted: #92959c;
  --border: #303339;
  --border-strong: #3c3f47;
  --accent: #ffd23f;
  --accent-text-on: #16171b;
  --accent-soft: #3a3320;
  --teal: #3fcfa9;
  --teal-soft: #1d3630;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.4);
  --focus-ring: #3fcfa9;
  --logo-filter: invert(1);
  --scrim: rgba(23, 24, 28, 0.86);

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17181c;
    --bg-alt: #1e2024;
    --surface: #1e2024;
    --surface-border: #303339;
    --text: #f3f3f0;
    --text-secondary: #c2c4c9;
    --text-muted: #92959c;
    --border: #303339;
    --border-strong: #3c3f47;
    --accent: #ffd23f;
    --accent-text-on: #16171b;
    --accent-soft: #3a3320;
    --teal: #3fcfa9;
    --teal-soft: #1d3630;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.32);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.4);
    --focus-ring: #3fcfa9;
    --logo-filter: invert(1);
    --scrim: rgba(23, 24, 28, 0.86);

    color-scheme: dark;
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  background: var(--accent);
  color: var(--accent-text-on);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 128px);
}

.section--alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

.section-lede {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 620px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text-on);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--scrim);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 14px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-mark {
  height: 26px;
  width: auto;
  filter: var(--logo-filter);
}

.logo-fallback-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.primary-nav {
  display: none;
  margin-left: 0.5rem;
}

.primary-nav ul {
  display: flex;
  gap: 2rem;
}

.primary-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.primary-nav a:hover {
  color: var(--text);
  border-color: var(--accent);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch a {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
}

.lang-switch a[aria-current="page"] {
  background: var(--text);
  color: var(--bg);
}

.lang-switch a:not([aria-current="page"]):hover {
  color: var(--text);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--text);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

/* ---------- Mobile nav overlay ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 20px 24px 32px;
  transform: translateY(-100%);
  transition: transform 0.28s ease;
}

.mobile-nav[data-open="true"] {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav {
    transition: none;
  }
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-links a {
  display: block;
  padding: 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}

.mobile-nav-foot {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body[data-nav-open="true"] {
  overflow: hidden;
}

@media (min-width: 900px) {
  .primary-nav {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(64px, 10vw, 120px) clamp(48px, 8vw, 96px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-eyebrow {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  max-width: 16ch;
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
}

.hero-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}

.hero-art svg {
  width: 100%;
  height: 100%;
}

.hero-blob {
  position: absolute;
  inset: -10%;
  z-index: -1;
  background: radial-gradient(
      45% 45% at 30% 30%,
      color-mix(in srgb, var(--accent) 32%, transparent) 0%,
      transparent 70%
    ),
    radial-gradient(
      50% 50% at 75% 70%,
      color-mix(in srgb, var(--teal) 28%, transparent) 0%,
      transparent 70%
    );
  filter: blur(10px);
}

.hero-art .link {
  stroke: var(--border-strong);
  stroke-width: 1.5;
  fill: none;
}

.hero-art .dot-accent {
  fill: var(--accent);
}

.hero-art .dot-teal {
  fill: var(--teal);
}

.hero-art .dot-outline {
  fill: var(--surface);
  stroke: var(--border-strong);
  stroke-width: 1.5;
}

.node {
  animation: float 7s ease-in-out infinite;
  transform-origin: center;
}

.node.n2 {
  animation-delay: -2s;
  animation-duration: 8s;
}

.node.n3 {
  animation-delay: -4s;
  animation-duration: 6.5s;
}

.node.n4 {
  animation-delay: -1s;
  animation-duration: 9s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .node {
    animation: none;
  }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js-disabled .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.5rem;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .trust-item {
    padding-inline: 1.5rem;
  }

  .trust-item:not(:first-child) {
    border-left: 1px solid var(--border);
  }
}

.trust-item {
  text-align: center;
}

.trust-value {
  display: block;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.trust-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8438rem;
  color: var(--text-secondary);
}

/* ---------- Areas cards ---------- */
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.area-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

@media (prefers-reduced-motion: reduce) {
  .area-card:hover {
    transform: none;
  }
}

.area-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.area-card:nth-child(2n) .area-icon {
  background: var(--teal-soft);
}

.area-icon svg {
  width: 26px;
  height: 26px;
}

.area-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.6rem;
}

.area-card p {
  color: var(--text-secondary);
  font-size: 0.9688rem;
}

/* ---------- Chips ---------- */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}

/* ---------- Education note (within areas section) ---------- */
.education-note {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--border);
}

.education-note p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 68ch;
}

.education-note .chip-list {
  margin-top: 1.5rem;
}

/* ---------- Who we help ---------- */
.who-help {
  padding-block: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--border);
}

.who-help .eyebrow {
  margin-bottom: 1.5rem;
}

.who-help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .who-help-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.who-help-item {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-strong);
}

.who-help-item::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-bottom: 0.75rem;
  border-radius: 1px;
  background: var(--teal);
}

/* ---------- Approach steps ---------- */
.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding: 2rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.step-index {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  display: block;
}

.step h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9688rem;
}

/* ---------- Insight grid (research & policy) ---------- */
.insight-lede {
  margin-top: 1.25rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 68ch;
}

.insight-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  margin-top: clamp(32px, 5vw, 48px);
}

@media (min-width: 768px) {
  .insight-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.insight-item {
  border-top: 2px solid var(--border-strong);
  padding-top: 1.25rem;
}

.insight-item h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.insight-item p {
  color: var(--text-secondary);
  font-size: 0.9688rem;
}

.insight-quote {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--text);
}

/* ---------- Case study ---------- */
.case-study {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .case-study {
    grid-template-columns: 1.1fr 1fr;
  }
}

.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.case-study h3 {
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  margin-bottom: 1rem;
}

.case-study > div > p {
  color: var(--text-secondary);
}

.case-message {
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 1.0625rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.stat-list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
  align-content: start;
}

.stat-item {
  border-top: 2px solid var(--border-strong);
  padding-top: 0.65rem;
}

.stat-value {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ---------- Case footer: impact metrics + ESF visual ---------- */
.case-footer {
  grid-column: 1 / -1;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .case-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .case-metric {
    padding-inline: 1.25rem;
  }

  .case-metric:first-child {
    padding-left: 0;
  }

  .case-metric:not(:first-child) {
    border-left: 1px solid var(--border);
  }
}

.case-metric-value {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.case-metric-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ---------- ESF co-financing visual (official, colors locked) ---------- */
.case-esf {
  margin-top: 1.75rem;
}

.case-esf-visual {
  width: 100%;
  margin-inline: auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 0.85rem 1rem;
}

@media (min-width: 640px) {
  .case-esf-visual {
    max-width: 68%;
  }
}

.case-esf-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---------- Expertise / people ---------- */
.expert-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: clamp(32px, 5vw, 48px);
}

@media (min-width: 768px) {
  .expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.expert-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}

.expert-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.expert-card:nth-child(2n) .expert-avatar {
  background: var(--teal-soft);
}

.expert-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.expert-role {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.expert-bio {
  color: var(--text-secondary);
  font-size: 0.9688rem;
  margin-bottom: 1rem;
}

.expert-bio:last-of-type {
  margin-bottom: 1.5rem;
}

/* ---------- Joint research panel ---------- */
.research-panel {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.research-panel h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.75rem;
}

.research-panel > p {
  color: var(--text-secondary);
  font-size: 0.9688rem;
  max-width: 70ch;
}

.research-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.research-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}

.research-title {
  color: var(--text);
  font-weight: 600;
}

.research-year {
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
}

.about-lead {
  font-size: 1.375rem;
  font-weight: 600;
  max-width: 20ch;
}

.about-copy p + p {
  margin-top: 1.25rem;
}

.about-copy p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* ---------- Collaboration ---------- */
.collab-panel {
  background: linear-gradient(155deg, var(--teal-soft), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .collab-panel {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.collab-panel p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 56ch;
}

.collab-highlight {
  margin-top: 1.5rem;
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--text);
}

.collab-cta {
  display: flex;
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .collab-cta {
    justify-content: flex-end;
  }
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
}

.final-cta .section-head {
  margin-inline: auto;
  max-width: 620px;
  text-align: center;
}

.final-cta .hero-actions {
  justify-content: center;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
}

.contact-details a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}

.contact-details a:hover {
  color: var(--teal);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem;
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 20px;
  width: auto;
  filter: var(--logo-filter);
}

.footer-col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.footer-col address,
.footer-col p {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8438rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}
