/* ==========================================================
   NemojaBagel — Nordic minimal design system (v5)
   Palette inspired by birch, fog, moss and Finnish daylight.
   ========================================================== */

:root {
  /* surface */
  --bg: #f6f3ec;
  --bg-warm: #efe9dc;
  --paper: #ffffff;
  --paper-soft: #fbf9f3;

  /* ink */
  --ink: #14171a;
  --ink-2: #2a2f33;
  --muted: #6b6f74;
  --muted-2: #8b8e92;
  --line: rgba(20, 23, 26, 0.10);
  --line-strong: rgba(20, 23, 26, 0.22);

  /* brand */
  --forest: #2c3a32;      /* deep moss */
  --moss: #5a6f5c;        /* lighter moss */
  --birch: #d9c9a8;       /* warm wood */
  --fog: #c8d4d2;         /* ice fog */
  --berry: #8a3a2e;       /* lingonberry accent (rare use) */

  --shadow-sm: 0 1px 2px rgba(20, 23, 26, 0.04), 0 2px 6px rgba(20, 23, 26, 0.04);
  --shadow-md: 0 8px 28px rgba(20, 23, 26, 0.06);
  --shadow-lg: 0 30px 80px rgba(20, 23, 26, 0.10);

  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --max: 1240px;
  --max-narrow: 880px;

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.zh {
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- typography ---------- */
.serif {
  font-family: "Cormorant Garamond", "EB Garamond", "Source Serif Pro", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}
body.zh .serif {
  font-family: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", serif;
  letter-spacing: 0.01em;
  font-weight: 500;
}

h1, h2, h3, h4 { color: var(--ink); margin: 0; }
h1 {
  font-family: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
body.zh h1 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.18;
  letter-spacing: 0.005em;
  font-weight: 500;
}
h2 {
  font-family: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
body.zh h2 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.22;
  letter-spacing: 0.005em;
}
h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.005em;
}
body.zh h3 { letter-spacing: 0.005em; line-height: 1.4; }

p { margin: 0; color: var(--muted); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); line-height: 1.5; }
body.zh .lead { line-height: 1.65; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--moss);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--moss);
}
body.zh .kicker { letter-spacing: 0.2em; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 32px;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled,
.site-header.inner-header {
  background: rgba(246, 243, 236, 0.82);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.98);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
body.zh .brand { font-family: "Cormorant Garamond", Georgia, serif; }
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--birch), var(--fog));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
/* wordmark is a single unified word — no per-letter accent */

/* "right now" style callout used for time-sensitive announcements
   (e.g. Oulu 2026 European Capital of Culture) */
.callout {
  margin: 0 0 32px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(217, 201, 168, 0.32), rgba(200, 212, 210, 0.32));
  border: 1px solid rgba(90, 111, 92, 0.28);
  border-radius: 22px;
}
.callout-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
body.zh .callout-tag { letter-spacing: 0.18em; }
.callout p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 0; }
.callout a { color: var(--forest); font-weight: 600; border-bottom: 1px solid var(--forest); }
.site-header.scrolled .brand,
.inner-header .brand { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.4);
  transform-origin: left;
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.nav-links a:hover::after { opacity: 1; transform: scaleX(1); }
.site-header.scrolled .nav-links a,
.inner-header .nav-links a { color: var(--ink-2); }

