/* ============================================
   FieldVista Policy Lab - Professional Stylesheet
   A clean, minimal think-tank design
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #002147;
  --primary-light: #0a3567;
  --primary-dark: #001230;
  --accent: #CC5500;
  --accent-light: #e06b1a;
  --accent-dark: #a34400;
  --text-dark: #222222;
  --text: #444444;
  --text-light: #777777;
  --text-white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --bg-gray: #f0f2f5;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

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

a:hover {
  color: var(--accent-dark);
}

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

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(204, 85, 0, 0.15);
  color: var(--text-dark);
}

/* ---------- Container & Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

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

.section--dark {
  background: var(--primary);
}

.section--accent {
  background: var(--accent);
}

.section--warm {
  background: #FFF8F0;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  padding: 0.4rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: rgba(255,255,255,0.8);
  margin-left: 1rem;
}

.top-bar a:hover {
  color: white;
}

.top-bar__social a {
  margin-left: 0.8rem;
  font-size: 0.85rem;
}

/* ---------- Header ---------- */
.header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--accent);
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.9rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--accent);
}

.nav-list > li > a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a i {
  font-size: 0.65rem;
  transition: var(--transition);
}

.nav-dropdown:hover > a i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  min-width: 230px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.55rem 1.2rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 400;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background: var(--bg-alt);
  color: var(--accent);
  border-left-color: var(--accent);
}

/* Nav CTA */
.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  border-radius: var(--radius) !important;
  padding: 0.5rem 1.2rem !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  background: var(--primary);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 80% 50%, rgba(204,85,0,0.15) 0%, transparent 60%);
}

.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumb a:hover {
  color: white;
}

.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

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

/* ---------- Hero Section (Homepage) ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #001a3a 60%, #000a1a 100%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(204,85,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(204,85,0,0.15);
  border: 1px solid rgba(204,85,0,0.3);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat__label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

/* Hero Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(204,85,0,0.3);
  border-radius: 50%;
}

.hero-particle:nth-child(1) {
  top: 20%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: rgba(204,85,0,0.06);
}

.hero-particle:nth-child(2) {
  top: 60%;
  right: 25%;
  width: 80px;
  height: 80px;
  background: rgba(204,85,0,0.04);
}

.hero-particle:nth-child(3) {
  top: 40%;
  right: 5%;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.03);
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border: none;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

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

.btn--primary:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(204,85,0,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

.btn--white:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* ---------- Article Cards ---------- */
.article-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.article-card__image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}

.article-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.1));
}

.article-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__category {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.article-card__category--policy {
  background: #FFF3E0;
  color: #E65100;
}

.article-card__category--commentary {
  background: #E3F2FD;
  color: #0D47A1;
}

.article-card__category--grassroots {
  background: #E8F5E9;
  color: #2E7D32;
}

.article-card__category--research {
  background: #F3E5F5;
  color: #6A1B9A;
}

.article-card__category--policymaker {
  background: #FCE4EC;
  color: #AD1457;
}

.article-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.article-card__title a {
  color: inherit;
}

.article-card__title a:hover {
  color: var(--accent);
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.article-card__meta .author {
  font-weight: 600;
  color: var(--text);
}

.article-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent);
}

.article-card__link:hover {
  gap: 0.6rem;
}

/* ---------- Editor's Pick ---------- */
.editors-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.editors-pick__image {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.4);
  position: relative;
}

.editors-pick__content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editors-pick__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.editors-pick__title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.editors-pick__meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.editors-pick__meta .author {
  font-weight: 600;
  color: var(--text);
}

.editors-pick__excerpt {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* ---------- Voice Cards (Grassroots) ---------- */
.voice-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.voice-card__quote-mark {
  font-size: 3.5rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  font-family: Georgia, serif;
}

.voice-card__text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin: 0.5rem 0 1.5rem;
}

