/*
 * InnoHeap — Main Stylesheet
 * Version: 1.0 · June 2026
 */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colours */
  --white:        #FFFFFF;
  --ink:          #111111;
  --ink2:         #2A2A2A;
  --ink3:         #555555;
  --ink4:         #999999;
  --paper:        #F6F6F4;
  --paper2:       #EBEBEA;
  --teal:         #0F6B5E;
  --teal-dark:    #0A5247;
  --teal-light:   #B8E0D8;
  --teal-faint:   #E8F5F2;
  --amber:        #E8860A;
  --amber-dark:   #C9720A;
  --charcoal:     #2D2D2D;

  /* Layout */
  --max:          1120px;
  --radius:       4px;
  --radius-lg:    8px;
  --nav-h:        64px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.15;
  font-weight: 400;
}

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

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--ink3);
  max-width: 580px;
  line-height: 1.7;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: linear-gradient(90deg, #26362f 0%, #141d1a 45%, #0a0f0e 100%);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.45rem;
  color: var(--white);
  letter-spacing: -0.01em;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo span { color: #5DCAA5; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--amber) !important;
  color: var(--ink) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius) !important;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--amber-dark) !important; }

/* Active nav states via data-page attribute on <body> */
[data-page="home"]     .nav-home,
[data-page="services"] .nav-services,
[data-page="team"]     .nav-team,
[data-page="insights"] .nav-insights {
  color: #5DCAA5 !important;
  font-weight: 600;
  border-bottom: 2px solid #5DCAA5;
  padding-bottom: 3px;
}
/* Contact is an amber CTA pill — active page state uses white text for contrast */
[data-page="contact"]  .nav-contact {
  color: var(--white) !important;
  font-weight: 600;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

/* Home hero "Get in touch" CTA uses amber to match the theme's primary CTA */
.hero .btn-primary { background: var(--amber); }
.hero .btn-primary:hover { background: var(--amber-dark); }

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
}

.btn-amber {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-amber:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

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

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  background: linear-gradient(90deg, #26362f 0%, #141d1a 45%, #0a0f0e 100%);
  padding: 7rem 2rem 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-tag {
  display: inline-block;
  background: rgba(15,107,94,0.25);
  color: var(--teal-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(184,224,216,0.2);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero > .hero-inner > .hero-left > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.25rem;
}

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

/* Stats grid */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
}

.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.4rem;
}

/* Slight gap after the currency symbol — about half a normal space */
.stat-num .stat-cur {
  margin-right: 0.13em;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* ============================================================
   TRUST / SECTOR BAR
   ============================================================ */
.trust-bar {
  background: var(--paper);
  border-top: 1px solid rgba(17,17,17,0.07);
  border-bottom: 1px solid rgba(17,17,17,0.07);
  padding: 1rem 2rem;
}

.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink4);
  flex-shrink: 0;
}

.trust-tags {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.trust-tag {
  font-size: 0.82rem;
  color: var(--ink2);
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
.section {
  padding: 5.5rem 2rem;
}

.section--paper  { background: var(--paper); }
.section--white  { background: var(--white); }
.section--dark   { background: var(--charcoal); }
.section--teal   { background: var(--teal); }

.section--dark .section-label { color: var(--amber); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-sub   { color: rgba(255,255,255,0.6); }

/* ============================================================
   EXPERTISE CARDS (Home)
   ============================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.expertise-card {
  background: var(--white);
  border: 1px solid rgba(17,17,17,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
}

.expertise-card::before {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.expertise-card h3 {
  font-size: 1rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.expertise-card p {
  font-size: 0.875rem;
  color: var(--ink3);
  line-height: 1.65;
}

/* ============================================================
   SERVICES (Home + Services page)
   ============================================================ */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--paper2);
  border: 1px solid var(--paper2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-cat {
  background: var(--white);
  padding: 2.5rem;
}

.service-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal-faint);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

.service-cat h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.service-cat > p {
  font-size: 0.93rem;
  color: var(--ink3);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.service-items { display: flex; flex-direction: column; }

.service-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-top: 1px solid var(--paper);
}

.service-item:first-child { border-top: none; padding-top: 0; }

.service-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--teal-faint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-top: 2px;
}

.service-item h4 {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.service-item p {
  font-size: 0.8rem;
  color: var(--ink4);
  line-height: 1.55;
}

.service-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  margin-top: 1.75rem;
  transition: gap 0.2s;
}

.service-cta-link::after { content: '→'; }
.service-cta-link:hover  { gap: 0.65rem; }

/* Services page — detail cards */
.service-area {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--paper2);
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}

