/* =========================================================
   Fortpremium International — stylesheet
   Fonts: Space Grotesk (headings), Manrope (body), JetBrains Mono
   ========================================================= */

:root {
  --brand: #0504AA;
  --brand-dark: #03037a;
  --brand-tint: #e9e9fa;
  /* The old blue-family accents now resolve to the brand blue. The names are
     kept because they're referenced throughout the stylesheet and inline. */
  --purple: var(--brand);
  --purple-dark: var(--brand-dark);
  --coral: #ff6a4d;
  --pink: #ec4899;
  --teal: #14b8a6;
  --amber: #f5a623;
  --blue: var(--brand);
  --ink: #1a1a24;
  --paper: #fbfaf7;
  --muted: #5b5b68;
  --muted-2: #8a8878;
  --line: #ece9e1;
  --line-2: #ddd9cf;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
p { margin: 0; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }
img { display: block; max-width: 100%; }
button { font-family: 'Manrope', system-ui, sans-serif; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: clamp(18px, 4vw, 40px); padding-right: clamp(18px, 4vw, 40px); }
.section { padding-top: clamp(30px, 4vw, 50px); padding-bottom: clamp(30px, 4vw, 50px); }
.section-lg { padding-top: clamp(40px, 5vw, 70px); padding-bottom: clamp(40px, 5vw, 70px); }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; }
.grid { display: grid; gap: 22px; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 0.04em; }

/* ---------- buttons ---------- */
.btn { border: none; cursor: pointer; font-weight: 700; font-size: 15px; padding: 15px 28px; border-radius: 999px; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--purple); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 12px 22px; font-size: 14px; }
.btn-pill-dark { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 20px; border: none; border-radius: 999px; cursor: pointer; transition: background .15s; }
.btn-pill-dark:hover { background: var(--purple); }
/* Links styled as buttons: the global `a:hover` colour is more specific than
   `.btn-primary` etc., so pin the text colour back on hover. */
