/* DESIGN SYSTEM & INITIAL SETUP */
:root {
  /* Colors */
  --navy-dark: #071426;
  --navy-main: #0A1D33;
  --navy-soft: #122A45;
  --cream: #F8F3EC;
  --warm-white: #FFF9F2;
  --paper: #F7F5EF;
  --paper-deep: #EDE8DA;
  --coral: #C96D76;
  --terracotta: #C6551E;
  --terracotta-dark: #9E4116;
  --gold: #C79A2E;
  --salmon: #E7B27C;
  --text-dark: #111E3A;
  --text-soft: #3C4A66;
  --text-light: #F8F3EC;
  
  /* Borders and Opacities */
  --border-soft: rgba(17, 30, 58, 0.12);
  --border-light-soft: rgba(255, 255, 255, 0.08);
  --card-border: rgba(17, 30, 58, 0.06);
  
  /* Fonts */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(17, 30, 58, 0.03);
  --shadow-md: 0 8px 24px rgba(17, 30, 58, 0.05);
  --shadow-lg: 0 16px 48px rgba(7, 20, 38, 0.12);
  
  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.48s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--navy-dark);
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--navy-dark);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 460;
  line-height: 1.15;
}

p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
}

.italic-highlight {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--salmon);
}

.italic-highlight-title {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--terracotta);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.78rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-pill {
  border-radius: 100px;
}