.service-area:last-of-type { border-bottom: none; }

.service-area-header { margin-bottom: 2rem; }

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

.service-detail-card {
  background: var(--paper);
  border: 1px solid rgba(17,17,17,0.06);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}

.service-detail-card:hover {
  box-shadow: 0 4px 24px rgba(15,107,94,0.08);
}

.service-detail-card h3 {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.service-detail-card p {
  font-size: 0.875rem;
  color: var(--ink3);
  line-height: 1.65;
}

.funding-landscape .service-area-grid { grid-template-columns: repeat(2, 1fr); }
.funding-landscape .service-detail-card { background: var(--white); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid rgba(17,17,17,0.07);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-list summary {
  padding: 1.1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--teal-light);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-list summary:hover {
  background: var(--teal);
  color: var(--white);
}

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

.faq-list summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--ink);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.faq-list summary:hover::after { color: var(--white); }

.faq-list details[open] summary::after { content: '−'; }

.faq-answer {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--ink3);
  line-height: 1.7;
}

/* ============================================================
   WHY INNOHEAP CARDS
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: var(--white);
  border: 1px solid rgba(17,17,17,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
}

.why-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  font-style: italic;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--ink3);
  line-height: 1.65;
}

/* ============================================================
   TEAM PREVIEW (dark section on home)
   ============================================================ */
.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.team-preview-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  transition: background 0.2s;
  display: block;
}

.team-preview-card:hover { background: rgba(255,255,255,0.09); }

.preview-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.9rem;
  overflow: hidden;
  /* TODO: Replace with real photo */
}

.preview-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.team-preview-card h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.team-preview-card .role {
  font-size: 0.7rem;
  color: var(--teal-light);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.team-preview-card .expertise {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.team-footnote {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding-top: 0.5rem;
}

.team-footnote a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
}

.team-footnote a:hover { text-decoration: underline; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 5rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-banner .btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--teal);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.cta-banner .btn-white:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
  transform: translateY(-1px);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info > p {
  font-size: 0.95rem;
  color: var(--ink3);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--ink3);
}

.contact-detail .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  font-size: 0.9rem;
}

.contact-promise {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal-faint);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  margin-top: 1.5rem;
  border: 1px solid var(--teal-light);
}

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 2px 20px rgba(17,17,17,0.05);
}

.contact-form-wrap h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink2);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid rgba(17,17,17,0.15);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #c0392b; }

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

.field-error {
  font-size: 0.75rem;
  color: #c0392b;
  display: none;
}

.form-group.has-error .field-error { display: block; }

.form-submit {
  width: 100%;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.25rem;
}

.form-submit:hover { background: var(--teal-dark); }

.form-note {
  font-size: 0.75rem;
  color: var(--ink4);
  text-align: center;
  margin-top: 0.85rem;
  line-height: 1.5;
}

.form-success {
  display: none;
  background: var(--teal-faint);
  border: 1px solid var(--teal-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  color: var(--teal);
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand .logo span { color: var(--teal-light); }

.footer-brand p {
  font-size: 0.83rem;
  line-height: 1.65;
  max-width: 240px;
  margin-bottom: 1.25rem;
}

.footer-brand .li-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--teal-light);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-brand .li-link:hover { opacity: 0.75; }

.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}

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

.footer-col ul a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: var(--max);
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  font-style: italic;
}

