/* ============================================================
   EcoVision Sustainability Institute — Main Stylesheet
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:      #0C3D5E;
  --teal:      #1B8A74;
  --mint:      #00C9A7;
  --dark:      #0A1E2E;
  --light-bg:  #F4F7F9;
  --white:     #FFFFFF;
  --grey-100:  #E8EDF2;
  --grey-300:  #B0BEC7;
  --grey-500:  #6B7F8C;
  --grey-700:  #3D5060;
  --transition: 0.25s ease;
  --radius:    10px;
  --shadow-sm: 0 2px 8px rgba(12,61,94,0.08);
  --shadow-md: 0 6px 24px rgba(12,61,94,0.14);
  --shadow-lg: 0 16px 48px rgba(12,61,94,0.18);
  --header-h: 72px;
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--mint); }

ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

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

.lead {
  font-size: 1.15rem;
  color: var(--grey-700);
  line-height: 1.75;
}

/* ── Layout Helpers ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 80px 0;
}

.section--light { background: var(--light-bg); }
.section--dark  { background: var(--dark); color: var(--white); }
.section--navy  { background: var(--navy); color: var(--white); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section__header h2 { margin-bottom: 0.75rem; }
.section__header p  { color: var(--grey-500); }

/* ── Accent Elements ── */
.accent-line {
  width: 60px;
  height: 4px;
  background: var(--mint);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.accent-line--left { margin-left: 0; }

.tag {
  display: inline-block;
  padding: 0.2em 0.75em;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag--teal   { background: rgba(27,138,116,0.12); color: var(--teal); }
.tag--mint   { background: rgba(0,201,167,0.12);  color: var(--mint); }
.tag--navy   { background: rgba(12,61,94,0.1);    color: var(--navy); }
.tag--white  { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover {
  background: #157a65;
  border-color: #157a65;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,138,116,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--outline-teal:hover {
  background: var(--teal);
  color: var(--white);
}

.btn--lg { padding: 0.9rem 2.2rem; font-size: 1rem; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ── Header & Navigation ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(12, 61, 94, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition), background var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(10,30,46,0.45);
  background: rgba(8, 28, 46, 0.99);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  /* Soft frosted pill — color logo vivid on dark header */
  background: rgba(255, 255, 255, 0.93);
  border-radius: 12px;
  padding: 5px 14px 5px 10px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: background var(--transition), box-shadow var(--transition);
}

.header__logo:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.25);
}

.header__logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: none;
}

/* Main Nav */
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__list a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.nav__list a:hover {
  color: var(--mint);
  background: rgba(0,201,167,0.1);
}

.nav__list a.active {
  color: var(--mint);
  background: rgba(0,201,167,0.12);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--transition);
}

.hamburger:hover { background: rgba(255,255,255,0.1); }

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--dark);
  padding: 1.25rem 1.5rem 2rem;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.nav__mobile.open { display: block; }

.nav__mobile a {
  display: block;
  padding: 0.85rem 0;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}

.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover, .nav__mobile a.active { color: var(--mint); }

/* ── Hero Sections ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

/* Subtle geometric background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(27,138,116,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,201,167,0.08) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(12,61,94,0.4) 0%, transparent 50%);
  pointer-events: none;
}

/* Hex grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'%3E%3Cpolygon points='30,2 58,17 58,47 30,62 2,47 2,17'/%3E%3Cpolygon points='30,54 58,69 58,99 30,114 2,99 2,69'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero__logo {
  margin: 0 auto 2.5rem;
  width: min(300px, 75vw);
}

.hero__logo img { width: 100%; height: auto; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--mint);
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Page hero (shorter) */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(27,138,116,0.18) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(0,201,167,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Services Strip (Home) ── */
.services-strip {
  background: var(--white);
  padding: 60px 0;
}

.services-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.25rem;
  border-radius: var(--radius);
  border: 2px solid var(--grey-100);
  text-align: center;
  text-decoration: none;
  color: var(--dark);
  transition: all var(--transition);
  background: var(--white);
}

.service-chip:hover {
  border-color: var(--mint);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: var(--dark);
}

.service-chip__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(27,138,116,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: background var(--transition);
}

.service-chip:hover .service-chip__icon {
  background: rgba(0,201,167,0.15);
}

.service-chip h3 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
}

