*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:82px}body{margin:0;color:#122d4d;font:16px/1.7 Inter,"PingFang HK","Microsoft JhengHei",sans-serif}a{color:inherit;text-decoration:none}header{display:flex;align-items:center;justify-content:space-between;padding:12px 6vw;background:#fff;position:sticky;top:0;z-index:5;border-bottom:1px solid #dce6f1}header img{width:100px;display:block;mix-blend-mode:multiply}nav{display:flex;gap:2.5vw;font-size:14px;font-weight:650}nav a:hover,article a:hover{color:#087bcf}.navcta,.btn,button{display:inline-flex;gap:22px;align-items:center;justify-content:center;background:#194581;color:white;padding:10px 20px;border-radius:5px;font-weight:700;border:0;cursor:pointer}.hero{min-height:570px;height:min(75vh,780px);position:relative;overflow:hidden;display:flex;align-items:center;color:white;background:#082549}.scene{position:absolute;inset:-3%;background:linear-gradient(90deg,#051932dc,transparent 89%),url(assets/harbour.webp) center/cover;transform:scale(var(--zoom,1))}.heroCopy{position:relative;padding:4vw 7vw;animation:rise .9s ease-out}.hero small:before{content:'';display:inline-block;width:34px;height:2px;background:#72d8ff;vertical-align:middle;margin-right:12px}small{font-size:12px;font-weight:750;letter-spacing:.17em}.hero .hero-title{font-size:clamp(46px,5.8vw,94px);line-height:1.15;letter-spacing:-.055em;margin:20px 0}.hero .hero-title span{color:#83d6ff}.hero h1{font-size:clamp(16px,1.4vw,24px);margin:0 0 30px}.btn{background:#fff;color:#133866;padding:14px 21px}.down{position:absolute;bottom:35px;right:6vw;border:1px solid #ffffff88;border-radius:50%;padding:7px 17px;color:white}.trail{position:absolute;bottom:0;height:3px;width:38%;background:linear-gradient(90deg,transparent,#61ccff,#fff,transparent);animation:travel 4s infinite ease-in-out}.wrap{width:min(1190px,88%);margin:auto}.feature{padding:84px 0;display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:center}.photo{overflow:hidden;border-radius:4px}.photo img{display:block;width:100%;height:420px;object-fit:cover;transition:transform 1.5s}.photo:hover img{transform:scale(1.07)}small{color:#326598}.hero small,.case small,footer small{color:#badafa}h2{font-size:clamp(30px,3.3vw,56px);letter-spacing:-.05em;line-height:1.2;margin:14px 0 22px}p{color:#52667c}.hero .hero-title,.case p{color:inherit}summary{cursor:pointer;padding:12px 0;font-weight:700}details{border-top:1px solid #ccd8e4}details p{margin:0 0 14px}.case{background:linear-gradient(115deg,#0d284c,#154c8e);color:white;padding:64px 0}.case strong{display:block;font-size:clamp(54px,9.3vw,145px);line-height:1;letter-spacing:-.065em}.case em{font-size:.38em;letter-spacing:0;font-style:normal;margin-right:.25em}.case p{margin-bottom:12px}.casefoot{margin-top:27px;padding-top:19px;border-top:1px solid #ffffff42;display:flex;align-items:center;justify-content:space-between;gap:15px}.casefoot button{background:white;color:#153962}.clients,.funds{padding:66px 0}.logos{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #d7e1ed;border-left:1px solid #d7e1ed}.logos figure{margin:0;padding:20px 10px 12px;text-align:center;border:solid #d7e1ed;border-width:0 1px 1px 0}.logos img{width:82%;height:54px;object-fit:contain;transition:transform .3s}.logos figure:hover img{transform:scale(1.07)}figcaption{font-size:12px;color:#425873;margin-top:10px}.funds{background:#eff5fa}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}article img{width:100%;aspect-ratio:1.6;object-fit:cover;border-radius:4px}article h3{margin:.6em 0 .25em}article p{font-size:15px;margin:.3em 0 1em}article a{font-weight:700;color:#194581}footer{background:#102e51;color:white;padding:46px 6%;display:flex;gap:18px;align-items:center;justify-content:space-between}footer h2{font-size:clamp(23px,2.5vw,38px);margin-bottom:0}dialog{border:0;border-radius:8px;padding:24px;width:min(920px,94vw)}dialog img{width:100%}dialog::backdrop{background:#071e39aa}body .enter{animation:rise .75s both}@keyframes rise{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}@keyframes travel{from{left:-40%}to{left:102%}}@media(max-width:800px){nav{display:none}.hero{min-height:480px;height:68vh}.feature{grid-template-columns:1fr;padding:48px 0}.photo img{height:240px}.logos{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr 1fr}.casefoot,footer{align-items:flex-start;flex-direction:column}.clients,.funds{padding:44px 0}.heroCopy{padding:6vw}.case{padding:40px 0}.navcta{font-size:14px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;transform:none!important}}

/* Shared navigation */
.site-header {
  gap: clamp(12px, 2vw, 32px);
  padding-inline: 4vw;
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 24px);
  font-size: clamp(12px, 1vw, 15px);
}
.site-header a { white-space: nowrap; }
.site-header .primary-fund, .related-links .primary-fund {
  color: #153e79;
  font-weight: 900;
}
.site-header [aria-current="page"] {
  color: #0c65b5;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.menu-toggle { display: none; }
.reading-progress {
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  background: #43b7ff;
  transform: scaleX(var(--reading, 0));
  transform-origin: left;
  pointer-events: none;
}
:focus-visible { outline: 3px solid #28a0e6; outline-offset: 5px; }

/* Scroll-linked hero, light passes and section entrances */
.scene {
  inset: -7%;
  transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0) scale(var(--zoom, 1));
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, #0519329c);
  pointer-events: none;
}
.heroCopy, .down { z-index: 2; }
.heroCopy { translate: 0 var(--copy-y, 0px); }
.trail { z-index: 3; }
.harbour-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 36%, #73d9ff18 46%, #b0ecff4d 49%, #2a9fff18 52%, transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: harbour-sweep 7s ease-in-out infinite;
}
.down { animation: guide 2.8s ease-in-out 3; }
@keyframes harbour-sweep {
  0%, 14% { transform: translateX(-95%); opacity: 0; }
  30%, 66% { opacity: 1; }
  86%, 100% { transform: translateX(95%); opacity: 0; }
}
@keyframes guide {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 6px; }
}
.photo img { object-position: center; }
.feature .photo img {
  transform: scale(calc(1.05 + var(--warehouse-scale, 0))) translateY(var(--warehouse-y, 0px));
}
.feature .photo:hover img { transform: scale(calc(1.09 + var(--warehouse-scale, 0))); }
.feature .photo img { transition: none; }
.case { position: relative; isolation: isolate; overflow: hidden; }
.case::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 83% 60%, #357fb97a 0%, transparent 55%);
  pointer-events: none;
}
.case strong.enter { animation: case-rise .8s cubic-bezier(.19, 1, .22, 1) both; }
@keyframes case-rise {
  from { opacity: .25; transform: translateY(16px); clip-path: inset(0 100% 0 0); }
  to { opacity: 1; transform: none; clip-path: inset(0); }
}
.reveal-ready .enter {
  animation: rise .72s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
.logos figure {
  min-height: 117px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: white;
  transition: background .25s;
}
.logos figure:hover { background: #f5f9fd; }
.logos img { width: 100%; max-width: 180px; height: 72px; }
.logos figure:last-child img { mix-blend-mode: multiply; }
.card-photo { overflow: hidden; border-radius: 5px; }
.card-photo img {
  display: block;
  transition: transform .52s cubic-bezier(.22, 1, .36, 1);
}
.fund-card { display: block; height: 100%; }
.fund-card:hover img, .fund-card:focus-visible img { transform: scale(1.08); }
.fund-card p { min-height: 3.3em; }
.fund-link { font-weight: 750; color: #194581; }
.fund-link span { display: inline-block; transition: transform .25s; }
.fund-card:hover .fund-link span { transform: translate(3px, -3px); }

/* Fund detail pages */
.fund-hero {
  background: #0c2848;
  color: white;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.fund-hero-image {
  position: absolute;
  inset: 0 0 0 40%;
  z-index: -1;
}
.fund-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--zoom, 1));
}
.fund-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0c2848, #0c284860 43%, #0c284810);
}
.fund-hero-content { padding-block: clamp(44px, 7vw, 105px); }
.fund-hero h1 {
  font-size: clamp(34px, 5.3vw, 78px);
  letter-spacing: -.06em;
  line-height: 1.12;
  margin: 22px 0 16px;
}
.breadcrumb { color: #b8dcfb; font-size: 14px; font-weight: 700; }
.fund-hero p { max-width: 37ch; color: #e0ebf8; margin: 0 0 22px; }
.fund-hero .fund-tagline {
  font-size: clamp(20px, 2.2vw, 30px);
  color: white;
  font-weight: 700;
  margin-bottom: 8px;
}
.fund-audience, .fund-projects, .fund-prep, .related-funds { padding-block: clamp(38px, 5vw, 72px); }
.fund-audience p { max-width: 65ch; margin: 0; }
.fund-page h2 { font-size: clamp(27px, 3vw, 44px); }
.fund-projects, .related-funds { background: #eff5fa; }
.project-grid, .fund-prep { display: grid; gap: 20px; }
.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-card {
  padding: 22px;
  background: white;
  border-top: 3px solid #2465a6;
  border-radius: 4px;
}
.project-card h3 { margin-top: 0; }
.project-card p { margin-bottom: 0; }
.fund-prep { grid-template-columns: 1fr 1fr; align-items: center; }
.fund-prep ul { padding-left: 1.25em; }
.fund-prep li { margin: .4em 0; }
.fund-action { padding: 24px; background: #e9f4ff; border-radius: 6px; }
.fund-action h3 { margin: 0; }
.fund-references { font-size: 14px; padding: 0 0 40px; }
.fund-references p { margin-bottom: 4px; }
.fund-references a { text-decoration: underline; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a {
  padding: 9px 14px;
  background: white;
  border-radius: 4px;
  border: 1px solid #cfdeed;
}

@media (max-width: 1080px) {
  .site-header { justify-content: flex-start; }
  .site-header .navcta { margin-left: auto; }
  .menu-toggle {
    display: inline-flex;
    background: #edf4fb;
    color: #123f79;
    padding: 8px 12px;
    gap: 8px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 14px 4vw;
    background: white;
    flex-wrap: wrap;
    box-shadow: 0 12px 20px #0a234b1f;
    justify-content: flex-start;
    gap: 3px 20px;
    font-size: 15px;
  }
  .site-header nav[data-open] { display: flex; }
  .site-header nav a { padding: 9px 0; }
}
@media (max-width: 620px) {
  .site-header { gap: 8px; }
  .site-header img { width: 80px; }
  .site-header .navcta { padding: 8px 10px; font-size: 12px; }
  .fund-hero-image { inset: 0; }
  .fund-hero-image::after { background: linear-gradient(90deg, #0c2848ee, #0c2848a3); }
  .project-grid, .fund-prep { grid-template-columns: 1fr; }
  .logos figure { min-height: 90px; padding: 12px; }
  .logos img { height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .heroCopy, .down { translate: none; }
  .reading-progress { display: none; }
}

@media (max-width: 620px) {
  .funds .cards {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    padding: 4px 4px 16px;
    scrollbar-color: #3d7fb7 #dce8f3;
    scrollbar-width: thin;
  }
  .funds .cards article {
    flex: 0 0 76%;
    scroll-snap-align: start;
  }
  .fund-card p { min-height: 0; }
}
@media (max-width: 620px) {
  .hero .hero-title { font-size: clamp(33px, 9.6vw, 46px); }
}

.hero h1 { font-weight: 500; line-height: 1.55; }
.hero .hero-title { font-weight: 750; }
.site-header img, .card-photo img, dialog img { height: auto; }
.funding-faq { padding-block: clamp(42px, 6vw, 76px); }
.funding-faq details p { max-width: 66ch; }
.funding-faq a { color: #194581; text-decoration: underline; text-underline-offset: 3px; }

/* About and contact — navy, white and selected gold accents from the profile. */
@media (max-width: 1240px) {
  .site-header { justify-content: flex-start; }
  .site-header .navcta { margin-left: auto; }
  .menu-toggle {
    display: inline-flex;
    background: #edf4fb;
    color: #123f79;
    padding: 8px 12px;
    gap: 8px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: 14px 4vw;
    background: white;
    flex-wrap: wrap;
    box-shadow: 0 12px 20px #0a234b1f;
    justify-content: flex-start;
    gap: 3px 20px;
    font-size: 15px;
  }
  .site-header nav[data-open] { display: flex; }
  .site-header nav a { padding: 9px 0; }
}

.about-page { --about-gold: #9d771b; --about-navy: #13213a; }
.about-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(142deg, #f4f7fb 0%, #fff 58%, #e8f0f8 100%);
}
.about-orbit {
  position: absolute;
  z-index: -1;
  width: min(55vw, 700px);
  aspect-ratio: 1;
  right: -12%;
  top: -48%;
  border: 1px solid #b6c8dd;
  border-radius: 50%;
  box-shadow: 0 0 0 45px #c4d7ea29, 0 0 0 100px #c4d7ea19, 0 0 0 165px #c4d7ea10;
  transform: translateY(var(--scene-y, 0px)) scale(var(--zoom, 1));
  animation: about-orbit-fade 6s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes about-orbit-fade {
  from { opacity: .45; }
  to { opacity: 1; }
}
.about-intro {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(35px, 6vw, 80px);
  padding-block: clamp(64px, 9vw, 140px);
}
.about-lead { animation: rise .85s both; }
.about-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--about-gold);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .13em;
}
.about-eyebrow span {
  width: 34px;
  height: 2px;
  background: currentColor;
}
.about-lead h1 {
  color: var(--about-navy);
  font-size: clamp(2.65rem, 5.2vw, 4.7rem);
  line-height: 1.18;
  letter-spacing: -.06em;
  margin: 24px 0;
}
.about-lead h1 span { color: #22568e; }
.about-lead p { max-width: 29ch; font-size: 1.16rem; }
.about-primary { margin-top: 14px; }
.about-profile {
  border-left: 1px solid #cbd7e4;
  padding-left: clamp(24px, 4vw, 52px);
}
.about-profile h2 {
  font-size: 1.22rem;
  font-weight: 750;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.about-profile > p { margin: 0 0 28px; }
.about-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 16px; }
.about-metric { min-width: 0; }
.about-metric strong {
  display: block;
  color: var(--about-gold);
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  line-height: 1.12;
  white-space: nowrap;
}
.metric-unit { font-size: .65em; letter-spacing: -.04em; }
.metric-label { display: block; font-weight: 650; margin-top: 8px; }
.metric-wide {
  grid-column: 1 / -1;
  border-top: 1px solid #d0dce6;
  padding-top: 23px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 25px;
}
.about-belief {
  background: var(--about-navy);
  color: white;
  padding: clamp(38px, 6vw, 76px) 0;
  position: relative;
  overflow: hidden;
}
.about-belief::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, #c9a22720 49%, transparent 71%);
  animation: harbour-sweep 9s ease-in-out infinite;
  pointer-events: none;
}
.about-belief-inner { position: relative; }
.about-belief blockquote {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.5;
}
.about-belief p { color: #d2deed; margin: 12px 0 0; }
.about-contact { padding-block: clamp(50px, 7vw, 88px); }
.about-contact-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.about-contact-heading h2 { margin-bottom: 0; }
.about-contact-heading p { max-width: 37ch; margin: 0; }
.office-grid, .about-message-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office {
  padding: clamp(20px, 3vw, 35px);
  border: 1px solid #d6e1ed;
  border-top: 3px solid #22568e;
  background: #f5f8fc;
}
.office-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.office-title h3 { font-size: 1.2rem; margin: 0; }
.office-code {
  display: inline-grid;
  place-items: center;
  min-width: 45px;
  height: 45px;
  color: #194581;
  border: 1px solid #bccfe3;
  font-size: .9rem;
  font-weight: 750;
  letter-spacing: .05em;
}
.office address { font-style: normal; color: #334f70; font-size: 1.08rem; line-height: 1.75; }
.about-message-grid { margin-top: 26px; }
.about-channel {
  display: grid;
  grid-template-columns: minmax(130px, 190px) 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  border: 1px solid #d6e1ed;
  padding: 18px;
  min-width: 0;
}
.about-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}
.about-qr img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 200px;
  object-fit: contain;
  border-radius: 0;
  aspect-ratio: auto;
}
.about-channel-info h3 { margin: 0; font-size: 1.15rem; }
.about-channel-info p { margin: 6px 0 12px; font-size: .96rem; }
.about-wa {
  display: inline-flex;
  color: white;
  background: #17634a;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: .93rem;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.about-wa:hover { background: #0f4c38; color: #fff; transform: translateY(-2px); }
@media (max-width: 800px) {
  .about-intro { grid-template-columns: 1fr; gap: 36px; padding-block: 55px; }
  .about-lead h1 { max-width: 15ch; }
  .about-profile { border-left: 0; border-top: 1px solid #cbd7e4; padding: 30px 0 0; }
  .about-contact-heading { display: block; }
  .about-contact-heading p { margin-top: 12px; }
  .about-message-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .office-grid { grid-template-columns: 1fr; }
  .about-channel { grid-template-columns: minmax(115px, 148px) 1fr; padding: 12px; gap: 10px; }
  .about-channel-info p { font-size: .9rem; }
  .about-wa { font-size: .875rem; padding: 9px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-orbit, .about-belief::before { animation: none; }
}
.about-qr a { display: block; width: 100%; }

/* Keep the header and case amount within very narrow mobile viewports. */
@media (max-width: 340px) {
  .site-header { gap: 6px; }
  .site-header img { width: 72px; }
  .menu-toggle { flex-shrink: 0; white-space: nowrap; gap: 5px; padding-inline: 8px; }
  .case strong { font-size: 50px; }
}


.footer-email {
  display: inline-block;
  margin-top: 10px;
  color: #d6e6f6;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.footer-email:hover { color: white; text-decoration: underline; }
.about-email {
  margin: 24px 0 0;
  padding: 16px 20px;
  background: #f5f8fc;
  color: #194581;
  border: 1px solid #d6e1ed;
  overflow-wrap: anywhere;
}
.about-email strong { margin-right: 12px; }
.about-email a { color: #194581; text-decoration: underline; text-underline-offset: 3px; }