/* ============================================================
   PAGE HEROES (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(90deg, #26362f 0%, #141d1a 45%, #0a0f0e 100%);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.page-hero .container { position: relative; }

.page-hero .section-label { color: var(--amber); margin-bottom: 0.75rem; }

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 0.9rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  line-height: 1.75;
}

/* ============================================================
   TEAM PAGE (full)
   ============================================================ */
.team-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.member-card {
  border: 1px solid rgba(17,17,17,0.07);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
  background: var(--white);
  /* reset <a> defaults when used as a block link */
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.member-card:hover { box-shadow: 0 4px 24px rgba(17,17,17,0.08); }

.member-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  /* TODO: Replace with real photo */
}

.member-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 50%; }

.member-card h3 {
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.member-card .role {
  font-size: 0.72rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.85rem;
}

.competency-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.68rem;
  color: var(--teal);
  border: 1px solid var(--teal-light);
  border-radius: 20px;
  padding: 0.18rem 0.6rem;
  background: var(--teal-faint);
}

.read-more {
  font-size: 0.82rem;
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.read-more::after { content: '→'; }
.read-more:hover  { text-decoration: underline; }

.li-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #0A66C2;
  font-weight: 500;
  text-decoration: none;
}

.li-badge:hover { text-decoration: underline; }

.team-group-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink4);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--paper2);
  margin-bottom: 0;
  grid-column: 1 / -1;
}

.team-footer-note {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  color: var(--ink3);
  font-style: italic;
  text-align: center;
}

/* ============================================================
   INDIVIDUAL PROFILE PAGES
   ============================================================ */
.profile-hero {
  background: linear-gradient(90deg, #26362f 0%, #141d1a 45%, #0a0f0e 100%);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.profile-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
}

.profile-avatar-lg {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.15);
}

.profile-avatar-lg img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 50%; }

.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb span   { margin: 0 0.4rem; }

.profile-hero-text h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 0.3rem;
}

.profile-hero-text .profile-role {
  font-size: 0.85rem;
  color: var(--amber);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.profile-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 2rem;
}

.profile-coming-banner {
  background: var(--teal-faint);
  border: 1px solid var(--teal-light);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  color: var(--teal);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.profile-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.profile-section h2 {
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--teal);
  font-style: normal;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal-faint);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.profile-section p {
  font-size: 0.925rem;
  color: var(--ink3);
  line-height: 1.75;
}

.profile-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.profile-sidebar-block {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.profile-sidebar-block h4 {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 0.75rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0A66C2;
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 0.25rem;
  transition: background 0.2s;
  width: auto;
  justify-content: center;
}

.linkedin-btn:hover { background: #095faf; }

/* Sidebar "View on LinkedIn" button stays full-width */
.profile-sidebar-block .linkedin-btn {
  width: 100%;
}

.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  margin-top: 3rem;
}

.profile-back::before { content: '←'; }
.profile-back:hover   { text-decoration: underline; }

/* ============================================================
   INSIGHTS PAGE
   ============================================================ */

/* Featured meta row — tag/date on left, earlier-articles arrow on right */
.insights-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.insights-featured-meta__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Scroll hint — inline right side of meta row */
.scroll-hint-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink4);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.scroll-hint-link:hover { color: var(--teal); }

.scroll-hint-arrow {
  font-size: 0.9rem;
  animation: bounceDown 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(3px); }
}

/* Featured article (newest post rendered inline) */
.insights-featured {
  border-top: 3px solid var(--teal);
  padding-top: 2.5rem;
  max-width: 740px;
}

.insights-featured-meta { margin-bottom: 0.9rem; }

.insights-featured-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.insights-featured-body p {
  font-size: 0.975rem;
  color: var(--ink3);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.insights-featured-body p:last-child { margin-bottom: 0; }

.insights-featured-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.25;
  margin: 2.25rem 0 1rem;
}

/* Older-posts grid (cards section) */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1.75rem;
}