.btn-primary {
  background-color: var(--terracotta);
  color: var(--text-light);
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background-color: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(198, 85, 30, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  border-color: var(--paper);
  color: var(--paper);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-outline-light {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  background-color: transparent;
  color: var(--gold);
  border: 1px solid rgba(231, 178, 124, 0.4);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-outline-light:hover {
  background-color: rgba(231, 178, 124, 0.12);
  color: var(--paper);
  border-color: var(--gold);
}

.btn-white {
  background-color: var(--paper);
  color: var(--terracotta-dark);
  border-color: var(--paper);
}

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

.btn-outline-white {
  background-color: transparent;
  color: var(--paper);
  border: 1px solid rgba(247, 245, 239, 0.4);
}

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

/* UTILITIES */
.text-center { text-align: center; }
.text-light { color: var(--text-light) !important; }
.text-light-opacity { color: rgba(247, 245, 239, 0.7) !important; }
.tagline-light { color: var(--salmon) !important; }

/* EYEBROW */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background-color: var(--terracotta);
  display: inline-block;
}

.tagline-light::before {
  background-color: var(--salmon) !important;
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2.5px solid var(--terracotta);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* APP LAYOUT FRAME */
.app-wrapper {
  min-height: 100vh;
  width: 100%;
  padding: 3rem 4rem;
  background: radial-gradient(circle at 10% 10%, #170e22 0%, transparent 45%),
              radial-gradient(circle at 90% 90%, #20121d 0%, transparent 45%),
              linear-gradient(135deg, #050d18 0%, #02050b 100%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-container {
  width: 100%;
  max-width: 1300px;
  background-color: var(--navy-main);
  border-radius: 16px;
  border: 1px solid var(--border-light-soft);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 1. HEADER STYLE */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 4rem;
  background-color: var(--cream);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  z-index: 100;
}

.header-logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

.logo-text-block {
  display: flex;
  flex-direction: column;
}

.logo-main-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--text-dark);
  line-height: 1.1;
}

.logo-sub-text {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-top: 1px;
}

.logo-link:hover .logo-img {
  opacity: 0.95;
  transform: scale(1.02);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-cta-item {
  display: none; /* Hidden on desktop, shown on mobile */
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--terracotta);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link:focus {
  color: var(--text-dark);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lang-selector {
  position: relative;
}

.lang-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  background: rgba(17, 30, 58, 0.05);
}

.lang-icon {
  font-size: 1.1rem;
}

.lang-arrow {
  font-size: 0.6rem;
  opacity: 0.7;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  list-style: none;
  width: 140px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-fast);
  border: 1px solid var(--border-soft);
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown li a {
  display: block;
  padding: 8px 16px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.lang-dropdown li a:hover {
  background: var(--cream);
  color: var(--terracotta);
}

/* Hide Google Translate Default UI */
.goog-te-banner-frame.skiptranslate, 
.goog-te-gadget-icon, 
#goog-gt-tt {
  display: none !important;
}
body {
  top: 0px !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-normal);
}

/* 2. HERO SECTION */
.hero-section {
  padding: 0;
  background-color: var(--navy-main);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 580px;
}

.hero-content {
  padding: 4rem 0 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}

.hero-text-watermark {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  opacity: 0.038;
  color: var(--gold);
  pointer-events: none;
  z-index: -1;
}

.hero-text-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.035;
  color: var(--text-light);
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  font-size: 11px !important;
  letter-spacing: 0.16em !important;
  color: var(--terracotta) !important;
  font-weight: 600;
  margin-bottom: 1.8rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  color: var(--text-light);
  margin-bottom: 1.8rem;
  line-height: 1.12;
  font-weight: 400;
}

.hero-title-highlight {
  font-family: var(--font-serif);
  color: var(--coral);
  font-weight: 400;
  display: inline;
}

.lede-text {
  font-size: 1.08rem;
  color: rgba(248, 243, 236, 0.75);
  margin-bottom: 2.8rem;
  max-width: 50ch;
  font-weight: 300;
  line-height: 1.68;
}

.hero-actions-block {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust-line {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(248, 243, 236, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(248, 243, 236, 0.65);
}

.trust-badge-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.hero-links-sub {
  display: flex;
  gap: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.sub-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--salmon);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.sub-link:hover {
  color: var(--paper);
  transform: translateX(3px);
}

.hero-visual {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--navy-main) 0%, rgba(10, 29, 51, 0.4) 30%, rgba(10, 29, 51, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* 3. FRANJA DE ESTADÍSTICAS */
.metrics-section {
  background-color: var(--paper);
  border-bottom: 1px solid var(--border-soft);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.metric-item {
  display: flex;
  flex-direction: column;
  padding: 2.2rem 2rem;
  border-right: 1px solid var(--border-soft);
  position: relative;
}

.metric-item:last-child {
  border-right: none;
}

.metric-icon {
  margin-bottom: 0.8rem;
  color: var(--terracotta);
}

.metric-number-wrapper {
  display: inline-flex;
  align-items: baseline;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--terracotta-dark);
  line-height: 1.1;
}

.metric-suffix {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--terracotta-dark);
  font-weight: 500;
}

.metric-label {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 6px;
  line-height: 1.5;
}

/* SECTION GLOBAL HEADERS */
section {
  padding: 6.5rem 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-top: 1rem;
  color: var(--text-dark);
  line-height: 1.12;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-top: 1rem;
  line-height: 1.62;
}

/* 4. WHAT WE DO SECTION (NEWLY ALIGNED) */
.what-we-do-section {
  background-color: var(--warm-white);
  border-bottom: 1px solid var(--border-soft);
  padding: 6.5rem 0;
}

.what-we-do-layout {
  display: grid;
  grid-template-columns: 0.95fr 2.05fr;
  gap: 4rem;
  align-items: start;
}

.what-title-col {
  display: flex;
  flex-direction: column;
}

.what-title-col .section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  color: var(--text-dark);
  margin-top: 1rem;
  line-height: 1.25;
}

.what-grid-col {
  display: flex;
  flex-direction: column;
}

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

.what-col-item {
  display: flex;
  flex-direction: column;
}

.what-col-icon {
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.what-col-item h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.what-col-item p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.what-we-do-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--paper);
  border: 1px solid rgba(198, 85, 30, 0.08);
  padding: 1.4rem 2.2rem;
  border-radius: 12px;
  margin-top: 4.5rem;
}

.what-banner-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-dark);
}

.what-banner-butterfly-icon {
  width: 26px;
  height: 26px;
  color: var(--terracotta);
  opacity: 0.7;
  flex-shrink: 0;
}

.what-banner-left p {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  margin: 0;
}

.what-banner-right {
  flex-shrink: 0;
}

.what-banner-right .btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
}