.voice-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.voice-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.voice-card__name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.voice-card__role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ---------- Paper Cards (Working Papers) ---------- */
.paper-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.paper-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.paper-card__number {
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.paper-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.paper-card__authors {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.paper-card__abstract {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.paper-card__date {
  font-size: 0.78rem;
  color: var(--text-light);
}

.paper-card__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.paper-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Interview Cards ---------- */
.interview-card {
  display: flex;
  gap: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.interview-card:hover {
  box-shadow: var(--shadow-lg);
}

.interview-card__photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.interview-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.interview-card__title {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.interview-card__excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, var(--primary) 0%, #001a3a 100%);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(204,85,0,0.1) 0%, transparent 60%);
}

.newsletter h2 {
  color: white;
  margin-bottom: 0.75rem;
  position: relative;
}

.newsletter h2::after {
  background: var(--accent);
}

.newsletter p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 1rem auto 2rem;
  position: relative;
}

.newsletter-form {
  display: flex;
  max-width: 450px;
  margin: 0 auto 1rem;
  position: relative;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}

.newsletter-form button {
  padding: 0.85rem 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--accent-light);
}

.newsletter__note {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  position: relative;
}

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

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

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

.view-all {
  text-align: center;
  margin-top: 2.5rem;
}

.view-all a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.view-all a:hover {
  gap: 0.6rem;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,33,71,0.08), rgba(204,85,0,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent);
}

.card-link:hover {
  gap: 0.6rem;
}

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(204,85,0,0.08);
  color: var(--accent);
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
  color: white;
  font-size: 1.4rem;
}

.footer-brand .logo-text span {
  color: var(--accent);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: rgba(255,255,255,0.6);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.footer h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(204,85,0,0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.88rem;
  color: var(--text-light);
}

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

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

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  color: var(--text);
  background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(204,85,0,0.08);
}

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

/* ---------- Submission Form ---------- */
.submission-form {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.submission-form .form-group {
  margin-bottom: 1.5rem;
}

.submission-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.submission-form label .required {
  color: var(--accent);
}

.submission-form input[type="text"],
.submission-form input[type="email"],
.submission-form select,
.submission-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  color: var(--text);
}

.submission-form input:focus,
.submission-form select:focus,
.submission-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(204,85,0,0.08);
}

.submission-form textarea {
  min-height: 120px;
  resize: vertical;
}

.submission-form input[type="file"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
}

.submission-form input[type="file"]:hover {
  border-color: var(--accent);
}

.submission-form .file-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

.submission-form .btn {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 1rem;
}

/* ---------- Contributor Page / Submission Cards ---------- */
.submission-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.submission-card:hover {
  box-shadow: var(--shadow);
}

.submission-card__header {
  background: var(--bg-alt);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.submission-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(204,85,0,0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.submission-card__title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.submission-card__badge {
  background: var(--accent);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
}

.submission-card__body {
  padding: 1.5rem;
}

.submission-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.submission-card__requirements {
  list-style: none;
}

.submission-card__requirements li {
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 1.2rem;
  position: relative;
}

.submission-card__requirements li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- People Page ---------- */
.founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

.person-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}

.person-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.person-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.fellow-card {
  position: relative;
}

.partner-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  box-shadow: var(--shadow);
}

.social-link-labeled {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.social-link-labeled:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ---------- Editorial Timeline ---------- */
.editorial-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline-step {
  text-align: center;
  flex: 1;
  position: relative;
}

.timeline-step__number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 0.75rem;
}

.timeline-step__title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.timeline-step__desc {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}

.timeline-step__arrow {
  color: var(--border);
  font-size: 1.2rem;
  margin-top: 0.8rem;
}

/* ---------- Research Page (Paper Listing) ---------- */
.papers-list {
  max-width: 800px;
  margin: 0 auto;
}