/* Insight card — also used as a block <a> link */
a.insight-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.insight-card {
  border: 1px solid rgba(17,17,17,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s;
}

.insight-card:hover { box-shadow: 0 4px 24px rgba(17,17,17,0.08); }

.insight-image {
  height: 160px;
  background: var(--teal-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 2.5rem;
}

.insight-body { padding: 1.5rem; }

.insight-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.insight-tag-pill {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-faint);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.insight-date {
  font-size: 0.78rem;
  color: var(--ink4);
}

.insight-card h3 {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.insight-card p {
  font-size: 0.85rem;
  color: var(--ink3);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.insights-footer-note {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink3);
}

.insights-footer-note a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
}

.insights-footer-note a:hover { text-decoration: underline; }

/* ============================================================
   ARTICLE PAGES (insights/<slug>.html)
   ============================================================ */
.article-container {
  max-width: 720px;
  margin: 0 auto;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  margin-bottom: 2rem;
}

.article-back::before { content: '\2190'; }
.article-back:hover   { text-decoration: underline; }

.article-content p {
  font-size: 1rem;
  color: var(--ink2);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article-content p:last-child { margin-bottom: 0; }

.article-content h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.25;
  margin: 2.5rem 0 1rem;
}

.article-content .article-source,
.insights-featured-body .article-source {
  font-size: 0.875rem;
  color: var(--ink3);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--paper2);
}

.article-content .article-source a,
.insights-featured-body .article-source a {
  color: var(--teal);
  text-decoration: underline;
}

/* ============================================================
   LEGAL PAGES (Privacy, Cookies)
   ============================================================ */
.legal-body {
  padding: 4rem 2rem;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-placeholder-notice {
  background: #fff8e1;
  border: 1px solid #f0c040;
  border-radius: var(--radius);
  padding: 1.25rem;
  font-size: 0.875rem;
  color: #5a4200;
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--ink);
  margin: 2.5rem 0 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--paper2);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content p {
  font-size: 0.925rem;
  color: var(--ink3);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  font-size: 0.925rem;
  color: var(--ink3);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}

/* ============================================================
   PROFILE PAGE — REAL BIO CONTENT STYLES
   ============================================================ */

/* Tagline / subtitle in profile hero */
.profile-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.48);
  font-style: italic;
  max-width: 540px;
  line-height: 1.5;
  margin: 0.35rem 0 1rem;
}

/* Bio content wrapper */
.bio-content { }

/* Bold career section heading (e.g. "Director of Engineering at St1 Biofuels") */
.bio-career-heading {
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  margin: 1.5rem 0 0.45rem;
  line-height: 1.4;
}

.bio-career-heading:first-child { margin-top: 0; }

/* Non-bold career entry (e.g. "Multiple roles in ExxonMobil") */
.bio-career-plain {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink2);
  margin: 1.25rem 0 0.45rem;
  font-family: 'DM Sans', sans-serif;
}

/* Regular bio paragraph */
.bio-para {
  font-size: 0.9rem;
  color: var(--ink3);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.bio-para:last-child { margin-bottom: 0; }

/* Bullet list inside bio */
.bio-ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.bio-ul li {
  font-size: 0.9rem;
  color: var(--ink3);
  line-height: 1.75;
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.bio-ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* "Expertise in" heading (used in sidebar or main content) */
.expertise-heading {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 1.5rem 0 0.7rem;
}

/* Expertise bullet items */
.expertise-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-items li {
  font-size: 0.85rem;
  color: var(--ink3);
  line-height: 1.6;
  padding: 0.3rem 0 0.3rem 1.1rem;
  border-bottom: 1px solid var(--paper2);
  position: relative;
}

.expertise-items li:last-child { border-bottom: none; }

.expertise-items li::before {
  content: '•';
  color: var(--teal);
  position: absolute;
  left: 0;
}

/* Dot-prefixed list (e.g. · Strategy · Innovation management) */
.dot-list {
  list-style: none;
  padding: 0;
  margin-bottom: 0.5rem;
}

.dot-list li {
  font-size: 0.9rem;
  color: var(--ink3);
  line-height: 1.75;
  padding: 0.1rem 0;
}

/* Italic expertise line (Jouni Selin style) */
.italic-expertise {
  font-size: 0.85rem;
  color: var(--ink3);
  margin-top: 1.25rem;
  font-style: italic;
  line-height: 1.7;
}

/* Key Skills / Motto section headings inside bio */
.bio-subheading {
  font-size: 0.92rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  margin: 1.5rem 0 0.5rem;
}

.bio-subheading-plain {
  font-size: 0.92rem;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  margin: 1.5rem 0 0.5rem;
}

/* Dash-prefixed skill list */
.skill-list {
  list-style: none;
  padding: 0;
  margin-bottom: 0.75rem;
}

.skill-list li {
  font-size: 0.875rem;
  color: var(--ink3);
  line-height: 1.7;
  padding: 0.15rem 0 0.15rem 1rem;
  position: relative;
}

.skill-list li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--ink4);
}

