/* ===================================================================
   CAST-PA — Modern redesign
   Palette: deep navy + warm gold, generous whitespace, glass nav
   =================================================================== */

:root {
  --navy-950: #060d1f;
  --navy-900: #0a1330;
  --navy-800: #0f1d44;
  --navy-700: #16275c;
  --blue-500: #2f6bff;
  --blue-400: #5b8cff;
  --gold-400: #e6c068;
  --gold-500: #d4a843;
  --gold-600: #b98a28;

  --red: #c1272d;
  --red-soft: #e0524f;
  --ink: #111726;
  --ink-soft: #475069;
  --line: #e7eaf2;
  --bg: #ffffff;
  --bg-soft: #f6f8fd;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 20px rgba(16, 29, 68, 0.06);
  --shadow-md: 0 18px 50px rgba(16, 29, 68, 0.12);
  --shadow-gold: 0 14px 40px rgba(201, 147, 47, 0.35);
  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad {
  background: linear-gradient(105deg, var(--gold-400), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: normal;
}
.btn:hover { transform: translateY(-3px); }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--gold {
  background: linear-gradient(120deg, var(--gold-400), var(--gold-600));
  color: #2a1d05;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { box-shadow: 0 20px 50px rgba(201, 147, 47, 0.5); }
.btn--ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--ghost-light { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 16px 0;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(201,147,47,0.35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem; letter-spacing: 0.04em; color: #fff;
}
.brand__text em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.nav.scrolled .brand__text strong { color: var(--ink); }
.nav.scrolled .brand__text em { color: var(--ink-soft); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 500; font-size: 0.95rem; color: rgba(255,255,255,0.85); transition: color 0.25s; }
.nav__links a:hover { color: #fff; }
.nav.scrolled .nav__links a { color: var(--ink-soft); }
.nav.scrolled .nav__links a:hover { color: var(--ink); }
.nav__links .btn {
  color: #2a1d05;
  background: linear-gradient(120deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 6px 18px rgba(201, 147, 47, 0.32);
}
.nav__links .btn:hover { box-shadow: 0 10px 24px rgba(201, 147, 47, 0.45); }
.nav.scrolled .nav__links .btn { color: #2a1d05; }

.lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  white-space: nowrap;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif; font-weight: 600; font-size: 0.85rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28); color: #fff;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}
.lang-btn:hover { transform: translateY(-2px); border-color: var(--gold-400); color: var(--gold-400); }
.nav.scrolled .lang-btn { background: rgba(16,29,68,0.05); border-color: var(--line); color: var(--ink); }
.nav.scrolled .lang-btn:hover { border-color: var(--gold-500); color: var(--gold-600); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav.scrolled .nav__toggle span { background: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: float 16s ease-in-out infinite; }
.orb--1 { width: 460px; height: 460px; background: radial-gradient(circle, #2f6bff, transparent 70%); top: -80px; right: 4%; }
.orb--2 { width: 380px; height: 380px; background: radial-gradient(circle, var(--gold-500), transparent 70%); bottom: -60px; left: -40px; opacity: 0.4; animation-delay: -5s; }
.orb--3 { width: 300px; height: 300px; background: radial-gradient(circle, #5b8cff, transparent 70%); top: 40%; left: 38%; opacity: 0.3; animation-delay: -9s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; max-width: 880px; }

.eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(230, 192, 104, 0.35);
  background: rgba(230, 192, 104, 0.08);
  color: var(--gold-400);
  font-size: 0.8rem; letter-spacing: 0.04em; font-weight: 500;
  margin-bottom: 28px;
}
.hero__title { font-size: clamp(2.6rem, 6.4vw, 5rem); color: #fff; margin-bottom: 26px; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.32rem); color: rgba(255,255,255,0.78); max-width: 640px; margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 760px; }
.stat { position: relative; }
.stat__num { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 700; color: #fff; }
.stat__plus { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; color: var(--gold-400); }
.stat p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero__scroll span {
  display: block; width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.35); border-radius: 14px; position: relative;
}
.hero__scroll span::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold-400); border-radius: 2px;
  animation: scroll 1.8s ease-in-out infinite;
}
@keyframes scroll { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 20px; } }

/* ===== Sections ===== */
.section { padding: 110px 0; position: relative; }
.section--dark { background: var(--navy-900); color: #fff; }
.section--soft { background: var(--bg-soft); }

.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 16px;
  word-break: keep-all; overflow-wrap: break-word;
}
.kicker--light { color: var(--gold-400); }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 18px; word-break: keep-all; overflow-wrap: break-word; }
.section--dark .section__head h2 { color: #fff; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.section--dark .lead { color: rgba(255,255,255,0.72); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 42px; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card--feature { position: relative; overflow: hidden; }
.card--feature::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--blue-400));
}
.card__badge {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue-500); background: rgba(47,107,255,0.08);
  word-break: keep-all; overflow-wrap: break-word;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.card__badge--alt { color: var(--gold-600); background: rgba(201,147,47,0.1); }
.card h3 { font-size: 1.7rem; margin-bottom: 14px; }
.card p { color: var(--ink-soft); margin-bottom: 22px; }
.card strong { color: var(--ink); }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 0.97rem; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(120deg, var(--gold-400), var(--gold-600));
  color: #fff; font-size: 0.7rem; display: grid; place-items: center; font-weight: 700;
}

/* ===== Programs ===== */
.prog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.prog {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: 38px;
  transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s;
}
.prog:hover { transform: translateY(-6px); background: rgba(255,255,255,0.06); border-color: rgba(230,192,104,0.4); }
.prog__icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.8rem; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(47,107,255,0.25), rgba(230,192,104,0.2));
  border: 1px solid rgba(255,255,255,0.1);
}
.prog h3 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.prog p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.link-arrow { color: var(--gold-400); font-weight: 600; font-size: 0.94rem; transition: gap 0.25s, opacity 0.25s; }
.link-arrow:hover { opacity: 0.8; }

/* ===== Awards ===== */
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.award {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.award:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.award__year { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-600); text-transform: uppercase; word-break: keep-all; overflow-wrap: break-word; }
.award h3 { font-size: 1.32rem; margin: 12px 0 14px; }
.award p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 16px; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pill-list li {
  font-size: 0.82rem; font-weight: 500; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.award__count { margin-bottom: 0 !important; font-size: 0.95rem; }
.award__count strong { color: var(--gold-600); font-size: 1.4rem; font-family: "Space Grotesk", sans-serif; }

.laureates { text-align: center; padding: 40px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); }
.laureates__label { color: var(--gold-400); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; font-weight: 600; }
.laureates__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.laureates__row span {
  color: rgba(255,255,255,0.9); font-size: 0.95rem; font-weight: 500;
  padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04); transition: border-color 0.3s, transform 0.3s;
}
.laureates__row span:hover { border-color: var(--gold-400); transform: translateY(-2px); }

/* ===== Events ===== */
.events { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.event {
  display: flex; gap: 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.event:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event__date {
  flex-shrink: 0; width: 72px; height: 72px; border-radius: 16px;
  display: grid; place-content: center; text-align: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff;
}
.event__day { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.event__mon { font-size: 0.7rem; letter-spacing: 0.12em; color: var(--gold-400); word-break: keep-all; }
.event__tag { font-size: 0.75rem; font-weight: 600; color: var(--blue-500); text-transform: uppercase; letter-spacing: 0.06em; word-break: keep-all; overflow-wrap: break-word; }
.event__body h3 { font-size: 1.12rem; margin: 6px 0 8px; word-break: keep-all; overflow-wrap: break-word; }
.event__body p { color: var(--ink-soft); font-size: 0.92rem; }
.events__topics { text-align: center; color: var(--ink-soft); max-width: 680px; margin: 0 auto; }
.events__topics strong { color: var(--ink); }

/* ===== Leadership ===== */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person {
  text-align: center; padding: 32px 20px; border-radius: var(--radius-lg);
  background: var(--bg-soft); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.person__avatar {
  width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-family: "Space Grotesk", sans-serif;
  font-weight: 700; font-size: 1.3rem; color: #2a1d05;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: var(--shadow-gold);
}
.person h4 { font-size: 1.05rem; margin-bottom: 4px; word-break: keep-all; overflow-wrap: break-word; }
.person p { font-size: 0.86rem; color: var(--ink-soft); word-break: keep-all; overflow-wrap: break-word; }

/* ===== Join CTA ===== */
.join { padding-top: 0; }
.join__card { position: relative; border-radius: 32px; overflow: hidden; padding: 80px 56px; text-align: center; color: #fff; }
.join__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 140% at 20% 0%, var(--navy-700), var(--navy-950));
}
.join__bg::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-500), transparent 70%); opacity: 0.35; filter: blur(50px);
  top: -100px; right: -60px;
}
.join__bg::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-500), transparent 70%); opacity: 0.4; filter: blur(50px);
  bottom: -120px; left: -40px;
}
.join__content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.join__content h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 18px; }
.join__content p { color: rgba(255,255,255,0.78); font-size: 1.08rem; margin-bottom: 32px; }
.join__cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ===== Footer ===== */
.footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding-top: 70px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 50px; padding-bottom: 50px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__brand .brand__text strong { color: #fff; }
.footer__brand p { font-size: 0.95rem; max-width: 360px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__col h5 { color: #fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 0.94rem; padding: 5px 0; color: rgba(255,255,255,0.65); transition: color 0.25s; }
.footer__col a:hover { color: var(--gold-400); }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer__bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== Hero logo + particle net ===== */
.hero__logo { width: clamp(220px, 38vw, 360px); margin-bottom: 26px; opacity: 0.92; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.6; }

/* ===== Focus / Sectors ===== */
.sectors { position: relative; overflow: hidden; }
.sectors__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 70% at 12% 0%, rgba(47,107,255,0.18), transparent 60%),
    radial-gradient(50% 60% at 88% 100%, rgba(230,192,104,0.14), transparent 60%);
}
.sectors .container { position: relative; z-index: 1; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sector {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 38px 34px;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.sector:hover { transform: translateY(-8px); border-color: rgba(230,192,104,0.45); background: rgba(255,255,255,0.06); }
.sector__glow {
  position: absolute; top: -60px; right: -50px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-500), transparent 70%); opacity: 0.5; filter: blur(30px);
  transition: opacity 0.4s;
}
.sector__glow--green { background: radial-gradient(circle, #2fd6a6, transparent 70%); }
.sector__glow--gold { background: radial-gradient(circle, var(--gold-500), transparent 70%); }
.sector:hover .sector__glow { opacity: 0.8; }
.sector__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; position: relative; z-index: 1; }
.sector__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
}
.sector__num { font-family: "Space Grotesk", sans-serif; font-size: 2.4rem; font-weight: 700; color: rgba(255,255,255,0.12); }
.sector h3 { color: #fff; font-size: 1.45rem; margin-bottom: 12px; position: relative; z-index: 1; }
.sector p { color: rgba(255,255,255,0.72); margin-bottom: 20px; font-size: 0.97rem; position: relative; z-index: 1; }
.pill-list--dark li { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.85); }

/* ===== Programs (light variant) ===== */
.prog--light {
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.prog--light:hover { background: #fff; border-color: rgba(230,192,104,0.5); box-shadow: var(--shadow-md); }
.prog--light h3 { color: var(--ink); }
.prog--light p { color: var(--ink-soft); }
.prog--light .prog__icon {
  background: linear-gradient(135deg, rgba(47,107,255,0.12), rgba(230,192,104,0.16));
  border-color: var(--line);
}

/* ===== Partners ===== */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pgroup {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.pgroup:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pgroup h4 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 16px; word-break: keep-all; overflow-wrap: break-word; }
.ptags { display: flex; flex-wrap: wrap; gap: 8px; }
.ptags span {
  font-size: 0.85rem; font-weight: 500; padding: 7px 14px; border-radius: 10px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  transition: border-color 0.25s, color 0.25s;
}
.ptags span:hover { border-color: var(--blue-400); color: var(--blue-500); }

/* ===== Membership plans ===== */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff;
  border-color: transparent; box-shadow: var(--shadow-md);
}
.plan__flag {
  position: absolute; top: 18px; right: 18px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #2a1d05;
  word-break: keep-all; overflow-wrap: break-word;
  background: linear-gradient(120deg, var(--gold-400), var(--gold-600)); padding: 5px 12px; border-radius: 999px;
}
.plan__name { font-size: 1.1rem; margin-bottom: 14px; word-break: keep-all; overflow-wrap: break-word; }
.plan--featured .plan__name { color: #fff; }
.plan__price { font-family: "Space Grotesk", sans-serif; font-size: 2.8rem; font-weight: 700; line-height: 1; }
.plan--featured .plan__price { color: #fff; }
.plan__cur { font-size: 1.4rem; vertical-align: super; margin-right: 2px; color: var(--gold-600); }
.plan--featured .plan__cur { color: var(--gold-400); }
.plan__per { font-family: "Inter", sans-serif; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); margin-left: 6px; }
.plan--featured .plan__per { color: rgba(255,255,255,0.65); }
.plan__note { font-size: 0.86rem; color: var(--ink-soft); margin: 10px 0 20px; }
.plan--featured .plan__note { color: rgba(255,255,255,0.7); }
.plan__feats { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; flex-grow: 1; }
.plan__feats li { position: relative; padding-left: 26px; font-size: 0.9rem; color: var(--ink-soft); }
.plan--featured .plan__feats li { color: rgba(255,255,255,0.82); }
.plan__feats li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(201,147,47,0.15); color: var(--gold-600); font-size: 0.62rem; display: grid; place-items: center; font-weight: 700;
}
.plan--featured .plan__feats li::before { background: rgba(230,192,104,0.2); color: var(--gold-400); }
.btn--ghost-dark { border-color: var(--line); color: var(--ink); justify-content: center; }
.btn--ghost-dark:hover { border-color: var(--blue-400); color: var(--blue-500); }
.btn--block { width: 100%; justify-content: center; }

/* ===== Contact ===== */
.contact { padding-top: 0; }
.contact__card { position: relative; border-radius: 32px; overflow: hidden; padding: 56px; color: #fff; }
.contact__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-700), var(--navy-950));
}
.contact__bg::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-500), transparent 70%); opacity: 0.3; filter: blur(50px); top: -90px; right: -40px;
}
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.contact__intro h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.contact__intro p { color: rgba(255,255,255,0.78); margin-bottom: 26px; }
.contact__list { list-style: none; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); font-size: 0.96rem; }
.contact__list li > span:first-child { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); }