/* ── About Snapshot ── */
.about-snapshot { background: var(--light-bg); }

.about-snapshot__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-snapshot__text h2 { margin-bottom: 1.25rem; }

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  margin: 2.5rem 0;
}

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

.stat-item__value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-item__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.about-snapshot__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  width: 100%;
}

.about-visual-card .logo-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.about-visual-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.about-visual-card p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.about-visual-card .divider {
  width: 40px;
  height: 3px;
  background: var(--mint);
  border-radius: 2px;
  margin: 1.25rem auto;
}

/* ── Research Highlight ── */
.research-highlight { background: var(--white); }

.pub-card--featured {
  background: var(--teal);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.pub-card--featured::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(0,201,167,0.15);
  pointer-events: none;
}

.pub-card--featured .tag { margin-bottom: 1.25rem; }
.pub-card--featured h3 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.15rem; line-height: 1.5; }
.pub-card--featured p  { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

.pub-card--featured .pub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}

.pub-card--featured .pub-link:hover {
  color: var(--mint);
  border-color: var(--mint);
}

/* ── General Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-100);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mint);
  transform: translateY(-3px);
}

.card h3 { margin-bottom: 0.75rem; }

/* ── Mission/Vision ── */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mv-card {
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
}

.mv-card--mission { background: var(--navy); color: var(--white); }
.mv-card--vision  { background: var(--teal); color: var(--white); }

.mv-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.mv-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.mv-card p { color: rgba(255,255,255,0.88); line-height: 1.75; }

.mv-card .accent-line { margin-bottom: 1.25rem; background: var(--mint); }

/* ── Core Values ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--grey-100);
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mint);
  transform: translateY(-3px);
}

.value-card__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.value-card h4 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.value-card p { font-size: 0.9rem; color: var(--grey-500); }

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.team-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-card__body { padding: 2rem; }

.team-card__name {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.team-card__email {
  font-size: 0.85rem;
  color: var(--grey-500);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.team-card__email a { color: var(--teal); }
.team-card__email a:hover { color: var(--mint); }

.team-card__bio {
  font-size: 0.92rem;
  color: var(--grey-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.team-card__divider {
  height: 1px;
  background: var(--grey-100);
  margin: 1.25rem 0;
}

.team-card__meta h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-300);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.team-card__meta ul li {
  font-size: 0.88rem;
  color: var(--grey-700);
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}

.team-card__meta ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--mint);
}

.metrics-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.metric { text-align: center; }
.metric__val {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
}
.metric__lbl {
  font-size: 0.72rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Partner Section ── */
.partner-banner {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  border: 1px solid var(--grey-100);
}

.partner-banner__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.partner-banner h3 { margin-bottom: 0.5rem; }
.partner-banner p { font-size: 0.92rem; color: var(--grey-700); }

/* ── Services Page ── */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--grey-100);
  overflow: hidden;
  transition: all var(--transition);
  display: grid;
  grid-template-columns: auto 1fr;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mint);
}

.service-card__num {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 1.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 80px;
}

.service-card__num span {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
}

.service-card__content {
  padding: 2rem 2.5rem;
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p { color: var(--grey-700); font-size: 0.95rem; margin-bottom: 1.25rem; }

.service-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.service-card ul li {
  font-size: 0.88rem;
  color: var(--grey-700);
  padding-left: 1.25rem;
  position: relative;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 700;
}

/* ── Research Page ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.stat-box {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  border: 2px solid var(--grey-100);
  transition: all var(--transition);
}

.stat-box:hover {
  border-color: var(--mint);
  box-shadow: var(--shadow-md);
}

.stat-box__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-box__value em {
  color: var(--mint);
  font-style: normal;
}

.stat-box__label {
  font-size: 0.85rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Featured pub */
.pub-featured {
  background: var(--teal);
  border-radius: 16px;
  padding: 2.5rem;
  color: var(--white);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.pub-featured::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(0,201,167,0.12);
  pointer-events: none;
}

.pub-featured .tag--white { margin-bottom: 1rem; }

.pub-featured .pub-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.pub-featured .pub-citation {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  line-height: 1.65;
}

.pub-featured .doi-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--white);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 1px;
  word-break: break-all;
}

.pub-featured .doi-link:hover { color: var(--mint); border-color: var(--mint); }