/* Motto block */
.motto-block {
  margin-top: 1.25rem;
  padding: 0.9rem 1.25rem;
  background: var(--teal-faint);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--teal-dark);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-left > * { animation: fadeUp 0.6s ease both; }
.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.15s; }
.hero-left > *:nth-child(3) { animation-delay: 0.25s; }
.hero-left > *:nth-child(4) { animation-delay: 0.35s; }
.hero-stats { animation: fadeUp 0.6s 0.3s ease both; }

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .team-full-grid { grid-template-columns: repeat(3, 1fr); }
  .team-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .service-area-grid { grid-template-columns: 1fr 1fr; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {

  /* ── Nav ── */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #25332f;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .nav-cta {
    margin: 0.75rem 1.5rem;
    text-align: center;
    border-radius: var(--radius) !important;
  }

  /* ── Hero ── */
  .hero { padding: 5.5rem 1.25rem 3.5rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }

  /* ── Sections / containers ── */
  .section { padding: 3.5rem 1.25rem; }
  .container { padding: 0 1.25rem; }

  /* ── Page hero ── */
  .page-hero { padding: 4rem 1.25rem 3rem; }

  /* ── Expertise grid ── */
  .expertise-grid { grid-template-columns: 1fr; }

  /* ── Services overview grid ── */
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }

  /* ── Service area grid (services page) ── */
  .service-area-grid { grid-template-columns: 1fr; }

  /* ── Why grid ── */
  .why-grid { grid-template-columns: 1fr; margin-top: 2rem; }

  /* ── Team preview (home) ── */
  .team-preview-grid { grid-template-columns: 1fr; }
  .team-header { flex-direction: column; align-items: flex-start; }

  /* ── Team full grid ── */
  .team-full-grid { grid-template-columns: 1fr; }

  /* ── Insights grid ── */
  .insights-grid { grid-template-columns: 1fr; }

  /* ── Insights featured title ── */
  .insights-featured-title { font-size: 1.6rem; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* ── Profile / bio pages ── */
  .profile-hero { padding: 3rem 1.25rem; }
  .profile-hero-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .profile-body { padding: 3rem 1.25rem; }
  .profile-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .profile-sidebar { position: static; }

  /* ── Funding landscape cards ── */
  .funding-landscape .service-area-grid { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}

/* ============================================================
   RESPONSIVE — 480px (small phones)
   ============================================================ */
@media (max-width: 480px) {

  /* ── Hero ── */
  .hero { padding: 5rem 1rem 3rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 1rem 1.1rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { text-align: center; }

  /* ── Sections ── */
  .section { padding: 2.75rem 1rem; }
  .container { padding: 0 1rem; }
  .page-hero { padding: 3.5rem 1rem 2.5rem; }

  /* ── Service area grid ── */
  .service-area-grid { grid-template-columns: 1fr; }
  .funding-landscape .service-area-grid { grid-template-columns: 1fr; }

  /* ── Team full grid ── */
  .team-full-grid { grid-template-columns: 1fr; }

  /* ── Footer ── */
  .footer-inner { grid-template-columns: 1fr; }
}
