/* PEI — Giving Hope to People
   Brand: PEI navy from the logo, the profile's orange for action, sky blue for light.
   Layout: dark, atmospheric heroes (aurora + snowflake motif) opening onto light content bands; motion reveals content as you scroll. */
:root {
  --navy: #12498c;
  --navy-deep: #061a37;
  --navy-ink: #04122a;
  --orange: #ed7d31;
  --orange-hot: #ff9248;
  --sky: #5b9bd5;
  --sky-soft: #a9cdf2;

  --bg: #f4f7fb;
  --bg-alt: #eaf1f9;
  --surface: #ffffff;
  --ink: #0d1d35;
  --muted: #55647a;
  --line: #dbe3ee;
  --brand: #12498c;
  --brand-soft: #e5eef9;
  --accent-text: #c25b14;
  --card-shadow: 0 1px 2px rgba(6, 26, 55, .06), 0 12px 32px -14px rgba(6, 26, 55, .22);
  --card-shadow-hi: 0 2px 4px rgba(6, 26, 55, .08), 0 30px 60px -22px rgba(6, 26, 55, .38);

  --f-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-script: "Yellowtail", "Brush Script MT", cursive;

  --step-0: 1.0625rem;
  --step-1: 1.22rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem);
  --step-4: clamp(2.4rem, 1.4rem + 4vw, 4.4rem);

  --r: 18px;
  --wrap: 1240px;
  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --logo-n: block; --logo-w: none;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071427; --bg-alt: #0a1b33; --surface: #0e213d; --ink: #e9f0f9; --muted: #a4b4ca; --line: #1f3557;
    --brand: #9cc7f2; --brand-soft: #142d4f; --accent-text: #ffa766;
    --card-shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -16px rgba(0,0,0,.6);
    --card-shadow-hi: 0 2px 4px rgba(0,0,0,.35), 0 30px 60px -22px rgba(0,0,0,.75);
    --logo-n: none; --logo-w: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #071427; --bg-alt: #0a1b33; --surface: #0e213d; --ink: #e9f0f9; --muted: #a4b4ca; --line: #1f3557;
  --brand: #9cc7f2; --brand-soft: #142d4f; --accent-text: #ffa766;
  --card-shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -16px rgba(0,0,0,.6);
  --card-shadow-hi: 0 2px 4px rgba(0,0,0,.35), 0 30px 60px -22px rgba(0,0,0,.75);
  --logo-n: none; --logo-w: block;
  color-scheme: dark;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.65; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 90; background: var(--navy-deep); }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
