/* =========================================================
   REC – Reconciliation Empowering Communities
   Design: modern NGO, brand navy #254b8c + teal #16aab8, glass surfaces
   Developed by Kreativzy
   ========================================================= */

:root {
  --navy: #254b8c;
  --navy-700: #1d3d74;
  --navy-800: #142b55;
  --navy-900: #0c1b38;
  --teal: #16aab8;
  --teal-600: #0f8f9c;
  --teal-300: #74d9e2;
  --teal-50: #e8f8fa;
  --ink: #0f1b33;
  --text: #33415c;
  --muted: #64748b;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --line: rgba(15, 27, 51, .09);
  --grad: linear-gradient(115deg, var(--teal) 0%, #3fc4cf 45%, #9fb8ff 100%);
  --grad-ink: linear-gradient(115deg, var(--navy) 0%, var(--teal) 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgba(15, 27, 51, .04), 0 12px 32px -12px rgba(15, 27, 51, .14);
  --shadow-lg: 0 30px 70px -25px rgba(12, 27, 56, .35);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.ic { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { left: 12px; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.container.narrow-wide { max-width: 1040px; }
.center { text-align: center; }
.mt-xl { margin-top: 64px; }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section.tinted { background: linear-gradient(180deg, #eaf1f9 0%, #f4f7fb 100%); }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section .grad, .split-copy .grad { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; }
.dark-section .grad, .hero .grad, .page-hero .grad, .cta-card .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; }

/* ---------- glass ---------- */
.glass {
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 40px -12px rgba(12, 27, 56, .25), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.glass-dark {
  background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}
.glass-soft {
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px;
  border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1.2; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic-arrow-right { transform: translateX(4px); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 75, 140, .7); }
.btn-primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 16px 30px -12px rgba(37, 75, 140, .8); }
.btn-accent { background: var(--teal); color: #fff; box-shadow: 0 10px 28px -10px rgba(22, 170, 184, .9); }
.btn-accent:hover { background: var(--teal-600); color: #fff; }
.btn-glass {
  color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-outline { color: var(--navy); border-color: rgba(37, 75, 140, .25); background: rgba(255, 255, 255, .6); }
.btn-outline:hover { border-color: var(--navy); background: #fff; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(15, 27, 51, .05); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.link-btn:hover { color: var(--teal-300); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: 16px;
}
.kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker.light { color: var(--teal-300); }
.chip {
  --chip: var(--teal); display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: #fff; background: var(--chip);
  box-shadow: 0 6px 16px -8px var(--chip);
}
.chip-soft { background: var(--teal-50); color: var(--teal-600); box-shadow: none; }
.chip-lang { background: rgba(12, 27, 56, .75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px 0; transition: padding .3s var(--ease); }
.header-inner {
  display: flex; align-items: center; gap: 24px; height: 64px; border-radius: 20px; padding: 0 12px 0 20px;
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14);
  box-shadow: none; transition: background .3s, border-color .3s, box-shadow .3s; width: calc(100% - 40px); max-width: calc(var(--container) - 48px); margin: 0 auto;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand .brand-dark { display: none; }
.main-nav { display: flex; gap: 2px; margin: 0 auto; }
.main-nav a {
  color: rgba(255, 255, 255, .86); font-weight: 600; font-size: .93rem; padding: 9px 14px; border-radius: 12px;
  position: relative; transition: background .2s, color .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.main-nav a.active { color: #fff; }
.main-nav a.active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2);
  background: transparent; color: #fff; font-weight: 700; font-size: .85rem;
}
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 8px; border-radius: 16px;
  display: grid; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease);
}
.lang-menu.glass { background: rgba(255, 255, 255, .95); }
.lang-switch.open .lang-menu, .lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: .92rem; font-weight: 600; }
.lang-menu a b { display: inline-block; width: 28px; color: var(--teal-600); }
.lang-menu a:hover, .lang-menu a.current { background: rgba(22, 170, 184, .12); }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; right: 19px; }

.site-header.scrolled { padding: 8px 0; }
.site-header.scrolled .header-inner, body.light-header .header-inner {
  background: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 40px -18px rgba(12, 27, 56, .35);
}
.site-header.scrolled .brand-dark { display: block; }
.site-header.scrolled .brand-light { display: none; }
.site-header.scrolled .main-nav a { color: var(--text); }
.site-header.scrolled .main-nav a:hover { background: rgba(37, 75, 140, .07); color: var(--navy); }
.site-header.scrolled .main-nav a.active { color: var(--navy); }
.site-header.scrolled .lang-btn { color: var(--ink); border-color: var(--line); }
.site-header.scrolled .burger { border-color: var(--line); }
.site-header.scrolled .burger span { background: var(--ink); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: radial-gradient(80% 60% at 100% 0%, rgba(22, 170, 184, .35), transparent 60%), rgba(12, 27, 56, .96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; overflow-y: auto;
}
.drawer-inner { padding: 110px 24px 40px; max-width: 560px; margin: 0 auto; }
.drawer nav { display: grid; }
.drawer nav a {
  display: flex; justify-content: space-between; align-items: center; color: #fff; font-family: var(--font-head);
  font-size: 1.7rem; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  opacity: 0; transform: translateY(14px); transition: .45s var(--ease); transition-delay: calc(var(--i) * 45ms);
}
.drawer nav a.active { color: var(--teal-300); }
.drawer-langs { display: flex; gap: 8px; margin: 28px 0 20px; flex-wrap: wrap; }
.drawer-langs a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-weight: 600; font-size: .9rem; }
.drawer-langs a.current { background: var(--teal); border-color: var(--teal); }
.drawer-social { display: flex; gap: 10px; }
.drawer-social a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); }
body.menu-open { overflow: hidden; }
body.menu-open .drawer { opacity: 1; visibility: visible; }
body.menu-open .drawer nav a { opacity: 1; transform: none; }
body.menu-open .site-header .header-inner { background: transparent; border-color: transparent; box-shadow: none; }
body.menu-open .site-header .brand-dark { display: none; } body.menu-open .site-header .brand-light { display: block; }
body.menu-open .burger { border-color: rgba(255, 255, 255, .25); }
body.menu-open .burger span { background: #fff; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; right: 13px; transform: rotate(-45deg); }

/* ---------- hero backgrounds ---------- */
.hero, .page-hero, .article-hero, .dark-section, .cta-card {
  position: relative; isolation: isolate; color: rgba(255, 255, 255, .82);
  background: radial-gradient(120% 90% at 0% 0%, #1c3f7a 0%, var(--navy-900) 55%, #081428 100%);
}
.hero h1, .page-hero h1, .article-hero h1, .dark-section h2, .dark-section h3, .cta-card h2 { color: #fff; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 520px; background: var(--teal); top: -160px; right: -120px; }
.blob.b2 { width: 460px; height: 460px; background: #3a6fd0; bottom: -200px; left: -140px; animation-duration: 22s; opacity: .5; }
.blob.b3 { width: 300px; height: 300px; background: #7d8cff; top: 40%; left: 45%; opacity: .22; animation-duration: 26s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } 100% { transform: translate(-30px, 50px) scale(.95); } }
.grid-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-mark { position: absolute; right: -6%; top: 50%; width: min(52vw, 640px); transform: translateY(-50%); opacity: .05; }

/* ---------- home hero ---------- */
.hero { padding: calc(var(--header-h) + 70px) 0 150px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #fff; margin-bottom: 26px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 0 0 rgba(116, 217, 226, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(116, 217, 226, 0); } 100% { box-shadow: 0 0 0 0 rgba(116, 217, 226, 0); } }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.3rem, 4.4vw, 3.85rem); }
.hero .lead { font-size: 1.15rem; max-width: 560px; color: rgba(255, 255, 255, .78); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero-ctas.center { justify-content: center; }
.hero-places { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: rgba(255, 255, 255, .6); flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 540px; }
.hv-main { margin: 0; position: absolute; inset: 0 0 60px 50px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.hv-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgba(12, 27, 56, .55)); }
.hv-main img, .hv-small img { width: 100%; height: 100%; object-fit: cover; }
.hv-small { margin: 0; position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; border: 5px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg); transform: rotate(-3deg); animation: bob 7s ease-in-out infinite; }
.hv-card { position: absolute; right: -14px; bottom: 26px; width: 320px; padding: 18px 20px; border-radius: 22px; color: var(--ink); display: grid; gap: 10px; animation: bob 8s ease-in-out infinite reverse; }
.hv-card strong { font-family: var(--font-head); font-size: .98rem; line-height: 1.35; color: var(--ink); }
.hv-label { display: inline-flex; gap: 6px; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); }
.hv-author { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.hv-author img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.hv-author small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.hv-author .ic { margin-left: auto; color: var(--teal-600); }
.hv-card:hover { color: var(--ink); transform: translateY(-4px); }
.hv-chip { position: absolute; top: 34px; left: 8px; padding: 12px 16px; border-radius: 16px; display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .85rem; color: var(--navy); animation: bob 6s ease-in-out infinite; }
.hv-chip .ic { color: var(--teal); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* stats */
.stats-wrap { margin-top: -84px; position: relative; z-index: 3; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); padding: 10px; }
.stat { padding: 26px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -.03em; background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat span { font-size: .92rem; font-weight: 600; color: var(--muted); }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-media { position: relative; }
.frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.frame::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); z-index: 1; pointer-events: none; }
.frame.tilt { transform: rotate(-1.5deg); }
.split-media::before { content: ''; position: absolute; inset: 30px -26px -26px 30px; border-radius: var(--radius-lg); background: var(--grad); opacity: .18; z-index: -1; }
.floating-quote { position: absolute; right: -24px; bottom: -36px; max-width: 300px; padding: 22px 24px; border-radius: 22px; color: var(--ink); }
.floating-quote .ic { color: var(--teal); margin-bottom: 8px; }
.floating-quote p { font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; line-height: 1.4; margin-bottom: 8px; color: var(--ink); }
.floating-quote small { color: var(--muted); font-weight: 600; }
.prose-sm p { font-size: 1.04rem; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 32px; }
.mv-card { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mv-card h3 { font-size: 1.02rem; margin: 12px 0 6px; }
.mv-card p { font-size: .93rem; margin: 0; line-height: 1.55; }
.mv-ic, .pc-ic {
  width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center; color: #fff;
  background: var(--grad-ink); box-shadow: 0 10px 20px -10px rgba(37, 75, 140, .8);
}
.pc-ic.big { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 18px; }

/* section heads */
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker::after { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.split-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.split-head > div { max-width: 640px; }

/* programs */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.program-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 470px; display: flex; align-items: flex-end; color: var(--text); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.pc-media { position: absolute; inset: 0; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.program-card:hover .pc-media img { transform: scale(1.06); }
.pc-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 27, 56, 0) 20%, rgba(12, 27, 56, .55)); }
.pc-body { position: relative; margin: 14px; padding: 24px; border-radius: 22px; width: 100%; }
.pc-body .pc-ic { margin-bottom: 14px; }
.pc-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: rgba(37, 75, 140, .16); }
.pc-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pc-body p { font-size: .94rem; line-height: 1.6; margin-bottom: 14px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--teal-600); }

/* blog home */
.blog-feature-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.feature-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); }
.fc-media { position: absolute; inset: 0; }
.fc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-card:hover .fc-media img { transform: scale(1.04); }
.fc-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(8, 20, 40, .85)); }
.fc-body { position: relative; margin: 18px; padding: 28px; border-radius: 24px; color: rgba(255, 255, 255, .85); }
.fc-body h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin: 14px 0 10px; }
.fc-body h3 a { color: #fff; }
.fc-body p { font-size: .97rem; }
.fc-meta { display: flex; align-items: center; gap: 12px; }
.fc-meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .5); }
.fc-meta b { display: block; color: #fff; font-size: .95rem; }
.fc-meta small { color: rgba(255, 255, 255, .7); font-size: .8rem; }
.mini-list { display: grid; gap: 14px; align-content: start; }
.mini-post { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); transition: transform .3s var(--ease), border-color .3s; align-items: center; }
.mini-post:hover { transform: translateX(6px); border-color: rgba(22, 170, 184, .45); color: var(--text); }
.mini-post img { width: 120px; height: 100px; border-radius: 14px; object-fit: cover; }
.mini-post small { color: var(--teal-600); font-weight: 700; font-size: .78rem; }
.mini-post strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; line-height: 1.35; margin: 3px 0 4px; }
.mini-post em { font-style: normal; color: var(--muted); font-size: .84rem; font-weight: 600; }