/* 5. RESEARCH FOCUS */
.research-focus-section {
  background-color: var(--cream);
  border-bottom: 1px solid var(--border-soft);
}

.focus-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.focus-card {
  background-color: var(--warm-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.focus-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(198, 85, 30, 0.15);
}

.focus-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1.45;
  overflow: visible;
}

.focus-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.focus-card:hover .focus-img {
  transform: scale(1.04);
}

.focus-icon-badge {
  position: absolute;
  bottom: -22px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--terracotta);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(198, 85, 30, 0.25);
  z-index: 2;
  padding: 6px;
}

.focus-card:nth-child(even) .focus-icon-badge {
  background-color: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 10px rgba(199, 154, 46, 0.25);
}

.focus-card-body {
  padding: 2.2rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.focus-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.focus-card:nth-child(even) .focus-tag {
  color: var(--gold);
}

.focus-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.focus-card-text {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* 6. WHY THE BUTTERFLY */
.why-butterfly {
  position: relative;
  border-bottom: 1px solid var(--border-light-soft);
  padding: 8.5rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.why-butterfly-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/monarca.png');
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

.why-butterfly-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(7, 20, 38, 0.98) 0%, rgba(7, 20, 38, 0.85) 30%, rgba(7, 20, 38, 0) 70%);
}

.why-butterfly-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
}

.why-eyebrow {
  font-family: "Inter", "IBM Plex Mono", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D86A4A;
  margin-bottom: 2rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background-color: #D86A4A;
  display: block;
}

.why-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #F8F3EC;
  margin-bottom: 2.5rem;
}

.why-title .highlight {
  color: #D86A4A;
  font-style: italic;
  font-family: inherit;
}

.why-body {
  font-family: "Inter", sans-serif;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
  color: rgba(248, 243, 236, 0.84);
  max-width: 48ch;
  margin-bottom: 2rem;
}

.why-closing {
  font-family: "Inter", sans-serif;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
  color: rgba(248, 243, 236, 0.84);
  max-width: 48ch;
  border-top: 1px solid rgba(216, 106, 74, 0.6);
  padding-top: 24px;
  margin-top: 32px;
}

.why-closing .highlight {
  color: #D86A4A;
  font-style: italic;
}

@media (max-width: 992px) {
  .why-butterfly-bg {
    background-position: 60% center;
  }
  .why-butterfly-bg::after {
    background: linear-gradient(to bottom, rgba(7, 20, 38, 0.95) 0%, rgba(7, 20, 38, 0.9) 50%, rgba(7, 20, 38, 0.4) 100%);
  }
  .why-butterfly {
    padding: 5rem 0;
  }
}

/* 7. PEER-REVIEWED PUBLICATIONS */
.publications-section {
  background-color: var(--navy-dark);
  border-bottom: 1px solid var(--border-light-soft);
  color: var(--paper);
}

.pub-cards-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(247, 245, 239, 0.12);
  margin-top: 2rem;
}

.pub-card-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(247, 245, 239, 0.12);
  transition: var(--transition-normal);
}

.pub-card-row:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.pub-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pub-icon-wrapper {
  color: var(--gold);
  flex-shrink: 0;
}

.pub-year-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
}

.pub-card-content {
  display: flex;
  flex-direction: column;
}

.pub-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 6px;
  font-weight: 460;
  line-height: 1.35;
}

.pub-card-citation {
  font-size: 0.88rem;
  color: rgba(247, 245, 239, 0.68);
  margin: 0;
}

.pub-card-actions {
  display: flex;
  gap: 10px;
}

/* 8. GLOBAL NETWORK */
.network-section {
  background-color: var(--navy-dark);
  border-bottom: 1px solid var(--border-light-soft);
  color: var(--paper);
}

.network-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: start;
}

.network-info .section-title {
  margin-top: 1.2rem;
}

.network-desc {
  color: rgba(248, 243, 236, 0.7);
  font-size: 1.05rem;
  margin-top: 1.2rem;
  margin-bottom: 2.2rem;
  line-height: 1.62;
  max-width: 44ch;
}

.region-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.region-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: rgba(248, 243, 236, 0.8);
  background: rgba(255, 255, 255, 0.02);
}