.contact__form {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(8px);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; display: flex; flex-direction: column; }
.field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.7); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; font-family: inherit; font-size: 0.94rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: #fff; transition: border-color 0.25s, background 0.25s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-400); background: rgba(255,255,255,0.1); }
.field textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 4px 0 20px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--gold-500); }

/* ===== Footer logo ===== */
.footer__logo { width: 230px; margin-bottom: 18px; opacity: 0.85; }

/* ===== Sub-page hero banner ===== */
.page-hero {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 168px 0 84px;
  background: radial-gradient(120% 130% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
}
.page-hero .grid-overlay { mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%); }
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,0.76); font-size: 1.12rem; }
.crumbs { display: inline-flex; gap: 8px; align-items: center; font-size: 0.84rem; color: rgba(255,255,255,0.55); margin-bottom: 22px; }
.crumbs a { color: var(--gold-400); }

/* ===== Honor / laureate grid (awards page) ===== */
.honor-block { margin-bottom: 18px; }
.honor-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.honor-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.honor-head .award__year { font-size: 0.82rem; }
.honor-head .count-chip {
  margin-left: auto; font-family: "Space Grotesk", sans-serif; font-weight: 700;
  color: var(--gold-600); background: rgba(201,147,47,0.1); padding: 5px 14px; border-radius: 999px; font-size: 0.9rem;
}
.honor-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.honor {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.honor:hover { transform: translateY(-3px); border-color: rgba(230,192,104,0.6); box-shadow: var(--shadow-md); }
.honor__n { font-family: "Space Grotesk", sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--gold-600); min-width: 22px; }
.honor__name { font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.section--soft .honor { background: #fff; }

/* ===== Timeline (seminars page) ===== */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold-400), var(--blue-400)); opacity: 0.4; }
.tl-year { font-family: "Space Grotesk", sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--gold-600); margin: 34px 0 18px -28px; padding-left: 28px; position: relative; }
.tl-year:first-child { margin-top: 0; }
.tl-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.tl-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.tl-item::before { content: ""; position: absolute; left: -28px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-400); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line); }
.tl-item.is-summit::before { background: var(--blue-500); }
.tl-date { font-size: 0.78rem; font-weight: 600; color: var(--blue-500); letter-spacing: 0.04em; }
.tl-item h3 { font-size: 1.05rem; margin: 5px 0 6px; }
.tl-item p { font-size: 0.9rem; color: var(--ink-soft); }
.tl-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tl-tag { font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft); }
.tl-tag--ai { color: #2f6bff; border-color: rgba(47,107,255,0.3); background: rgba(47,107,255,0.07); }
.tl-tag--bio { color: #138a63; border-color: rgba(19,138,99,0.3); background: rgba(19,138,99,0.07); }
.tl-tag--fin { color: var(--gold-600); border-color: rgba(201,147,47,0.3); background: rgba(201,147,47,0.08); }

/* ===== Advisor / name chip wall (about page) ===== */
.namewall { display: flex; flex-wrap: wrap; gap: 10px; }
.namewall span { font-size: 0.9rem; font-weight: 500; padding: 8px 15px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.namewall--nobel span { background: linear-gradient(120deg, rgba(230,192,104,0.16), rgba(201,147,47,0.08)); border-color: rgba(201,147,47,0.4); color: var(--ink); font-weight: 600; }
.subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gtile {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; color: #fff; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.gtile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.gtile__ph { position: absolute; inset: 0; z-index: 0; }
.gtile__ph--a { background: linear-gradient(135deg, #16275c, #2f6bff); }
.gtile__ph--b { background: linear-gradient(135deg, #0f1d44, #138a63); }
.gtile__ph--c { background: linear-gradient(135deg, #3a2a08, #d4a843); }
.gtile__ph--d { background: linear-gradient(135deg, #1a1240, #6d5ae6); }
.gtile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 40%, rgba(6,13,31,0.85)); }
.gtile__cap { position: relative; z-index: 2; padding: 18px; }
.gtile__cap span { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 4px; }
.gtile__cap strong { font-family: "Space Grotesk", sans-serif; font-size: 1rem; line-height: 1.25; word-break: keep-all; overflow-wrap: break-word; }
.gnote { text-align: center; max-width: 620px; margin: 0 auto 44px; color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Chinese cultural elements ===== */

/* Hero: Chinese name with a signature seal (落款印章), like a painting's chop */
.hero__namewrap { display: flex; align-items: center; gap: 16px; margin: -2px 0 24px; }
.cn-name {
  font-family: "KaiTi", "STKaiti", "Noto Serif SC", "Noto Sans SC", serif;
  font-weight: 500; letter-spacing: 0.34em;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  color: var(--gold-400); padding-left: 0.34em;
}
.seal { display: inline-block; line-height: 0; }
.seal svg { display: block; }
.seal .seal__char { font-family: "KaiTi", "STKaiti", "SimSun", "Noto Serif SC", serif; font-weight: 700; fill: #fdf3ee; }
.seal--chop { filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.35)); }
@media (max-width: 520px) { .cn-name { letter-spacing: 0.18em; font-size: 1.05rem; } }

/* ===== Cover image (program pages) ===== */
.cover-wrap { max-width: 940px; margin: 0 auto 56px; }
.cover-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .nav__links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
    background: var(--navy-900); padding: 40px; transform: translateX(100%);
    transition: transform 0.4s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
  .nav.scrolled .nav__links a { color: rgba(255,255,255,0.85); }
  .nav__toggle { display: flex; }
  .about-grid, .prog-grid, .award-grid, .events { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .sector-grid { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .section { padding: 76px 0; }
  .card, .prog, .award, .join__card { padding: 28px; }
  .join__card { padding: 52px 26px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bar-inner { flex-direction: column; }
  .partners, .plans { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact__card { padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .hero__scroll span::before { animation: none; }
  html { scroll-behavior: auto; }
}