.papers-list .paper-card {
  margin-bottom: 1.25rem;
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: white;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ---------- Media Coverage ---------- */
.media-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.media-item {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.media-item:last-child {
  border-bottom: none;
}

.media-item strong {
  color: var(--text-dark);
}

/* ---------- Process Steps (Consulting) ---------- */
.process-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.process-step__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.process-step__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.process-step__desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.process-arrow {
  color: var(--border);
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

/* ---------- Sector Badges (Consulting) ---------- */
.sector-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.sector-badge {
  padding: 0.5rem 1.25rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.sector-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Checklist ---------- */
.checklist {
  list-style: none;
}

.checklist li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.88rem;
  color: var(--text);
}

.checklist li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ---------- Timeline (About Page) ---------- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--accent);
  transform: translateX(-5px);
}

.timeline-item__date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.timeline-item__title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.timeline-item__desc {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Workshop Cards ---------- */
.workshop-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.workshop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.workshop-card__header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 1.5rem;
  color: white;
}

.workshop-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-light);
}

.workshop-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
}

.workshop-card__body {
  padding: 1.5rem;
}

.workshop-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.workshop-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* ---------- Expertise Cards (About Page) ---------- */
.expertise-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

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

.expertise-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.expertise-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.expertise-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar__contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.top-bar__contact a {
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
}
.top-bar__contact a:hover { color: var(--accent); }
.top-bar__contact i { margin-right: 0.3rem; }
.top-bar__social {
  display: flex;
  gap: 0.75rem;
}
.top-bar__social a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}
.top-bar__social a:hover { color: var(--accent); }

/* ---------- Section Variants ---------- */
.section--dark {
  background: linear-gradient(135deg, var(--primary) 0%, #001a3a 100%);
  color: white;
}
.section--dark h2 { color: white; }
.section--dark h2::after { background: var(--accent); }
.section--dark p { color: rgba(255,255,255,0.75); }
.section--dark h4 { color: white; }
.section--warm {
  background: #fdf8f4;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  padding: 4rem 0;
  text-align: center;
  color: white;
}
.cta-section h2 { color: white; margin-bottom: 0.75rem; }
.cta-section h2::after { background: white; margin-left: auto; margin-right: auto; }
.cta-section p {
  color: rgba(255,255,255,0.85);
  max-width: 550px;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
}

/* ---------- Hero (Homepage) ---------- */
.hero {
  background: radial-gradient(ellipse at top right, rgba(204,85,0,0.06) 0%, transparent 50%),
              linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 5rem 0 4rem;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  max-width: 700px;
  line-height: 1.2;
}
.hero h1 .accent { color: var(--accent-light); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: center; }
.hero-stat h3 {
  font-size: 2rem;
  color: white;
  font-weight: 700;
}
.hero-stat p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}
.hero-particles { display: none; }

/* ---------- Footer (legacy class support) ---------- */
.footer-about .logo-text { color: white; font-size: 1.4rem; }
.footer-about .logo-text span { color: var(--accent); }
.footer-about p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: rgba(255,255,255,0.6);
}
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-links li a:hover { color: var(--accent); padding-left: 4px; }

/* ---------- About Page ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.about-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  margin: 0 auto;
}
.about-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--primary);
}
.about-text h3:first-child { margin-top: 0; }
.about-text p {
  margin-bottom: 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Publication Cards (Research) ---------- */
.publication-card {
  display: flex;
  gap: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.publication-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.pub-type-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.pub-type-badge.journal { background: rgba(0,33,71,0.08); color: var(--primary); }
.pub-type-badge.working { background: rgba(204,85,0,0.08); color: var(--accent); }
.pub-type-badge.policy { background: rgba(56,161,105,0.08); color: #38a169; }
.pub-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.pub-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}
.pub-meta i { margin-right: 0.25rem; }
.pub-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* ---------- Consulting Cards ---------- */
.consulting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.consulting-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.consulting-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.consulting-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}
.consulting-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.consulting-card ul { list-style: none; }
.consulting-card ul li {
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--text);
}
.consulting-card ul li i {
  color: var(--accent);
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

/* ---------- Client Badges ---------- */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.client-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.client-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.client-badge i { color: var(--accent); }

/* ---------- Process Step (Consulting) ---------- */
.process-step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}
.process-step h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* ---------- Workshop Topics & Meta ---------- */
.workshop-topics h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.workshop-topics ul { list-style: none; margin-bottom: 1.25rem; }
.workshop-topics ul li {
  padding: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--text);
}
.workshop-topics ul li i {
  color: var(--accent);
  margin-right: 0.4rem;
  font-size: 0.75rem;
}
.workshop-meta {
  display: flex;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-light);
}
.workshop-meta i { margin-right: 0.3rem; color: var(--accent); }