.small-map-visualization {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  max-width: 320px;
}

.globe-network-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Collaborators list */
.network-collaborators-list {
  display: flex;
  flex-direction: column;
}

.network-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2.5rem;
  row-gap: 1.8rem;
  list-style: none;
}

.network-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  break-inside: avoid;
}

.network-list:not(.expanded) li:nth-child(n+4) {
  display: none;
}

.network-actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.inst-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: var(--navy-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
}

.inst-text {
  display: flex;
  flex-direction: column;
}

.inst-text b {
  font-family: var(--font-serif);
  font-weight: 460;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.25;
}

.inst-text span {
  font-size: 0.82rem;
  color: rgba(248, 243, 236, 0.6);
  margin-top: 3px;
  line-height: 1.35;
}

/* 9. RESEARCH TEAM */
.team-section {
  background-color: var(--cream);
  border-bottom: 1px solid var(--border-soft);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-soft);
  background-color: var(--border-soft);
  gap: 1px;
}

.member-card {
  background-color: var(--paper);
  padding: 2.2rem 1.8rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(17, 30, 58, 0.08);
  background-color: var(--warm-white);
  z-index: 2;
}

.member-initial {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--gold));
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.member-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.member-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--terracotta-dark);
  margin-top: 5px;
  text-transform: uppercase;
}

.member-aff {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 10px;
  line-height: 1.45;
}

.team-subsection-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
}

.global-research-team {
  margin-top: 4rem;
}

.global-team-desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 65ch;
  line-height: 1.6;
}

.global-team-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contributors-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.compact-contributors-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.compact-contributors-list li {
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 1.2rem;
}

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

.c-name {
  font-weight: 600;
}

.c-separator {
  color: var(--text-soft);
  margin: 0 5px;
}

.c-role {
  color: var(--text-soft);
}

.team-visual-col {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.team-editorial-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 10. CONFERENCE PRESENCE */
.conference-section {
  background-color: var(--paper-deep);
  border-bottom: 1px solid var(--border-soft);
}

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

.conf-info-side .section-title {
  margin-top: 1rem;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}

.conf-desc {
  color: var(--text-soft);
  font-size: 1rem;
  margin-top: 1.2rem;
  line-height: 1.6;
  max-width: 46ch;
}

.conf-card {
  background-color: var(--paper);
  border: 1px solid var(--border-soft);
  padding: 2.2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.conf-figure {
  display: flex;
  justify-content: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 1rem;
}

.conf-figure svg {
  width: 64px;
  height: 64px;
}

.conf-row {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.88rem;
}

.conf-row:last-child {
  border-bottom: none;
}

.conf-row-label {
  color: var(--text-soft);
  font-weight: 500;
}

.conf-row-value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-align: right;
  color: var(--text-dark);
}

/* 11. NONPROFIT STATUS */
.trust-section {
  background-color: var(--cream);
  border-bottom: 1px solid var(--border-soft);
}

.trust-grid-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.trust-info-side .section-title {
  margin-top: 1rem;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}

.trust-desc {
  color: var(--text-soft);
  font-size: 1rem;
  margin-top: 1.2rem;
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 2rem;
}

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

.seal-visual-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.seal-container {
  width: 230px;
  transition: transform 0.4s ease;
}

.seal-container:hover {
  transform: rotate(6deg) scale(1.03);
}

.nonprofit-seal-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 12. WORK WITH US / CTA */
.involved-section {
  padding: 3rem 4rem 6rem 4rem;
  background-color: var(--navy-dark);
}

.cta-banner-container {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 40%, var(--gold) 100%);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  position: relative;
  min-height: 380px;
  box-shadow: var(--shadow-lg);
}

.bf-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.05;
  pointer-events: none;
}

.cta-visual-side {
  position: relative;
  height: 100%;
  min-height: 300px;
}

.cta-microscope-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
  display: block;
}

.cta-glow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 29, 51, 0) 40%, var(--terracotta-dark) 90%),
              linear-gradient(to bottom, rgba(7, 20, 38, 0) 60%, rgba(7, 20, 38, 0.3) 100%);
}