.desktop-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}
.desktop-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.desktop-lang a.active { background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.site-header.scrolled .desktop-lang,
.inner-header .desktop-lang {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: none;
}
.site-header.scrolled .desktop-lang a,
.inner-header .desktop-lang a { color: var(--ink-2); }
.site-header.scrolled .desktop-lang a.active,
.inner-header .desktop-lang a.active { background: var(--ink); color: #fff; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: rgba(0,0,0,.5); transform: translateY(-1px); }
.site-header.scrolled .nav-cta,
.inner-header .nav-cta {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  backdrop-filter: none;
}

.mobile-actions { display: none; align-items: center; gap: 8px; }
.mobile-lang, .mobile-toggle {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
}
.site-header.scrolled .mobile-lang,
.site-header.scrolled .mobile-toggle,
.inner-header .mobile-lang,
.inner-header .mobile-toggle {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px; left: 18px; right: 18px;
  z-index: 49;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: grid; gap: 6px; }
.mobile-menu a { padding: 14px 14px; border-radius: 14px; font-weight: 500; }
.mobile-menu a:hover { background: var(--bg-warm); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(20,23,26,.18); }
.btn.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn.arrow::after { content: "→"; font-weight: 400; }

/* ---------- layout ---------- */
section { padding: 110px 32px; }
.container { max-width: var(--max); margin: 0 auto; }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .kicker::before { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px 32px 96px;
  overflow: hidden;
  color: #fff;
  background: #1a221e;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-bg svg, .hero-bg img, .hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,30,28,.25) 0%, rgba(20,30,28,.55) 70%, rgba(20,30,28,.78) 100%),
    linear-gradient(120deg, rgba(20,30,28,.35), rgba(20,30,28,0) 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 64px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.95);
}
.hero h1 {
  color: #fff;
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.028em;
}
body.zh .hero h1 {
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.18;
  letter-spacing: 0.01em;
}
.hero-tagline {
  max-width: 520px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions .btn:not(.secondary):not(.ghost) {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.hero-actions .btn.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px 22px;
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 320px;
}
.hero-stat strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 36px;
  line-height: 1;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.hero-stat span { font-size: 13px; color: rgba(255,255,255,.78); }

/* ---------- page hero ---------- */
.page-hero {
  position: relative;
  padding: 170px 32px 90px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 212, 210, .55), rgba(200, 212, 210, 0) 70%);
  pointer-events: none;
}

/* ---------- grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.wide { grid-template-columns: 1.1fr 1fr; }

/* ---------- cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card.soft {
  background: var(--paper-soft);
  border-color: transparent;
  box-shadow: none;
}
.card .num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  color: var(--moss);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-weight: 600;
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--fog);
  display: grid; place-items: center;
  margin-bottom: 24px;
  color: var(--forest);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { line-height: 1.6; }

/* feature cards on hero secondary section */
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-illust {
  width: 100%; height: 180px;
  border-radius: var(--radius);
  background: var(--bg-warm);
  overflow: hidden;
  display: grid; place-items: center;
}
.feature-illust svg { width: 100%; height: 100%; }

/* ---------- media frame ---------- */
.media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: var(--shadow-lg);
}
.media-frame.wide { aspect-ratio: 5 / 4; }
.media-frame img, .media-frame svg { width: 100%; height: 100%; object-fit: cover; }

/* ---------- service blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-block .service-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  color: var(--moss);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.service-block h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.1;
}
body.zh .service-block h3 {
  font-family: "Noto Serif SC", serif;
  letter-spacing: 0.005em;
  line-height: 1.3;
}
.service-block .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--moss);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
body.zh .service-block .tag { letter-spacing: 0.18em; }
.service-block ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.service-block ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15px;
}
.service-block ul li:first-child { border-top: none; }
.service-block ul li::before {
  content: "";
  margin-top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--moss);
  flex-shrink: 0;
}

/* ---------- program cards ---------- */
.program-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.program-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.program-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
body.zh .program-card h3 { font-family: "Noto Serif SC", serif; letter-spacing: 0.005em; line-height: 1.3; }
.program-card .meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--moss);
  font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.program-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.program-card .meta span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--moss);
}

/* ---------- label / tag ---------- */
.label {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg-warm);
  color: var(--forest);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
body.zh .label { letter-spacing: 0.15em; }