::selection { background: var(--orange); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
.wrap > * { min-width: 0; }
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section.alt { background: var(--bg-alt); }
.section.white { background: var(--surface); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; line-height: 1.6; }
.prose { max-width: 68ch; display: grid; gap: 1.05em; }
.prose h2 { font-size: var(--step-2); margin-top: .5em; }
.prose p { color: var(--muted); }
.prose p.lede { color: var(--ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.script { font-family: var(--f-script); font-weight: 400; letter-spacing: 0; color: var(--orange); }
.head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 780px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
@media (max-width: 760px) { .head.split { grid-template-columns: 1fr; } }
.grad-text { background: linear-gradient(100deg, var(--orange) 0%, #ffb067 50%, var(--orange) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite; }
@keyframes sheen { to { background-position: 200% center; } }

/* ---------- buttons */
.btn { --bg: var(--orange); --fg: #fff; position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-family: var(--f-display); font-weight: 600; font-size: .98rem; text-decoration: none; border: 0; cursor: pointer; background: var(--bg); color: var(--fg); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s; box-shadow: 0 10px 24px -10px rgba(237, 125, 49, .7); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(237, 125, 49, .8); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-navy { --bg: var(--navy); box-shadow: 0 10px 24px -12px rgba(18, 73, 140, .7); }
.btn-navy:hover { box-shadow: 0 18px 34px -12px rgba(18, 73, 140, .8); }
.btn-glass { --bg: rgba(255,255,255,.08); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn-glass:hover { --bg: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn-line { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; text-decoration: none; color: var(--brand); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- progress + header */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--orange), #ffb067); z-index: 120; }
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 100; transition: background .4s, box-shadow .4s, transform .45s var(--ease); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 88px; transition: height .4s var(--ease); }
.site-header.solid { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(6,26,55,.35); }
.site-header.solid .wrap { height: 72px; }
.site-header.hide { transform: translateY(-110%); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 58px; width: auto; transition: height .4s var(--ease); }
.site-header.solid .brand img { height: 48px; }
.brand .on-light { display: none; }
.site-header.solid .brand .on-dark { display: var(--logo-w); }
.site-header.solid .brand .on-light { display: var(--logo-n); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav .top { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 500; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.site-header.solid .nav .top { color: var(--ink); }
.nav .top::before { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav .top:hover::before, .nav .top[aria-current="page"]::before, .nav li.open > .top::before { transform: scaleX(1); transform-origin: left; }
.nav button.top svg { width: 12px; height: 12px; transition: transform .3s; }
.nav li.open > button.top svg { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--card-shadow-hi); padding: 12px; min-width: 290px; display: grid; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top center; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav li.open > .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.dropdown.mega { grid-template-columns: 1.1fr 1fr 1fr; gap: 4px; min-width: 780px; padding: 14px; }
.dd-feature { grid-row: span 5; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; border-radius: 14px; padding: 22px; display: grid; align-content: end; gap: 8px; text-decoration: none; position: relative; overflow: hidden; min-height: 260px; }
.dd-feature svg.flake { position: absolute; width: 220px; right: -60px; top: -50px; opacity: .14; color: #fff; animation: spin 40s linear infinite; }
.dd-feature b { font-family: var(--f-display); font-size: 1.25rem; }
.dd-feature span { color: var(--sky-soft); font-size: .9rem; }
.dropdown a.item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500; transition: background .2s, transform .25s var(--ease); }
.dropdown a.item:hover { background: var(--brand-soft); transform: translateX(3px); }
.dropdown a.item .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.dropdown a.item .ic svg { width: 19px; height: 19px; }
.dropdown a.item small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.nav .btn { margin-left: 10px; padding: 12px 22px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); cursor: pointer; position: relative; z-index: 130; }
.site-header.solid .burger { border-color: var(--line); background: var(--surface); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease), background .3s; }
.site-header.solid .burger span { background: var(--ink); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .site-header .burger span { background: #fff; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.menu-open .site-header .burger { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.menu-open .site-header .brand .on-dark { display: block; }
.menu-open .site-header .brand .on-light { display: none; }
.menu-open .site-header.solid { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

@media (max-width: 1120px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; z-index: 110; margin: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: radial-gradient(120% 80% at 100% 0%, #123f78 0%, var(--navy-deep) 60%); padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gr) 40px var(--gl); overflow-y: auto; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease), visibility 0s .7s; visibility: hidden; }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .7s var(--ease); }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 50ms + 150ms); border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu-open .nav > ul > li { opacity: 1; transform: none; }
  .nav .top, .site-header.solid .nav .top { color: #fff; font-size: 1.35rem; padding: 16px 4px; width: 100%; justify-content: space-between; }
  .nav .top::before { display: none; }
  .dropdown, .dropdown.mega { position: static; translate: none; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; grid-template-columns: 1fr; background: transparent; border: 0; box-shadow: none; padding: 0 0 14px; }
  .nav li.open > .dropdown { display: grid; }
  .dd-feature { display: none; }
  .dropdown a.item { color: #dce7f5; }
  .dropdown a.item:hover { background: rgba(255,255,255,.08); }
  .dropdown a.item .ic { background: rgba(255,255,255,.1); color: #fff; }
  .dropdown a.item small { color: #9fb5d3; }
  .nav .btn { margin: 28px 0 0; justify-content: center; }
}

/* ---------- aurora / dark surfaces */
.dark { background: var(--navy-deep); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.dark .lede, .dark p { color: #c4d4ea; }
.dark .eyebrow { color: var(--orange-hot); }
.dark h2, .dark h3 { color: #fff; }
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(120% 90% at 10% 0%, #0f3b73 0%, transparent 55%), linear-gradient(180deg, #082450 0%, var(--navy-deep) 100%); }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -16vw; background: #1f5fae; }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; right: -6vw; top: 10%; background: var(--orange); opacity: .3; animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 30%; bottom: -18vw; background: var(--sky); opacity: .35; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vw) scale(1.12); } 100% { transform: translate(-4vw, 2vw) scale(.95); } }
.dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px); background-size: 28px 28px; mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 80%); }
.big-flake { position: absolute; z-index: -1; color: #fff; opacity: .06; width: min(720px, 90vw); right: -12%; top: 50%; translate: 0 -50%; animation: spin 90s linear infinite; pointer-events: none; }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- home hero */
.hero { min-height: min(100svh, 960px); display: grid; align-items: center; padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: 110px; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.hero-copy { display: grid; gap: 26px; }
.pill { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: .88rem; color: #dbe7f6; font-weight: 500; }
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(237,125,49,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(237,125,49,0); } 100% { box-shadow: 0 0 0 0 rgba(237,125,49,0); } }
.hero h1 { color: #fff; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; animation: wordUp .9s var(--ease) both; animation-delay: calc(var(--d) * 70ms + 150ms); }
@keyframes wordUp { from { transform: translateY(105%); } to { transform: none; } }
.rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.rotator > span { grid-area: 1 / 1; display: block; color: var(--orange-hot); transform: translateY(110%); opacity: 0; transition: transform .8s var(--ease), opacity .5s; white-space: nowrap; }
.rotator > span.on { transform: none; opacity: 1; }
.rotator > span.out { transform: translateY(-110%); opacity: 0; }
.hero .lede { color: #c4d4ea; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 30px; padding-top: 8px; }
.trust div { display: grid; gap: 2px; }
.trust b { font-family: var(--f-display); font-size: 1.55rem; color: #fff; line-height: 1.1; }
.trust span { font-size: .84rem; color: #9fb5d3; }
.trust .sep { width: 1px; background: rgba(255,255,255,.18); }
.fade-in { animation: fadeUp 1s var(--ease) both; animation-delay: var(--delay, .5s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; aspect-ratio: 1 / 1.06; max-width: 540px; justify-self: end; width: 100%; }
.hero-visual .ring { position: absolute; inset: -3%; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.22); animation: spin 60s linear infinite; }
.hero-visual .ring::before { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); top: 12%; left: 12%; box-shadow: 0 0 20px var(--orange); }
.hero-photo { position: absolute; inset: 4%; overflow: hidden; background: #f3f5f8; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 8px rgba(255,255,255,.06); border-radius: 48% 52% 44% 46% / 52% 50% 42% 40%; animation: morph 14s ease-in-out infinite; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; animation: slowzoom 20s ease-in-out infinite alternate; }
@keyframes morph { 0%,100% { border-radius: 48% 52% 44% 46% / 52% 50% 42% 40%; } 50% { border-radius: 54% 46% 50% 42% / 46% 54% 40% 46%; } }
@keyframes slowzoom { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.hero-photo .logo-mark { position: absolute; left: 50%; top: 48%; translate: -50% -50%; width: 34%; animation: fadeUp 1.2s var(--ease) .9s both; }
.float { position: absolute; z-index: 2; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 18px; background: rgba(9, 34, 70, .55); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 20px 40px -18px rgba(0,0,0,.6); color: #fff; animation: bob 6s ease-in-out infinite; }
.float .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--orange); flex-shrink: 0; }
.float .ic svg { width: 22px; height: 22px; color: #fff; }
.float b { font-family: var(--f-display); font-size: 1.3rem; display: block; line-height: 1.1; }
.float span { font-size: .8rem; color: #dbe7f6; display: block; max-width: 170px; line-height: 1.3; }
.float.f1 { left: -8%; top: 12%; }
.float.f2 { right: -6%; top: 50%; animation-delay: -2s; }
.float.f2 .ic { background: var(--sky); }
.float.f3 { left: 2%; bottom: 3%; animation-delay: -4s; }
.float.f3 .ic { background: #fff; } .float.f3 .ic svg { color: var(--navy); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 84px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.4); z-index: 2; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; z-index: 1; pointer-events: none; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave path { fill: var(--surface); }
.wave.to-bg path { fill: var(--bg); }
@media (max-width: 920px) {
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 440px; margin-top: 20px; }
  .float.f1 { left: -2%; } .float.f2 { right: -2%; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) { .float { padding: 10px 12px; gap: 8px; } .float .ic { width: 32px; height: 32px; } .float .ic svg { width: 18px; height: 18px; } .float b { font-size: 1rem; } .float span { max-width: 110px; font-size: .72rem; } .trust .sep { display: none; } }

/* ---------- page hero (inner) */
.page-hero { padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(100px, 11vw, 150px); }
.page-hero .wrap { display: grid; gap: 22px; position: relative; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lede { color: #c4d4ea; }
.crumbs { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; width: fit-content; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); font-size: .85rem; color: #9fb5d3; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--orange-hot); }
.page-hero .chips .chip { background: rgba(255,255,255,.12); color: #fff; }
.page-hero .hero-icon { position: absolute; right: var(--gr); bottom: -20px; width: clamp(120px, 15vw, 190px); height: clamp(120px, 15vw, 190px); border-radius: 36px; display: grid; place-items: center; background: linear-gradient(140deg, #ffb067, var(--orange)); color: #fff; box-shadow: 0 30px 60px -24px rgba(237,125,49,.8); animation: bob 7s ease-in-out infinite; rotate: -6deg; }
.page-hero .hero-icon svg { width: 52%; height: 52%; }
@media (max-width: 860px) { .page-hero .hero-icon { display: none; } }

/* ---------- reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- marquee */
.marquee-sec { padding-block: 26px 64px; background: var(--surface); }
.marquee-sec .label { text-align: center; font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; }
.marquee.rev .track { animation-direction: reverse; animation-duration: 58s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.mlogo { flex: 0 0 auto; height: 86px; min-width: 150px; padding: 12px 22px; border-radius: 16px; background: #fff; border: 1px solid #e3e9f2; display: grid; place-items: center; transition: transform .35s var(--ease), box-shadow .35s; }
.mlogo:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.mlogo img { max-height: 58px; max-width: 160px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .75; transition: filter .35s, opacity .35s; }
.mlogo:hover img { filter: none; opacity: 1; }

/* ---------- stats bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: var(--card-shadow); display: grid; gap: 12px; align-content: space-between; position: relative; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hi); }
.tile .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.tile .ic svg { width: 26px; height: 26px; }
.tile b { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.1rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile p { color: var(--muted); font-size: .97rem; line-height: 1.5; }
.tile small { font-family: var(--f-display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.tile.big { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, #0f3d78 0%, var(--navy) 45%, var(--navy-deep) 100%); padding: 38px; }
.tile.big b { color: #fff; font-size: clamp(3.6rem, 2.2rem + 5vw, 6.6rem); }
.tile.big p { color: #c4d4ea; font-size: 1.18rem; max-width: 30ch; }
.tile.big .ic { background: var(--orange); color: #fff; width: 62px; height: 62px; }
.tile.big small { color: var(--orange-hot); }
.tile.big svg.flake { position: absolute; z-index: -1; width: 360px; right: -90px; bottom: -110px; color: #fff; opacity: .08; animation: spin 70s linear infinite; }
.tile.orange { background: linear-gradient(150deg, #ff9a52, #e5701f); }
.tile.orange b, .tile.orange p, .tile.orange small { color: #fff; }
.tile.orange .ic { background: rgba(255,255,255,.22); color: #fff; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile.big { grid-column: auto; grid-row: auto; } }

/* ---------- split / photo stack */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.top { align-items: start; }
.split.wide { grid-template-columns: 1.25fr .75fr; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split, .split.wide { grid-template-columns: 1fr; } }
.photo-stack { position: relative; aspect-ratio: 1 / 1; max-width: 540px; width: 100%; }
.photo-stack .p1 { position: absolute; inset: 0 16% 16% 0; border-radius: 28px; box-shadow: var(--card-shadow-hi); }
.photo-stack .p2 { position: absolute; inset: 44% 0 0 48%; border-radius: 28px; box-shadow: var(--card-shadow-hi); border: 8px solid var(--surface); }
.photo-stack .years { position: absolute; right: 2%; top: 4%; z-index: 3; background: var(--orange); color: #fff; border-radius: 22px; padding: 18px 22px; box-shadow: 0 20px 40px -16px rgba(237,125,49,.8); animation: bob 6s ease-in-out infinite; text-align: center; }
.photo-stack .years b { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; display: block; }
.photo-stack .years span { font-size: .82rem; font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; color: var(--muted); }
.checks li .tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(237,125,49,.14); color: var(--orange); }
.checks li .tick svg { width: 16px; height: 16px; }
.checks li b { color: var(--ink); font-weight: 600; display: block; }

/* ---------- media art (shown when a photo is missing) */
.media { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(90% 90% at 85% 15%, rgba(237,125,49,.55) 0%, transparent 55%), radial-gradient(80% 80% at 10% 100%, rgba(91,155,213,.6) 0%, transparent 60%), linear-gradient(150deg, #0f3d78, var(--navy-deep)); }
.media .art { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.media .art svg.flake { position: absolute; width: 80%; max-width: 420px; opacity: .13; animation: spin 80s linear infinite; }
.media .art svg.icon { width: 26%; max-width: 100px; opacity: .92; }
.media .art .initials { font-family: var(--f-display); font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; opacity: .9; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 1.2s var(--ease); }

/* ---------- area cards */
.areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.areas.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1140px) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .areas, .areas.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .areas, .areas.three { grid-template-columns: 1fr; } }
.area { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 14px; grid-template-rows: auto auto 1fr auto; padding: 26px 22px 22px; border-radius: var(--r); background: var(--surface); box-shadow: var(--card-shadow); color: var(--ink); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s; }
.area::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); clip-path: circle(0 at 49px 53px); transition: clip-path .7s var(--ease); }
.area:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hi); color: #fff; }
.area:hover::before { clip-path: circle(150% at 49px 53px); }
.area .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, #ffb067, var(--orange)); color: #fff; box-shadow: 0 10px 20px -10px rgba(237,125,49,.9); transition: transform .5s var(--ease); }
.area:hover .ic { transform: rotate(-8deg) scale(1.08); }
.area .ic svg { width: 28px; height: 28px; }
.area p { color: var(--muted); font-size: .93rem; line-height: 1.5; transition: color .4s; }
.area:hover p { color: #c4d4ea; }
.area .go { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.area .go .arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); flex-shrink: 0; transition: background .4s, border-color .4s, transform .4s var(--ease), color .4s; }
.area .go .arrow svg { width: 16px; height: 16px; }
.area:hover .go .arrow { background: var(--orange); border-color: var(--orange); transform: rotate(-45deg); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .72rem; font-weight: 600; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; transition: background .4s, color .4s; }
.area:hover .chip { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- flagship bento */
.flag { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 18px; }
.fcard { position: relative; overflow: hidden; border-radius: 24px; color: #fff; text-decoration: none; display: block; isolation: isolate; box-shadow: var(--card-shadow); }
.fcard:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.fcard:nth-child(2), .fcard:nth-child(3) { grid-column: span 5; }
.fcard:nth-child(4) { grid-column: span 12; }
.fcard .media { position: absolute; inset: 0; z-index: -2; }
.fcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,18,42,0) 15%, rgba(4,18,42,.5) 50%, rgba(4,18,42,.94) 100%); }
.fcard:hover .media img { transform: scale(1.08); }
.fcard .media .art { place-items: start end; padding: 26px; }
.fcard .media .art svg.icon { width: 64px; opacity: .6; }
.fcard .media .art svg.flake { right: -10%; top: -20%; width: 70%; }
.fcard .body { position: absolute; inset: auto 0 0 0; padding: clamp(20px, 3vw, 34px); display: grid; gap: 10px; }
.fcard .tag { width: fit-content; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: #fff; }
.fcard h3 { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); color: #fff; }
.fcard:nth-child(1) h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); }
.fcard p { color: #d3e0f1; font-size: .95rem; max-width: 62ch; }
.fcard .reveal-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.fcard .reveal-more > div { overflow: hidden; }
.fcard:hover .reveal-more, .fcard:focus-within .reveal-more, .fcard:nth-child(1) .reveal-more { grid-template-rows: 1fr; }
.fcard .figs { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 6px; }
.fcard .figs b { font-family: var(--f-display); font-size: 1.5rem; display: block; line-height: 1.1; color: #fff; }
.fcard .figs span { font-size: .78rem; color: #b9cbe3; }
.fcard .when { font-size: .8rem; color: #b9cbe3; font-weight: 500; }
@media (max-width: 900px) { .flag { grid-auto-rows: minmax(320px, auto); } .fcard:nth-child(n) { grid-column: span 12; grid-row: span 1; } .fcard .reveal-more { grid-template-rows: 1fr; } }

/* ---------- province explorer */
.explorer { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 26px; }
@media (max-width: 860px) { .explorer { grid-template-columns: 1fr; } }
.ptabs { display: grid; gap: 8px; align-content: start; }
@media (max-width: 860px) { .ptabs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; } }
.ptab { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .35s, color .35s, transform .35s var(--ease), box-shadow .35s, border-color .35s; white-space: nowrap; }
.ptab span { font-family: var(--f-body); font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); transition: background .35s, color .35s; }
.ptab:hover { transform: translateX(4px); }
.ptab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 16px 30px -16px rgba(18,73,140,.8); }
.ptab[aria-selected="true"] span { background: var(--orange); color: #fff; }
.ppanel { border-radius: 24px; background: var(--surface); box-shadow: var(--card-shadow); padding: clamp(24px, 3.4vw, 44px); position: relative; overflow: hidden; isolation: isolate; min-height: 380px; }
.ppanel svg.flake { position: absolute; z-index: -1; width: 320px; right: -90px; top: -90px; color: var(--brand); opacity: .07; animation: spin 80s linear infinite; }
.pane { display: grid; gap: 18px; }
.pane.anim { animation: paneIn .6s var(--ease) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pane h3 { font-size: var(--step-2); }
.pane .office { width: fit-content; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.pane p { color: var(--muted); max-width: 62ch; }
.plinks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plinks a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .3s, transform .3s var(--ease); }
.plinks a:hover { background: var(--brand-soft); transform: translateX(4px); }
.plinks a small { font-weight: 500; color: var(--muted); white-space: nowrap; }

/* ---------- timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; padding: 46px 0 0; list-style: none; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: rgba(255,255,255,.15); }
.timeline .bar { position: absolute; left: 0; top: 14px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--orange), #ffb067); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.timeline li { position: relative; display: grid; gap: 8px; align-content: start; }
.timeline li::before { content: ""; position: absolute; top: -40px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-deep); border: 2px solid rgba(255,255,255,.35); transition: background .4s, border-color .4s, box-shadow .4s; }
.timeline li.lit::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 6px rgba(237,125,49,.22); }
.timeline time { font-family: var(--f-display); font-weight: 700; font-size: 1.8rem; color: #fff; }
.timeline p { color: #b9cbe3; font-size: .93rem; line-height: 1.5; }
@media (max-width: 980px) { .timeline { grid-template-columns: 1fr; padding: 0 0 0 40px; } .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .timeline .bar { left: 8px; top: 0; width: 2px; height: 100%; transform: scaleY(var(--p, 0)); transform-origin: 50% 0; } .timeline li::before { left: -40px; top: 8px; } }

/* ---------- badges */
.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 800px) { .badges { grid-template-columns: 1fr; } }
.badge { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: center; padding: 26px; border-radius: var(--r); background: var(--surface); box-shadow: var(--card-shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.badge:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hi); }
.badge .ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 200deg, var(--orange), #ffb067, var(--orange)); color: #fff; }
.badge .ic svg { width: 30px; height: 30px; }
.badge b { font-family: var(--f-display); font-size: 1.15rem; display: block; }
.badge span { color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* ---------- logo grid */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ltile { background: #fff; border: 1px solid #e3e9f2; border-radius: 16px; padding: 18px 12px 14px; display: grid; justify-items: center; align-content: center; gap: 10px; text-align: center; min-height: 150px; transition: transform .4s var(--ease), box-shadow .4s; }
.ltile:hover { transform: translateY(-5px); box-shadow: var(--card-shadow); }
.ltile img { max-height: 64px; max-width: 100%; object-fit: contain; }
.ltile span { font-size: .76rem; color: #55647a; line-height: 1.3; }

/* ---------- CTA */
.cta-band { padding-block: clamp(30px, 5vw, 70px) clamp(60px, 8vw, 110px); }
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; padding: clamp(36px, 6vw, 80px); color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; background: linear-gradient(120deg, #0f3d78, var(--navy-deep)); box-shadow: var(--card-shadow-hi); }
.cta h2 { color: #fff; }
.cta h2 .script { font-size: 1.2em; line-height: .9; }
.cta p { color: #c4d4ea; margin-top: 14px; max-width: 54ch; }
.cta .actions { justify-content: flex-end; }
.cta svg.flake { position: absolute; z-index: -1; color: #fff; opacity: .09; }
.cta svg.flake.a { width: 320px; right: -60px; top: -100px; animation: spin 50s linear infinite; }
.cta svg.flake.b { width: 150px; left: 42%; bottom: -70px; animation: spin 40s linear infinite reverse; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* ---------- inner content */
.aside-card { background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: var(--card-shadow); display: grid; gap: 18px; position: sticky; top: 100px; }
.aside-card dl { margin: 0; display: grid; gap: 14px; }
.aside-card dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); font-weight: 700; }
.aside-card dd { margin: 3px 0 0; font-size: .97rem; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.mv > div { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 14px; align-content: start; }
.mv > div:first-child { background: linear-gradient(150deg, #0f3d78, var(--navy-deep)); }
.mv > div:last-child { background: linear-gradient(150deg, #ff9a52, #e5701f); }
.mv p { font-size: 1.12rem; line-height: 1.6; color: #fff; }
.mv h3 { color: #fff; font-size: var(--step-2); }
.mv .eyebrow { color: #fff; }
.mv svg.flake { position: absolute; z-index: -1; width: 240px; right: -60px; bottom: -70px; color: #fff; opacity: .13; animation: spin 60s linear infinite; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: var(--card-shadow); display: grid; gap: 12px; align-content: start; transition: transform .45s var(--ease), box-shadow .45s; position: relative; overflow: hidden; }
.value::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hi); }
.value:hover::after { transform: scaleX(1); }
.value .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.value .ic svg { width: 24px; height: 24px; }
.value p { color: var(--muted); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: .88rem; font-weight: 600; color: var(--ink); transition: background .3s, color .3s, transform .3s var(--ease); }
.tags span:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.org { display: grid; gap: 0; justify-items: center; }
.org .lvl { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.org .node { background: var(--surface); border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: .92rem; text-align: center; box-shadow: var(--card-shadow); max-width: 230px; }
.org .node.top { background: var(--navy); color: #fff; }
.org .node small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; margin-top: 4px; }
.org .line { width: 2px; height: 26px; background: linear-gradient(var(--orange), var(--line)); }

/* ---------- projects */
.filters { display: grid; gap: 14px; margin-bottom: 34px; padding: 22px; border-radius: var(--r); background: var(--surface); box-shadow: var(--card-shadow); }
.fgroup { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fgroup .lab { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 92px; }
.fbtn { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.fbtn:hover { transform: translateY(-2px); border-color: var(--brand); }
.fbtn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.count { font-family: var(--f-display); font-weight: 600; color: var(--muted); }
.count b { color: var(--accent-text); }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 860px) { .pgrid { grid-template-columns: 1fr; } }
.project { background: var(--surface); border-radius: var(--r); box-shadow: var(--card-shadow); padding: 26px; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, opacity .35s, scale .35s; }
.project::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--orange), var(--sky)); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.project:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hi); }
.project:hover::before { transform: scaleY(1); }
.project.leaving { opacity: 0; scale: .96; }
.project.entering { animation: paneIn .5s var(--ease) both; }
.project .ptop { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.project .atag { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 700; color: var(--accent-text); text-decoration: none; letter-spacing: .02em; }
.project .atag span.i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(237,125,49,.14); }
.project .atag svg { width: 17px; height: 17px; }
.project .yr { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--bg); padding: 4px 10px; border-radius: 999px; }
.project h3 { font-size: 1.18rem; }
.project .where { font-size: .88rem; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.project .where svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--orange); }
.project > p { color: var(--muted); font-size: .96rem; }
.kfigs { display: flex; flex-wrap: wrap; gap: 10px; }
.kfigs div { padding: 10px 14px; border-radius: 12px; background: var(--bg); display: grid; }
.kfigs b { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--brand); line-height: 1.15; font-variant-numeric: tabular-nums; }
.kfigs span { font-size: .76rem; color: var(--muted); }
details.more { border-top: 1px dashed var(--line); padding-top: 12px; }
details.more summary { cursor: pointer; list-style: none; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .9rem; color: var(--brand); }
details.more summary::-webkit-details-marker { display: none; }
details.more summary svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
details.more[open] summary svg { transform: rotate(180deg); }
details.more .inner { display: grid; gap: 12px; padding-top: 12px; animation: paneIn .45s var(--ease); }
details.more ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .93rem; display: grid; gap: 5px; }
details.more dl { margin: 0; display: grid; gap: 6px; font-size: .88rem; }
details.more dl div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
details.more dt { font-weight: 700; color: var(--ink); }
details.more dd { margin: 0; color: var(--muted); }

/* ---------- ways / forms / contact */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ways { grid-template-columns: 1fr; } }
.way { position: relative; overflow: hidden; isolation: isolate; background: var(--surface); border-radius: var(--r); padding: 28px; box-shadow: var(--card-shadow); display: grid; gap: 12px; align-content: start; transition: transform .45s var(--ease), box-shadow .45s, color .4s; }
.way::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--navy), var(--navy-deep)); opacity: 0; transition: opacity .5s; }
.way:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hi); color: #fff; }
.way:hover::before { opacity: 1; }
.way .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, #ffb067, var(--orange)); color: #fff; }
.way .ic svg { width: 26px; height: 26px; }
.way p, .way ul { color: var(--muted); font-size: .94rem; transition: color .4s; }
.way:hover p, .way:hover ul { color: #c4d4ea; }
.way ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.form { display: grid; gap: 18px; background: var(--surface); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--card-shadow-hi); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 24px 16px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); font-size: 1rem; pointer-events: none; transition: transform .25s var(--ease), font-size .25s, color .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--surface); box-shadow: 0 0 0 4px rgba(237,125,49,.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { transform: translateY(-10px); font-size: .74rem; color: var(--accent-text); font-weight: 700; }
.form .note { font-size: .85rem; color: var(--muted); }
.form .status { font-weight: 600; color: var(--brand); min-height: 1.4em; }
.cinfo { display: grid; gap: 14px; }
.cinfo .c { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--card-shadow); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
.cinfo a.c:hover { transform: translateX(6px); box-shadow: var(--card-shadow-hi); }
.cinfo .c .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, #ffb067, var(--orange)); color: #fff; }
.cinfo .c .ic svg { width: 24px; height: 24px; }
.cinfo .c small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.cinfo .c span { font-weight: 600; }
.offices { display: flex; flex-wrap: wrap; gap: 8px; }
.offices span { padding: 8px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .86rem; }
.empty { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: clamp(30px, 5vw, 56px); background: var(--surface); box-shadow: var(--card-shadow); display: grid; gap: 16px; }
.empty svg.flake { position: absolute; z-index: -1; width: 280px; right: -60px; bottom: -90px; color: var(--brand); opacity: .07; animation: spin 70s linear infinite; }
.empty p { color: var(--muted); max-width: 62ch; }
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--surface); box-shadow: var(--card-shadow); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--bg-alt); }
tr:last-child td { border-bottom: 0; }

.founder { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 380px; width: 100%; isolation: isolate; }
.portrait .media { position: absolute; inset: 0; border-radius: 30px; box-shadow: var(--card-shadow-hi); }
.portrait::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border-radius: 30px; border: 2px solid var(--orange); z-index: -1; }
.quote { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1.1vw, 1.8rem); line-height: 1.42; }
.quote::before { content: "\201C"; display: block; font-size: 5rem; line-height: .6; color: var(--orange); margin-bottom: 6px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }
.facts li { display: grid; grid-template-columns: 50px 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--surface); box-shadow: var(--card-shadow); transition: transform .4s var(--ease); }
.facts li:hover { transform: translateY(-4px); }
.facts li .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.facts li .ic svg { width: 24px; height: 24px; }
.facts li small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.facts li span { font-size: .93rem; }

/* ---------- footer */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-ink); color: #a9bedb; padding-top: 90px; }
.site-footer .big-flake { opacity: .035; right: -18%; top: 45%; }
.site-footer .grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 960px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer .grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #d6e2f2; text-decoration: none; transition: color .25s, padding .3s var(--ease); }
.site-footer ul a:hover { color: var(--orange-hot); padding-left: 6px; }
.site-footer .about { display: grid; gap: 20px; font-size: .95rem; align-content: start; }
.site-footer .about img { height: 76px; width: auto; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background .3s, transform .35s var(--ease); }
.social a:hover { background: var(--orange); transform: translateY(-4px); }
.social svg { width: 17px; height: 17px; fill: #fff; }
.foot-tag { margin-top: 70px; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: .85rem; }
.foot-tag .script { font-size: 2rem; }
.to-top { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(6,26,55,.7); opacity: 0; pointer-events: none; transform: translateY(20px) scale(.8); transition: opacity .4s, transform .45s var(--ease); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.to-top svg.ring circle { fill: none; stroke: var(--orange); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: calc(151 - 151 * var(--p, 0)); }
.to-top svg.arr { width: 20px; height: 20px; }

/* ---------- page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .3s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .5s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .rotator > span:first-child { transform: none; opacity: 1; }
}
.hero-photo img.logo-mark { width: 30%; height: auto; object-fit: contain; animation: fadeUp 1.2s var(--ease) .9s both; filter: drop-shadow(0 8px 18px rgba(18,73,140,.25)); }
.rotator { display: grid; width: fit-content; }
[hidden] { display: none !important; }
.bento > .tile:nth-child(6):last-child { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; column-gap: 20px; }
.bento > .tile:nth-child(6):last-child p, .bento > .tile:nth-child(6):last-child small { grid-column: 2; }
.bento > .tile:nth-child(6):last-child .ic { grid-row: span 3; }
@media (max-width: 980px) { .bento > .tile:nth-child(6):last-child { grid-column: 1 / -1; } }
.float.f2 { top: 64%; right: -8%; }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.1rem); }

/* ---------- scroll story (Our story) — pinned, one milestone in focus, the rest blurred */
.story { padding-block: clamp(72px, 9vw, 120px); }
.story-pin { position: relative; isolation: isolate; display: grid; gap: clamp(20px, 3vh, 36px); align-content: center; }
.story-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; width: 100%; }
.story-head h2 { color: #fff; margin-top: 12px; }
.story-nav { position: relative; display: flex; gap: 6px; padding-bottom: 14px; }
.sdot { background: none; border: 0; cursor: pointer; padding: 6px 10px; font-family: var(--f-display); font-weight: 600; font-size: .9rem; color: #7f97b8; transition: color .4s; }
.sdot span { display: inline-block; transition: transform .4s var(--ease); }
.sdot:hover { color: #fff; }
.sdot.on { color: #fff; }
.sdot.on span { transform: scale(1.12); }
.story-line { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: rgba(255,255,255,.14); border-radius: 2px; }
.story-line i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--orange), #ffb067); border-radius: 2px; }
.story-ghost { display: none; }
.story-hint { display: none; }
.story-track { list-style: none; margin: 0; padding: 4px var(--gr) 24px var(--gl); display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.scard { flex: 0 0 min(860px, 84vw); scroll-snap-align: center; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 28px; overflow: hidden; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -40px rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.scard .simg { position: relative; min-height: 340px; }
.scard .simg img { transition: transform 1.4s var(--ease); }
.scard .scap { position: absolute; left: 14px; bottom: 14px; right: 14px; z-index: 2; font-size: .76rem; color: #fff; background: rgba(4,18,42,.6); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 8px; width: fit-content; }
.sbody { padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 14px; align-content: center; }
.sbody .sstep { font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--orange-hot); }
.sbody time { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 5.4rem); line-height: .95; letter-spacing: -.04em; color: #fff; }
.sbody p { color: #c9d8ee; font-size: 1.08rem; line-height: 1.6; }
@media (max-width: 760px) { .scard { grid-template-columns: 1fr; } .scard .simg { min-height: 0; aspect-ratio: 16 / 10; } }

/* pinned mode (enabled by JS when motion is allowed) */
.story.on { height: calc(var(--n) * 75vh + 100vh); padding: 0; overflow: visible; }
.story.on .story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; padding-top: calc(84px + env(safe-area-inset-top, 0px)); padding-bottom: 28px; align-content: center; grid-template-rows: auto 1fr auto; }
.story.on .story-track { position: relative; overflow: visible; padding: 0; gap: 0; scroll-snap-type: none; align-items: center; height: 100%; max-height: 560px; }
.story.on .scard { position: absolute; left: 50%; top: 50%; width: var(--cw); flex: none; translate: -50% -50%; transform: translateX(var(--tx, 0px)) scale(var(--s, 1)); filter: blur(var(--b, 0px)); opacity: var(--o, 1); will-change: transform, filter, opacity; transition: box-shadow .5s; max-height: 100%; }
.story.on .scard.active { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 50px 100px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(237,125,49,.35); }
.story.on .scard.active .simg img { transform: scale(1.05); }
.story.on .story-ghost { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.story.on .story-ghost span { position: absolute; left: 50%; top: 54%; translate: -50% -50%; font-family: var(--f-display); font-weight: 700; font-size: clamp(9rem, 26vw, 24rem); line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.08); opacity: 0; transform: scale(.94); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.story.on .story-ghost span.on { opacity: 1; transform: none; }
.story.on .story-hint { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: .82rem; color: #9fb5d3; letter-spacing: .06em; transition: opacity .5s; }
.story.on .story-hint::before { content: ""; width: 18px; height: 28px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.4); background: radial-gradient(circle at 50% 30%, #fff 2px, transparent 2.5px); animation: cue2 1.8s ease-in-out infinite; }
@keyframes cue2 { 50% { background-position: 0 6px; } }
.story.on.moved .story-hint { opacity: 0; }
@media (max-width: 760px) { .story.on .story-track { max-height: 620px; } .story.on .scard .sbody { padding: 20px; gap: 8px; } .story.on .sbody time { font-size: 2.8rem; } .story.on .sbody p { font-size: .95rem; } .story-nav { overflow-x: auto; max-width: 100%; } .sdot { padding: 6px 7px; font-size: .82rem; } }
@media (max-height: 640px) { .story.on .scard .simg { min-height: 0; } }

/* ---------- gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
.gitem { margin: 0; position: relative; border-radius: 20px; overflow: hidden; isolation: isolate; box-shadow: var(--card-shadow); }
.gitem:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gitem:nth-child(6) { grid-column: span 2; }
.gitem .media { position: absolute; inset: 0; }
.gitem::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(4,18,42,.85)); opacity: .9; transition: opacity .5s; }
.gitem figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px; color: #fff; font-size: .88rem; font-weight: 500; line-height: 1.4; transform: translateY(6px); transition: transform .5s var(--ease); }
.gitem:hover .media img { transform: scale(1.08); }
.gitem:hover figcaption { transform: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; } .gitem:nth-child(n) { grid-column: auto; grid-row: auto; } .gitem:nth-child(1) { grid-column: span 2; grid-row: span 2; } }

/* ---------- project card image */
.project .pimg { margin: -26px -26px 4px; height: 190px; }
.project:hover .pimg img { transform: scale(1.06); }
.project .pimg .art svg.icon { width: 56px; }
.project .pimg .art svg.flake { width: 60%; }
.photo-stack .media img, .portrait .media img { transition: transform 1.2s var(--ease); }
.photo-stack:hover .p1 img { transform: scale(1.04); }
.p1, .p2 { overflow: hidden; }
.fcard .media img { filter: saturate(1.05); }
@media (prefers-reduced-motion: reduce) { .story.on { height: auto; } }

/* ---------- hero stat cards that cycle through PEI's numbers */
.float { display: grid; width: 268px; overflow: hidden; padding: 0; }
.float .fs { grid-area: 1 / 1; display: flex; gap: 12px; align-items: center; padding: 14px 18px 16px; opacity: 0; transform: translateY(70%); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s; pointer-events: none; }
.float .fs.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.float .fs.out { opacity: 0; transform: translateY(-70%); filter: blur(6px); }
.float .fs .ic { transition: transform .8s var(--ease); }
.float .fs.on .ic { animation: icPop .8s var(--ease); }
@keyframes icPop { 0% { transform: scale(.4) rotate(-30deg); } 60% { transform: scale(1.12) rotate(6deg); } 100% { transform: none; } }
.float .fbar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--orange), #ffb067); transform-origin: 0 50%; transform: scaleX(0); }
.float.f2 .fbar { background: linear-gradient(90deg, var(--sky), #bfe0ff); }
.float.f3 .fbar { background: linear-gradient(90deg, #fff, #cfe0f5); }
.float .fbar.run { animation: fbar var(--cyc, 3.6s) linear forwards; }
@keyframes fbar { to { transform: scaleX(1); } }
.float.f1 { left: -10%; top: 10%; }
.float.f2 { right: -9%; top: 52%; }
.float.f3 { left: -2%; bottom: 2%; }
@media (max-width: 920px) { .float { width: 230px; } .float.f1 { left: -3%; } .float.f2 { right: -3%; } }
@media (max-width: 480px) { .float { width: 180px; } .float .fs { padding: 10px 12px 12px; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .float .fs:not(.on) { display: none; } }

/* new PEI wordmark logo (wide) */
.brand img { height: 52px; }
.site-header.solid .brand img { height: 44px; }
.site-footer .about img { height: 84px; }
@media (max-width: 480px) { .brand img { height: 44px; } }
.hero-photo img.logo-mark { width: 26%; border-radius: 22%; }
.brand img { height: 66px; }
.site-header.solid .brand img { height: 54px; }
@media (max-width: 480px) { .brand img { height: 52px; } .site-header.solid .brand img { height: 46px; } }

/* ---------- quality assurance: sticky visual + steps that come into focus as you scroll */
.qa { position: relative; padding-block: clamp(80px, 10vw, 140px); background: radial-gradient(60% 50% at 0% 0%, rgba(91,155,213,.14), transparent 70%), radial-gradient(50% 40% at 100% 100%, rgba(237,125,49,.10), transparent 70%), var(--bg); }
.qa-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.qa-sticky { position: sticky; top: 110px; display: grid; gap: 22px; }
.qa-sticky h2 { max-width: 14ch; }
.qa-visual { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1 / .82; border-radius: 30px; background: radial-gradient(90% 90% at 85% 10%, rgba(237,125,49,.45), transparent 55%), radial-gradient(80% 80% at 0% 100%, rgba(91,155,213,.55), transparent 60%), linear-gradient(150deg, var(--navy), var(--navy-deep)); box-shadow: var(--card-shadow-hi); display: grid; place-items: center; color: #fff; }
.qa-visual > svg.flake { position: absolute; z-index: -1; width: 92%; color: #fff; opacity: .07; animation: spin 90s linear infinite; }
.qa-ring { position: absolute; width: min(78%, 330px); aspect-ratio: 1; rotate: -90deg; }
.qa-ring circle { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 3; }
.qa-ring circle.prog { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: calc(339.3 - 339.3 * var(--qp, 0)); transition: stroke-dashoffset .5s var(--ease); filter: drop-shadow(0 0 6px rgba(237,125,49,.6)); }
.qv-stack { display: grid; place-items: center; text-align: center; }
.qv { grid-area: 1 / 1; display: grid; justify-items: center; gap: 6px; opacity: 0; transform: translateY(24px) scale(.92); filter: blur(8px); transition: opacity .55s var(--ease), transform .7s var(--ease), filter .55s; }
.qv.on { opacity: 1; transform: none; filter: none; }
.qv .qv-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); margin-bottom: 6px; }
.qv .qv-ic svg { width: 30px; height: 30px; }
.qv b { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.2rem); line-height: 1; letter-spacing: -.03em; }
.qv > span:last-child { font-size: .95rem; color: #c9d8ee; letter-spacing: .02em; }
.qa-count { font-family: var(--f-display); font-weight: 600; color: var(--muted); font-size: .95rem; }
.qa-count b { color: var(--accent-text); font-size: 1.3rem; }
.qa-steps { list-style: none; margin: 0; padding: 18vh 0 22vh; display: grid; gap: 14vh; }
.qstep { --f: 1; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; opacity: calc(.28 + .72 * var(--f)); filter: blur(calc((1 - var(--f)) * 4px)); transform: translateX(calc((1 - var(--f)) * 18px)) scale(calc(.95 + .05 * var(--f))); transform-origin: left center; transition: opacity .25s linear, filter .25s linear, transform .35s var(--ease); }
.qnum { font-family: var(--f-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); transition: color .4s, -webkit-text-stroke-color .4s; }
.qstep.active .qnum { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.qcard { position: relative; background: var(--surface); border-radius: 22px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--card-shadow); display: grid; gap: 12px; overflow: hidden; transition: box-shadow .5s; }
.qcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--orange), var(--sky)); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.qstep.active .qcard { box-shadow: var(--card-shadow-hi); }
.qstep.active .qcard::before { transform: scaleY(1); }
.qic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(140deg, #ffb067, var(--orange)); color: #fff; box-shadow: 0 10px 20px -10px rgba(237,125,49,.9); }
.qic svg { width: 26px; height: 26px; }
.qcard h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); }
.qcard p { color: var(--muted); font-size: 1.02rem; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.qchips span { padding: 8px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .86rem; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .45s var(--ease), transform .5s var(--ease), background .3s, color .3s; transition-delay: calc(var(--k) * 45ms); }
.qstep.active .qchips span, .qa:not(.on) .qchips span { opacity: 1; transform: none; }
.qchips span:hover { background: var(--navy); color: #fff; }
.qa:not(.on) .qstep { --f: 1; }
@media (max-width: 900px) {
  .qa-grid { grid-template-columns: 1fr; }
  .qa-side { position: sticky; top: 64px; z-index: 5; }
  .qa-sticky { position: static; gap: 12px; padding-block: 12px; background: var(--bg); }
  .qa-sticky .eyebrow, .qa-sticky h2 { display: none; }
  .qa-visual { aspect-ratio: auto; height: 150px; border-radius: 22px; }
  .qa-ring { width: 130px; }
  .qv .qv-ic { display: none; }
  .qv b { font-size: 2.2rem; }
  .qa-steps { padding: 6vh 0 12vh; gap: 8vh; }
  .qstep { grid-template-columns: 1fr; }
  .qnum { font-size: 1.8rem; }
  .qa .mobile-head { display: grid; }
}
.qa .mobile-head { display: none; gap: 12px; margin-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .qstep { opacity: 1; filter: none; transform: none; } }
.qa-side { align-self: stretch; }
@media (max-width: 900px) { .qa-side { top: 70px; align-self: start; } .qstep .qnum { display: none; } }
.story-pin { grid-template-columns: minmax(0, 1fr); }
.story-head, .story-head > * { min-width: 0; }
@media (max-width: 760px) { .story-nav { scrollbar-width: none; } .story-nav::-webkit-scrollbar { display: none; } .story-line { display: none; } }

/* ---------- mission, vision & core values (home) */
.mvv { background: radial-gradient(50% 40% at 100% 0%, rgba(237,125,49,.08), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(91,155,213,.12), transparent 70%), var(--bg); }
.mv2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .mv2 { grid-template-columns: 1fr; } }
.mvc { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; padding: clamp(30px, 4vw, 52px); color: #fff; display: grid; gap: 16px; align-content: start; box-shadow: var(--card-shadow-hi); transition: transform .5s var(--ease); }
.mvc:hover { transform: translateY(-6px); }
.mvc.mission { background: radial-gradient(80% 80% at 100% 0%, rgba(91,155,213,.5), transparent 60%), linear-gradient(150deg, var(--navy), var(--navy-deep)); }
.mvc.vision { background: radial-gradient(80% 80% at 100% 0%, rgba(255,214,170,.45), transparent 60%), linear-gradient(150deg, #f08a42, #d9621a); }
.mvc > svg.flake { position: absolute; z-index: -1; width: 300px; right: -80px; bottom: -90px; color: #fff; opacity: .12; animation: spin 70s linear infinite; }
.mvc-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(255,255,255,.15); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.mvc-ic svg { width: 32px; height: 32px; }
.mvc:hover .mvc-ic svg { animation: icPop .8s var(--ease); }
.mvc-k { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -.02em; }
.mvc p { color: #fff; font-size: 1.12rem; line-height: 1.65; opacity: .95; max-width: 52ch; }
.cv-head { display: grid; gap: 8px; justify-items: center; text-align: center; margin: clamp(56px, 7vw, 84px) auto 30px; max-width: 640px; }
.cv-head h3 { font-size: var(--step-2); }
.cv-head span { color: var(--muted); }
.cvs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .cvs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cvs { grid-template-columns: 1fr; } }
.cv { position: relative; isolation: isolate; overflow: hidden; background: var(--surface); border-radius: 22px; padding: 28px; box-shadow: var(--card-shadow); display: grid; gap: 12px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s, color .4s; }
.cv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); clip-path: circle(0 at 52px 56px); transition: clip-path .7s var(--ease); }
.cv:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hi); color: #fff; }
.cv:hover::before { clip-path: circle(150% at 52px 56px); }
.cv-n { position: absolute; right: 22px; top: 16px; font-family: var(--f-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); transition: -webkit-text-stroke-color .4s; }
.cv:hover .cv-n { -webkit-text-stroke-color: rgba(255,255,255,.3); }
.cv-ic { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; background: linear-gradient(140deg, #ffb067, var(--orange)); color: #fff; box-shadow: 0 10px 20px -10px rgba(237,125,49,.9); transition: transform .5s var(--ease); }
.cv:hover .cv-ic { transform: rotate(-8deg) scale(1.08); }
.cv-ic svg { width: 28px; height: 28px; }
.cv h3 { font-size: 1.25rem; }
.cv p { color: var(--muted); font-size: .96rem; transition: color .4s; }
.cv:hover p { color: #c4d4ea; }
.cv:nth-child(n+4) .cv-ic { background: linear-gradient(140deg, #8ec5ff, var(--sky)); box-shadow: 0 10px 20px -10px rgba(91,155,213,.9); }

/* ---------- core values: expanding panels */
.cvx { display: flex; gap: 12px; height: clamp(380px, 46vw, 460px); }
.cvp { position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; min-width: 0; border: 0; border-radius: 26px; padding: 0; cursor: pointer; text-align: left; color: #fff; font: inherit; transition: flex-grow .8s var(--ease), box-shadow .5s, transform .5s var(--ease); box-shadow: var(--card-shadow); }
.cvp.work { background: radial-gradient(90% 70% at 100% 0%, rgba(91,155,213,.55), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-deep)); }
.cvp.for { background: radial-gradient(90% 70% at 100% 0%, rgba(255,214,170,.5), transparent 60%), linear-gradient(160deg, #f39150, #d55f17); }
.cvp.on { flex-grow: 4.2; box-shadow: var(--card-shadow-hi); }
.cvp:not(.on):hover { transform: translateY(-4px); }
.cvp > svg.flake { position: absolute; z-index: -1; width: 340px; right: -110px; bottom: -120px; opacity: .1; color: #fff; transition: opacity .6s, transform 1.2s var(--ease); }
.cvp.on > svg.flake { opacity: .16; transform: rotate(30deg) scale(1.1); }
.cvp-ic { position: absolute; left: 22px; top: 22px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); transition: transform .6s var(--ease); }
.cvp-ic svg { width: 26px; height: 26px; }
.cvp.on .cvp-ic { transform: scale(1.12); }
.cvp-v { position: absolute; left: 26px; bottom: 26px; writing-mode: vertical-rl; rotate: 180deg; font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .02em; white-space: nowrap; transition: opacity .35s; }
.cvp.on .cvp-v { opacity: 0; }
.cvp-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(26px, 3vw, 40px); display: grid; gap: 10px; opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .6s var(--ease); pointer-events: none; min-width: 320px; }
.cvp.on .cvp-body { opacity: 1; transform: none; transition-delay: .25s; }
.cvp-tag { width: fit-content; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); }
.cvp-n { font-family: var(--f-display); font-weight: 700; font-size: 4.4rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.cvp-t { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; }
.cvp-d { font-size: 1.05rem; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 40ch; }
.cvp-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: rgba(255,255,255,.75); transform-origin: 0 50%; transform: scaleX(0); }
.cvp.on .cvp-bar.run { animation: fbar var(--cvd, 4.5s) linear forwards; }
.cvp:focus-visible { outline-offset: 4px; }
@media (max-width: 760px) {
  .cvx { flex-direction: column; height: auto; }
  .cvp { flex: none; height: 76px; transition: height .7s var(--ease), box-shadow .5s; }
  .cvp.on { height: 300px; }
  .cvp-ic { top: 12px; left: 14px; width: 50px; height: 50px; }
  .cvp-v { writing-mode: horizontal-tb; rotate: none; left: 80px; top: 50%; bottom: auto; translate: 0 -50%; font-size: 1.1rem; }
  .cvp.on .cvp-v { opacity: 0; }
  .cvp-body { min-width: 0; padding: 22px; }
  .cvp-n { font-size: 3rem; }
  .cvp > svg.flake { width: 240px; right: -80px; bottom: -90px; }
}
/* core values: alternating blue / orange with a subtle snowflake-grid pattern */
.cvp::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12; background-image: radial-gradient(rgba(255,255,255,.9) 1.2px, transparent 1.6px), linear-gradient(60deg, transparent 48%, rgba(255,255,255,.5) 49%, rgba(255,255,255,.5) 51%, transparent 52%), linear-gradient(-60deg, transparent 48%, rgba(255,255,255,.5) 49%, rgba(255,255,255,.5) 51%, transparent 52%); background-size: 22px 22px, 44px 76px, 44px 76px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); transition: opacity .6s; }
.cvp.on::before { opacity: .18; }

/* ---------- About: intro, at-a-glance, PPP diagram, principles */
.ab-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .ab-grid { grid-template-columns: 1fr; } }
.ab-copy { display: grid; gap: 20px; }
.ab-copy > p:not(.lede) { color: var(--muted); }
.ab-copy .lede { color: var(--ink); }
.ab-quote { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 20px 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--card-shadow); border-left: 4px solid var(--orange); }
.ab-quote > svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(237,125,49,.14); color: var(--orange); }
.ab-quote p { color: var(--ink); }
.ab-quote b { color: var(--brand); }
.ab-collage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: center; }
.ab-collage > div.media { position: absolute; border-radius: 26px; box-shadow: var(--card-shadow-hi); overflow: hidden; }
.ab-collage .c1 { inset: 0 22% 30% 0; }
.ab-collage .c2 { inset: 46% 0 0 34%; border: 8px solid var(--bg); }
.ab-collage .c3 { width: 34%; aspect-ratio: 1; right: 0; top: 4%; border: 6px solid var(--bg); }
.ab-collage .media img { transition: transform 1.2s var(--ease); }
.ab-collage:hover .media img { transform: scale(1.05); }
.ab-badge { position: absolute; left: -4%; bottom: 8%; z-index: 3; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--card-shadow-hi); animation: bob 6s ease-in-out infinite; }
.ab-badge img { width: 46px; height: 46px; }
.ab-badge b { display: block; font-family: var(--f-display); font-size: 1.15rem; }
.ab-badge span { font-size: .85rem; color: var(--muted); }
.glance-sec { padding-bottom: clamp(60px, 8vw, 100px); }
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .glance { grid-template-columns: 1fr; } }
.gl { position: relative; overflow: hidden; background: var(--surface); border-radius: 22px; padding: 24px; box-shadow: var(--card-shadow); display: grid; gap: 6px; align-content: start; transition: transform .45s var(--ease), box-shadow .45s; text-decoration: none; color: var(--ink); }
.gl:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hi); }
.gl::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.gl:hover::after { transform: scaleX(1); }
.gl-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 8px; }
.gl-ic svg { width: 24px; height: 24px; }
.gl small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.gl b { font-family: var(--f-display); font-size: 1.7rem; line-height: 1.1; letter-spacing: -.02em; }
.gl > span:last-child { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.gl-wide { grid-column: span 2; }
@media (max-width: 520px) { .gl-wide { grid-column: auto; } }
.pins { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pinp { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--bg); font-weight: 600; font-size: .92rem; transition: background .3s, color .3s; }
.pinp i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; }
.pinp i svg { width: 14px; height: 14px; }
.pinp small { font-weight: 500; color: var(--muted); font-size: .76rem; }
.pinp:hover { background: var(--navy); color: #fff; }
.pinp:hover small { color: #c4d4ea; }
.gl-ed { grid-column: span 2; grid-template-columns: 84px 1fr auto; align-items: center; gap: 18px; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #fff; }
@media (max-width: 520px) { .gl-ed { grid-column: auto; grid-template-columns: 64px 1fr auto; } }
.gl-ed small { color: #ffb067; }
.gl-ed b { color: #fff; }
.gl-ed div > span { color: #c4d4ea; font-size: .9rem; display: block; margin-top: 2px; }
.ed-ph { position: relative; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--orange); }
@media (max-width: 520px) { .ed-ph { width: 64px; height: 64px; } }
.ed-ph img { object-position: 78% 30%; transform: scale(1.6); transform-origin: 78% 30%; }
.ed-go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); transition: transform .4s var(--ease); }
.ed-go svg { width: 20px; height: 20px; }
.gl-ed:hover .ed-go { transform: rotate(-45deg); }
.ppp-sec { background: var(--surface); }
.ppp { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pp { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 30px 24px; border-radius: 24px; background: var(--bg); box-shadow: var(--card-shadow); transition: transform .45s var(--ease), box-shadow .45s; }
.pp:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hi); }
.pp p { color: var(--muted); font-size: .95rem; }
.pp-ic { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #4f8fd6, var(--navy)); box-shadow: 0 14px 26px -14px rgba(18,73,140,.9); margin-bottom: 6px; }
.pp-ic svg { width: 32px; height: 32px; }
.pp-ic img { width: 100%; height: 100%; border-radius: 20px; }
.pp.pei { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; }
.pp.pei p { color: #c4d4ea; }
.pp.pei .pp-ic { background: none; box-shadow: 0 0 0 4px rgba(255,255,255,.15), 0 14px 26px -14px rgba(0,0,0,.6); }
.pp.don .pp-ic { background: linear-gradient(140deg, #ffb067, var(--orange)); box-shadow: 0 14px 26px -14px rgba(237,125,49,.9); }
.ppp-lines { grid-column: 1 / -1; width: 100%; height: 90px; margin: -6px 0; overflow: visible; }
.ppp-lines path { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 8 9; vector-effect: non-scaling-stroke; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -34; } }
.pp-com { grid-column: 1 / -1; display: flex; gap: 22px; align-items: center; justify-content: center; text-align: left; padding: 28px clamp(24px, 4vw, 44px); border-radius: 24px; background: linear-gradient(120deg, #ff9a52, #e5701f); color: #fff; box-shadow: var(--card-shadow-hi); }
.pp-com .pp-ic { background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); margin: 0; flex-shrink: 0; }
.pp-com p { color: #fff; opacity: .95; max-width: 62ch; }
.pp-com h3 { font-size: 1.4rem; }
@media (max-width: 760px) { .ppp { grid-template-columns: 1fr; } .ppp-lines { height: 50px; } .ppp-lines path:not(:nth-child(2)) { display: none; } .pp-com { flex-direction: column; text-align: center; } }
.prs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .prs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .prs { grid-template-columns: 1fr; } }
.pr { position: relative; overflow: hidden; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); display: grid; gap: 10px; align-content: start; transition: transform .45s var(--ease), background .4s, box-shadow .4s; }
.pr:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(237,125,49,.6), 0 24px 50px -24px rgba(0,0,0,.7); }
.pr-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(140deg, #ffb067, var(--orange)); color: #fff; transition: transform .5s var(--ease); }
.pr:nth-child(even) .pr-ic { background: linear-gradient(140deg, #8ec5ff, var(--sky)); }
.pr:hover .pr-ic { transform: rotate(-8deg) scale(1.08); }
.pr-ic svg { width: 25px; height: 25px; }
.pr h3 { color: #fff; font-size: 1.12rem; }
.pr p { color: #b9cbe3; font-size: .92rem; }
.pinp small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); font-size: .78rem; }
.gl-ed { align-content: center; }
.gl-ed > div { display: grid; gap: 4px; min-width: 0; }
.gl-ed b { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.gl-ed > span.ed-go { color: #fff; }
@media (max-width: 520px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .gl { padding: 18px; } .gl b { font-size: 1.3rem; } .gl-wide, .gl-ed { grid-column: 1 / -1; } }

/* offices + sector counts + PPP recognition */
.offgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .offgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .offgrid { grid-template-columns: 1fr; } }
.off { position: relative; overflow: hidden; display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: 22px; background: var(--surface); box-shadow: var(--card-shadow); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s; }
.off:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hi); }
.off:nth-child(odd) .off-ic { background: linear-gradient(140deg, #4f8fd6, var(--navy)); }
.off-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #ffb067, var(--orange)); margin-bottom: 6px; }
.off-ic svg { width: 24px; height: 24px; }
.off small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.off h3 { font-size: 1.4rem; }
.off p { color: var(--muted); font-size: .94rem; }
.off-ph { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .92rem; }
.off-ph svg { width: 16px; height: 16px; color: var(--orange); }
.off .link-arrow { margin-top: 6px; font-size: .92rem; }
.scs { display: grid; gap: 12px; }
.sc { padding: 16px 20px; border-radius: 16px; background: var(--surface); box-shadow: var(--card-shadow); display: grid; gap: 10px; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 600; }
.sc-top b { font-family: var(--f-display); font-size: 1.5rem; color: var(--brand); }
.sc i { display: block; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--orange), #ffb067); transform-origin: 0 50%; transform: scaleX(var(--w)); transition: transform 1.2s var(--ease) .2s; }
.sc:nth-child(even) i { background: linear-gradient(90deg, var(--navy), var(--sky)); }
.js .sc[data-reveal]:not(.in) i { transform: scaleX(0); }
.ppp-rec { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: .95rem; margin: -4px 0 6px; }