.cta-content-side {
  padding: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
  position: relative;
}

.cta-content-side .eyebrow {
  color: rgba(247, 245, 239, 0.85);
  margin-bottom: 1rem;
}

.cta-content-side .eyebrow::before {
  background-color: rgba(247, 245, 239, 0.85);
}

.cta-title {
  color: var(--text-light);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-top: 0.8rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.cta-description {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
  max-width: 48ch;
  font-weight: 300;
  line-height: 1.6;
}

.cta-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 13. FOOTER STYLE */
.site-footer {
  background-color: var(--navy-dark);
  padding: 5.5rem 4rem 3rem 4rem;
  border-top: 1px solid var(--border-light-soft);
  color: rgba(248, 243, 236, 0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo-link {
  align-self: flex-start;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  opacity: 0.85;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.62;
  color: rgba(248, 243, 236, 0.7);
  max-width: 38ch;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-links-list,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.88rem;
}

.footer-links-list a {
  color: rgba(248, 243, 236, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--gold);
}

.footer-contact-list li {
  color: rgba(248, 243, 236, 0.8);
}

.footer-email-link {
  color: rgba(248, 243, 236, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-email-link:hover {
  color: var(--gold);
}

/* Bottom Footer */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(247, 245, 239, 0.12);
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(247, 245, 239, 0.55);
}

/* MOBILE TOGGLES */
.mobile-toggle-actions {
  display: none;
}
.network-actions {
  display: none;
}

@media (max-width: 768px) {
  .mobile-toggle-actions {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
  }
  .network-actions {
    display: block;
    margin-top: 1.5rem;
    text-align: center;
  }
  
  /* Research Focus: hide cards 4-6 on mobile initially */
  .focus-cards-grid:not(.show-all) .focus-card:nth-child(n+4) {
    display: none;
  }
  
  /* Publications: hide cards 3+ on mobile initially */
  .pub-cards-list:not(.show-all) .pub-card-row:nth-child(n+3) {
    display: none;
  }
  
  /* Network: hide institutions 5+ on mobile initially */
  .network-list:not(.show-all) li:nth-child(n+5) {
    display: none;
  }
}

/* SCROLL REVEAL INITIAL STATES */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN - BREAKPOINTS */

@media (max-width: 1200px) {
  .app-wrapper {
    padding: 1.5rem;
  }
  
  .what-we-do-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .what-cols-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  
  .focus-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .network-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pub-card-row {
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
  }
  
  .pub-card-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-col-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 992px) {
  .site-header {
    padding: 1rem 2.5rem;
  }
  
  .logo-img {
    height: 48px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    padding: 4.5rem 2.5rem 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-text-watermark {
    width: 380px;
    height: 380px;
    left: 50%;
  }
  
  .hero-eyebrow {
    justify-content: center;
  }
  
  .lede-text {
    max-width: 600px;
  }
  
  .hero-btn-row {
    justify-content: center;
  }
  
  .trust-line {
    justify-content: center;
  }
  
  .hero-links-sub {
    justify-content: center;
  }
  
  .hero-visual {
    height: 380px;
    width: 100%;
  }
  
  .hero-main-img {
    object-position: 50% 25%;
  }
  
  .hero-img-overlay-gradient {
    background: linear-gradient(to bottom, var(--navy-main) 0%, rgba(10, 29, 51, 0.3) 25%, rgba(10, 29, 51, 0) 100%);
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .metric-item:nth-child(2) {
    border-right: none;
  }
  
  .metric-item:nth-child(3) {
    border-top: 1px solid var(--border-soft);
  }
  
  .metric-item:nth-child(4) {
    border-top: 1px solid var(--border-soft);
    border-right: none;
  }
  
  .wrap {
    padding: 0 2.5rem;
  }
  
  .what-we-do-section {
    padding: 4.5rem 0;
  }
  
  .research-focus-section {
    padding: 4.5rem 0;
  }
  
  .butterfly-narrative-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .butterfly-content-side {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .butterfly-content-side .eyebrow {
    justify-content: center;
  }
  
  .narrative-text {
    max-width: 600px;
  }
  
  .publications-section {
    padding: 4.5rem 0;
  }
  
  .network-section {
    padding: 4.5rem 0;
  }
  
  .small-map-visualization {
    max-width: 100%;
    margin-top: 3rem;
  }
  
  .team-section {
    padding: 4.5rem 0;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .conference-section {
    padding: 4.5rem 0;
  }
  
  .conference-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .trust-section {
    padding: 4.5rem 0;
  }
  
  .trust-grid-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .trust-info-side {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .trust-info-side .eyebrow {
    justify-content: center;
  }
  
  .nonprofit-cta-break {
    justify-content: center;
  }
  
  .involved-section {
    padding: 2rem 2.5rem 4.5rem 2.5rem;
  }
  
  .cta-banner-container {
    grid-template-columns: 1fr;
  }
  
  .cta-visual-side {
    min-height: 250px;
  }
  
  .cta-content-side {
    padding: 3rem 2.5rem;
    align-items: center;
    text-align: center;
  }
  
  .cta-content-side .eyebrow {
    justify-content: center;
  }
  
  .cta-description {
    max-width: 600px;
  }
  
  .cta-actions-row {
    justify-content: center;
  }
  
  .site-footer {
    padding: 4.5rem 2.5rem 2.5rem 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Hamburger Menu Toggle */
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--cream);
    border-bottom: 1px solid var(--border-soft);
    padding: 2rem 2.5rem;
    display: none;
    z-index: 50;
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    display: block;
    animation: slideDownMenu 0.3s ease-out forwards;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .nav-link {
    font-size: 1.05rem;
  }
  
  .menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .header-actions .btn.desktop-cta {
    display: none;
  }
  
  .nav-cta-item {
    display: block;
    margin-top: 1rem;
    width: 100%;
  }
  
  .nav-cta-item .btn {
    width: 100%;
    text-align: center;
    display: block;
  }
  
  .focus-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .network-list {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .global-team-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .global-team-layout .team-visual-col {
    order: -1;
  }
  
  .what-we-do-banner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 1.8rem 1.2rem;
  }
  
  .what-banner-left {
    flex-direction: column;
    text-align: center;
  }
  
  .what-banner-butterfly-icon {
    margin-bottom: 0.5rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

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

@media (max-width: 480px) {
  .app-wrapper {
    padding: 0;
  }
  
  .site-container {
    border-radius: 0;
    border: none;
  }
  
  .site-header {
    padding: 1rem 1.5rem;
  }
  
  .logo-img {
    height: 42px;
  }
  
  .hero-section {
    padding: 0;
  }
  
  .hero-content {
    padding: 3.25rem 1.5rem 2.5rem 1.5rem;
  }
  
  .hero-btn-row {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }
  
  .hero-btn-row .btn {
    width: 100%;
  }
  
  .hero-links-sub {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .metric-item {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    padding: 1.8rem 1.5rem;
  }
  
  .metric-item:nth-child(3) {
    border-top: none;
  }
  
  .metric-item:nth-child(4) {
    border-top: none;
    border-bottom: none;
  }
  
  .wrap {
    padding: 0 1.5rem;
  }
  
  .hero-section,
  .what-we-do-section,
  .research-focus-section,
  .publications-section,
  .network-section,
  .team-section,
  .conference-section,
  .trust-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  
  .involved-section, .why-butterfly {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  
  .what-cols-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  
  .what-we-do-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
    padding: 1.5rem;
    margin-top: 3rem;
  }
  
  .what-banner-left {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .what-banner-right {
    width: 100%;
  }
  
  .what-banner-right .btn {
    width: 100%;
  }
  
  .focus-card-body {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
  }
  
  .pub-card-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .pub-card-meta {
    justify-content: flex-start;
  }
  
  .involved-section {
    padding: 1.5rem 1.5rem 3.5rem 1.5rem;
  }
  
  .cta-content-side {
    padding: 2.5rem 1.5rem;
  }
  
  .cta-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  
  .cta-actions-row .btn {
    width: 100%;
  }
  
  .site-footer {
    padding: 3.5rem 1.5rem 2rem 1.5rem;
  }
}