a.btn, a.btn-pill-dark { display: inline-block; text-decoration: none; }
a.btn:hover, a.btn-pill-dark:hover { color: #fff; }
a.btn-ghost, a.btn-ghost:hover { color: var(--ink); }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { max-width: var(--container); margin: 0 auto; padding: 14px clamp(18px, 4vw, 40px); display: flex; align-items: center; gap: 24px; }
.brand { cursor: pointer; display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-badge { height: 40px; width: auto; display: block; flex-shrink: 0; }
.brand-name { font-family: 'Space Grotesk'; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--brand); }
.brand-sub { font-size: 10px; letter-spacing: 0.22em; color: var(--muted-2); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.nav-link { cursor: pointer; font-family: 'Manrope'; font-weight: 600; font-size: 15px; color: #7a7888; transition: color .15s; background: none; border: none; padding: 0; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.hamburger { border: 1px solid #e2dfd6; background: #fff; cursor: pointer; width: 46px; height: 46px; border-radius: 12px; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; margin-left: auto; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 6px clamp(18px, 4vw, 40px) 20px; flex-direction: column; }
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 16px; color: #3a3a46; padding: 14px 4px; border-bottom: 1px solid #efece4; text-align: left; }
.mobile-apply { margin-top: 16px; }

@media (max-width: 899px) {
  .nav-links, .nav-apply { display: none; }
  .hamburger { display: flex; }
}

/* ---------- generic cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; transition: border-color .15s; }
.card:hover { border-color: var(--line-2); }
.card-quiet { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.pill-tag { color: #fff; font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 999px; }
.chip-num { display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Space Grotesk'; font-weight: 700; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(30px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(30px, 4vw, 50px); }
.badge-note { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; margin-bottom: 24px; }
.badge-note .dot { width: 7px; height: 7px; border-radius: 99px; background: var(--brand); }
.hero h1 { font-size: clamp(38px, 5.5vw, 64px); font-weight: 700; letter-spacing: -0.03em; }
.hero-tagline { font-family: 'Space Grotesk'; font-weight: 700; font-size: 13px; letter-spacing: 0.16em; color: var(--brand); text-transform: uppercase; margin-top: 16px; }
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.6; margin-top: 22px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-media { position: relative; aspect-ratio: 5 / 4; min-height: 300px; }
.hero-media .frame { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-float { position: absolute; bottom: -22px; left: -22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.25); animation: floaty 5s ease-in-out infinite; }
.hero-float .big { font-family: 'Space Grotesk'; font-weight: 700; font-size: 30px; color: var(--coral); }
.hero-float .small { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- 20th anniversary ---------- */
.anniv-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; border-radius: 999px; padding: 6px 16px 6px 6px;
  margin-top: 18px; font-size: 13px; font-weight: 700;
}
.anniv-pill .yrs {
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 15px; line-height: 1;
  background: var(--amber); color: var(--ink);
  border-radius: 999px; padding: 7px 11px;
}
.anniv-pill .txt { letter-spacing: 0.02em; }
.anniv-pill .yr-span {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px;
  color: #cfceff; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.anniv-band {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(22px, 4vw, 44px);
  align-items: center; background: var(--ink); color: #fff;
  border-radius: 28px; padding: clamp(28px, 4vw, 46px);
}
.anniv-mark {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(112px, 13vw, 150px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--brand) 0%, var(--brand-dark) 100%);
  border: 2px solid var(--amber);
}
.anniv-mark .n { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: clamp(40px, 5vw, 58px); line-height: 1; }
.anniv-mark .w { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-top: 6px; }
.anniv-copy .eyebrow { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.14em; color: var(--amber); }
.anniv-copy h2 { font-size: clamp(24px, 3vw, 36px); color: #fff; margin-top: 12px; }
.anniv-copy p { color: #b6b4c4; font-size: 16px; line-height: 1.7; margin-top: 14px; max-width: 720px; }
@media (max-width: 640px) {
  .anniv-band { grid-template-columns: 1fr; justify-items: start; }
  .anniv-pill { flex-wrap: wrap; }
}

/* ---------- stats band ---------- */
.stats-band { background: var(--ink); border-radius: 28px; padding: clamp(30px, 4vw, 52px); color: #fff; }
.stats-band h2 { font-size: clamp(26px, 3vw, 36px); color: #fff; }
.stats-band .lead { color: #b6b4c4; margin-top: 12px; max-width: 560px; font-size: 16px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 36px; }
.stat { border-top: 3px solid; padding-top: 16px; }
.stat .value { font-family: 'Space Grotesk'; font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); }
.stat .label { color: #b6b4c4; font-weight: 600; font-size: 14px; margin-top: 6px; }

/* ---------- section heads ---------- */
.head-block { max-width: 640px; margin-bottom: 40px; }
.head-block h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 12px; }
.section-title { font-size: clamp(26px, 3vw, 38px); margin-bottom: 8px; }
.section-intro { color: var(--muted); max-width: 620px; margin-bottom: 32px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }

/* ---------- why grid ---------- */
.cards-3, .cards-auto { display: grid; gap: 22px; }
.cards-why { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.why-num { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk'; font-weight: 700; font-size: 18px; color: #fff; }
.card h3 { font-size: 20px; margin-top: 20px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 10px; }

/* ---------- programme cards ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.prog-card { cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.prog-card:hover { border-color: var(--line-2); }
.prog-media { height: 150px; position: relative; overflow: hidden; }
.prog-media.tall { height: 160px; }
.prog-media img { width: 100%; height: 100%; object-fit: cover; }
.prog-media .pill-tag { position: absolute; top: 14px; left: 14px; }
.prog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.prog-body h3 { font-size: 20px; }
.prog-body p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 10px; flex: 1; }
.learn-more { font-weight: 700; font-size: 14px; margin-top: 16px; }

/* ---------- testimonial ---------- */
.stories-wrap { background: linear-gradient(135deg, var(--brand-tint), #fff); border: 1px solid #d9d9f1; border-radius: 28px; padding: clamp(30px, 4vw, 56px); }
.stories-wrap h2 { font-size: clamp(26px, 3vw, 38px); margin-top: 12px; margin-bottom: 34px; }
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.story { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.story p { color: #3a3a46; font-size: 15px; line-height: 1.65; flex: 1; }
.story .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar { width: 42px; height: 42px; border-radius: 99px; color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk'; font-weight: 700; font-size: 15px; }
.who .name { font-weight: 700; font-size: 15px; }
.who .role { color: var(--muted-2); font-size: 13px; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.gallery-grid .tile { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #efeee8; }
.gallery-grid .tile img { width: 100%; height: 100%; object-fit: cover; }
.credit-line { color: #a9a798; font-size: 12px; margin-top: 16px; }
.credit-line a { color: #a9a798; text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--purple), var(--coral)); border-radius: 28px; padding: clamp(36px, 5vw, 64px); text-align: center; color: #fff; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 46px); color: #fff; max-width: 640px; margin: 0 auto; }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 17px; margin-top: 16px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 28px; background: #fff; color: var(--ink); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* ---------- about ---------- */
.about-hero h1 { font-size: clamp(34px, 4.6vw, 58px); margin-top: 14px; max-width: 820px; }
.about-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.6; margin-top: 22px; max-width: 720px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 4vw, 50px); align-items: center; }
.ratio-4-3 { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; }
.ratio-4-3 img { width: 100%; height: 100%; object-fit: cover; }
.two-col h2 { font-size: clamp(24px, 2.8vw, 34px); }
.two-col p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 16px; }
.amv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.amv { border-radius: 22px; padding: 32px; }
.amv.dark { background: var(--ink); color: #fff; }
.amv.light { background: #fff; border: 1px solid var(--line); }
.amv .k { font-weight: 700; font-size: 13px; letter-spacing: 0.1em; }
.amv p { font-size: 17px; line-height: 1.55; margin-top: 14px; }
.amv.light p { color: #3a3a46; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
/* scoped to .values-grid: a bare .value also matches the stat numbers in .stats-band */
.values-grid .value { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: #fff; }
.values-grid .value .dot { width: 12px; height: 12px; border-radius: 99px; margin-bottom: 16px; }
.values-grid .value h3 { font-size: 19px; }
.values-grid .value p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 10px; }
.obj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.obj { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.obj .n { flex: none; width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
.obj h3 { font-size: 17px; }
.obj p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 8px; }

/* ---------- partners & clients ---------- */
.partners-band { background: #f7f5ef; border-top: 1px solid var(--line); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.partner .logo-box { width: 100%; height: 84px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.partner .logo-box img { max-width: 90%; max-height: 80%; object-fit: contain; }
.partner .logo-box.empty { background: repeating-linear-gradient(45deg, #efeee8 0 12px, #e6e4dc 12px 24px); }
/* logos supplied on a solid black background: match the tile so they sit flush */
.partner .logo-box.dark { background: #000; }
.partner .logo-box.dark img { max-width: 100%; max-height: 100%; }
.partner .name { font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.35; }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.client { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.client .n { flex: none; width: 32px; height: 32px; border-radius: 9px; font-size: 14px; }
.client .name { font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.35; }
.client .loc { color: var(--muted-2); font-size: 13px; margin-top: 3px; }

/* ---------- team ---------- */
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin-top: 14px; max-width: 760px; }
.page-hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.6; margin-top: 20px; max-width: 720px; }
.team-list { display: flex; flex-direction: column; gap: clamp(22px, 3vw, 32px); }
.team-member { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(24px, 3vw, 40px); padding: clamp(24px, 3vw, 36px); align-items: start; }
.team-photo-wrap { max-width: 340px; }
.team-photo { aspect-ratio: 4 / 5; border-radius: 18px; position: relative; overflow: hidden; background: #efeee8; }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-photo .badge { position: absolute; bottom: 12px; left: 12px; width: 44px; height: 44px; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk'; font-weight: 700; font-size: 16px; }
.team-info { grid-column: span 2; min-width: 0; }
.team-info h2 { font-size: clamp(22px, 2.6vw, 30px); }
.role-pill { display: inline-block; color: #fff; font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 999px; margin-top: 12px; }
.team-bio { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.team-bio p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ---------- global ecosystem partners ---------- */
.partners-title { font-size: clamp(26px, 3.2vw, 38px); margin-top: 10px; }
.partners-lead { color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; margin-top: 14px; max-width: 620px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: clamp(16px, 2vw, 26px); margin-top: clamp(26px, 3vw, 38px); }
.partner-card { display: flex; flex-direction: column; }
.partner-photo { aspect-ratio: 1 / 1; border-radius: 18px; position: relative; overflow: hidden; background: #efeee8; display: flex; align-items: center; justify-content: center; }
.partner-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.partner-initials { color: #fff; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: clamp(28px, 3.4vw, 38px); letter-spacing: 0.02em; }
.partner-name { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 15px; line-height: 1.3; margin-top: 12px; }
@media (max-width: 620px) { .team-info { grid-column: span 1; } }

/* ---------- programme detail ---------- */
.detail-hero { color: #fff; }
.detail-hero .back { cursor: pointer; font-weight: 700; font-size: 14px; color: rgba(255, 255, 255, 0.85); background: none; border: none; padding: 0; }
.detail-hero .back:hover { color: #fff; }
.detail-hero .tag { display: inline-flex; background: rgba(255, 255, 255, 0.2); color: #fff; font-weight: 700; font-size: 12px; padding: 6px 14px; border-radius: 999px; margin-top: 24px; }
.detail-hero h1 { font-size: clamp(34px, 4.8vw, 58px); color: #fff; margin-top: 16px; max-width: 820px; }
.detail-hero p { font-size: clamp(16px, 1.7vw, 20px); color: rgba(255, 255, 255, 0.92); line-height: 1.6; margin-top: 18px; max-width: 720px; }
.detail-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(30px, 4vw, 56px); }
.detail-body h2 { font-size: clamp(24px, 2.8vw, 34px); }
.detail-body > div > p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-top: 16px; }
.detail-body h3 { font-size: 20px; margin-top: 36px; margin-bottom: 16px; }
.skills { display: flex; flex-wrap: wrap; gap: 10px; }
.skill { background: #fff; border: 1px solid #e2dfd6; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: #3a3a46; }
.gains { display: flex; flex-direction: column; gap: 12px; }
.gain { display: flex; gap: 12px; align-items: flex-start; }
.gain .check { flex: none; width: 22px; height: 22px; border-radius: 99px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 2px; }
.gain span.txt { color: #3a3a46; font-size: 15px; line-height: 1.55; }
.detail-aside { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; position: sticky; top: 96px; }
.detail-aside .thumb { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; margin-bottom: 22px; background: #efeee8; }
.detail-aside .thumb img { width: 100%; height: 100%; object-fit: cover; }
.spec { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f0eee6; }
.spec:last-of-type { border-bottom: none; }
.spec .k { color: var(--muted-2); font-size: 14px; }
.spec .v { font-weight: 700; font-size: 14px; }
.detail-aside .btn { width: 100%; color: #fff; padding: 15px; border-radius: 12px; margin-top: 20px; }
.other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.other { cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: border-color .15s; }
.other:hover { border-color: var(--line-2); }
.other h4 { font-size: 17px; margin-top: 14px; font-family: 'Space Grotesk'; }

/* ---------- get involved ---------- */
.learner-note { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--brand-tint); border: 1px solid #d1d1ee; border-radius: 18px; padding: 20px 24px; }
.learner-note strong { display: block; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 17px; }
.learner-note span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 4px; }
.involve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.involve { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; }
.involve .mark { width: 48px; height: 48px; border-radius: 14px; color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk'; font-weight: 700; font-size: 20px; }
.involve h3 { font-size: 22px; margin-top: 22px; }
.involve p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 12px; flex: 1; }
/* rendered as <a> or <button> depending on whether the card routes or scrolls */
.involve .cta { align-self: flex-start; font-weight: 700; font-size: 15px; margin-top: 20px; background: none; border: none; padding: 0; cursor: pointer; font-family: 'Manrope', system-ui, sans-serif; text-align: left; text-decoration: none; }
.involve .cta:hover { text-decoration: underline; }
.volunteer-band { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; align-items: center; }
.volunteer-band h2 { font-size: clamp(24px, 3vw, 36px); color: #fff; }
.volunteer-band p { color: #b6b4c4; margin-top: 14px; font-size: 16px; line-height: 1.6; }
.form-dark { display: flex; flex-direction: column; gap: 12px; }
.form-dark input { background: #26262f; border: 1px solid #35353f; border-radius: 12px; padding: 14px 16px; color: #fff; font-family: 'Manrope'; font-size: 15px; }
.form-dark input::placeholder { color: #9a98a8; }
.form-dark button { border: none; cursor: pointer; background: var(--teal); color: #fff; font-weight: 700; font-size: 15px; padding: 15px; border-radius: 12px; }
.form-dark button:disabled { opacity: .65; cursor: wait; }

/* inline result message for the volunteer / contact forms */
.form-status { font-size: 14px; font-weight: 600; line-height: 1.5; margin: 0; }
.form-status:empty { display: none; }
.form-status.sending { color: var(--muted); }
.form-status.ok { color: #0f7a58; }
.form-status.bad { color: #c0392b; }
.form-dark .form-status.sending { color: #b6b4c4; }
.form-dark .form-status.ok { color: #4ade80; }
.form-dark .form-status.bad { color: #fca5a5; }

/* ---------- careers ---------- */
.jobs { display: flex; flex-direction: column; gap: 16px; }
.job { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: center; }
.job .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.job .meta .loc { color: var(--muted-2); font-size: 13px; font-weight: 600; }
.job h3 { font-size: 20px; }
.job p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 10px; }
.job .apply { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.job .pay { font-family: 'Space Grotesk'; font-weight: 700; font-size: 16px; }
.job .type { color: var(--muted-2); font-size: 13px; }
.job .apply .btn-pill-dark:hover { background: var(--pink); }
.careers-cta { background: linear-gradient(135deg, #fdeef6, #fff); border: 1px solid #f5dcea; border-radius: 24px; padding: clamp(30px, 4vw, 48px); text-align: center; }
.careers-cta h2 { font-size: clamp(24px, 3vw, 36px); }
.careers-cta p { color: var(--muted); margin-top: 14px; max-width: 520px; margin-left: auto; margin-right: auto; font-size: 16px; }
.careers-cta .btn { margin-top: 24px; background: var(--pink); color: #fff; }
.careers-cta .btn:hover { background: #d62d81; }

/* ---------- contact ---------- */
.contact-hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin-top: 14px; max-width: 640px; }
.contact-hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.6; margin-top: 20px; max-width: 600px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 50px); margin-top: 44px; }
.contact-cards { display: flex; flex-direction: column; gap: 22px; }
.contact-card .k { font-weight: 700; color: var(--blue); font-size: 13px; letter-spacing: 0.08em; }
.contact-card p { font-size: 17px; line-height: 1.55; margin-top: 12px; color: #3a3a46; }
.contact-card .phones { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.contact-card .phones span, .contact-card .phones a { font-family: 'Space Grotesk'; font-weight: 600; font-size: 18px; }
.contact-card .phones a { color: var(--ink); word-break: break-all; }
.contact-card .phones a:hover { color: var(--brand); }
.form-light { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.form-light h3 { font-size: 22px; margin-bottom: 4px; }
.form-light input, .form-light textarea { border: 1px solid #e2dfd6; border-radius: 12px; padding: 14px 16px; font-family: 'Manrope'; font-size: 15px; background: var(--paper); }
.form-light textarea { resize: vertical; }
.form-light button { border: none; cursor: pointer; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; padding: 15px; border-radius: 12px; }
.form-light button:hover { background: var(--brand-dark); }
.form-light button:disabled { opacity: .65; cursor: wait; }

/* ---------- application form (#/apply) ---------- */
.apply-hero { padding-top: clamp(40px, 5vw, 70px); padding-bottom: clamp(18px, 2.5vw, 30px); }
.apply-wrap { max-width: 900px; }

.notice { border-radius: 14px; padding: 16px 18px; font-size: 14.5px; line-height: 1.6; margin-bottom: 24px; }
.notice.err-summary { background: #fdeceb; border: 1px solid #f5c9c4; color: #8c2c22; margin: 22px 0 0; }

/* stepper */
.stepper { display: flex; list-style: none; margin: 0 0 18px; padding: 0; gap: 6px; }
.sstep { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.sstep .bub { width: 32px; height: 32px; border-radius: 99px; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk'; font-weight: 700; font-size: 14px; background: #fff; border: 1px solid var(--line-2); color: var(--muted-2); transition: background .2s, color .2s, border-color .2s; }
.sstep .nm { font-size: 12px; font-weight: 600; color: var(--muted-2); }
/* completed steps swap the number for a tick */
.sstep.done .bub { background: var(--teal); border-color: var(--teal); color: #fff; font-size: 0; }
.sstep.done .bub::after { content: '✓'; font-size: 15px; }
.sstep.now .bub { background: var(--purple); border-color: var(--purple); color: #fff; }
.sstep.now .nm { color: var(--ink); }

.progress { height: 6px; border-radius: 99px; background: #eceade; overflow: hidden; }
.progress .bar { height: 100%; width: 16.6%; border-radius: 99px; background: linear-gradient(90deg, var(--purple), var(--coral)); transition: width .3s ease; }
.progress-note { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 10px; }

/* form shell */
.apply-form { margin-top: 26px; }
.fstep { display: none; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 34px); }
.fstep.active { display: block; }
.fstep-title { font-size: clamp(21px, 2.4vw, 27px); }
.fstep-intro { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 10px; }

.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.fld { display: flex; flex-direction: column; min-width: 0; }
.fld.wide { grid-column: 1 / -1; }
.fld label, .fld .grp-label { font-weight: 700; font-size: 14px; margin-bottom: 8px; display: block; }
.fld .req { color: var(--coral); margin-left: 4px; }
.fld .opt { color: var(--muted-2); font-weight: 500; font-size: 12.5px; margin-left: 6px; }
.fld .hint { color: var(--muted-2); font-size: 12.5px; line-height: 1.5; margin-bottom: 8px; }
.fld input[type="text"], .fld input[type="email"], .fld input[type="tel"], .fld input[type="url"],
.fld input[type="date"], .fld select, .fld textarea {
  width: 100%; border: 1px solid #e2dfd6; border-radius: 12px; padding: 13px 15px;
  font-family: 'Manrope', system-ui, sans-serif; font-size: 15px; color: var(--ink);
  background: var(--paper); transition: border-color .15s, box-shadow .15s;
}
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8a8878 50%), linear-gradient(135deg, #8a8878 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.fld select:disabled { color: var(--muted-2); background-color: #f4f2ec; cursor: not-allowed; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(5, 4, 170, .14); }
.fld .err { color: #c0392b; font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.fld.invalid input, .fld.invalid select, .fld.invalid textarea { border-color: #e07a70; background: #fdf7f6; }
.fld.invalid .choice, .fld.invalid .checkline { border-color: #e07a70; }

/* radio cards */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.choice { display: flex; align-items: flex-start; gap: 11px; border: 1px solid #e2dfd6; border-radius: 14px; padding: 14px 16px; cursor: pointer; background: var(--paper); transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--line-2); background: #fff; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice .mark { flex: none; width: 19px; height: 19px; border-radius: 99px; border: 2px solid #cfcbbe; margin-top: 2px; transition: border-color .15s, box-shadow .15s; }
.choice input:checked ~ .mark { border-color: var(--purple); box-shadow: inset 0 0 0 4px var(--purple); }
.choice input:focus-visible ~ .mark { box-shadow: 0 0 0 3px rgba(5, 4, 170, .25); }
.choice:has(input:checked) { border-color: var(--purple); background: #f2f2fc; }
.choice .ttl { display: block; font-weight: 700; font-size: 14.5px; }
.choice .sub { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 4px; }

/* checkbox rows */
.checkline { display: flex; align-items: flex-start; gap: 11px; border: 1px solid #e2dfd6; border-radius: 14px; padding: 14px 16px; cursor: pointer; background: var(--paper); transition: border-color .15s, background .15s; }
.checkline:hover { border-color: var(--line-2); background: #fff; }
.checkline input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkline .box { flex: none; width: 19px; height: 19px; border-radius: 6px; border: 2px solid #cfcbbe; margin-top: 1px; display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; }
.checkline input:checked ~ .box { background: var(--purple); border-color: var(--purple); }
.checkline input:checked ~ .box::after { content: '✓'; color: #fff; font-size: 12px; font-weight: 700; }
.checkline input:focus-visible ~ .box { box-shadow: 0 0 0 3px rgba(5, 4, 170, .25); }
.checkline .txt { font-size: 14.5px; line-height: 1.55; color: #3a3a46; }

/* passport photo */
.photo-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.photo-preview { flex: none; width: 108px; height: 132px; border-radius: 12px; border: 1px dashed #cfcbbe; background: #f4f2ec; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.photo-preview span { color: var(--muted-2); font-size: 12px; font-weight: 600; padding: 0 8px; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-ctrl { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.photo-ctrl input[type="file"] { position: absolute; opacity: 0; width: 0; height: 0; }
.btn-file { display: inline-block; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: background .15s; margin: 0; }
.btn-file:hover { background: var(--purple); }
.photo-ctrl input:focus-visible + .btn-file { box-shadow: 0 0 0 3px rgba(5, 4, 170, .35); }
.photo-name { font-size: 13px; color: var(--muted-2); word-break: break-all; }

/* review */
.review { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.rgroup { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: var(--paper); }
.rhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.rhead h3 { font-size: 17px; }
.redit { border: 1px solid var(--line-2); background: #fff; color: var(--purple); font-family: 'Manrope', system-ui, sans-serif; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.redit:hover { border-color: var(--purple); }
.rrow { display: grid; grid-template-columns: minmax(150px, 40%) 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid #eeece4; font-size: 14px; }
.rk { color: var(--muted); }
.rv { font-weight: 600; word-break: break-word; }
.rv.empty { color: var(--muted-2); font-weight: 500; font-style: italic; }
.declare { margin-top: 24px; }

/* form nav */
.form-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.form-nav .btn { cursor: pointer; }
.form-nav .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-clear { margin-left: auto; background: none; border: none; color: var(--muted-2); font-weight: 600; font-size: 13.5px; text-decoration: underline; cursor: pointer; padding: 8px 4px; }
.btn-clear:hover { color: var(--coral); }

/* success */
.apply-success { max-width: 640px; text-align: center; padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(60px, 8vw, 100px); }
.apply-success .tick { width: 68px; height: 68px; border-radius: 99px; background: var(--teal); color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; }
.apply-success h1 { font-size: clamp(30px, 4vw, 44px); }
.apply-success .lead { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 16px; }
.refbox { display: inline-flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 30px; margin-top: 28px; }
.refbox .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted-2); }
.refbox .v { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 19px; color: var(--purple); }
.next-steps { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 30px); margin-top: 34px; }
.next-steps h2 { font-size: 19px; margin-bottom: 14px; }
.next-steps ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.next-steps li + li { margin-top: 8px; }
.apply-success .hero-actions { justify-content: center; margin-top: 32px; }

@media (max-width: 640px) {
  .stepper .nm { display: none; }
  .sstep { flex: 1; }
  .rrow { grid-template-columns: 1fr; gap: 2px; }
  .btn-clear { margin-left: 0; }
  .form-nav .btn { flex: 1 1 auto; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; margin-top: auto; }
.footer-grid { max-width: var(--container); margin: 0 auto; padding: clamp(40px, 5vw, 64px) clamp(18px, 4vw, 40px); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.footer-brand { max-width: 300px; }
.footer-brand .row { display: flex; align-items: center; gap: 10px; }
.footer-brand .fbadge { height: 38px; width: auto; display: block; flex-shrink: 0; }
.footer-brand .fname { font-family: 'Space Grotesk'; font-weight: 700; font-size: 16px; }
.footer-caption { color: #c9c7d6; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; margin-top: 10px; }
.footer-brand > p { color: #9d9bab; font-size: 14px; line-height: 1.6; margin-top: 14px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: #2c2c36; color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .15s, color .15s; }
.socials a svg { width: 18px; height: 18px; display: block; }
.socials a:hover { background: var(--purple); color: #fff; }
.footer-col .title { font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.footer-col .links { display: flex; flex-direction: column; gap: 10px; }
.footer-col .links span, .footer-col .links a { cursor: pointer; color: #9d9bab; font-size: 14px; }
.footer-col .links span:hover, .footer-col .links a:hover { color: #fff; }
.footer-col .links .accent { color: var(--purple); font-weight: 700; }
.footer-col .links .accent:hover { color: #a58fff; }
.footer-bottom { border-top: 1px solid #2c2c36; }
.footer-bottom .inner { max-width: var(--container); margin: 0 auto; padding: 22px clamp(18px, 4vw, 40px); color: #77758a; font-size: 13px; }

/* anniversary line in the footer brand column */
.footer-anniv {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--amber);
  letter-spacing: 0.02em;
}
.footer-anniv .yrs {
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 13px; line-height: 1;
  background: var(--amber); color: var(--ink); border-radius: 999px; padding: 5px 9px;
}