/* post cards */
.card-grid { display: grid; gap: 28px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-media { position: relative; aspect-ratio: 16/10.5; overflow: hidden; display: block; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-media .chip { position: absolute; top: 14px; left: 14px; }
.post-media .chip-lang { left: auto; right: 14px; }
.post-body { padding: 22px 24px 20px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; flex-wrap: wrap; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-body h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: 10px; }
.post-body h3 a { color: var(--ink); background-image: linear-gradient(var(--teal), var(--teal)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s var(--ease); }
.post-card:hover h3 a { background-size: 100% 2px; }
.post-body p { font-size: .93rem; color: var(--muted); line-height: 1.6; }
.post-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .86rem; color: var(--ink); }
.author img, .avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.avatar { display: inline-grid; place-items: center; background: var(--grad-ink); color: #fff; font-weight: 800; font-size: .85rem; }
.avatar-rec { background: var(--teal-50); padding: 5px; }
.avatar-rec img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.post-foot .arrow-link { width: 38px; height: 38px; border-radius: 50%; justify-content: center; background: var(--teal-50); transition: background .3s, color .3s, transform .3s; }
.post-card:hover .post-foot .arrow-link { background: var(--teal); color: #fff; transform: rotate(45deg); }
.post-card.wide { grid-column: span 2; flex-direction: row; }
.post-card.wide .post-media { aspect-ratio: auto; flex: 1.15; min-height: 360px; }
.post-card.wide .post-body { flex: 1; padding: 34px; justify-content: center; }
.post-card.wide h3 { font-size: 1.55rem; }

/* publications */
.dark-section { overflow: hidden; }
.dark-section .section-head p { color: rgba(255, 255, 255, .7); }
.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pub-card { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .4s var(--ease); }
.pub-card:hover { transform: translateY(-6px); }
.pub-cover { aspect-ratio: 4/3; background: rgba(255, 255, 255, .92); display: grid; place-items: center; overflow: hidden; }
.pub-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pub-card:hover .pub-cover img { transform: scale(1.05); }
.pub-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pub-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 700; font-size: .85rem; color: var(--teal-300); }
.pub-body h3 { font-size: 1.05rem; line-height: 1.4; color: #fff; margin-bottom: 16px; }
.pub-body p { font-size: .9rem; }
.pub-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pub-langs { display: flex; gap: 6px; }
.pub-langs a { padding: 6px 10px; border-radius: 10px; font-size: .78rem; font-weight: 800; color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.pub-langs a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.pub-grid.light .pub-card { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.pub-grid.light .pub-cover { background: #eef3f9; }
.pub-grid.light .pub-body h3 { color: var(--ink); }
.pub-grid.light .pub-meta { color: var(--muted); }
.pub-grid.light .pub-langs a { color: var(--navy); border-color: var(--line); }
.pub-grid.light .pub-langs a:hover { background: var(--teal-50); }

/* news rows */
.news-list { display: grid; gap: 14px; }
.news-row { display: flex; align-items: center; gap: 24px; padding: 18px 22px 18px 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); transition: transform .3s var(--ease), border-color .3s; }
.news-row:hover { transform: translateY(-3px); border-color: rgba(22, 170, 184, .5); color: var(--text); }
.date-box { flex-shrink: 0; width: 78px; height: 78px; border-radius: 18px; background: var(--grad-ink); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.date-box b { font-family: var(--font-head); font-size: 1.6rem; }
.date-box small { font-size: .7rem; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .04em; }
.news-copy { flex: 1; min-width: 0; }
.news-copy strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1.08rem; line-height: 1.35; margin-bottom: 4px; }
.news-copy small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.round-arrow { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); transition: .3s var(--ease); }
.news-row:hover .round-arrow { background: var(--teal); color: #fff; transform: rotate(45deg); }

/* partners marquee */
.partners { padding: 30px 0 70px; overflow: hidden; }
.partners-title { text-align: center; font-weight: 700; color: var(--muted); font-size: .92rem; letter-spacing: .02em; margin-bottom: 26px; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.partner-chip { padding: 14px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--navy); white-space: nowrap; font-size: .95rem; box-shadow: var(--shadow); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* CTA */
.cta-section { padding-top: 0; }
.cta-card { border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-card h2 { margin-bottom: 14px; }
.cta-copy p { color: rgba(255, 255, 255, .78); font-size: 1.08rem; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-mark { position: absolute; right: -60px; bottom: -80px; width: 380px; opacity: .07; z-index: -1; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + 80px) 0 90px; overflow: hidden; }
.page-hero .hero-mark { width: min(42vw, 480px); right: -4%; opacity: .06; }
.page-hero h1 { max-width: 900px; margin-bottom: 18px; }
.page-hero .lead { max-width: 720px; font-size: 1.15rem; color: rgba(255, 255, 255, .78); margin: 0; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .86rem; font-weight: 600; color: rgba(255, 255, 255, .55); margin-bottom: 22px; }
.crumbs a { color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; }
.search-bar { margin-top: 34px; max-width: 620px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; color: rgba(255, 255, 255, .7); }
.search-bar input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; font-size: 1rem; outline: none; }
.search-bar input::placeholder { color: rgba(255, 255, 255, .55); }
.hero-404 { min-height: 80vh; display: grid; align-items: center; }
.big-404 { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: 1; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-404 .lead { margin: 0 auto; }

/* about */
.mv-big { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-panel { padding: clamp(32px, 4vw, 52px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.mv-panel .mv-ic { margin-bottom: 22px; }
.mv-panel .kicker { display: flex; }
.mv-quote { font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.35; color: var(--ink); font-weight: 600; margin: 0; letter-spacing: -.015em; }
.mv-panel.accent { background: radial-gradient(100% 120% at 100% 0%, rgba(22, 170, 184, .55), transparent 60%), var(--navy); border-color: transparent; }
.mv-panel.accent .mv-quote { color: #fff; }
.mv-panel.accent .mv-ic { background: rgba(255, 255, 255, .14); box-shadow: none; }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.focus-card { padding: 30px 26px; border-radius: var(--radius); transition: transform .35s var(--ease); }
.focus-card:hover { transform: translateY(-6px); }
.focus-card h3 { margin: 18px 0 8px; }
.focus-card p { font-size: .94rem; margin: 0; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; gap: 14px; }
.mosaic a { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic a:hover img { transform: scale(1.06); }
.member-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.member-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.member-list span { color: var(--muted); font-size: .92rem; }

/* programs page */
.program-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; margin-bottom: clamp(70px, 9vw, 120px); }
.program-row:last-child { margin-bottom: 0; }
.program-row.reverse .pr-media { order: 2; }
.pr-media { position: relative; }
.pr-num { position: absolute; top: -34px; right: -10px; font-family: var(--font-head); font-size: 6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(37, 75, 140, .18); }
.thumbs { display: flex; gap: 10px; margin-top: 22px; }
.thumbs a { width: 110px; height: 80px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 110px; gap: 10px; }
.gallery-grid a { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .15); }
.gallery-grid a.g0, .gallery-grid a.g3 { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.08); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tc-photo { aspect-ratio: 1/.82; position: relative; overflow: hidden; background: radial-gradient(90% 90% at 80% 10%, rgba(22, 170, 184, .65), transparent 60%), var(--navy); display: grid; place-items: center; }
.tc-photo::after { content: ''; position: absolute; inset: 0; background: url('/assets/img/logo-icon-light.webp') no-repeat 115% 120% / 60%; opacity: .1; }
.tc-photo:has(.tc-initials) { aspect-ratio: 16/9; }
.tc-photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.tc-initials { font-family: var(--font-head); font-size: 3.2rem; font-weight: 700; color: #fff; letter-spacing: -.02em; position: relative; z-index: 1; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tc-body { padding: 22px 24px 24px; }
.tc-body h3 { margin-bottom: 4px; }
.tc-role { color: var(--teal-600); font-weight: 700; font-size: .92rem; margin: 0; }
.tc-bio { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.tc-links { display: flex; gap: 8px; margin-top: 14px; }
.tc-links a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }

/* blog page */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pill { --chip: var(--navy); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink); transition: .25s; }
.pill small { font-size: .75rem; color: var(--muted); background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chip); }
.pill:hover { border-color: var(--chip); color: var(--ink); }
.pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pill.active small { background: rgba(255, 255, 255, .18); color: #fff; }
.pill.active .dot { background: #fff; }
.result-note { color: var(--muted); margin-bottom: 26px; }
.empty { text-align: center; padding: 60px 24px; border-radius: var(--radius); color: var(--muted); display: grid; justify-items: center; gap: 12px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.pg-num, .pg-btn { min-width: 46px; height: 46px; padding: 0 16px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pg-num.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pg-num:hover, .pg-btn:hover { border-color: var(--teal); color: var(--navy); }
.pg-gap { color: var(--muted); padding: 0 4px; }

/* article */
.article-hero { padding: calc(var(--header-h) + 70px) 0 150px; overflow: hidden; }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin: 18px 0 26px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: .9rem; font-weight: 600; }
.article-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.author-lg { gap: 12px !important; }
.author-lg img, .author-lg .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .4); }
.author-lg small { display: block; font-size: .75rem; color: rgba(255, 255, 255, .6); font-weight: 600; }
.author-lg b { color: #fff; font-size: 1rem; }
.article-langs { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; }
.article-langs a { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 700; }
.article-langs a.current { background: var(--teal); border-color: var(--teal); }
.article-cover { margin: -110px 0 0; position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255, 255, 255, .6); }
.article-cover img { width: 100%; max-height: 600px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 80px minmax(0, 760px); justify-content: center; gap: 40px; padding-top: 56px; padding-bottom: 90px; }
.share-rail { position: sticky; top: 120px; align-self: start; display: grid; gap: 10px; justify-items: center; }
.share-rail span { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 8px; }
.share-rail a, .share-rail button, .share-inline a, .share-inline button {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--navy); transition: .25s;
}
.share-rail a:hover, .share-rail button:hover, .share-inline a:hover, .share-inline button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.share-inline { display: flex; gap: 8px; }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 14px; margin-bottom: 28px; font-size: .92rem; color: var(--navy); }
.prose { font-size: 1.08rem; line-height: 1.85; color: #2c3a52; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.65rem; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.prose p { margin: 0 0 1.25em; }
.prose a { color: var(--teal-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; word-break: break-word; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 1.8em 0; padding: 24px 28px; border-radius: 18px; background: var(--teal-50); border-left: 4px solid var(--teal); font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.prose img { border-radius: 18px; margin: 1.6em auto; box-shadow: var(--shadow); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; }
.prose em { color: inherit; }
.prose strong { color: var(--ink); }
.prose.light { color: rgba(255, 255, 255, .8); font-size: 1.02rem; }
.prose.light strong { color: #fff; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; margin: 1.6em 0; box-shadow: var(--shadow-lg); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.author-box { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 22px; margin-top: 40px; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-box small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; }
.author-box b { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.article-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 22px; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { margin: 0; font-size: .97rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .12); transition: .25s; }
.social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-3px); }
.social.dark { margin-top: 8px; }
.social.dark a { background: var(--teal-50); color: var(--navy); border-color: transparent; }
.social.dark a:hover { color: #fff; }
.contact-form { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); display: grid; gap: 18px; }
.contact-form h2 { font-size: 1.7rem; margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field span { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(15, 27, 51, .14); background: rgba(255, 255, 255, .85);
  font: inherit; font-size: .98rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22, 170, 184, .15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal); flex-shrink: 0; }
.contact-form .btn { justify-self: start; }
.form-msg { margin: 0; font-weight: 700; font-size: .92rem; min-height: 1em; }
.form-msg.ok { color: #0f8f5c; }
.form-msg.err { color: #c4413b; }
.map-wrap { margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 420px; border: 6px solid #fff; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* legal */
.legal-card { padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); }
.updated { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 700; color: var(--teal-600); background: var(--teal-50); padding: 6px 14px; border-radius: 999px; }
.legal-nav { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--navy-900); color: rgba(255, 255, 255, .68); padding: 72px 0 30px; margin-top: 60px; isolation: isolate; overflow: hidden; }
.footer-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 90% 0%, rgba(22, 170, 184, .28), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(58, 111, 208, .35), transparent 60%); }
.newsletter { position: relative; margin-bottom: 20px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; padding: 34px 40px; border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(37, 75, 140, .92), rgba(22, 170, 184, .85)); border-color: rgba(255, 255, 255, .25); box-shadow: var(--shadow-lg); }
.newsletter h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.newsletter p { margin: 0; color: rgba(255, 255, 255, .85); }
.nl-form { display: flex; flex-wrap: wrap; gap: 10px; position: relative; align-items: center; }
.nl-form input[type=email] { flex: 1; min-width: 200px; padding: 15px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .14); color: #fff; font: inherit; outline: none; }
.nl-form input::placeholder { color: rgba(255, 255, 255, .7); }
.nl-form input:focus { background: rgba(255, 255, 255, .22); border-color: #fff; }
.nl-form .btn-accent { background: #fff; color: var(--navy); box-shadow: none; }
.nl-form .btn-accent:hover { background: var(--navy-900); color: #fff; }
.nl-form .form-msg { flex-basis: 100%; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 30px 0 50px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: .95rem; max-width: 340px; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--teal-300); }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }
.contact-list .ic { color: var(--teal-300); margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.dev-credit a { color: #fff; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease); }
.to-top .ic { transform: rotate(-90deg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal); color: #fff; }

/* cookie banner */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 200; max-width: 560px; padding: 22px 24px; border-radius: 22px; color: var(--text); animation: slideUp .5s var(--ease); }
.cookie-banner strong { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); color: var(--ink); margin-bottom: 6px; }
.cookie-banner strong .ic { color: var(--teal); }
.cookie-banner p { font-size: .88rem; margin-bottom: 14px; line-height: 1.55; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } }
.cookie-modal { position: fixed; inset: 0; z-index: 210; background: rgba(8, 20, 40, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.cookie-modal[hidden], .cookie-banner[hidden], .lightbox[hidden] { display: none; }
.cookie-modal-card { width: 100%; max-width: 520px; padding: 30px; border-radius: 26px; background: rgba(255, 255, 255, .92); }
.cookie-modal-card h2 { font-size: 1.4rem; }
.ck-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.ck-row b { display: block; color: var(--ink); }
.ck-row small { display: block; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.ck-row input { position: absolute; opacity: 0; }
.switch { flex-shrink: 0; width: 48px; height: 28px; border-radius: 999px; background: #cfd8e3; position: relative; transition: .25s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: .25s var(--ease); }
.ck-row input:checked + .switch { background: var(--teal); }
.ck-row input:checked + .switch::after { left: 23px; }
.ck-row input:disabled + .switch { opacity: .6; }
.ck-row input:focus-visible + .switch { outline: 3px solid var(--teal); outline-offset: 2px; }
.cookie-modal .cookie-actions { margin-top: 20px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 20, 40, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 60px 70px; }
.lightbox img { max-height: 85vh; max-width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 14px; top: 50%; translate: 0 -50%; } .lb-next { right: 14px; top: 50%; translate: 0 -50%; }

/* reveal animations */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 9px 10px; font-size: .9rem; }
  .header-cta { display: none; }
}
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .header-actions, .main-nav + .header-actions { margin-left: auto; gap: 8px; }
  .lang-btn { height: 46px; padding: 0 14px; border-radius: 14px; gap: 6px; }
  .lang-btn .ic-chevron-down { display: none; }
  .hero-grid, .split, .program-row, .case-grid, .cta-card, .contact-grid, .newsletter, .blog-feature-grid { grid-template-columns: 1fr; }
  .program-row.reverse .pr-media { order: 0; }
  .hero { padding-bottom: 130px; }
  .hero-visual { min-height: 460px; max-width: 640px; }
  .program-grid, .card-grid.three, .pub-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-card.wide { grid-column: span 2; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .share-rail { display: none; }
  .floating-quote { right: 12px; }
  .feature-card { min-height: 480px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-inner { width: calc(100% - 24px); padding: 0 8px 0 14px; height: 60px; gap: 10px; }
  .brand img { height: 38px; }
  .site-header { padding: 10px 0; }
  .lang-btn { height: 42px; padding: 0 12px; border-radius: 12px; font-size: .8rem; }
  .lang-btn .ic-globe { width: 15px; height: 15px; }
  .burger { width: 42px; height: 42px; border-radius: 12px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; right: 17px; }
  body.menu-open .burger span:nth-child(1), body.menu-open .burger span:nth-child(3) { top: 20px; right: 12px; }
  .lang-menu { right: -50px; }
  .site-header.scrolled .lang-btn, .site-header.scrolled .burger { background: rgba(255, 255, 255, .7); }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-visual { min-height: 380px; }
  .hv-main { inset: 0 0 50px 24px; }
  .hv-card { width: 260px; right: -4px; bottom: 0; padding: 14px 16px; }
  .hv-chip { display: none; }
  .hv-small { width: 44%; bottom: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat { padding: 20px 12px; }
  .program-grid, .card-grid.three, .pub-grid, .team-grid, .focus-grid, .mv-big, .mv-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .post-card.wide { grid-column: auto; flex-direction: column; }
  .post-card.wide .post-media { min-height: 0; aspect-ratio: 16/10.5; }
  .post-card.wide .post-body { padding: 22px 24px; }
  .post-card.wide h3 { font-size: 1.2rem; }
  .mini-post { grid-template-columns: 92px 1fr; gap: 14px; }
  .mini-post img { width: 92px; height: 82px; }
  .feature-card { min-height: 520px; }
  .fc-body { margin: 10px; padding: 20px; }
  .news-row { gap: 14px; padding: 14px; align-items: flex-start; }
  .date-box { width: 62px; height: 62px; border-radius: 14px; }
  .date-box b { font-size: 1.3rem; }
  .round-arrow { display: none; }
  .floating-quote { position: relative; right: auto; bottom: auto; margin: -50px 16px 0; max-width: none; }
  .split-media::before { inset: 20px -10px -10px 20px; }
  .pr-num { font-size: 4rem; top: -24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid a.g0, .gallery-grid a.g3 { grid-column: span 2; grid-row: span 2; }
  .mosaic { grid-template-rows: 150px 150px; }
  .newsletter { padding: 26px 22px; }
  .site-footer { padding-top: 48px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
  .lightbox { padding: 60px 10px; }
  .article-hero { padding-bottom: 110px; }
  .article-cover { margin-top: -80px; border-width: 4px; }
  .map-wrap { height: 320px; }
  .to-top { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .share-rail, .cookie-banner, .to-top, .hero-bg { display: none !important; }
  .page-hero, .article-hero { background: none; color: #000; padding: 20px 0; }
  .page-hero h1, .article-hero h1 { color: #000; }
}

/* compact glass panels – let the photos breathe */
.program-card { min-height: 440px; }
.pc-body { margin: 12px; padding: 18px 20px; border-radius: 18px; }
.pc-body .pc-ic { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 10px; }
.pc-body .pc-ic .ic { width: 20px; height: 20px; }
.pc-num { top: 16px; right: 18px; font-size: 1.3rem; }
.pc-body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.pc-body p { font-size: .88rem; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-body .arrow-link { font-size: .85rem; }
.fc-body { margin: 14px; padding: 20px 22px; border-radius: 20px; max-width: 560px; }
.fc-body h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); margin: 10px 0 8px; }
.fc-body p { font-size: .9rem; line-height: 1.55; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fc-meta img { width: 36px; height: 36px; }
.fc-meta b { font-size: .88rem; }
.fc-media::after { background: linear-gradient(180deg, transparent 45%, rgba(8, 20, 40, .7)); }

/* blog dropdown */
.nav-dd { position: relative; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd > a .ic { transition: transform .25s var(--ease); opacity: .8; }
.nav-dd:hover > a .ic, .nav-dd:focus-within > a .ic { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; left: 50%; top: calc(100% + 12px); min-width: 250px; padding: 8px; border-radius: 18px;
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: .22s var(--ease);
  background: rgba(255, 255, 255, .96);
}
.nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .nav-dd-menu a { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--ink); padding: 10px 12px; border-radius: 12px; font-size: .92rem; }
.main-nav .nav-dd-menu a:hover, .main-nav .nav-dd-menu a.current { background: rgba(22, 170, 184, .1); color: var(--navy); }
.main-nav .nav-dd-menu a::after { display: none; }
.nav-dd-menu small { margin-left: auto; font-size: .74rem; color: var(--muted); background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.dd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chip); flex-shrink: 0; }
.drawer-sub { display: grid; gap: 2px; padding: 6px 0 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(14px); transition: .45s var(--ease); transition-delay: calc(var(--i) * 45ms); }
body.menu-open .drawer-sub { opacity: 1; transform: none; }
.drawer-sub a { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .75); font-weight: 600; font-size: 1rem; padding: 7px 0; }
.drawer-sub a.active, .drawer-sub a:hover { color: var(--teal-300); }

/* partners – static centered chips (no clipping at the edges) */
.partners { padding: 30px 0 80px; overflow: visible; }
.partner-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.partner-list .partner-chip { padding: 12px 22px; font-size: .92rem; transition: transform .25s var(--ease), border-color .25s, color .25s; }
.partner-list .partner-chip:hover { transform: translateY(-3px); border-color: rgba(22, 170, 184, .5); color: var(--teal-600); }
@media (max-width: 720px) { .partner-list { gap: 8px; } .partner-list .partner-chip { padding: 9px 14px; font-size: .82rem; border-radius: 12px; } }

/* ---------- Social media (Facebook Page) section ---------- */
.social-home { background: radial-gradient(120% 90% at 0% 0%, #1d3d74 0%, var(--navy-900) 55%, #081329 100%); color: #fff; }
.social-home h2 { color: #fff; }
.social-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 90px); align-items: center; }
.social-copy { max-width: 560px; }
.social-copy .lead { font-size: 1.12rem; line-height: 1.75; color: rgba(255, 255, 255, .78); margin: 0 0 30px; }
.social-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.social-actions .social { margin-top: 0; }
.btn-fb { background: #1877f2; color: #fff; box-shadow: 0 14px 30px -12px rgba(24, 119, 242, .8); }
.btn-fb:hover { background: #0f63d6; color: #fff; transform: translateY(-2px); }
.fb-frame { width: calc(var(--fb-w, 500px) + 20px); max-width: 100%; padding: 10px; border-radius: 26px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.fb-embed { position: relative; width: 100%; border-radius: 18px; overflow: hidden; background: #fff; display: flex; justify-content: center; }
.fb-embed iframe { display: block; border: 0; max-width: 100%; }
.fb-embed.loaded { background: #fff; }
.fb-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 30px; color: var(--text);
  background: linear-gradient(160deg, #f4f8ff 0%, #e8f8fa 100%); }
.fb-placeholder p { max-width: 320px; margin: 0; font-size: .95rem; color: var(--muted); }
.fb-logo { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #1877f2; color: #fff; box-shadow: 0 14px 30px -12px rgba(24, 119, 242, .8); }
.fb-open { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--navy); }
.fb-embed.loaded .fb-placeholder { display: none; }
.fb-embed.loading .fb-placeholder > *:not(.fb-logo) { opacity: 0; }
.fb-embed.loading .fb-logo { animation: fbPulse 1.2s ease-in-out infinite; }
@keyframes fbPulse { 50% { transform: scale(.88); opacity: .7; } }
@media (max-width: 960px) {
  .social-grid { grid-template-columns: minmax(0, 1fr); }
  .social-copy { max-width: none; }
  .fb-frame { justify-self: center; }
}
@media (max-width: 520px) {
  .fb-frame { padding: 6px; border-radius: 20px; }
  .fb-embed { border-radius: 15px; }
}
