/* ═══════════════════════════════════════════════════════════
   FOUNDARC — STYLES
   Font: Montserrat | Brand: #005b7f (FOUND) · #00c29e (ARC)
   Modes: dark (default) · light
═══════════════════════════════════════════════════════════ */

/* ─── Google Font ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&display=swap');

/* ─── Design Tokens ───────────────────────────────────── */
:root {
  /* Brand */
  --brand-blue:   #005b7f;
  --brand-teal:   #00c29e;
  --brand-grad:   linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-teal) 100%);
  --brand-glow:   rgba(0, 194, 158, 0.25);
  --brand-glow-b: rgba(0, 91, 127, 0.25);

  /* Layout */
  --container:    min(1200px, calc(100vw - 3rem));
  --header-h:     5rem;
  --radius-xl:    28px;
  --radius-lg:    20px;
  --radius-md:    14px;
  --radius-sm:    10px;
  --radius-pill:  999px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ─── Dark Theme (default) ────────────────────────────── */
[data-theme="dark"] {
  --bg:           #080c10;
  --bg-2:         #0d1318;
  --bg-3:         #111820;
  --surface:      rgba(255,255,255,0.04);
  --surface-2:    rgba(255,255,255,0.07);
  --border:       rgba(255,255,255,0.09);
  --border-hover: rgba(0,194,158,0.4);
  --text-1:       #f0f4f8;
  --text-2:       rgba(240,244,248,0.72);
  --text-3:       rgba(240,244,248,0.42);
  --shadow:       0 20px 50px rgba(0,0,0,0.5);
  --shadow-sm:    0 8px 20px rgba(0,0,0,0.35);
  --scrollbar-bg: #0d1318;
  --scrollbar-th: rgba(255,255,255,0.12);
  --input-bg:     rgba(255,255,255,0.05);
  --input-border: rgba(255,255,255,0.12);
  color-scheme: dark;
}

/* ─── Light Theme ─────────────────────────────────────── */
[data-theme="light"] {
  --bg:           #f5f7fa;
  --bg-2:         #ffffff;
  --bg-3:         #eef1f5;
  --surface:      rgba(0,0,0,0.03);
  --surface-2:    rgba(0,0,0,0.055);
  --border:       rgba(0,0,0,0.09);
  --border-hover: rgba(0,91,127,0.35);
  --text-1:       #0d1217;
  --text-2:       rgba(13,18,23,0.72);
  --text-3:       rgba(13,18,23,0.45);
  --shadow:       0 20px 50px rgba(0,0,0,0.1);
  --shadow-sm:    0 8px 20px rgba(0,0,0,0.08);
  --scrollbar-bg: #f5f7fa;
  --scrollbar-th: rgba(0,0,0,0.15);
  --input-bg:     #ffffff;
  --input-border: rgba(0,0,0,0.14);
  color-scheme: light;
}

/* ─── Reset & Base ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s var(--ease);
}

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

p { color: var(--text-2); }

.container {
  width: var(--container);
  margin: 0 auto;
}

/* ─── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--scrollbar-bg); }
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-th);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

::selection { background: var(--brand-teal); color: #fff; }

/* ═══════════════════════════════════════════════════════
   BRAND LOGOTYPE
═══════════════════════════════════════════════════════ */
.brand-logotype {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand-found {
  font-weight: 800;
  color: var(--brand-blue);
}

.brand-arc {
  font-weight: 600;
  color: var(--brand-teal);
}

/* Light mode: slightly adjust brand-blue for readability */
[data-theme="light"] .brand-found { color: var(--brand-blue); }
[data-theme="light"] .brand-arc   { color: var(--brand-teal); }

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height 0.3s var(--ease), background 0.3s var(--ease),
              box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  height: 4rem;
  background: var(--bg-2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  position: relative;
  padding-bottom: 2px;
}

.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--brand-teal);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}

.site-nav a:not(.nav-cta):hover {
  color: var(--text-1);
}

.site-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--brand-grad);
  color: #fff !important;
  padding: 0;
  height: 2.25rem;
  min-width: 7rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  box-shadow: 0 6px 18px var(--brand-glow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--brand-glow);
  filter: brightness(1.08);
}

/* Nav Controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-2);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  letter-spacing: 0.04em;
}

.lang-toggle:hover {
  background: var(--surface-2);
  border-color: var(--border-hover);
}

.lang-option {
  transition: color 0.2s var(--ease);
}

.lang-option.active {
  color: var(--brand-teal);
}

.lang-sep {
  color: var(--text-3);
  font-weight: 400;
}

/* Theme Toggle */
.theme-toggle {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-2);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease), transform 0.2s var(--ease);
}

.theme-toggle:hover {
  background: var(--surface-2);
  border-color: var(--border-hover);
  color: var(--brand-teal);
  transform: rotate(15deg);
}

/* Show/hide icons based on theme */
[data-theme="dark"]  .theme-icon-dark  { display: flex; }
[data-theme="dark"]  .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark  { display: none; }
[data-theme="light"] .theme-icon-light { display: flex; }

.theme-icon {
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s var(--ease);
}