/* ---------- pillars / facts strip ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillar {
  padding: 36px 28px;
  border-left: 1px solid var(--line);
}
.pillar:first-child { border-left: none; }
.pillar strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.pillar span { font-size: 14px; color: var(--muted); }

/* ---------- insights / article cards ---------- */
.article-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-card .article-image {
  height: 220px;
  background: var(--bg-warm);
  overflow: hidden;
}
.article-card .article-image svg, .article-card .article-image img { width: 100%; height: 100%; object-fit: cover; }
.article-card .article-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}
body.zh .article-card h3 { font-family: "Noto Serif SC", serif; font-size: 22px; line-height: 1.4; letter-spacing: 0.005em; }
.article-card p { font-size: 15px; line-height: 1.6; flex: 1; }
.article-card .read-more {
  margin-top: 22px;
  font-weight: 600;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.article-card .read-more::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.article-card:hover .read-more::after { transform: translateX(4px); }

/* ---------- about / split section ---------- */
.about-section .lead { font-size: clamp(20px, 1.8vw, 24px); color: var(--ink-2); margin-top: 20px; }
.about-traits { margin-top: 32px; display: grid; gap: 14px; }
.about-trait {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.about-trait:first-child { border-top: none; padding-top: 0; }
.about-trait strong { color: var(--ink); font-size: 15px; min-width: 130px; display: inline-block; }
body.zh .about-trait strong { min-width: 100px; }
.about-trait span { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- contact ---------- */
#contact { background: var(--paper); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.contact-info .lead { margin-bottom: 36px; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-row {
  display: flex; gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .label-sm {
  font-size: 12px;
  color: var(--moss);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  min-width: 100px;
  padding-top: 2px;
}
body.zh .contact-row .label-sm { letter-spacing: 0.18em; min-width: 80px; }
.contact-row .val { color: var(--ink); font-weight: 500; }

.form-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(44, 58, 50, 0.12);
}
textarea { min-height: 160px; resize: vertical; }

/* ---------- article page ---------- */
.article-page { padding: 150px 32px 60px; }
.article-layout { max-width: 760px; margin: 0 auto; }
.article-layout h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin-bottom: 18px;
}
body.zh .article-layout h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.22; }
.article-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta span:not(:first-child)::before {
  content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2);
}
.article-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 40px 0 48px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  background: var(--bg-warm);
}
.article-hero svg, .article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 18px; color: var(--ink-2); }
body.zh .article-body { font-size: 17px; line-height: 1.85; }
.article-body p { font-size: inherit; color: var(--ink-2); margin: 0 0 22px; line-height: 1.75; }
.article-body h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 50px 0 18px;
  font-weight: 500;
}
body.zh .article-body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.article-body ul, .article-body ol { color: var(--ink-2); line-height: 1.75; padding-left: 22px; margin: 0 0 22px; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  background: var(--paper-soft);
  border-left: 3px solid var(--moss);
  border-radius: 12px;
  font-style: italic;
  color: var(--ink-2);
}
.back-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer {
  padding: 80px 32px 40px;
  background: #15191a;
  color: rgba(255, 255, 255, 0.78);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .brand-mark { width: 32px; height: 32px; }
.site-footer p, .site-footer a, .site-footer small { color: rgba(255, 255, 255, 0.66); font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
body.zh .footer-title { letter-spacing: 0.2em; }
.footer-links { display: grid; gap: 10px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}

/* ---------- decorative ---------- */
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow-row .line { flex: 1; height: 1px; background: var(--line); }

/* ---------- animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s var(--ease) both; }
.fade-up.delay-1 { animation-delay: .1s; }
.fade-up.delay-2 { animation-delay: .2s; }
.fade-up.delay-3 { animation-delay: .3s; }

/* reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- utility ---------- */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-left: none; border-top: 1px solid var(--line); }
  .pillar:nth-child(odd) { border-left: none; }
  .pillar:nth-child(-n+2) { border-top: none; }
  .pillar:nth-child(even) { border-left: 1px solid var(--line); }
}

@media (max-width: 880px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-side { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .hero-stat { max-width: none; flex: 1 1 220px; }
  .split, .split.wide { grid-template-columns: 1fr; gap: 36px; }
  .service-block { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .desktop-lang { display: none; }
  .mobile-actions { display: flex; }
  section { padding: 80px 24px; }
  .page-hero { padding: 130px 24px 60px; }
  .hero { min-height: 80vh; padding: 130px 24px 70px; }
  .article-page { padding: 130px 24px 50px; }
  .form-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .site-header { padding: 14px 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: none !important; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: none; }
  .pillar strong { font-size: 40px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  body.zh .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  h2 { font-size: clamp(30px, 8vw, 40px); }
  .card, .feature, .program-card { padding: 24px; border-radius: 24px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .about-trait { flex-direction: column; gap: 4px; }
  .about-trait strong { min-width: 0; }
}