/* ---------- Map Placeholder ---------- */
.map-placeholder {
  margin-top: 3rem;
  padding: 3rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  color: var(--text-light);
}

/* ---------- Contact Layout (legacy) ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

/* ---------- Founder Card Details ---------- */
.founder-card__photo { display: flex; align-items: flex-start; }
.founder-card__info h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.founder-card__role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.founder-card__details { margin-bottom: 1.5rem; }
.founder-card__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  color: var(--text);
}
.founder-card__detail i {
  color: var(--accent);
  margin-top: 0.2rem;
  width: 16px;
  text-align: center;
}
.founder-card__bio {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.founder-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Scroll Animations (additional) ---------- */
.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }

/* ---------- About Page Timeline (legacy) ---------- */
.timeline-item .year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
  font-family: 'Inter', sans-serif;
}
.timeline-item h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}
.timeline-item p {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ---------- Submission Card Content ---------- */
.submission-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  padding: 1.25rem 1.5rem 0;
}
.submission-card ul {
  list-style: none;
  padding: 1rem 1.5rem 1.5rem;
}
.submission-card ul li {
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--text);
}
.submission-card ul li i {
  color: var(--accent);
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

/* ---------- Timeline Connector ---------- */
.timeline-step__connector {
  color: var(--border);
  font-size: 1.2rem;
  margin-top: 0.8rem;
  flex-shrink: 0;
}
.timeline-step__content h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.timeline-step__content p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
  .nav-list > li > a {
    padding: 0.5rem 0.6rem;
    font-size: 0.82rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .consulting-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    padding: 5rem 2rem 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list > li > a {
    padding: 0.75rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-list > li > a::after {
    display: none;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 1rem;
    min-width: auto;
  }

  .dropdown-menu li a {
    padding: 0.5rem 0;
    border-left: none;
    font-size: 0.9rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .hero-stat__number {
    font-size: 1.6rem;
  }

  .editors-pick {
    grid-template-columns: 1fr;
  }

  .editors-pick__image {
    min-height: 280px;
  }

  .editors-pick__content {
    padding: 2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .person-avatar {
    margin: 0 auto;
  }

  .interview-card {
    flex-direction: column;
    text-align: center;
  }

  .interview-card__photo {
    margin: 0 auto;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  .newsletter-form input {
    border-right: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
  }

  .newsletter-form button {
    border-radius: var(--radius);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .editorial-timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline-step__arrow {
    transform: rotate(90deg);
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-arrow {
    transform: rotate(90deg);
  }

  .top-bar {
    display: none;
  }

  .consulting-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; text-align: center; }
  .publication-card { flex-direction: column; gap: 1rem; }
  .founder-card__photo { justify-content: center; }
  .founder-card__links { justify-content: center; }
  .hero h1 { font-size: 2.2rem; }
  .timeline-step__connector { transform: rotate(90deg); }
}

/* ---------- Responsive: Small Mobile ---------- */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 2.5rem 0;
  }

  .editors-pick__content {
    padding: 1.5rem;
  }

  .editors-pick__title {
    font-size: 1.2rem;
  }

  .voice-card {
    padding: 1.5rem;
  }

  .paper-card {
    padding: 1.25rem;
  }

  .submission-form {
    padding: 1.5rem;
  }
}