/* Publication list */
.pub-sections h2 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--mint);
  display: inline-block;
}

.pub-section { margin-bottom: 3rem; }
.pub-section h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--grey-100);
}

.pub-list { display: flex; flex-direction: column; gap: 1.25rem; }

.pub-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--grey-100);
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
  transition: all var(--transition);
}

.pub-item:hover {
  border-color: var(--mint);
  box-shadow: var(--shadow-sm);
}

.pub-item__num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mint);
  padding-top: 0.1rem;
}

.pub-item__citation {
  font-size: 0.9rem;
  color: var(--grey-700);
  line-height: 1.65;
}

.pub-item__citation strong { color: var(--dark); }

.pub-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
  align-items: center;
}

.pub-item__meta .tag { font-size: 0.7rem; }

.pub-item__doi {
  font-size: 0.78rem;
  color: var(--teal);
  word-break: break-all;
}

.pub-item__doi:hover { color: var(--mint); }

/* ── ORCID Live Feed ── */
.orcid-loading {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 0;
  color: var(--grey-500);
  font-size: 0.92rem;
}

.orcid-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0,201,167,0.2);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: orcid-spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes orcid-spin {
  to { transform: rotate(360deg); }
}

.orcid-error {
  padding: 1.5rem;
  background: #fff8f0;
  border-left: 3px solid var(--mint);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--grey-700);
}

.orcid-error a {
  color: var(--teal);
  font-weight: 600;
}

.orcid-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--grey-500);
  margin-bottom: 2rem;
}

.orcid-badge a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.orcid-badge a:hover { text-decoration: underline; }

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--grey-700); margin-bottom: 2rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(27,138,116,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--teal);
}

.contact-item__text h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--grey-300);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-item__text a,
.contact-item__text span {
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
}

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

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-100);
}

.contact-form h3 { margin-bottom: 0.25rem; }
.contact-form .form-note { font-size: 0.85rem; color: var(--grey-500); margin-bottom: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: 0.4rem;
}

.form-group label .req { color: var(--teal); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--grey-100);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--light-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(27,138,116,0.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; justify-content: center; }

.form-response-note {
  font-size: 0.82rem;
  color: var(--grey-500);
  margin-top: 0.75rem;
  text-align: center;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(27,138,116,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner > .container { position: relative; z-index: 1; }

.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ── Footer ── */
#site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand .logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__brand .logo-row img { width: 40px; height: 40px; }

.footer__brand .brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer__brand .brand-name small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 500;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

.footer__col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer__links li + li { margin-top: 0.6rem; }
.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--mint); }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
}

.footer__contact li .ico {
  color: var(--mint);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer__contact a { color: rgba(255,255,255,0.65); }
.footer__contact a:hover { color: var(--mint); }

.footer__bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-mint   { color: var(--mint); }
.text-teal   { color: var(--teal); }
.text-navy   { color: var(--navy); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--teal);
  font-size: 0.95rem;
  transition: gap var(--transition), color var(--transition);
}
.link-arrow:hover { gap: 0.7rem; color: var(--mint); }

/* ── Responsive ── */

@media (max-width: 1024px) {
  .services-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .about-snapshot__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .service-card { grid-template-columns: 1fr; }
  .service-card__num { min-width: unset; padding: 1.25rem 2rem; flex-direction: row; align-items: center; gap: 0.75rem; }
  .service-card ul { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav__list { display: none; }
  .hamburger { display: flex; }
  .services-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .header__logo { padding: 4px 10px 4px 8px; }
}

@media (max-width: 480px) {
  .services-strip__grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; justify-content: center; }
  .partner-banner { flex-direction: column; text-align: center; }
  .metrics-row { justify-content: center; }
}

/* ── Contact Form — States ─────────────────────────────── */

/* Field error highlight */
.field-error {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15) !important;
}

/* Inline submission error */
.form-submit-error {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: var(--radius);
  color: #c53030;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Submit button spinner */
.btn-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
  vertical-align: middle;
  margin-right: 0.35em;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Success message shown after form hides */
.form-success-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 1rem;
  animation: fadeInUp 0.4s ease both;
}
.form-success-msg__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}
.form-success-msg h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin: 0;
}
.form-success-msg p {
  color: var(--grey-700);
  max-width: 480px;
  line-height: 1.7;
  margin: 0;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
