/* Styles for the parts of the site rebuilt in React.
   - .prfx-*: the site header (app/_site/SiteHeader.tsx), on every page.
   - .prfh:   the rebuilt pages (app/_pages). Scoped so the WordPress theme's
              styles and these never reach into each other. */

/* Base for rebuilt pages, which load no theme stylesheet. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.prf-page { margin: 0; background: #fff; font-family: var(--prf-font-body), system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =====================================================================
   Site header
   ===================================================================== */
.prfx-header {
  --g900: #0f2f2b;
  --g800: #173f3a;
  --g600: #30665f;
  --g100: #e3efec;
  --gold: #e9b44c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  display: contents;
  font-family: var(--prf-font-body), 'Inter', system-ui, sans-serif;
}
.prfx-header *, .prfx-header *::before, .prfx-header *::after { box-sizing: border-box; }
.prfx-header a { text-decoration: none; }
.prfx-header button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
.prfx-header svg { display: block; }
.prfx-wrap { width: min(1280px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; }

/* contact bar */
.prfx-top { background: linear-gradient(90deg, var(--g900), var(--g800) 60%, #1f4f48); color: rgba(255, 255, 255, 0.9); font-size: 14.5px; line-height: 1; -webkit-font-smoothing: antialiased; }
.prfx-top .prfx-wrap { justify-content: space-between; min-height: 44px; gap: 20px; }
.prfx-legal, .prfx-hours { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.prfx-legal { font-weight: 500; color: rgba(255, 255, 255, 0.82); }
.prfx-legal svg, .prfx-hours svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
.prfx-hours { padding-right: 18px; border-right: 1px solid rgba(255, 255, 255, 0.2); }
.prfx-contact { display: inline-flex; align-items: center; }
.prfx-contact > a { color: rgba(255, 255, 255, 0.9); font-weight: 500; padding: 0 18px; border-right: 1px solid rgba(255, 255, 255, 0.2); transition: color 0.25s; }
.prfx-contact > a:hover { color: var(--gold); }
.prfx-social { display: inline-flex; gap: 6px; padding-left: 18px; }
.prfx-social a { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #fff; transition: background 0.3s, transform 0.3s var(--ease), color 0.3s; }
.prfx-social a:hover { background: var(--gold); color: var(--g900); transform: translateY(-2px); }
.prfx-social svg { width: 16px; height: 16px; }

/* main bar: a floating rounded island. It rides over the top of the page
   and stays in view, becoming compact once the page is scrolled. */
/* Fixed height: the island shrinks inside it, so the page never reflows. */
.prfx-bar { position: sticky; top: 0; z-index: 1000; height: 124px; padding-top: 14px; pointer-events: none; transition: transform 0.55s var(--ease), padding 0.4s var(--ease); }
.prfx-bar .prfx-wrap { pointer-events: auto; min-height: 96px; gap: 24px; padding: 0 20px 0 22px; border-radius: 26px; background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(48, 102, 95, 0.12); box-shadow: 0 18px 44px -24px rgba(15, 47, 43, 0.4); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); transition: min-height 0.4s var(--ease), box-shadow 0.4s, background 0.4s, border-radius 0.4s var(--ease); }
.prfx-header.is-scrolled .prfx-bar { padding-top: 10px; }
.prfx-header.is-scrolled .prfx-bar .prfx-wrap { min-height: 72px; border-radius: 22px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 22px 50px -22px rgba(15, 47, 43, 0.5); }
.prfx-brand { display: flex; align-items: center; gap: 18px; margin-right: auto; min-width: 0; }
/* The emblem is shown large and bare; the bar is only slightly taller than it. */
.prfx-emblem { width: 86px; height: 86px; flex: none; margin: -4px 0; transition: width 0.4s var(--ease), height 0.4s var(--ease), transform 0.7s var(--ease); }
.prfx-brand:hover .prfx-emblem { transform: rotate(-10deg) scale(1.04); }
.prfx-brand-text { display: flex; flex-direction: column; min-width: 0; }
.prfx-brand b { font: 800 24px/1.1 var(--prf-font-head), 'Inter', sans-serif; letter-spacing: 0.012em; text-transform: uppercase; color: var(--g900); white-space: nowrap; -webkit-font-smoothing: antialiased; transition: font-size 0.4s var(--ease); }
.prfx-brand b em { font-style: normal; color: var(--g600); }
.prfx-brand i { margin-top: 7px; font: normal 500 13.5px/1.2 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.01em; color: #4d6360; white-space: nowrap; max-height: 18px; overflow: hidden; transition: max-height 0.4s var(--ease), opacity 0.3s, margin 0.4s var(--ease); -webkit-font-smoothing: antialiased; }
.prfx-header.is-scrolled .prfx-emblem { width: 62px; height: 62px; }
.prfx-header.is-scrolled .prfx-brand b { font-size: 22px; }
.prfx-header.is-scrolled .prfx-brand i { max-height: 0; opacity: 0; margin-top: 0; }
/* menu */
.prfx-nav { display: flex; align-items: center; gap: 2px; }
.prfx-link, .prfx-item > button { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 12px 14px; border-radius: 12px; font: 600 16px/1 var(--prf-font-body), 'Inter', sans-serif; color: var(--g900); -webkit-font-smoothing: antialiased; transition: color 0.25s, background 0.25s; }
.prfx-link::after, .prfx-item > button::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--g600), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.prfx-link:hover, .prfx-item:hover > button, .prfx-item.is-open > button, .prfx-item:focus-within > button { color: var(--g600); background: rgba(48, 102, 95, 0.07); }
.prfx-link:hover::after, .prfx-item:hover > button::after, .prfx-item.is-open > button::after, .prfx-link.is-current::after, .prfx-item.is-current > button::after { transform: scaleX(1); }
.prfx-link.is-current, .prfx-item.is-current > button { color: var(--g600); }
.prfx-chevron { width: 12px; height: 12px; transition: transform 0.4s var(--ease); }
.prfx-item:hover .prfx-chevron, .prfx-item.is-open .prfx-chevron, .prfx-item:focus-within .prfx-chevron, .prfx-acc.is-open .prfx-chevron { transform: rotate(180deg); }
.prfx-item { position: relative; }
.prfx-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 250px;
  padding: 10px;
  margin-top: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(48, 102, 95, 0.12);
  box-shadow: 0 30px 60px -20px rgba(15, 47, 43, 0.35), 0 2px 6px rgba(15, 47, 43, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px) scale(0.97);
  transform-origin: top center;
  transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}
.prfx-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* keeps hover alive across the gap */
.prfx-menu::after { content: ''; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: #fff; border-left: 1px solid rgba(48, 102, 95, 0.12); border-top: 1px solid rgba(48, 102, 95, 0.12); transform: rotate(45deg); border-radius: 3px 0 0 0; }
.prfx-item:hover .prfx-menu, .prfx-item.is-open .prfx-menu, .prfx-item:focus-within .prfx-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.prfx-menu a { position: relative; display: flex; align-items: center; padding: 12px 16px 12px 18px; border-radius: 12px; font: 500 16px/1.25 var(--prf-font-body), 'Inter', sans-serif; color: var(--g900); white-space: nowrap; opacity: 0; transform: translateY(6px); transition: background 0.25s, color 0.25s, padding 0.35s var(--ease), opacity 0.35s, transform 0.45s var(--ease); }
.prfx-item:hover .prfx-menu a, .prfx-item.is-open .prfx-menu a, .prfx-item:focus-within .prfx-menu a { opacity: 1; transform: none; }
.prfx-menu a:nth-child(2) { transition-delay: 0s, 0s, 0s, 0.05s, 0.05s; }
.prfx-menu a:nth-child(3) { transition-delay: 0s, 0s, 0s, 0.1s, 0.1s; }
.prfx-menu a:nth-child(4) { transition-delay: 0s, 0s, 0s, 0.15s, 0.15s; }
.prfx-menu a::before { content: ''; position: absolute; left: 6px; top: 50%; width: 3px; height: 0; border-radius: 3px; background: linear-gradient(180deg, var(--g600), var(--gold)); transform: translateY(-50%); transition: height 0.35s var(--ease); }
.prfx-menu a:hover, .prfx-menu a[aria-current] { background: var(--g100); color: var(--g600); padding-left: 24px; }
.prfx-menu a:hover::before, .prfx-menu a[aria-current]::before { height: 20px; }
.prfx-menu a[aria-current] { font-weight: 600; }

/* donate */
.prfx-donate { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff !important; font: 600 16px/1 var(--prf-font-body), 'Inter', sans-serif; box-shadow: 0 14px 28px -12px rgba(36, 82, 76, 0.7); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); flex: none; }
.prfx-donate:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -12px rgba(36, 82, 76, 0.8); }
.prfx-donate svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.prfx-donate:hover svg { transform: translate(2px, -2px); }

/* mobile */
.prfx-burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--g100) !important; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex: none; }
.prfx-burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--g800); transition: width 0.3s var(--ease); }
.prfx-burger span:nth-child(2) { width: 14px; align-self: center; margin-left: -6px; }
.prfx-burger:hover span:nth-child(2) { width: 20px; margin-left: 0; }
.prfx-overlay { position: fixed; inset: 0; z-index: 1001; background: rgba(15, 47, 43, 0.5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.prfx-overlay.is-open { opacity: 1; visibility: visible; }
.prfx-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1002; width: min(360px, 88vw); display: flex; flex-direction: column; background: #fff; box-shadow: -30px 0 60px -20px rgba(15, 47, 43, 0.4); transform: translateX(105%); visibility: hidden; transition: transform 0.5s var(--ease), visibility 0.5s; overflow-y: auto; }
.prfx-drawer.is-open { transform: none; visibility: visible; }
.prfx-drawer-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid rgba(48, 102, 95, 0.12); }
.prfx-drawer-head .prfx-emblem { width: 52px; height: 52px; margin: 0; }
.prfx-drawer-head b { flex: 1; font: 700 14px/1.2 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.03em; text-transform: uppercase; color: var(--g900); }
.prfx-drawer-head button { width: 40px; height: 40px; border-radius: 12px; background: var(--g100) !important; display: grid; place-items: center; color: var(--g800); }
.prfx-drawer-head button svg { width: 18px; height: 18px; }
.prfx-drawer nav { padding: 12px 14px; flex: 1; }
.prfx-acc > button, .prfx-acc-link { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 15px 12px; border-radius: 12px; font: 600 16.5px/1.2 var(--prf-font-body), 'Inter', sans-serif; color: var(--g900) !important; text-align: left; }
.prfx-acc.is-open > button, .prfx-acc-link[aria-current] { color: var(--g600) !important; background: var(--g100) !important; }
.prfx-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.prfx-acc.is-open .prfx-acc-panel { grid-template-rows: 1fr; }
.prfx-acc-panel > div { overflow: hidden; display: flex; flex-direction: column; margin-left: 18px; border-left: 2px solid var(--g100); }
.prfx-acc-panel a { padding: 12px 16px; font: 500 15.5px/1.25 var(--prf-font-body), 'Inter', sans-serif; color: #33504b; border-radius: 0 10px 10px 0; }
.prfx-acc-panel a[aria-current], .prfx-acc-panel a:hover { color: var(--g600); background: rgba(48, 102, 95, 0.06); font-weight: 600; }
.prfx-drawer-foot { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-top: 1px solid rgba(48, 102, 95, 0.12); background: #f3f8f6; font-size: 14.5px; color: #4d6662; }
.prfx-drawer-foot .prfx-donate { justify-content: center; }
.prfx-drawer-foot a:not(.prfx-donate) { color: var(--g800); font-weight: 600; }
html.prfx-locked, html.prfx-locked body { overflow: hidden; }

@media (max-width: 1280px) {
  .prfx-brand { gap: 14px; }
  .prfx-brand b { font-size: 21px; }
  .prfx-brand i { font-size: 12.5px; }
  .prfx-emblem { width: 76px; height: 76px; }
  .prfx-link, .prfx-item > button { padding: 12px 10px; font-size: 15.5px; }
  .prfx-bar .prfx-wrap { gap: 14px; }
  .prfx-hours { display: none; }
}
@media (max-width: 1160px) {
  .prfx-nav, .prfx-bar .prfx-donate { display: none; }
  .prfx-burger { display: flex; }
  .prfx-bar .prfx-wrap { min-height: 88px; }
  .prfx-bar { height: 116px; }
  .prfx-header + .prfh { --bar: 116px; }
  .prfx-brand b { font-size: 23px; }
  .prfx-emblem { width: 80px; height: 80px; }
}
@media (max-width: 760px) {
  .prfx-top { font-size: 12px; }
  .prfx-top .prfx-wrap { justify-content: center; min-height: 34px; }
  .prfx-contact { display: none; }
  .prfx-legal { white-space: normal; text-align: center; }
  .prfx-emblem, .prfx-header.is-scrolled .prfx-emblem { width: 62px; height: 62px; margin: 0; }
  .prfx-brand { gap: 12px; }
  .prfx-brand b, .prfx-header.is-scrolled .prfx-brand b { font-size: 19px; }
  .prfx-brand i { font-size: 11.5px; margin-top: 5px; }
  .prfx-bar { height: 92px; padding-top: 10px; }
  .prfx-bar .prfx-wrap { min-height: 72px; padding: 0 12px 0 14px; border-radius: 20px; }
  .prfx-wrap { width: min(1280px, 100% - 24px); }
}
@media (max-width: 560px) {
  .prfx-brand b, .prfx-header.is-scrolled .prfx-brand b { font-size: 18px; line-height: 1.14; white-space: normal; }
  .prfx-brand b em { display: block; }
  .prfx-brand i { display: none; }
  .prfx-brand-light i { display: block; white-space: normal; max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .prfx-header *, .prfx-header *::before, .prfx-header *::after { transition-duration: 0.01ms !important; }
}

/* =====================================================================
   Site footer
   ===================================================================== */
.prfx-footer {
  --g900: #0f2f2b;
  --g800: #173f3a;
  --g600: #30665f;
  --gold: #e9b44c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, #0c2825 0%, var(--g900) 45%, #1b4741 100%);
  color: rgba(255, 255, 255, 0.78);
  font: 400 16px/1.7 var(--prf-font-body), 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.prfx-footer::before { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--g600), var(--gold), var(--g600)); }
.prfx-footer::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.prfx-footer *, .prfx-footer *::before, .prfx-footer *::after { box-sizing: border-box; }
.prfx-footer a { text-decoration: none; }
.prfx-footer svg { display: block; }
.prfx-footer-glow { position: absolute; z-index: -1; width: 520px; height: 520px; left: -180px; bottom: -300px; border-radius: 50%; background: rgba(233, 180, 76, 0.16); filter: blur(90px); }
.prfx-footer-mark { position: absolute; z-index: -1; right: -90px; bottom: -120px; width: 440px; height: auto; transform: rotate(-12deg); opacity: 0.05; filter: brightness(0) invert(1); pointer-events: none; }
.prfx-fwrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.prfx-fmain { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.3fr); gap: 56px; padding: 64px 0 56px; }
.prfx-fabout p { margin: 0; max-width: 400px; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.74); text-align: left; }
/* The logo sits on a light band so the emblem keeps its own colours. */
.prfx-fbrand { position: relative; background: linear-gradient(120deg, #fff 0%, #f1f7f5 55%, #e3efec 100%); border-bottom: 1px solid rgba(48, 102, 95, 0.14); }
.prfx-fbrand .prfx-fwrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 30px 0; }
.prfx-fbrand .prfx-brand { margin: 0; }
.prfx-fbrand .prfx-emblem { width: 92px; height: 92px; margin: 0; }
.prfx-fbrand .prfx-brand b { font-size: 26px; }
.prfx-fbrand .prfx-brand i { font-size: 14.5px; max-height: none; }
.prfx-ffollow { display: flex; align-items: center; gap: 16px; font: 600 14px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g600); }
.prfx-footer .prfx-social { padding: 0; gap: 10px; }
.prfx-footer .prfx-social a { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; box-shadow: 0 10px 20px -10px rgba(36, 82, 76, 0.7); }
.prfx-footer .prfx-social a:hover { background: var(--gold); color: var(--g900); }
.prfx-footer .prfx-social svg { width: 19px; height: 19px; }
.prfx-fcol h3 { position: relative; margin: 6px 0 26px; padding-bottom: 14px; font: 700 19px/1.2 var(--prf-font-head), 'Inter', sans-serif; letter-spacing: -0.01em; color: #fff; }
.prfx-fcol h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), #6fa39b); }
.prfx-fcol ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.prfx-fcol li { margin: 0; padding: 0; }
.prfx-fcol li::before { display: none; }
.prfx-fcol li a { position: relative; color: rgba(255, 255, 255, 0.78); transition: color 0.25s, padding 0.35s var(--ease); }
.prfx-fcol:not(.prfx-fcontact) li a::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 2px; border-radius: 2px; background: var(--gold); transition: width 0.35s var(--ease); }
.prfx-fcol:not(.prfx-fcontact) li a:hover { color: #fff; padding-left: 20px; }
.prfx-fcol:not(.prfx-fcontact) li a:hover::before { width: 12px; }
.prfx-fcontact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.prfx-fcontact svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--gold); }
.prfx-fcontact a:hover { color: #fff; }
.prfx-fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.prfx-fbottom a { color: #fff; font-weight: 600; }
@media (max-width: 1000px) {
  .prfx-fmain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 40px; padding: 64px 0 48px; }
  .prfx-fabout, .prfx-fcontact { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .prfx-fbottom { flex-direction: column; text-align: center; align-items: center; }
  .prfx-fbrand .prfx-fwrap { justify-content: center; text-align: left; }
  .prfx-fbrand .prfx-emblem { width: 72px; height: 72px; }
  .prfx-fbrand .prfx-brand b { font-size: 20px; white-space: normal; }
  .prfx-fbrand .prfx-brand i { display: block; white-space: normal; font-size: 13px; }
  .prfx-ffollow > span { display: none; }
}

/* =====================================================================
   Rebuilt pages
   ===================================================================== */

.prfh {
  --g900: #0f2f2b;
  --g800: #173f3a;
  --g700: #24524c;
  --g600: #30665f;
  --g400: #6fa39b;
  --g100: #e3efec;
  --g50: #f3f8f6;
  --gold: #e9b44c;
  --ink: #12211f;
  --muted: #55706b;
  --line: rgba(48, 102, 95, 0.14);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(15, 47, 43, 0.04), 0 12px 32px -12px rgba(15, 47, 43, 0.14);
  --shadow-lift: 0 2px 4px rgba(15, 47, 43, 0.05), 0 28px 56px -18px rgba(15, 47, 43, 0.28);
  display: block;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  font-family: var(--prf-font-body), 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  --text: #33484a;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.prfh *,
.prfh *::before,
.prfh *::after { box-sizing: border-box; }
.prfh h1, .prfh h2, .prfh h3 {
  margin: 0;
  font-family: var(--prf-font-head), 'Outfit', sans-serif;
  color: var(--g900);
  letter-spacing: -0.025em;
  text-transform: none;
  text-wrap: balance;
}
.prfh h3 { letter-spacing: -0.012em; }
.prfh p { margin: 0; color: var(--text); font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.prfh a { text-decoration: none; color: inherit; }
.prfh img { max-width: 100%; display: block; }
.prfh svg { display: block; }
.prfh-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; position: relative; }
/* The hero's background runs up underneath the floating header. */
.prfx-header + .prfh { --bar: 124px; margin-top: calc(-1 * var(--bar)); }
.prfx-header + .prfh > .prfh-hero:first-of-type { padding-top: calc(var(--bar) + 56px); }
@media (max-width: 760px) { .prfx-header + .prfh { --bar: 92px; } .prfx-header + .prfh > .prfh-hero:first-of-type { padding-top: calc(var(--bar) + 36px); } }
.prfh-center { display: flex; justify-content: center; margin-top: 44px; }

/* The old pages' rules (e.g. body.page-id-140 p { text-align: left !important })
   still load for the shared footer, hence the !important on centred text. */

/* ---------- reveal on scroll ----------
   Where the browser supports scroll-driven animations, sections fade up as
   they enter the viewport with no script involved, so nothing can stay
   hidden while scripts load. Elsewhere, Motion.tsx adds .is-visible. */
@keyframes prfh-reveal { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .prfh [data-reveal] { animation: prfh-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
@supports not (animation-timeline: view()) {
  .prfh-js .prfh [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
  .prfh-js .prfh [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---------- buttons & links ---------- */
.prfh .prfh-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 16px/1 var(--prf-font-body), 'Inter', sans-serif;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.prfh .prfh-btn:hover { transform: translateY(-3px); }
.prfh .prfh-btn:active { transform: translateY(0); }
.prfh .prfh-btn:focus-visible, .prfh a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.prfh .prfh-btn-primary { background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; box-shadow: 0 14px 30px -12px rgba(36, 82, 76, 0.7); }
.prfh .prfh-btn-primary::after {
  /* light sweep on hover */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.prfh .prfh-btn-primary:hover::after { transform: translateX(120%); }
.prfh .prfh-btn-primary:hover { color: #fff; box-shadow: 0 20px 38px -12px rgba(36, 82, 76, 0.8); }
.prfh .prfh-btn-ghost { background: rgba(255, 255, 255, 0.7); color: var(--g800); border-color: rgba(48, 102, 95, 0.35); backdrop-filter: blur(6px); }
.prfh .prfh-btn-ghost:hover { background: #fff; border-color: var(--g600); color: var(--g800); box-shadow: var(--shadow); }
.prfh .prfh-btn-light { background: #fff; color: var(--g800); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.5); }
.prfh .prfh-btn-light:hover { color: var(--g900); }
.prfh .prfh-btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.prfh .prfh-btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.prfh-arrow { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.prfh a:hover > .prfh-arrow, .prfh a:hover .prfh-link .prfh-arrow, .prfh .prfh-link:hover .prfh-arrow { transform: translateX(5px); }
.prfh .prfh-link { display: inline-flex; align-items: center; gap: 8px; font: 600 15.5px/1 var(--prf-font-body), 'Inter', sans-serif; color: var(--g600); }

/* ---------- hero ---------- */
.prfh-hero { position: relative; padding: 84px 0 104px; isolation: isolate; }
.prfh-hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #f1f7f5 0%, #fbfdfc 70%, #fff 100%); overflow: hidden; }
.prfh-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.prfh-blob-a { width: 520px; height: 520px; left: -160px; top: -180px; background: #bfe0d8; animation: prfh-drift 18s ease-in-out infinite alternate; }
.prfh-blob-b { width: 460px; height: 460px; right: -120px; top: 40px; background: #d3ead2; animation: prfh-drift 22s ease-in-out infinite alternate-reverse; }
.prfh-blob-c { width: 300px; height: 300px; left: 42%; bottom: -160px; background: #f6e3b5; opacity: 0.45; animation: prfh-drift 26s ease-in-out infinite alternate; }
.prfh-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(48, 102, 95, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
}
.prfh-hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: center; }
.prfh-hero-copy > * { animation: prfh-rise 0.9s var(--ease) both; }
.prfh-hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.prfh-hero-copy > :nth-child(2) { animation-delay: 0.15s; }
.prfh-hero-copy > :nth-child(3) { animation-delay: 0.27s; }
.prfh-hero-copy > :nth-child(4) { animation-delay: 0.39s; }
.prfh-hero-copy > :nth-child(5) { animation-delay: 0.51s; }
.prfh-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font: 600 13px/1.2 var(--prf-font-body), 'Inter', sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--g700);
}
.prfh-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(233, 180, 76, 0.6); animation: prfh-pulse 2.2s ease-out infinite; }
.prfh .prfh-hero h1 { margin-top: 22px; font-size: clamp(40px, 5.2vw, 66px); line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; color: var(--g900); }
/* This typeface sets its apostrophe wide; pull the neighbours back in. */
.prfh-apos { font-style: normal; margin: 0 -0.07em; }
.prfh .prfh-hero h1 span {
  display: block;
  margin-top: 10px;
  font-size: 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  background: linear-gradient(90deg, var(--g600), #4f9a8c 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prfh .prfh-hero-copy > p { margin-top: 22px; max-width: 540px; font-size: 19px; line-height: 1.7; color: var(--text); }
.prfh-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.prfh .prfh-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.prfh .prfh-ticks li { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 15.5px/1.3 var(--prf-font-body), 'Inter', sans-serif; color: var(--g700); }
.prfh .prfh-ticks li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--g100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%2330665f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9.3 2.6 2.6L13 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* hero visual */
.prfh-orbit { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin-inline: auto; animation: prfh-pop 1.1s var(--ease) 0.2s both; }
.prfh-ring { position: absolute; border-radius: 50%; inset: 0; }
.prfh-ring-1 { border: 1.5px dashed rgba(48, 102, 95, 0.35); animation: prfh-spin 60s linear infinite; }
.prfh-ring-2 { inset: 13%; border: 1px solid rgba(48, 102, 95, 0.16); background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(227, 239, 236, 0.5) 100%); }
.prfh-ring-3 { inset: 26%; border: 1.5px dashed rgba(233, 180, 76, 0.6); animation: prfh-spin 40s linear infinite reverse; }
.prfh-spark { position: absolute; inset: 0; animation: prfh-spin 16s linear infinite; }
.prfh-spark::before { content: ''; position: absolute; top: -5px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px 4px rgba(233, 180, 76, 0.6); }
.prfh-spark-2 { inset: 26%; animation-duration: 11s; animation-direction: reverse; }
.prfh-spark-2::before { width: 8px; height: 8px; background: var(--g600); box-shadow: 0 0 14px 3px rgba(48, 102, 95, 0.45); }
.prfh-core {
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(15, 47, 43, 0.35), 0 0 0 10px rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  animation: prfh-float 7s ease-in-out infinite;
}
.prfh-core img { width: 74%; height: auto; }
.prfh-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: prfh-float 6s ease-in-out infinite;
}
.prfh-chip b { display: block; font: 700 15.5px/1.2 var(--prf-font-head), 'Outfit', sans-serif; color: var(--g900); }
.prfh-chip small { display: block; margin-top: 4px; font: 500 13px/1.2 var(--prf-font-body), 'Inter', sans-serif; color: var(--muted); }
.prfh-chip-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; }
.prfh-chip-icon svg { width: 21px; height: 21px; }
.prfh-chip-1 { top: 5%; left: -7%; animation-delay: -1s; }
.prfh-chip-2 { top: 44%; right: -15%; animation-delay: -3s; }
.prfh-chip-2 .prfh-chip-icon { background: linear-gradient(135deg, #f0c76a, #d99a2b); }
.prfh-chip-3 { bottom: 4%; left: 1%; animation-delay: -5s; }

/* ---------- sections ---------- */
.prfh-section { padding: 96px 0; position: relative; }
.prfh-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.prfh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 13px/1 var(--prf-font-body), 'Inter', sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g600);
}
.prfh-eyebrow::before, .prfh-eyebrow::after { content: ''; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--g400)); }
.prfh-eyebrow::after { transform: scaleX(-1); }
.prfh .prfh-head h2 { margin-top: 16px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.16; font-weight: 800; }
.prfh .prfh-head p { margin-top: 16px; font-size: 18.5px; line-height: 1.65; text-align: center !important; text-align-last: center !important; }
.prfh-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.prfh-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* shared card */
.prfh .prfh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 30px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s, opacity 0.8s var(--ease);
}
.prfh .prfh-card::before {
  /* soft light that follows the cursor (see HomeMotion) */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(111, 163, 155, 0.2), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
}
.prfh .prfh-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--g600), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.prfh-js .prfh .prfh-card.is-visible:hover, .prfh .prfh-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: rgba(48, 102, 95, 0.3); }
.prfh .prfh-card:hover::before { opacity: 1; }
.prfh .prfh-card:hover::after { transform: scaleX(1); }
.prfh .prfh-card h3 { font-size: 22px; line-height: 1.3; font-weight: 700; }
.prfh .prfh-card p { margin-top: 10px; font-size: 16.5px; line-height: 1.65; }
.prfh .prfh-card .prfh-link { margin-top: auto; padding-top: 22px; }
.prfh-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--g100);
  color: var(--g600);
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.prfh-icon svg { width: 27px; height: 27px; }
.prfh .prfh-card:hover .prfh-icon { background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; transform: rotate(-6deg) scale(1.06); }

/* portals */
.prfh-portals { padding-top: 40px; }
.prfh-label { margin: 22px 0 10px; padding: 6px 12px; border-radius: 999px; background: var(--g50); border: 1px solid var(--line); font: 700 12px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g600); }

/* programs */
.prfh-programs { background: linear-gradient(180deg, var(--g50), #fff); }
.prfh-programs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(48, 102, 95, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
  mask-image: linear-gradient(180deg, #000, transparent 60%);
  pointer-events: none;
}
.prfh .prfh-program, .prfh .prfh-req { padding: 30px 30px 26px; background: linear-gradient(180deg, #fff 55%, #f4f9f7); }
.prfh .prfh-program::after { display: none; }
/* dark fill that grows out of the icon on hover */
.prfh-program-fill { position: absolute; inset: 0; z-index: -1; background: linear-gradient(145deg, var(--g800), var(--g600)); clip-path: circle(0 at 58px 58px); transition: clip-path 0.75s var(--ease); }
.prfh .prfh-program:hover .prfh-program-fill { clip-path: circle(150% at 58px 58px); }
.prfh-program-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.prfh .prfh-program .prfh-icon, .prfh .prfh-req .prfh-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; box-shadow: 0 12px 22px -10px rgba(36, 82, 76, 0.7); }
.prfh-step-no { padding: 8px 13px; border-radius: 999px; background: var(--g50); border: 1px solid var(--line); font: 700 13px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.1em; color: var(--g600); transition: background 0.4s, color 0.4s, border-color 0.4s; }
.prfh .prfh-program h3 { margin-top: 24px; min-height: 2.6em; display: flex; align-items: flex-end; font-size: 21.5px; text-wrap: wrap; transition: color 0.4s; }
.prfh .prfh-program p { margin-bottom: 26px; transition: color 0.4s; }
.prfh .prfh-tile-link { margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); font: 600 15.5px/1 var(--prf-font-body), 'Inter', sans-serif; color: var(--g600); transition: color 0.4s, border-color 0.4s; }
.prfh .prfh-tile-link::before { content: ''; position: absolute; inset: 0; } /* whole tile is the link */
.prfh-tile-link span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--g50); border: 1px solid var(--line); transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.prfh .prfh-program:hover h3 { color: #fff; }
.prfh .prfh-program:hover p { color: rgba(255, 255, 255, 0.86); }
.prfh .prfh-program:hover .prfh-tile-link { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.prfh .prfh-program:hover .prfh-tile-link span { background: var(--gold); border-color: var(--gold); color: var(--g900); transform: rotate(-45deg); }
.prfh .prfh-program:hover .prfh-tile-link .prfh-arrow { transform: none; }
.prfh .prfh-program:hover .prfh-icon { background: rgba(255, 255, 255, 0.14); box-shadow: none; transform: none; }
.prfh .prfh-program:hover .prfh-step-no { background: transparent; border-color: rgba(255, 255, 255, 0.3); color: var(--gold); }
.prfh .prfh-program:hover { border-color: transparent; }

.prfh .prfh-story {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s, opacity 0.8s var(--ease);
}
.prfh .prfh-story:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: rgba(48, 102, 95, 0.3); }
.prfh-story-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #10201e; }
.prfh-story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 1s var(--ease); }
.prfh .prfh-story:hover img { transform: scale(1.06); }
.prfh-story-photo::after { content: ''; position: absolute; inset: 42% 0 0; background: linear-gradient(180deg, transparent, rgba(8, 26, 24, 0.5) 50%, rgba(8, 26, 24, 0.92)); }
.prfh-story-badge { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); font: 700 11px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g700); }
.prfh-story-name { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.prfh-story-name b { font: 700 21px/1.2 var(--prf-font-head), 'Outfit', sans-serif; letter-spacing: -0.01em; color: #fff; }
.prfh-story-name > span { font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, 0.86); }
.prfh-story-body { display: flex; flex-direction: column; gap: 18px; padding: 20px 20px 18px; flex: 1; }
.prfh-story-body q { quotes: '\201C' '\201D'; font: 500 15.5px/1.6 var(--prf-font-body), 'Inter', sans-serif; color: var(--g800); }
.prfh-story-body .prfh-tile-row { padding-top: 14px; font-size: 15px; }
.prfh-story-body .prfh-tile-row span { width: 36px; height: 36px; }

/* quick links */
.prfh-quicks { background: var(--g50); }
.prfh .prfh-quick { flex-direction: row; align-items: flex-start; gap: 18px; padding: 28px; }
.prfh-quick-text { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.prfh .prfh-quick h3 { font-size: 20.5px; }

/* call to action */
.prfh-cta-section { padding-top: 96px; padding-bottom: 110px; }
.prfh-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 76px 32px 80px;
  border-radius: 32px;
  text-align: center;
  background: linear-gradient(135deg, var(--g900) 0%, var(--g700) 55%, var(--g600) 100%);
  box-shadow: 0 40px 80px -30px rgba(15, 47, 43, 0.6);
}
.prfh-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
}
.prfh-cta-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); }
.prfh-cta-glow-a { width: 340px; height: 340px; left: -80px; bottom: -160px; background: rgba(233, 180, 76, 0.45); animation: prfh-drift 14s ease-in-out infinite alternate; }
.prfh-cta-glow-b { width: 380px; height: 380px; right: -100px; top: -180px; background: rgba(111, 163, 155, 0.55); animation: prfh-drift 18s ease-in-out infinite alternate-reverse; }
.prfh-cta-flame { width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--gold); animation: prfh-glow 3s ease-in-out infinite; }
.prfh-cta-flame svg { width: 30px; height: 30px; }
.prfh .prfh-cta h2 { color: #fff !important; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.14; font-weight: 800; }
.prfh .prfh-cta p { text-align: center !important; text-align-last: center !important; max-width: 640px; margin: 18px auto 0; font-size: 19px; line-height: 1.7; color: rgba(255, 255, 255, 0.9); }
.prfh-cta .prfh-actions { justify-content: center; margin-top: 34px; }

/* ---------- inner pages ---------- */
.prfh-page-hero { padding: 56px 0 72px; text-align: center; }
.prfh-page-hero .prfh-hero-copy { display: flex; flex-direction: column; align-items: center; }
.prfh-crumbs { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font: 500 15px/1 var(--prf-font-body), 'Inter', sans-serif; color: var(--muted); }
.prfh .prfh-crumbs a { color: var(--g600); font-weight: 600; transition: color 0.25s; }
.prfh .prfh-crumbs a:hover { color: var(--g900); }
.prfh .prfh-page-hero h1 { font-size: clamp(36px, 4.6vw, 58px); }
.prfh .prfh-page-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--g600), #4f9a8c 45%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prfh .prfh-page-hero .prfh-hero-copy > p { max-width: 760px; margin-inline: auto; text-align: center !important; text-align-last: center !important; }
.prfh-notfound { padding-bottom: 140px; }
.prfh-notfound .prfh-actions { margin-top: 34px; }
.prfh-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.prfh-actions-center { justify-content: center; margin-top: 0; }
.prfh-more { padding-bottom: 110px; }
.prfh-eyebrow-left::before { display: none; }

/* text blocks */
.prfh .prfh-prose h2 { margin: 14px 0 18px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; font-weight: 800; }
.prfh .prfh-prose p { font-size: 18px; line-height: 1.8; color: var(--text); }
.prfh .prfh-prose p + p { margin-top: 16px; }
.prfh .prfh-prose strong { color: var(--g800); font-weight: 600; }
.prfh-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }

/* REACH acronym */
.prfh-reach { position: relative; padding: 30px; border-radius: 28px; background: linear-gradient(150deg, var(--g900), var(--g700)); box-shadow: var(--shadow-lift); overflow: hidden; isolation: isolate; }
.prfh-reach::before { content: ''; position: absolute; z-index: -1; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: rgba(233, 180, 76, 0.35); filter: blur(60px); animation: prfh-drift 16s ease-in-out infinite alternate; }
.prfh-reach-row { display: flex; align-items: center; gap: 18px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.prfh-reach-row:last-child { border-bottom: 0; }
.prfh-reach-row b { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); font: 700 22px/1 var(--prf-font-head), 'Outfit', sans-serif; color: var(--gold); transition: transform 0.5s var(--ease), background 0.3s; }
.prfh-reach-row span { font: 600 21px/1.2 var(--prf-font-head), 'Outfit', sans-serif; color: #fff; letter-spacing: 0.01em; }
.prfh-reach-row:hover b { transform: scale(1.1) rotate(-6deg); background: rgba(233, 180, 76, 0.2); }

/* mission band reuses .prfh-cta */
.prfh-mission-section { padding: 0 0 96px; }
.prfh .prfh-mission p { max-width: 820px; font-size: 20px; line-height: 1.8; }
.prfh .prfh-value { align-items: center; text-align: center; }
.prfh .prfh-value h3 { margin-top: 20px; }
.prfh .prfh-value p { text-align: center !important; text-align-last: center !important; }

/* board of directors */
.prfh-faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.prfh .prfh-faces a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font: 600 15px/1 var(--prf-font-body), 'Inter', sans-serif; color: var(--g800); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
.prfh .prfh-faces a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--g400); color: var(--g800); }
.prfh-faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: center top; }
.prfh-board { padding-top: 56px; }
.prfh-director { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; padding: 36px; margin-bottom: 30px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 110px; transition: box-shadow 0.5s var(--ease), border-color 0.4s, opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.prfh-director:hover { box-shadow: var(--shadow-lift); border-color: rgba(48, 102, 95, 0.28); }
.prfh-director:nth-child(even) { grid-template-columns: minmax(0, 1fr) 300px; }
.prfh-director:nth-child(even) .prfh-director-photo { order: 2; }
.prfh-director-photo { position: sticky; top: 110px; aspect-ratio: 1; margin: 0 14px 14px 0; }
.prfh-director-photo::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border-radius: 26px; background: linear-gradient(135deg, var(--g100), #f4ecd6); transition: transform 0.6s var(--ease); }
.prfh-director-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; box-shadow: 0 26px 50px -26px rgba(15, 47, 43, 0.6); transition: transform 0.6s var(--ease); }
.prfh-director:hover .prfh-director-photo img { transform: translate(-4px, -4px); }
.prfh-director:hover .prfh-director-photo::before { transform: translate(4px, 4px); }
.prfh-director:nth-child(even) .prfh-director-photo { margin: 0 0 14px 14px; }
.prfh-director:nth-child(even) .prfh-director-photo::before { inset: 14px 14px -14px -14px; }
.prfh .prfh-director-body h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; font-weight: 800; }
.prfh-roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.prfh-roles span { padding: 7px 14px; border-radius: 999px; background: var(--g50); border: 1px solid var(--line); font: 600 14px/1.2 var(--prf-font-body), 'Inter', sans-serif; color: var(--g600); }
.prfh-roles span:first-child { background: linear-gradient(135deg, var(--g600), var(--g800)); border-color: transparent; color: #fff; }
.prfh .prfh-director-body p { font-size: 17px; line-height: 1.8; color: var(--text); text-align: left !important; }
.prfh .prfh-director-body p + p { margin-top: 14px; }
.prfh .prfh-director-body blockquote { position: relative; margin: 24px 0 0; padding: 22px 24px 22px 28px; border: 0; border-radius: 18px; background: linear-gradient(135deg, #fbf5e6, var(--g50)); font: italic 500 18px/1.7 var(--prf-font-body), 'Inter', sans-serif; color: var(--g800); }
.prfh .prfh-director-body blockquote::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: var(--gold); }
.prfh-advisors { padding-top: 12px; }
.prfh-advisors .prfh-director,
.prfh-advisors .prfh-director:nth-child(even) { grid-template-columns: minmax(0, 1fr); }

/* organizational structure */
.prfh-governance { padding-bottom: 40px; }
.prfh-note { display: flex; gap: 26px; align-items: flex-start; padding: 38px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.prfh-note .prfh-icon { background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; width: 62px; height: 62px; border-radius: 18px; }
.prfh .prfh-note .prfh-prose h2 { margin-top: 0; }
.prfh-chart { display: flex; flex-direction: column; align-items: center; }
.prfh-node { position: relative; width: 100%; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.8s var(--ease); }
.prfh-js .prfh .prfh-node.is-visible:hover, .prfh .prfh-node:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.prfh .prfh-node h3 { margin-top: 16px; font-size: 19.5px; font-weight: 700; }
.prfh .prfh-node p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; text-align: center !important; text-align-last: center !important; }
.prfh-node-top, .prfh-node-mid { max-width: 420px; }
.prfh .prfh-node-top { background: linear-gradient(140deg, var(--g900), var(--g700)); border-color: transparent; }
.prfh .prfh-node-top h3 { color: #fff; font-size: 22px; }
.prfh .prfh-node-top p { color: rgba(255, 255, 255, 0.8); }
.prfh-node-top .prfh-icon { background: rgba(255, 255, 255, 0.12); color: var(--gold); }
.prfh-node-mid { border-color: rgba(48, 102, 95, 0.35); }
.prfh-stem { width: 2px; height: 44px; background: linear-gradient(180deg, var(--g600), var(--gold)); transform-origin: top; }
.prfh-branches { position: relative; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding-top: 34px; }
.prfh-branches::before { content: ''; position: absolute; top: 0; left: calc((100% - 66px) / 8); right: calc((100% - 66px) / 8); height: 2px; background: linear-gradient(90deg, var(--g600), var(--gold), var(--g600)); }
.prfh-branches .prfh-node::before { content: ''; position: absolute; top: -34px; left: 50%; width: 2px; height: 34px; margin-left: -1px; background: var(--g400); }
.prfh .prfh-members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.prfh .prfh-members li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font: 700 17px/1.3 var(--prf-font-head), 'Outfit', sans-serif; color: var(--g900); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.8s var(--ease); }
.prfh .prfh-members li::before { display: none; }
.prfh-js .prfh .prfh-members li.is-visible:hover, .prfh .prfh-members li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.prfh-members b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; font: 600 15px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.04em; }


/* C2C program */
.prfh .prfh-page-hero .prfh-hero-copy > p.prfh-hero-more { max-width: 760px; margin: 16px auto 30px; font-size: 17px; line-height: 1.75; color: var(--muted); text-align: center !important; text-align-last: center !important; }
.prfh .prfh-intro { max-width: 760px; margin: -26px auto 44px; font-size: 18.5px; text-align: center !important; text-align-last: center !important; }
.prfh .prfh-intro strong, .prfh .prfh-req strong, .prfh .prfh-quick strong { color: var(--g800); font-weight: 700; }
.prfh .prfh-req h3 { margin: 22px 0 16px; font-size: 22px; }
.prfh .prfh-req-wide { margin-top: 26px; }
.prfh .prfh-ticklist, .prfh .prfh-ticklist ul, .prfh .prfh-docs, .prfh .prfh-docs ul, .prfh .prfh-tags, .prfh .prfh-steps { margin: 0; padding: 0; list-style: none; }
.prfh .prfh-ticklist li, .prfh .prfh-docs ul li { position: relative; margin: 0; padding-left: 30px; font-size: 16.5px; line-height: 1.65; color: var(--text); }
.prfh .prfh-ticklist > li + li { margin-top: 12px; }
.prfh .prfh-ticklist > li::before, .prfh .prfh-docs ul li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--g100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%2330665f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9.3 2.6 2.6L13 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.prfh .prfh-ticklist ul { margin-top: 8px; }
.prfh .prfh-ticklist ul li { padding-left: 20px; margin-top: 4px; color: var(--muted); }
.prfh .prfh-ticklist ul li::before { content: ''; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prfh .prfh-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.prfh .prfh-tags li { margin: 0; padding: 11px 18px; border-radius: 999px; background: var(--g50); border: 1px solid var(--line); font: 600 15.5px/1.2 var(--prf-font-body), 'Inter', sans-serif; color: var(--g700); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.prfh .prfh-tags li::before { display: none; }
.prfh .prfh-tags li:hover { background: var(--g600); color: #fff; transform: translateY(-3px); }
.prfh .prfh-callout { width: 100%; margin-top: 22px; padding: 18px 22px; border-radius: 16px; border-left: 4px solid var(--gold); background: linear-gradient(135deg, #fbf5e6, var(--g50)); font-size: 16.5px; }
.prfh .prfh-docs { width: 100%; margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prfh .prfh-docs > li { display: flex; gap: 16px; margin: 0; padding: 20px; border-radius: 18px; background: var(--g50); border: 1px solid var(--line); }
.prfh .prfh-docs > li::before { display: none; }
.prfh .prfh-docs > li:nth-child(3) { grid-row: span 2; }
.prfh .prfh-docs > li > b { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: #fff; border: 1px solid var(--line); font: 700 15px/1 var(--prf-font-head), sans-serif; color: var(--g600); }
.prfh .prfh-docs > li > div > strong { display: block; margin: 5px 0 10px; font: 700 17px/1.35 var(--prf-font-head), sans-serif; color: var(--g900); }
.prfh .prfh-docs ul li + li { margin-top: 8px; }
.prfh .prfh-docs ul li { font-size: 16px; }
.prfh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 26px; border-radius: var(--radius); background: linear-gradient(140deg, var(--g900), var(--g700)); box-shadow: var(--shadow-lift); overflow: hidden; }
.prfh-facts > div { padding: 28px 30px; display: flex; flex-direction: column; gap: 8px; }
.prfh-facts > div + div { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.prfh-facts strong { font: 700 13px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.prfh-facts span { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.prfh .prfh-facts a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* selection steps */
.prfh .prfh-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.prfh .prfh-steps::before { content: ''; position: absolute; top: 29px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--g600), var(--gold), var(--g600)); opacity: 0.5; }
.prfh .prfh-steps li { position: relative; margin: 0; padding: 0 6px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.prfh .prfh-steps li::before { display: none; }
.prfh .prfh-steps b { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--g600); box-shadow: 0 0 0 8px var(--g50), var(--shadow); font: 800 18px/1 var(--prf-font-head), sans-serif; color: var(--g600); transition: background 0.4s, color 0.4s, transform 0.5s var(--ease), border-color 0.4s; }
.prfh .prfh-steps li:hover b { background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; transform: scale(1.1); }
.prfh .prfh-steps li:last-child b { border-color: var(--gold); color: #b98318; }
.prfh .prfh-steps h3 { margin-top: 22px; font-size: 18.5px; line-height: 1.3; font-weight: 700; }
.prfh .prfh-steps p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; text-align: center !important; text-align-last: center !important; }
.prfh-after-steps { margin-top: 56px; }
.prfh .prfh-forward-lead { font-size: 21px; font-weight: 500; color: #fff; }
.prfh .prfh-forward blockquote { max-width: 760px; margin: 30px auto 0; padding: 22px 26px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; background: rgba(255, 255, 255, 0.07); font: italic 500 18px/1.7 var(--prf-font-body), 'Inter', sans-serif; color: #fff; }

/* success stories: listing */
.prfh-stories-list { padding-top: 64px; }
.prfh-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; width: fit-content; margin: 46px auto 0; padding: 6px; border-radius: 999px; background: var(--g50); border: 1px solid var(--line); }
.prfh .prfh-filters button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 0; border-radius: 999px; background: transparent; font: 600 15.5px/1 var(--prf-font-body), 'Inter', sans-serif; color: var(--g700); cursor: pointer; transition: background 0.35s var(--ease), color 0.3s, box-shadow 0.35s; }
.prfh .prfh-filters button:hover { background: #fff; color: var(--g800); }
.prfh .prfh-filters button.is-active { background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; box-shadow: 0 12px 24px -12px rgba(36, 82, 76, 0.8); }
.prfh-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.prfh .prfh-scard { display: flex; flex-direction: column; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; animation: prfh-rise 0.7s var(--ease) both; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s; }
.prfh .prfh-scard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: rgba(48, 102, 95, 0.3); }
.prfh-scard-photo { position: relative; display: block; aspect-ratio: 4 / 4.6; overflow: hidden; background: #10201e; }
.prfh-scard-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 1s var(--ease); }
.prfh .prfh-scard:hover .prfh-scard-photo img { transform: scale(1.06); }
.prfh-scard-photo::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(8, 26, 24, 0.55) 55%, rgba(8, 26, 24, 0.94)); }
.prfh-scard-photo.is-empty, .prfh-portrait.is-empty, .prfh-mini-photo.is-empty { background: linear-gradient(150deg, var(--g700), var(--g900)); display: grid; place-items: center; }
.prfh-scard-photo.is-empty > span:first-child { font: 800 96px/1 var(--prf-font-head), sans-serif; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.14); transform: translateY(-18%); }
.prfh-scard-badge { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); font: 700 12px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g700); }
.prfh-scard-name { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.prfh-scard-name b { font: 800 25px/1.15 var(--prf-font-head), sans-serif; letter-spacing: -0.02em; color: #fff; }
.prfh-scard-name > span { font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.prfh-scard-body { display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 22px; flex: 1; }
.prfh-scard-body q, .prfh-voice q { quotes: '\201C' '\201D'; }
.prfh-scard-body q { padding-left: 16px; border-left: 3px solid var(--gold); font: italic 500 17px/1.55 var(--prf-font-body), 'Inter', sans-serif; color: var(--g800); }
/* education as a small path */
.prfh-path { display: flex; flex-direction: column; }
.prfh-path > span { position: relative; padding: 0 0 14px 24px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.prfh-path > span:last-child { padding-bottom: 0; }
.prfh-path > span::before { content: ''; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--g600); }
.prfh-path > span:not(:last-child)::after { content: ''; position: absolute; left: 4.5px; top: 18px; bottom: -4px; width: 2px; background: var(--g100); }
.prfh-path > span:last-child::before { border-color: var(--gold); }
.prfh-path b { display: block; font-weight: 700; color: var(--g900); font-size: 15px; }
.prfh-tile-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); font: 600 15.5px/1 var(--prf-font-body), 'Inter', sans-serif; color: var(--g600); }
.prfh-tile-row span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--g50); border: 1px solid var(--line); transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.prfh .prfh-scard:hover .prfh-tile-row span, .prfh .prfh-story:hover .prfh-tile-row span { background: var(--g600); border-color: var(--g600); color: #fff; transform: rotate(-45deg); }
.prfh .prfh-scard:hover .prfh-tile-row .prfh-arrow, .prfh .prfh-story:hover .prfh-tile-row .prfh-arrow { transform: none; }
/*
 * Story cards in one row share their row heights (subgrid), so the photos,
 * quotes, timelines and "Read story" lines all start at the same height. The
 * timeline sits on a tinted panel that fills its row, so a story with one
 * qualification shows a full panel rather than a gap. A short last row is
 * centred: the grid has two tracks per card, so a card can start halfway.
 */
.prfh .prfh-story-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 28px; }
.prfh .prfh-story-grid > .prfh-scard { grid-column: span 2; grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; }
.prfh .prfh-story-grid > .prfh-scard:nth-child(3n + 1):nth-last-child(2) { grid-column: 2 / span 2; }
.prfh .prfh-story-grid > .prfh-scard:nth-child(3n + 1):last-child { grid-column: 3 / span 2; }
.prfh .prfh-story-grid .prfh-scard-body { display: contents; }
.prfh .prfh-story-grid .prfh-scard-body q { margin: 24px 24px 0; align-self: start; }
.prfh .prfh-story-grid .prfh-scard-body .prfh-path { margin: 18px 18px 0; padding: 16px 18px; border-radius: 16px; background: var(--g50); border: 1px solid var(--g100); }
.prfh .prfh-story-grid .prfh-scard-body .prfh-path > span::before { background: var(--g50); }
.prfh .prfh-story-grid .prfh-scard-body .prfh-tile-row { margin: 18px 24px 0; padding: 16px 0 22px; align-self: end; }
@media (max-width: 1100px) {
  .prfh .prfh-story-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .prfh .prfh-story-grid > .prfh-scard:nth-child(3n + 1):nth-last-child(2),
  .prfh .prfh-story-grid > .prfh-scard:nth-child(3n + 1):last-child { grid-column: span 2; }
  .prfh .prfh-story-grid > .prfh-scard:nth-child(2n + 1):last-child { grid-column: 2 / span 2; }
}
@media (max-width: 620px) {
  .prfh .prfh-story-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .prfh .prfh-story-grid > .prfh-scard:nth-child(n):nth-last-child(n) { grid-column: auto; }
}
/* quotes strip */
.prfh-voices { padding-top: 0; }
.prfh-marquee { overflow: hidden; padding: 8px 0 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.prfh-marquee-track { display: flex; gap: 22px; width: max-content; animation: prfh-marquee 46s linear infinite; }
.prfh-marquee:hover .prfh-marquee-track { animation-play-state: paused; }
.prfh .prfh-voice { width: 400px; flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 26px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color 0.3s, box-shadow 0.4s; }
.prfh .prfh-voice:hover { border-color: var(--g400); box-shadow: var(--shadow-lift); }
.prfh-voice q { font: italic 500 18px/1.6 var(--prf-font-body), 'Inter', sans-serif; color: var(--g800); }
.prfh-voice > span { display: flex; align-items: baseline; gap: 10px; font: 600 12px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.prfh-voice b { font: 700 16px/1 var(--prf-font-head), sans-serif; letter-spacing: -0.01em; text-transform: none; color: var(--g900); }

/* success stories: one story */
.prfh-story-hero { padding: 44px 0 80px; }
.prfh-story-hero .prfh-crumbs { margin-bottom: 34px; flex-wrap: wrap; }
.prfh-story-top { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: center; }
.prfh-portrait { position: relative; aspect-ratio: 4 / 4.8; margin: 0 16px 16px 0; animation: prfh-pop 1s var(--ease) both; }
.prfh-portrait::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border-radius: 30px; background: linear-gradient(135deg, var(--g100), #f4ecd6); }
.prfh-portrait img, .prfh-portrait.is-empty { border-radius: 28px; }
.prfh-portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; box-shadow: 0 30px 60px -28px rgba(15, 47, 43, 0.6); }
.prfh-portrait.is-empty > span { position: relative; font: 800 120px/1 var(--prf-font-head), sans-serif; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.18); }
.prfh-portrait.is-empty::before { display: none; }
.prfh .prfh-story-hero h1 { font-size: clamp(38px, 4.6vw, 60px); }
.prfh .prfh-story-hero .prfh-hero-copy > p.prfh-role { margin-top: 14px; max-width: none; font-size: 20px; font-weight: 500; color: var(--g600); }
.prfh-factgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; max-width: 620px; }
.prfh-factgrid > div { padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.prfh-factgrid dt { font: 700 11.5px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g600); }
.prfh-factgrid dd { margin: 8px 0 0; font: 600 16px/1.4 var(--prf-font-body), 'Inter', sans-serif; color: var(--g900); }
.prfh-pullquote-section { padding: 0 0 20px; }
.prfh-pullquote { position: relative; margin: 0; padding: 56px 64px 48px; border-radius: 32px; background: linear-gradient(135deg, var(--g900), var(--g700) 60%, var(--g600)); box-shadow: 0 40px 80px -34px rgba(15, 47, 43, 0.6); text-align: center; overflow: hidden; }
.prfh-pullquote > span { position: absolute; left: 34px; top: -6px; font: 800 170px/1 var(--prf-font-head), serif; color: rgba(233, 180, 76, 0.28); }
.prfh .prfh-pullquote blockquote { position: relative; margin: 0 auto; padding: 0; border: 0; max-width: 860px; background: none; font: 600 clamp(22px, 2.5vw, 31px)/1.45 var(--prf-font-head), sans-serif; letter-spacing: -0.015em; color: #fff; text-wrap: balance; }
.prfh-pullquote figcaption { margin-top: 22px; font: 600 13px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.prfh-story-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 72px; justify-content: center; align-items: start; }
.prfh-toc { position: sticky; top: 110px; padding: 24px; border-radius: 20px; background: var(--g50); border: 1px solid var(--line); }
.prfh-toc > b { display: block; margin-bottom: 14px; font: 700 12px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g600); }
.prfh .prfh-toc ol { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: toc; }
.prfh .prfh-toc li { margin: 0; padding: 0; counter-increment: toc; }
.prfh .prfh-toc li::before { display: none; }
.prfh .prfh-toc li a { display: flex; gap: 10px; padding: 9px 0; font-size: 15px; line-height: 1.4; color: var(--text); border-bottom: 1px solid var(--line); transition: color 0.25s, padding 0.35s var(--ease); }
.prfh .prfh-toc li a::before { content: counter(toc, decimal-leading-zero); font: 700 12px/1.7 var(--prf-font-body), 'Inter', sans-serif; color: var(--g400); }
.prfh .prfh-toc li a:hover { color: var(--g600); padding-left: 6px; }
.prfh-article > section { scroll-margin-top: 110px; }
.prfh-article > section + section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.prfh-chapter { font: 800 14px/1 var(--prf-font-head), sans-serif; letter-spacing: 0.14em; color: var(--gold); }
.prfh .prfh-article h2 { margin: 12px 0 22px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; font-weight: 800; }
.prfh .prfh-article p { font-size: 18.5px; line-height: 1.85; color: var(--text); text-align: left !important; }
.prfh .prfh-article p + p, .prfh .prfh-article blockquote + p { margin-top: 20px; }
.prfh .prfh-article blockquote, .prfh .prfh-aside { margin: 26px 0; padding: 22px 26px 22px 30px; border: 0; border-left: 4px solid var(--gold); border-radius: 0 18px 18px 0; background: linear-gradient(135deg, #fbf5e6, var(--g50)); font: italic 500 18.5px/1.75 var(--prf-font-body), 'Inter', sans-serif; color: var(--g800); }
.prfh .prfh-article p.prfh-signoff { margin-top: 26px; font: 700 22px/1.2 var(--prf-font-head), sans-serif; color: var(--g600); }
.prfh .prfh-mini { flex-direction: row; align-items: center; gap: 18px; padding: 20px; }
.prfh-mini-photo { width: 84px; height: 84px; border-radius: 20px; overflow: hidden; flex: none; }
.prfh-mini-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.prfh-mini-photo.is-empty > span { font: 800 26px/1 var(--prf-font-head), sans-serif; color: rgba(255, 255, 255, 0.7); }
.prfh .prfh-mini h3 { font-size: 19.5px; }
.prfh .prfh-mini p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.prfh .prfh-mini .prfh-link { padding-top: 12px; }

/* contact */
.prfh-contact { padding-top: 64px; }
.prfh .prfh-ways h3 { font-size: 18.5px; line-height: 1.35; }
.prfh .prfh-ways h3 a { color: var(--g600); }
.prfh .prfh-ways p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }
.prfh-contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px; margin-top: 28px; align-items: stretch; }
.prfh-contact-form { padding: 38px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.prfh .prfh-contact-form h2 { margin: 14px 0 26px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; font-weight: 800; }
.prfh-form { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.prfh-form-wide { grid-column: 1 / -1; }
.prfh-form label { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.prfh-form label > span { font: 600 14px/1 var(--prf-font-body), 'Inter', sans-serif; color: var(--g800); }
.prfh .prfh-form input, .prfh .prfh-form textarea { width: 100%; margin: 0; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--g50); font: 400 16px/1.5 var(--prf-font-body), 'Inter', sans-serif; color: var(--ink); transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; resize: vertical; height: auto; box-shadow: none; }
.prfh .prfh-form input:focus, .prfh .prfh-form textarea:focus { outline: none; border-color: var(--g600); background: #fff; box-shadow: 0 0 0 4px rgba(48, 102, 95, 0.14); }
.prfh-form small { font-size: 13.5px; color: #b3261e; }
.prfh .prfh-form .prfh-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.prfh-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.prfh .prfh-form button { border: 0; cursor: pointer; }
.prfh .prfh-form button:disabled { opacity: 0.7; cursor: progress; transform: none; }
.prfh .prfh-form-note { flex: 1; min-width: 220px; padding: 12px 16px; border-radius: 12px; font-size: 15.5px; line-height: 1.5; }
.prfh .prfh-form-note.is-sent { background: #e6f4ec; color: #17603a; }
.prfh .prfh-form-note.is-error { background: #fdecea; color: #a1241c; }
.prfh-map { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 460px; }
.prfh-map iframe { flex: 1; width: 100%; min-height: 320px; border: 0; }
.prfh-map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; }
.prfh-map-foot > span { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--muted); }
.prfh-map-foot b { font: 700 17px/1.2 var(--prf-font-head), sans-serif; color: var(--g900); }
.prfh-soon-actions { margin-top: 34px; }
.prfh-soon-space { height: 120px; }

/* GIS */
.prfh .prfh-reach-fact b { width: auto; min-width: 74px; padding: 0 14px; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.prfh .prfh-reach-fact span { font-size: 17px; font-weight: 500; line-height: 1.4; }
.prfh-gis { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.prfh .prfh-sites { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.prfh .prfh-sites li { margin: 0; padding: 0; }
.prfh .prfh-sites li::before { display: none; }
.prfh .prfh-sites button { width: 100%; display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); text-align: left; cursor: pointer; font: 400 14.5px/1.5 var(--prf-font-body), 'Inter', sans-serif; color: var(--muted); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s, background 0.3s; }
.prfh .prfh-sites button:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); border-color: var(--g400); }
.prfh .prfh-sites button.is-active { border-color: var(--g600); background: var(--g50); box-shadow: 0 0 0 3px rgba(48, 102, 95, 0.14), var(--shadow); }
.prfh-sites b { display: block; margin-bottom: 2px; font: 700 16.5px/1.3 var(--prf-font-head), sans-serif; color: var(--g900); }
.prfh-dot { width: 14px; height: 14px; flex: none; margin-top: 4px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--g600); background: var(--g600); }
.prfh-dot-hq { background: var(--gold); box-shadow: 0 0 0 1.5px var(--g900); }
.prfh-gis-map { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lift); background: var(--g100); min-height: 520px; isolation: isolate; }
.prfh-gis-map > div { position: absolute; inset: 0; z-index: 0; font-family: var(--prf-font-body), sans-serif; }
.prfh-gis-map > p { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center !important; }
.prfh .prfh-legend { position: absolute; z-index: 1; left: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 14px 16px; list-style: none; border-radius: 16px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow); font: 600 13.5px/1 var(--prf-font-body), 'Inter', sans-serif; color: var(--g800); }
.prfh .prfh-legend li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; }
.prfh .prfh-legend li::before { display: none; }
.prfh-legend .prfh-dot { margin: 0; }
.prfh-pin span { display: block; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--g600, #30665f); border: 3px solid #fff; box-shadow: 0 8px 16px -6px rgba(15, 47, 43, 0.7); }
.prfh-pin-hq span { background: #e9b44c; }
.prfh-pin:hover span { filter: brightness(1.08); }
.prfh-gis-map .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 18px 36px -16px rgba(15, 47, 43, 0.5); }
.prfh-gis-map .leaflet-popup-content { margin: 14px 16px; font: 400 14px/1.5 var(--prf-font-body), 'Inter', sans-serif; color: #33484a; }
.prfh-gis-map .leaflet-popup-content strong { font: 700 15.5px/1.3 var(--prf-font-head), sans-serif; color: #0f2f2b; }

/* bank details */
.prfh-bank { padding-top: 64px; }
.prfh-bank-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 28px; align-items: stretch; }
.prfh-request { position: relative; overflow: hidden; isolation: isolate; padding: 44px; border-radius: 30px; background: linear-gradient(140deg, var(--g900), var(--g700) 60%, var(--g600)); box-shadow: 0 40px 80px -34px rgba(15, 47, 43, 0.6); display: flex; flex-direction: column; align-items: flex-start; }
.prfh-request .prfh-icon { width: 60px; height: 60px; background: rgba(255, 255, 255, 0.12); color: var(--gold); }
.prfh .prfh-request h2 { margin: 26px 0 14px; color: #fff !important; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; font-weight: 800; }
.prfh .prfh-request p { font-size: 18px; line-height: 1.75; color: rgba(255, 255, 255, 0.88); }
.prfh-request .prfh-actions { margin-top: auto; padding-top: 34px; }
.prfh .prfh-reachlist { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.prfh .prfh-reachlist li { margin: 0; padding: 0; }
.prfh .prfh-reachlist li::before { display: none; }
.prfh .prfh-reachlist .prfh-quick { align-items: center; padding: 22px 24px; }
.prfh .prfh-reachlist small { font: 700 12px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g600); }
.prfh .prfh-reachlist h3 { margin-top: 8px; font-size: 18px; line-height: 1.4; }
.prfh .prfh-reachlist li.prfh-hours { padding: 4px 8px; font-size: 15px; color: var(--muted); }
.prfh .prfh-fund { align-items: flex-start; text-align: left; }
.prfh .prfh-fund p { text-align: left !important; text-align-last: left !important; }

/* applying for scholarship */
.prfh .prfh-page-hero .prfh-hero-copy > p.prfh-help { margin: 22px auto 0; font-size: 16px; }
.prfh .prfh-help a { color: var(--g600); font-weight: 600; }
.prfh-apply-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: start; }
.prfh .prfh-apply-step h3 { margin-bottom: 4px; }
.prfh-apply-group { width: 100%; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.prfh .prfh-apply-group h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; font: 700 16.5px/1.3 var(--prf-font-head), sans-serif; letter-spacing: -0.01em; color: var(--g700); text-transform: none; }
.prfh-apply-group h4 span { padding: 5px 10px; border-radius: 999px; background: #fbf3df; font: 600 11.5px/1 var(--prf-font-body), 'Inter', sans-serif; letter-spacing: 0.04em; color: #8a6412; }
.prfh .prfh-apply-group > p { margin-bottom: 12px; font-size: 15.5px; color: var(--muted); }
.prfh .prfh-apply-group .prfh-ticklist li { font-size: 15.5px; }
.prfh .prfh-apply-group .prfh-ticklist > li + li { margin-top: 9px; }
.prfh-follow { margin-top: 14px; }
.prfh-follow .prfx-social { display: inline-flex; gap: 10px; padding: 0; }
.prfh .prfh-follow .prfx-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--g600), var(--g800)); color: #fff; transition: transform 0.35s var(--ease), background 0.3s; }
.prfh .prfh-follow .prfx-social a:hover { transform: translateY(-3px); background: var(--gold); color: var(--g900); }
.prfh-follow .prfx-social svg { width: 19px; height: 19px; }
/* the page that only hosts the application form: nothing of the old page shows behind it */
html.prf-form-host #prf-site { visibility: hidden; min-height: 60vh; }

/* ---------- keyframes ---------- */
@keyframes prfh-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes prfh-pop { from { opacity: 0; transform: scale(0.86); } to { opacity: 1; transform: none; } }
@keyframes prfh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes prfh-marquee { to { transform: translateX(calc(-50% - 11px)); } }
@keyframes prfh-spin { to { transform: rotate(360deg); } }
@keyframes prfh-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(50px, 36px) scale(1.14); } }
@keyframes prfh-pulse { 0% { box-shadow: 0 0 0 0 rgba(233, 180, 76, 0.6); } 100% { box-shadow: 0 0 0 12px rgba(233, 180, 76, 0); } }
@keyframes prfh-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(233, 180, 76, 0.35); } 50% { box-shadow: 0 0 34px 6px rgba(233, 180, 76, 0.35); } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .prfh-grid-4, .prfh-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prfh-story-layout { grid-template-columns: minmax(0, 760px); }
  .prfh-toc { display: none; }
  .prfh-chip small { display: none; }
  .prfh-chip-2 { right: -5%; }
  .prfh-chip-1 { left: -2%; }
}
@media (max-width: 900px) {
  .prfh-hero { padding: 56px 0 72px; }
  .prfh-hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .prfh-hero-copy { text-align: center; }
  .prfh .prfh-hero-copy > p { margin-inline: auto; text-align: center !important; text-align-last: center !important; }
  .prfh-chip small { display: block; }
  .prfh-chip-2 { right: -12%; }
  .prfh-actions, .prfh .prfh-ticks { justify-content: center; }
  .prfh-orbit { width: min(400px, 86%); }
  .prfh-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prfh-section { padding: 72px 0; }
  .prfh-split { grid-template-columns: 1fr; gap: 40px; }
  .prfh-contact-grid { grid-template-columns: 1fr; }
  .prfh-gis, .prfh-bank-grid { grid-template-columns: 1fr; }
  .prfh-apply-steps { grid-template-columns: 1fr; }
  .prfh-gis-map { min-height: 420px; }
  .prfh-request { padding: 32px 26px; }
  .prfh-story-top { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
  .prfh-portrait { width: min(320px, 80%); }
  .prfh-story-top .prfh-hero-copy { display: flex; flex-direction: column; align-items: center; }
  .prfh-factgrid { text-align: left; width: 100%; }
  .prfh-pullquote { padding: 48px 28px 40px; }
  .prfh .prfh-steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; }
  .prfh .prfh-steps::before { top: 30px; bottom: 60px; left: 29px; right: auto; width: 2px; height: auto; }
  .prfh .prfh-steps li { display: grid; grid-template-columns: 60px 1fr; column-gap: 20px; text-align: left; align-items: start; padding: 0 0 30px; }
  .prfh .prfh-steps b { grid-row: span 2; }
  .prfh .prfh-steps h3 { margin-top: 6px; }
  .prfh .prfh-steps p { text-align: left !important; text-align-last: left !important; }
  .prfh-facts { grid-template-columns: 1fr; }
  .prfh-facts > div + div { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .prfh-director, .prfh-director:nth-child(even) { grid-template-columns: 1fr; gap: 26px; padding: 26px; }
  .prfh-director:nth-child(even) .prfh-director-photo { order: 0; }
  .prfh-director-photo, .prfh-director:nth-child(even) .prfh-director-photo { position: relative; top: 0; max-width: 280px; margin: 0 14px 14px 0; }
  .prfh-director:nth-child(even) .prfh-director-photo::before { inset: 14px -14px -14px 14px; }
  .prfh-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prfh-branches::before { left: calc((100% - 22px) / 4); right: calc((100% - 22px) / 4); }
  .prfh-branches .prfh-node:nth-child(n + 3)::before { display: none; }
  .prfh .prfh-members { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}
@media (max-width: 620px) {
  .prfh-grid-3, .prfh-grid-4, .prfh-story-grid, .prfh-factgrid { grid-template-columns: 1fr; }
  .prfh .prfh-voice { width: 300px; }
  .prfh .prfh-article p { font-size: 17.5px; }
  .prfh-grid-2, .prfh .prfh-members, .prfh .prfh-docs { grid-template-columns: 1fr; }
  .prfh-form { grid-template-columns: 1fr; }
  .prfh-contact-form { padding: 26px 22px; }
  .prfh .prfh-docs > li:nth-child(3) { grid-row: auto; }
  .prfh .prfh-faces a { padding: 4px; }
  .prfh-faces a span { display: none; }
  .prfh-faces img { width: 46px; height: 46px; }
  .prfh-note { flex-direction: column; padding: 26px; }
  .prfh-branches { grid-template-columns: 1fr; padding-top: 0; gap: 16px; }
  .prfh-branches::before, .prfh-branches .prfh-node::before { display: none; }
  .prfh-mission-section { padding-bottom: 72px; }

  .prfh { font-size: 16.5px; }
  .prfh p { font-size: 16.5px; }
  .prfh .prfh-head p, .prfh .prfh-hero-copy > p { font-size: 17.5px; }
  .prfh-pill { font-size: 11px; letter-spacing: 0.04em; }
  .prfh .prfh-btn { padding: 14px 24px; }
  .prfh-chip { padding: 9px 13px 9px 9px; gap: 9px; border-radius: 14px; }
  .prfh-chip b { font-size: 13px; }
  .prfh-chip small { display: none; }
  .prfh-chip-icon { width: 32px; height: 32px; border-radius: 10px; }
  .prfh-chip-icon svg { width: 17px; height: 17px; }
  .prfh-chip-1 { left: -6%; top: 2%; }
  .prfh-chip-2 { right: -7%; top: 46%; }
  .prfh-chip-3 { left: -2%; bottom: 0; }
  .prfh-cta { padding: 56px 22px 60px; border-radius: 24px; }
  .prfh-story-photo { aspect-ratio: 4 / 4; }
  .prfh-head { margin-bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .prfh *, .prfh *::before, .prfh *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .prfh-js .prfh [data-reveal] { opacity: 1; transform: none; }
}

/* scholarship form: "your answers are saved on this device" note (public/_prf/4544f557c041.js) */
#c2c-scholarship-app .c2c-draft-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: #f3f8f6; border: 1px solid #d3e6e0; color: #1f3d38; font-size: 14px; line-height: 1.5; }
#c2c-scholarship-app .c2c-draft-note[hidden] { display: none; }
#c2c-scholarship-app .c2c-draft-note.is-restored { background: #fff8e8; border-color: #efd8a2; }
#c2c-scholarship-app .c2c-draft-note p { margin: 0; font-size: inherit; color: inherit; }
#c2c-scholarship-app .c2c-draft-note button { flex: none; margin: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid #b9d3cc; background: #fff; color: #1f4f48; font: 600 13px/1.2 inherit; cursor: pointer; }
#c2c-scholarship-app .c2c-draft-note button:hover { background: #e6f1ee; }
@media (max-width: 560px) { #c2c-scholarship-app .c2c-draft-note { flex-direction: column; align-items: flex-start; } }