.menu-toggle:hover { background: var(--surface-2); }

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              filter 0.25s var(--ease), background 0.25s var(--ease);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.button-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 8px 22px var(--brand-glow);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px var(--brand-glow);
  filter: brightness(1.08);
}

.button-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--border);
}

.button-ghost:hover {
  background: var(--surface-2);
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════
   SHARED COMPONENTS
═══════════════════════════════════════════════════════ */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-teal);
  margin-bottom: 1.25rem;
}

.card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-3);
  margin-bottom: 0.85rem;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--brand-teal);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.55;
}

.list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-teal);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background: var(--bg);
}

/* Hero background photo */
.hero-photo {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  filter: grayscale(0.6) contrast(1.1);
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
  pointer-events: none;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,12,16,0.35) 0%,
    rgba(8,12,16,0.55) 60%,
    var(--bg) 100%
  );
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .hero-photo {
  opacity: 0.35;
  filter: grayscale(0.2) contrast(1.05) brightness(0.9);
}
[data-theme="light"] .hero-photo-overlay {
  background: linear-gradient(
    to bottom,
    rgba(245,247,250,0.25) 0%,
    rgba(245,247,250,0.45) 55%,
    var(--bg) 100%
  );
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* Gradient background layer */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0,194,158,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0,91,127,0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* Animated glow orbs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite alternate;
  z-index: 2;
}

.hero-glow-one {
  width: 45vw; height: 45vw;
  background: var(--brand-teal);
  top: -15%; right: -10%;
  animation-delay: 0s;
}

.hero-glow-two {
  width: 35vw; height: 35vw;
  background: var(--brand-blue);
  bottom: -10%; left: -8%;
  animation-delay: -6s;
}

@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(3%, 5%) scale(1.08); }
}

/* Subtle grid lines */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 3;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 10;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0 6rem;
}

.hero-copy { max-width: 46rem; }

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text-1);
  margin-bottom: 2rem;
}

.hero-title span { display: block; }

.hero-rotate {
  color: var(--brand-teal);
  display: inline-block;
  min-width: 5ch;
  font-style: italic;
  position: relative;
}

.hero-rotate::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 3px;
  background: var(--brand-grad);
  border-radius: 2px;
}

/* TR variant: same styling as hero-rotate */
.hero-rotate-tr {
  color: var(--brand-teal);
  display: inline-block;
  font-style: italic;
  position: relative;
}

.hero-rotate-tr::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 3px;
  background: var(--brand-grad);
  border-radius: 2px;
}

.hero-line3-en,
.hero-line3-tr {
  display: inline;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 2.75rem;
  max-width: 38rem;
  font-weight: 400;
}

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

/* Hero Side Cards */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.stat-value {
  font-size: clamp(4rem, 9vw, 6rem);
  font-weight: 900;
  color: var(--brand-teal);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}

.stat-pct {
  font-size: 0.55em;
  font-weight: 800;
  vertical-align: super;
}

.stat-copy {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.mini-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.mini-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.55;
}

.mini-card-accent {
  background: linear-gradient(135deg,
    rgba(0,194,158,0.12) 0%,
    rgba(0,91,127,0.08) 100%);
  border-color: rgba(0,194,158,0.25);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 10;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--brand-teal), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

.scroll-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════
   HIGHLIGHTS
═══════════════════════════════════════════════════════ */
.highlights {
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

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

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.highlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.highlight-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-1);
  margin: 1rem 0 0.85rem;
  letter-spacing: -0.025em;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════════════ */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4.5rem;
}

.section-head-text { flex: 1; }

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--text-1);
  margin-top: 0.5rem;
  max-width: 36rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 30rem;
  line-height: 1.7;
  flex-shrink: 0;
  padding-top: 2.5rem;
}

.section-cta {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.section-cta p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-1);
  flex: 1;
}

/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
.about { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
}

.story-card .card-label { margin-bottom: 1.5rem; }

.story-card p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.story-card p:last-child { margin-bottom: 0; }

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

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  margin: 0.5rem 0 0.85rem;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* Accent card */
.info-card-accent {
  background: var(--brand-grad);
  border: none;
}

.info-card-accent .card-label,
.info-card-accent h3,
.info-card-accent p {
  color: rgba(255,255,255,0.95) !important;
}

.info-card-accent .card-label { color: rgba(255,255,255,0.65) !important; }

/* ═══════════════════════════════════════════════════════
   PROGRAMME
═══════════════════════════════════════════════════════ */
.programme { background: var(--bg); }

/* Pills */
.programme-pills {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 3rem;
  margin-bottom: 3.5rem;
  justify-content: center;
}

.pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  text-align: center;
}

.pill-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-teal);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pill-unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pill-divider {
  width: 1px;
  height: 3rem;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 2rem;
}

/* Stage cards */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.stage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.stage-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.stage-card:hover::before { transform: scaleX(1); }

.stage-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stage-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-teal);
  opacity: 0.6;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stage-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  margin: 0;
}

.stage-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--brand-teal);
  margin-bottom: 1.5rem;
}

.benefit-card .card-label { margin-bottom: 1.25rem; }

.benefit-card-accent {
  background: linear-gradient(160deg,
    rgba(0,91,127,0.12) 0%,
    rgba(0,194,158,0.08) 100%);
  border-color: rgba(0,194,158,0.2);
}

/* ═══════════════════════════════════════════════════════
   RESEARCH
═══════════════════════════════════════════════════════ */
.research {
  background: var(--bg-2);
  overflow: hidden;
}

.research::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse 80% 60% at 80% 40%,
    rgba(0,194,158,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.research-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.research-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-1);
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
}

.research-copy p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.research-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.research-tags span {
  padding: 0.5rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.research-tags span:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

.research-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.research-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.research-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.research-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-1);
  margin: 0.5rem 0 1rem;
}

.research-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}

.research-card-accent {
  background: var(--brand-grad);
  border: none;
}

.research-card-accent .card-label,
.research-card-accent h3,
.research-card-accent p {
  color: rgba(255,255,255,0.95) !important;
}

.research-card-accent .card-label { color: rgba(255,255,255,0.65) !important; }

.coming-soon {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-teal) !important;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact { background: var(--bg); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 4.5rem;
}

.contact-copy h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-1);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact-copy p {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2.5rem 0;
}

.contact-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}

.contact-point:hover { color: var(--brand-teal); }

.contact-point i { color: var(--brand-teal); flex-shrink: 0; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-1);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  width: 100%;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-3);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
  margin-top: -0.5rem;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logotype { font-size: 1.1rem; }

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-3);
  font-style: italic;
  text-align: center;
  flex: 1;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-3);
  text-align: right;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════ */
.hero-animate {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s var(--ease-spring) forwards;
}

.hero-delay-1 { animation-delay: 0.1s; }
.hero-delay-2 { animation-delay: 0.2s; }
.hero-delay-3 { animation-delay: 0.32s; }
.hero-delay-4 { animation-delay: 0.44s; }
.hero-delay-5 { animation-delay: 0.56s; }
.hero-delay-6 { animation-delay: 0.68s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease-spring), transform 0.85s var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings */
.highlights-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.highlights-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.programme-grid  .reveal:nth-child(2) { transition-delay: 0.08s; }
.programme-grid  .reveal:nth-child(3) { transition-delay: 0.16s; }
.programme-grid  .reveal:nth-child(4) { transition-delay: 0.24s; }
.method-grid     .reveal:nth-child(2) { transition-delay: 0.08s; }
.method-grid     .reveal:nth-child(3) { transition-delay: 0.16s; }
.method-grid     .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Rotating text swap */
.is-swapping {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --header-h: 4.5rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 4rem 0 5rem;
    text-align: center;
  }

  .hero-copy { max-width: 100%; }
  .hero-lead { max-width: 100%; }
  .hero-actions { justify-content: center; }

  .hero-side { max-width: 560px; margin: 0 auto; }

  .highlights-grid { grid-template-columns: 1fr; gap: 1.25rem; }

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

  .section-head {
    flex-direction: column;
    gap: 1.5rem;
  }

  .section-lead { padding-top: 0; max-width: 100%; }

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

  .research-layout { grid-template-columns: 1fr; gap: 3rem; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 2.5rem;
  }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy  { text-align: center; }
  .footer-tagline { text-align: center; }

  /* Mobile nav */
  .menu-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg-2);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    gap: 0.5rem;
    transition: right 0.4s var(--ease);
    box-shadow: -20px 0 50px rgba(0,0,0,0.3);
    z-index: 150;
    border-left: 1px solid var(--border);
  }

  .site-nav.is-open { right: 0; }

  .site-nav a {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.75rem 0;
    width: 100%;
  }

  .nav-cta {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 5rem 0; }

  .hero-title { font-size: clamp(2.4rem, 9vw, 3.5rem); }

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

  .programme-pills {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
  }

  .pill-divider {
    width: 100%; height: 1px;
    margin: 0;
  }

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

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

  .section-cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .hero-mini-grid { grid-template-columns: 1fr; }

  .contact-layout { padding: 2rem 1.5rem; }

  .lang-toggle { padding: 0.35rem 0.7rem; font-size: 0.75rem; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --container: calc(100vw - 2rem); }

  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }

  .brand-logotype { font-size: 1.15rem; }
}

/* ═══════════════════════════════════════════════════════
   LIGHT MODE OVERRIDES (specific tweaks)
═══════════════════════════════════════════════════════ */
[data-theme="light"] .hero-grid-lines { opacity: 0.25; }
[data-theme="light"] .hero-glow-one   { opacity: 0.12; }
[data-theme="light"] .hero-glow-two   { opacity: 0.1; }

[data-theme="light"] .stage-card,
[data-theme="light"] .highlight-card,
[data-theme="light"] .story-card,
[data-theme="light"] .info-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .mini-card,
[data-theme="light"] .research-card,
[data-theme="light"] .benefit-card {
  background: var(--bg-2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

[data-theme="light"] .contact-layout {
  background: var(--bg-2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

[data-theme="light"] .programme-pills {
  background: var(--bg-2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

[data-theme="light"] .section-cta {
  background: var(--bg-2);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

[data-theme="light"] .nav-cta { color: #fff !important; }
