/* =========================================================
   KB Associates — site styles
   ========================================================= */
:root {
  /* Brand palette — KB Associates Brand Book, section 3.0 */
  --navy: #00193a;      /* Navy Blue (primary) */
  --navy-2: #002247;    /* crane shadow facet */
  --ink: #00265e;       /* headline navy as used on the site */
  --blue: #0048a3;      /* Dark Blue */
  --blue-2: #0065e7;    /* Blue */
  --mid: #0065e7;
  --sky: #58b8ff;       /* Light Blue */
  --sky-2: #b8d4fc;
  --orange: #d34b00;    /* Orange */
  --orange-2: #e59366;
  --grey: #dedede;
  --grey-2: #d0d3d9;
  --grey-3: #b9c6dc;
  --muted: #c3c8d4;
  --text: #0d2148;
  --white: #fff;
  /* Brand type — DM Sans (primary), Georgia (secondary) */
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --pad: clamp(20px, 8.1vw, 156px);
  --max: 1920px;
  --header-h: clamp(56px, 4.7vw, 84px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Typography ---------- */
.display {
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(48px, 8.4vw, 132px);
}
.h2 { font-weight: 500; color: var(--ink); letter-spacing: -0.01em; line-height: 1.12; font-size: clamp(28px, 2.6vw, 40px); }
.h3 { font-weight: 600; color: var(--ink); line-height: 1.2; font-size: clamp(20px, 1.6vw, 26px); }
.lead { font-size: clamp(22px, 2.1vw, 32px); line-height: 1.3; color: var(--ink); font-weight: 400; }
.body { font-size: 15px; line-height: 1.6; color: var(--text); }
.body p + p { margin-top: 1em; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  padding: 3px 10px; border-radius: 999px; background: var(--grey); color: var(--ink);
}
.tag--light { background: #fff; color: var(--navy); }

/* ---------- Icons / brand ---------- */
.crane { display: block; width: 100%; height: auto; overflow: visible; }
.kb-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.kb-logo svg { width: 22px; height: 22px; }
.kb-logo span { font-family: var(--serif); letter-spacing: .22em; font-size: 14px; font-weight: 500; text-transform: uppercase; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h);
  background: var(--navy); color: #fff;
  transition: transform .5s var(--ease), background .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-btn {
  background: var(--grey-2); color: var(--navy); font-size: 14px; font-weight: 500;
  padding: 6px 22px; border-radius: 2px; transition: background .25s, color .25s;
}
.menu-btn:hover { background: #fff; }
.pen-btn { width: 22px; height: 22px; color: #fff; opacity: .9; transition: transform .3s var(--ease); }
.pen-btn:hover { transform: rotate(-12deg) scale(1.1); }
main { padding-top: var(--header-h); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--navy); color: #fff;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io);
  display: flex; flex-direction: column; overflow: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu__close { background: #fff; color: var(--navy); font-size: 14px; font-weight: 500; padding: 6px 22px; border-radius: 2px; }
.menu__body { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-bottom: 40px; }
.menu__links { list-style: none; margin: 0; padding: 0; }
.menu__links li { overflow: hidden; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px; font-size: clamp(36px, 5.4vw, 84px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em;
  transform: translateY(110%); transition: transform .9s var(--ease), color .3s;
}
.menu__links a small { font-size: 13px; font-weight: 400; color: var(--sky); letter-spacing: 0; }
.menu.is-open .menu__links a { transform: none; }
.menu__links li:nth-child(2) a { transition-delay: .06s; }
.menu__links li:nth-child(3) a { transition-delay: .12s; }
.menu__links li:nth-child(4) a { transition-delay: .18s; }
.menu__links li:nth-child(5) a { transition-delay: .24s; }
.menu__links li:nth-child(6) a { transition-delay: .30s; }
.menu__links a:hover, .menu__links a.is-current { color: var(--sky); }
.menu__aside { display: flex; flex-direction: column; gap: 28px; font-size: 14px; opacity: 0; transform: translateY(20px); transition: opacity .6s .35s, transform .8s .35s var(--ease); }
.menu.is-open .menu__aside { opacity: 1; transform: none; }
.menu__aside .crane { width: min(340px, 80%); }
.menu__aside h4 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.menu__aside p { color: #c9d4ee; }
body.menu-open { overflow: hidden; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }
.split-line:nth-child(2) > span { transition-delay: .1s; }
.split-line:nth-child(3) > span { transition-delay: .2s; }

.vline { width: 1px; background: var(--grey-3); transform-origin: top; transform: scaleY(0); transition: transform 1.4s var(--ease); }
.vline.is-in { transform: scaleY(1); }
.hline { height: 1px; background: var(--grey-3); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.hline.is-in { transform: scaleX(1); }

/* ---------- Media placeholders ---------- */
.media { position: relative; overflow: hidden; background: #cfd5e1; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ph-portrait {
  width: 100%; height: 100%; display: grid; place-items: end center;
  background: linear-gradient(180deg, #e9eaee, #cfd2da);
}
.ph-portrait svg { width: 70%; height: auto; color: #9aa1b2; }

/* ---------- Scroll-expanding hero (Careers / Services / About) ---------- */
.xhero { position: relative; height: 210vh; }
.xhero__sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: hidden; display: flex; flex-direction: column; }
.xhero__title {
  flex: 0 0 auto; text-align: center; padding: clamp(36px, 7vh, 90px) var(--pad) clamp(28px, 5vh, 56px);
  transform: translateY(calc(var(--p, 0) * -60%)); opacity: calc(1 - var(--p, 0) * 1.6);
  position: relative; z-index: 2;
}
.xhero__title .display { font-size: clamp(46px, 7.6vw, 124px); }
.xhero__media {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: calc((var(--start, .45) + var(--p, 0) * (1 - var(--start, .45))) * 100%);
  overflow: hidden;
}
.xhero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p, 0) * .18)); }
.xhero__caption {
  position: absolute; left: 0; right: 0; bottom: 8vh; z-index: 3; color: #fff; text-align: center; padding: 0 var(--pad);
  opacity: clamp(0, calc((var(--p, 0) - .72) * 4), 1); transform: translateY(calc((1 - var(--p, 0)) * 40px));
}
.xhero__caption h2 { color: #fff; font-weight: 500; font-size: clamp(24px, 2.6vw, 40px); }
.xhero__caption p { max-width: 680px; margin: 14px auto 0; color: #e7ecf7; font-size: 15px; }
.xhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 15, 40, .65)); opacity: clamp(0, calc((var(--p, 0) - .6) * 3), 1); }
.xhero__cranes { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.xhero__cranes .crane { position: absolute; width: 90px; }

/* ---------- Section basics ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .h2, .section--navy .h3 { color: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 110px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 36px; font-size: 13px; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand .kb-logo span { font-size: 22px; }
.footer__brand .kb-logo svg { width: 30px; height: 30px; }
.site-footer h4 { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.site-footer p, .site-footer li { color: #d8def0; line-height: 1.75; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a:hover { color: var(--sky); }
.footer__crane { width: min(430px, 90%); margin: 40px 0 10px; }
.footer__crane .crane { animation: glide 7s ease-in-out infinite; }
@keyframes glide { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(14px, -10px) rotate(-2deg); } }
.footer__bottom { display: grid; grid-template-columns: 1.5fr 1fr 2fr; gap: 0; margin-top: 30px; align-items: stretch; }
.footer__bottom > div { padding: 10px 28px; border-left: 1px solid rgba(255, 255, 255, .25); }
.footer__bottom > div:first-child { border-left: 0; padding-left: 0; }
.footer__tagline { font-family: var(--serif); color: #fff !important; font-size: 13px; }
.socials { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255, 255, 255, .35); max-width: 300px; }
.socials a { padding: 7px 10px; border-top: 1px solid rgba(255, 255, 255, .35); transition: background .25s; }
.socials a:first-child { grid-column: 1 / -1; border-top: 0; }
.socials a:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, .35); }
.socials a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.footer__copy { display: flex; align-items: flex-end; justify-content: flex-end; color: #aeb8d3; font-size: 11px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--orange); color: #fff; font-weight: 500;
  padding: 10px 26px; border-radius: 999px; font-size: 15px; transition: transform .3s var(--ease), background .3s;
}
.btn:hover { background: #b14a22; transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink); }
.link-arrow svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

.round-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--grey-3); display: grid; place-items: center; color: var(--ink);
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.round-btn svg { width: 14px; height: 14px; }
.round-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.round-btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--grey-3); }
.acc__item { border-bottom: 1px solid var(--grey-3); }
.acc__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; text-align: left; font-weight: 600; color: var(--ink); font-size: 15px; }
.acc__icon { position: relative; width: 14px; height: 14px; flex: 0 0 14px; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc__item.is-open .acc__icon::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__content { padding: 0 0 22px; font-size: 14px; line-height: 1.6; color: var(--text); }
.acc__content p + p { margin-top: .8em; }
.acc__more { display: flex; justify-content: flex-end; margin-top: 12px; }
.acc__head:hover { color: var(--blue); }

/* =========================================================
   HOME
   ========================================================= */
.intro { position: relative; height: 620vh; background: var(--navy); }
.intro__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.intro__stage { position: absolute; inset: 0; }
/* Stage A — shards */
.intro__shards { position: absolute; inset: 0; background: var(--navy); }
.intro__shards > svg { position: absolute; left: 50%; top: 50%; width: 400px; height: 200px; margin: -100px 0 0 -200px; overflow: visible; will-change: transform; }
.intro__logo {
  position: absolute; left: var(--pad); bottom: 12vh; color: #fff; display: flex; align-items: center; gap: clamp(14px, 2vw, 28px);
  opacity: 0;
}
.intro__logo svg { width: clamp(44px, 5vw, 80px); height: auto; }
.intro__logo span { font-family: var(--serif); font-size: clamp(32px, 5.2vw, 84px); letter-spacing: .14em; white-space: nowrap; }
.intro__hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .8; }
.intro__hint i { width: 1px; height: 46px; background: linear-gradient(#fff, transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
/* Stage B — unfolding */
.intro__unfold { position: absolute; inset: 0; background: #fff; clip-path: inset(100% 0 0 0); padding-top: var(--header-h); }
.intro__unfold-inner { height: 100%; position: relative; display: grid; place-items: center; }
.intro__grid { position: absolute; inset: var(--header-h) 0 0 0; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; }
.intro__grid i { border-left: 1px solid #eef0f4; }
.unfold-title { position: relative; text-align: center; color: #111; font-size: clamp(38px, 5.6vw, 92px); line-height: 1.02; letter-spacing: -.02em; font-weight: 500; }
.unfold-title .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; }
.unfold-title .ln { display: block; overflow: hidden; }
.unfold-title .ln > span { display: inline-block; }
.unfold-sub { position: absolute; right: 18%; top: 66%; font-family: var(--serif); color: var(--blue); font-size: clamp(12px, 1vw, 15px); line-height: 1.5; }
.unfold-crane { position: absolute; width: clamp(80px, 9vw, 150px); left: 17%; top: 30%; }
.intro__bar { position: absolute; left: 3%; right: 3%; bottom: 0; height: 2.4vh; background: var(--blue); transform-origin: bottom; }
/* Stage C — partner panel */
.intro__panel { position: absolute; inset: calc(var(--header-h) + 6vh) 3% 0 3%; background: var(--blue); color: #fff; clip-path: inset(97% 0 0 0); display: grid; grid-template-columns: .8fr .9fr 1.6fr; align-items: center; gap: 4vw; padding: 0 6vw; }
.intro__panel .we { font-weight: 600; font-size: clamp(18px, 1.6vw, 26px); display: flex; flex-direction: column; gap: 14px; }
.intro__panel .we .crane { width: 90px; }
.intro__panel .ph { aspect-ratio: 4/5; max-height: 56vh; }
.partner-text { font-size: clamp(24px, 2.6vw, 44px); line-height: 1.3; font-weight: 500; }
.partner-text .w { transition: background .35s, color .35s; padding: 0 .08em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.partner-text .w.on { background: var(--sky); color: var(--navy); }
.partner-text .w.on2 { background: var(--navy); color: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 92vh; }
.stats__media { position: relative; }
.stats__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--grey-3); }
.stat { padding: clamp(18px, 2vw, 30px); border-bottom: 1px solid var(--grey-3); border-right: 1px solid var(--grey-3); display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; transition: background .4s; }
.stat:nth-child(2n) { border-right: 0; }
.stat:hover { background: #f6f7fa; }
.stat svg { width: 22px; height: 22px; color: var(--orange); }
.stat__num { font-size: clamp(40px, 4.2vw, 64px); color: var(--orange); font-weight: 400; letter-spacing: -.02em; line-height: 1; margin-top: 10px; }
.stat__label { font-size: 13px; color: var(--ink); margin-top: 24px; max-width: 180px; }

.logos { background: var(--grey); padding: clamp(60px, 7vw, 100px) 0 0; }
.logos h3 { font-size: 13px; font-weight: 600; color: var(--ink); max-width: 260px; }
.logos__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 34px 30px; margin-top: 40px; align-items: center; }
.logo-word { text-align: center; color: #1a1a2e; font-weight: 700; font-size: clamp(14px, 1.35vw, 21px); letter-spacing: -.01em; filter: grayscale(1); opacity: .88; transition: opacity .3s, transform .4s var(--ease); white-space: nowrap; }
.logo-word:hover { opacity: 1; transform: scale(1.06); }
.logo-word.serif { font-family: var(--serif); font-weight: 600; }
.logo-word.thin { font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: clamp(12px, 1.05vw, 16px); }
.logo-word.box { border: 2px solid currentColor; border-radius: 40%; padding: 2px 10px; justify-self: center; }
.logo-word.pill { background: #1a1a2e; color: #fff; border-radius: 40%; padding: 3px 12px; justify-self: center; }
.capital { background: var(--grey); padding-top: clamp(60px, 7vw, 110px); }
.capital h2 { text-align: center; font-weight: 400; font-size: clamp(28px, 3vw, 46px); line-height: 1.2; color: var(--ink); max-width: 900px; margin: 0 auto; }
.capital__media { margin-top: 50px; height: 110vh; position: relative; overflow: hidden; }
.capital__media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-hero { position: relative; }
.about-hero__title { text-align: center; padding: clamp(40px, 8vh, 100px) var(--pad) clamp(30px, 6vh, 60px); position: relative; }
.about-hero__media { height: 46vh; min-height: 300px; position: relative; overflow: hidden; }
.about-hero__media img { width: 100%; height: 120%; object-fit: cover; }
.fly { position: absolute; width: 90px; pointer-events: none; z-index: 4; will-change: transform; }
.defines { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 110px); position: relative; }
.defines__left { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.defines__left .h2 { align-self: flex-start; margin-left: 18%; }
.defines__left .vline { height: 160px; }
.defines__media { margin-top: 30px; aspect-ratio: 16/10; max-width: 560px; }
.scroll-cue { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.vm { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.vm__crane { max-width: 360px; justify-self: end; width: 100%; }
.vm__crane .crane { animation: sway 6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 50% { transform: rotate(-1.5deg); } }
.vm h3 { font-size: clamp(22px, 1.9vw, 30px); font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.vm p { font-size: clamp(17px, 1.45vw, 22px); color: var(--ink); line-height: 1.4; }
.vm__block + .vm__block { margin-top: 48px; }

.values { position: relative; height: 340vh; background: var(--grey); }
.values__sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.values__left .display { font-size: clamp(64px, 8vw, 130px); }
.values__left .body { max-width: 420px; margin: 50px 0 0 18%; }
.values__right { position: relative; height: 100%; display: flex; align-items: center; }
.values__right .vline { position: absolute; left: 18%; top: 0; bottom: 0; height: 100%; }
.value-card { position: absolute; left: 0; right: 0; max-width: 440px; margin-left: 0; background: #fff; box-shadow: 0 30px 60px -30px rgba(11, 31, 71, .25); transition: transform .9s var(--ease), opacity .7s; }
.value-card__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--grey-3); padding-left: 16px; }
.value-card__head span { font-size: 14px; color: var(--ink); }
.value-card__head b { font-weight: 600; margin-left: 8px; }
.value-card__icon { width: 46px; height: 46px; background: var(--navy); display: grid; place-items: center; color: #fff; }
.value-card__icon svg { width: 16px; height: 16px; }
.value-card p { padding: 22px 16px 30px; font-size: 14px; color: var(--ink); max-width: 260px; }
.value-card.is-past { transform: translateY(-60px) scale(.96); opacity: 0; }
.value-card.is-next { transform: translateY(80px); opacity: 0; }
.values__dots { position: absolute; right: -32px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.values__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--grey-3); transition: background .4s, transform .4s; }
.values__dots i.on { background: var(--navy); transform: scale(1.4); }

.people-intro { display: grid; grid-template-columns: 1fr; gap: 50px; }
.people-intro .h2 { justify-self: end; }
.people-intro .lead { max-width: 560px; margin-left: 8%; }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 40px; margin: 80px 0 0 8%; }
.person__img { aspect-ratio: 4/4.3; background: #ececef; overflow: hidden; }
.person__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 1s var(--ease), filter .6s; }
.person:hover .person__img img { transform: scale(1.05); filter: grayscale(0); }
.person__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 12px; }
.person__name { font-weight: 600; color: var(--ink); font-size: 18px; }
.person__role { font-size: 13px; color: var(--ink); }
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
.partners-grid .person__name { font-size: 13px; }
.partners-grid .person__role { font-size: 11px; }
.partners-track { transition: opacity .4s, transform .5s var(--ease); }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 50px; font-size: 13px; }
.pager .round-btn { width: 30px; height: 30px; border-radius: 0; }

/* =========================================================
   SERVICES
   ========================================================= */
.services-head .display { font-size: clamp(52px, 7.4vw, 120px); }
.pocl-intro { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(30px, 5vw, 70px); margin-top: 50px; }
.pocl-intro__img { aspect-ratio: 1 / 1.1; }
.pocl-intro h3 { font-size: clamp(24px, 2.2vw, 34px); color: var(--ink); font-weight: 500; margin-bottom: 18px; }
.pillars { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(30px, 5vw, 70px); margin-top: 70px; position: relative; }
.pillars__nav { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; display: flex; flex-direction: column; gap: 14px; }
.pillars__nav button { text-align: left; font-size: clamp(22px, 2.1vw, 32px); font-weight: 500; color: #d6d9e0; transition: color .4s, transform .4s var(--ease); }
.pillars__nav button:hover { color: #9aa3b8; }
.pillars__nav button.on { color: var(--ink); transform: translateX(6px); }
.pillars__body { border-left: 1px solid var(--grey-3); padding-left: clamp(20px, 3vw, 40px); min-height: 420px; }
.pillar-panel { display: none; animation: pfade .6s var(--ease); }
.pillar-panel.on { display: block; }
@keyframes pfade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.why { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 80px); }
.why__left { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.why__left .vline { height: 110px; }
.why__titles { align-self: stretch; padding-left: 15%; }
.why__titles .h3 { margin-bottom: 18px; }
.why__titles .h2 { font-weight: 400; }
.why__ctrl { display: flex; flex-direction: column; gap: 10px; }
.why__slides { position: relative; aspect-ratio: 16/9.4; overflow: hidden; margin-top: 26px; }
.why__slide { position: absolute; inset: 0; transition: transform 1s var(--ease-io); }
.why__slide img { width: 100%; height: 100%; object-fit: cover; }
.why__texts { position: relative; min-height: 96px; }
.why__text { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .8s var(--ease); font-size: 14px; }
.why__text.on { opacity: 1; transform: none; position: relative; }

.how { background: var(--grey); }
.how__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.how__grid-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; margin-top: 60px; align-items: stretch; }
.how__img { min-height: 440px; }
.how__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; position: relative; }
.how__grid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--grey-3); }
.how__grid::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--grey-3); }
.how-cell { position: relative; padding: 22px 26px; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; cursor: pointer; z-index: 1; }
.how-cell::before { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scale(.9); opacity: 0; transition: transform .6s var(--ease), opacity .4s; z-index: -1; }
.how-cell__num { font-size: clamp(34px, 3.2vw, 50px); color: var(--orange); font-weight: 300; line-height: 1; transition: color .4s; }
.how-cell__title { font-weight: 600; color: var(--ink); font-size: 14px; transition: color .4s; }
.how-cell__desc { font-size: 12.5px; color: #dfe6fb; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.how-cell.on::before { transform: none; opacity: 1; }
.how-cell.on .how-cell__num, .how-cell.on .how-cell__title { color: #fff; }
.how-cell.on .how-cell__desc { max-height: 120px; opacity: 1; margin: 10px 0; }

/* Partner CTA */
.partner { position: relative; height: 190vh; background: var(--grey); }
.partner__sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: grid; place-items: center; overflow: hidden; }
.partner__box { position: absolute; background: var(--blue); inset: calc(12% + var(--p, 0) * 30%) calc(0% + var(--p, 0) * 22%); opacity: calc(1.2 - var(--p, 0) * 1.4); }
.partner__inner { position: relative; text-align: center; padding: 0 var(--pad); }
.partner__inner h2 { font-size: clamp(42px, 6vw, 96px); font-weight: 500; letter-spacing: -.02em; color: var(--p-color, #fff); transition: color .5s; }
.partner__inner p { max-width: 560px; margin: 20px auto 26px; font-size: 14px; color: var(--ink); opacity: clamp(0, calc((var(--p, 0) - .45) * 3), 1); transform: translateY(calc((1 - var(--p, 0)) * 30px)); }
.partner__inner .btn { opacity: clamp(0, calc((var(--p, 0) - .55) * 3), 1); transform: translateY(calc((1 - var(--p, 0)) * 30px)); }

/* =========================================================
   SERVICE DETAIL
   ========================================================= */
.sd-hero { position: relative; padding-top: clamp(28px, 4vh, 60px); }
.sd-hero__title { position: relative; z-index: 2; padding: 0 var(--pad); max-width: var(--max); margin: 0 auto; }
.sd-hero__title .display { font-size: clamp(52px, 8.2vw, 132px); line-height: .98; }
.sd-hero__title .tag { margin-bottom: 18px; }
.sd-hero__title .display .on-img { color: #fff; }
.sd-hero__media { position: relative; height: 62vh; min-height: 340px; margin-top: calc(-1 * clamp(52px, 8.2vw, 132px) * .98); overflow: hidden; }
.sd-hero__media img { width: 100%; height: 125%; object-fit: cover; }
.overview { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 6vw, 100px); }
.overview__l { display: flex; flex-direction: column; gap: 40px; }
.overview__r { display: flex; flex-direction: column; gap: 40px; }
.overview .vline { height: 140px; margin-left: 30%; }
.challenge { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.challenge__bg { position: absolute; inset: 0; pointer-events: none; }
.challenge__bg svg { position: absolute; right: -10%; top: -20%; height: 140%; opacity: .9; }
.challenge__grid { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; }
.challenge__l { padding-right: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; border-right: 1px solid rgba(255, 255, 255, .25); }
.challenge__l h2 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 500; line-height: 1.1; }
.challenge__l p { color: #d5ddf1; font-size: 14px; max-width: 340px; margin-top: 20px; }
.challenge__l strong { font-weight: 500; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.35; max-width: 360px; }
.challenge__r { padding-left: 40px; }
.challenge__r h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; margin: 20px 0 20px; }
.challenge__r ul { list-style: none; margin: 0; padding: 0; max-width: 460px; }
.challenge__r li { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); font-size: 14px; font-weight: 500; transition: padding .4s var(--ease), color .3s; }
.challenge__r li:hover { padding-left: 10px; color: var(--sky); }

.cards-row { display: grid; grid-template-columns: .8fr 2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.cards-row .h2 { margin-bottom: 18px; }
.cards-row p.small { font-size: 13px; max-width: 260px; }
.xcards { overflow: hidden; }
.xcards__track { display: flex; gap: 14px; transition: transform .9s var(--ease); }
.xcard {
  flex: 0 0 auto; width: 26%; aspect-ratio: 1 / 1.12; background: var(--grey-2); color: #fff; padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; transition: width .9s var(--ease), background .6s; position: relative; overflow: hidden;
}
.xcard__num { font-size: clamp(30px, 2.6vw, 44px); font-weight: 300; line-height: 1; }
.xcard__title { font-size: 13px; font-weight: 500; line-height: 1.25; max-width: 160px; }
.xcard__desc { font-size: 12.5px; line-height: 1.5; color: #e9eefb; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .5s .1s; max-width: 320px; }
.xcard.on { width: 46%; aspect-ratio: auto; }
.xcard.on .xcard__desc { max-height: 140px; opacity: 1; margin-top: 8px; }
.xcards--blue .xcard.on { background: var(--blue); }
.xcards--orange .xcard.on { background: var(--orange); }
.xcards--orange .xcard:not(.on):hover { background: var(--orange-2); }
.xcards--blue .xcard:not(.on):hover { background: #9fb3e4; }
.xcards__bar { position: relative; height: 2px; background: var(--grey-2); margin-top: 22px; }
.xcards__bar i { position: absolute; left: 0; top: -1px; height: 4px; background: var(--blue); transition: transform .9s var(--ease), width .9s var(--ease); }
.xcards--orange .xcards__bar i { background: var(--orange); }

.impact__title { font-size: clamp(60px, 8.6vw, 138px); font-weight: 500; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.impact__title .row1 { display: flex; justify-content: space-between; }
.impact__title .row1 span { display: inline-block; transition: transform 1.4s var(--ease); }
.impact__title:not(.is-in) .row1 span:first-child { transform: translateX(30%); }
.impact__title:not(.is-in) .row1 span:last-child { transform: translateX(-30%); }
.impact__sub { font-size: 13px; font-weight: 600; margin: 26px 0 30px; color: var(--ink); }
.impact__list { list-style: none; margin: 0; padding: 0; }
.impact__list li { text-align: center; font-size: clamp(16px, 1.5vw, 22px); font-weight: 600; color: var(--ink); padding: 18px 20%; border-bottom: 1px solid var(--grey-3); position: relative; transition: color .5s; z-index: 0; }
.impact__list li::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleY(0); transition: transform .55s var(--ease); z-index: -1; }
.impact__list li.on { color: #fff; }
.impact__list li.on::before { transform: none; }
.impact__note { font-size: 14px; font-weight: 600; color: var(--ink); max-width: 400px; margin-top: 60px; }

/* =========================================================
   CAREERS
   ========================================================= */
.together { text-align: center; max-width: 900px; margin: 0 auto; }
.together .h2 { margin-bottom: 26px; }
.together p { font-size: 15px; max-width: 760px; margin: 0 auto; }
.together p + p { margin-top: 14px; }
.mindset { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 80px); }
.mindset__l { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.mindset__l .vline { height: 130px; }
.mindset__l .h2 { align-self: flex-start; margin-left: 10%; }
.mindset__img { aspect-ratio: 16/10.5; background: #eceef2; max-width: 560px; }
.mindset__r p { max-width: 560px; margin-top: 18px; font-size: 14px; }
.quote-slider { position: relative; }
.quote-slider__dots { display: flex; gap: 8px; margin-top: 18px; }
.quote-slider__dots button { width: 22px; height: 3px; background: var(--grey-3); transition: background .3s, width .4s var(--ease); }
.quote-slider__dots button.on { background: var(--navy); width: 38px; }
.join { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.join__figure { position: relative; width: 100%; max-width: 360px; justify-self: center; }
.think { position: relative; width: 100%; aspect-ratio: 3/4; }
.think__sign {
  position: absolute; left: 6%; top: 0; width: 46%; aspect-ratio: 1.1; background: var(--blue); color: #0b0b0b; font-weight: 800; font-size: clamp(22px, 2.6vw, 38px); line-height: .9;
  display: grid; place-items: center; text-align: center; transform: rotate(-3deg); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); z-index: 2; letter-spacing: -.02em;
  animation: sign 5s ease-in-out infinite;
}
@keyframes sign { 50% { transform: rotate(1deg) translateY(-4px); } }
.think svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.join .display { font-size: clamp(60px, 7.4vw, 120px); }
.join__text b { display: block; font-size: 13px; margin: 18px 0 10px; color: var(--ink); }
.join__text p { font-size: 13px; max-width: 380px; }
.jobs { max-width: 900px; margin: 60px auto 0; }
.jobs .acc__head { font-size: 16px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.job-meta span { font-size: 11px; padding: 3px 10px; border-radius: 999px; background: var(--grey); color: var(--ink); }
.apply { display: flex; justify-content: flex-end; margin-top: 14px; }
.apply a { font-size: 12px; border: 1px solid var(--ink); padding: 6px 14px; transition: background .3s, color .3s; }
.apply a:hover { background: var(--navy); color: #fff; }
.flourish { position: relative; text-align: center; padding: clamp(120px, 16vw, 220px) var(--pad); overflow: hidden; }
.flourish h2 { font-size: clamp(30px, 3.6vw, 56px); font-weight: 400; color: var(--ink); line-height: 1.15; max-width: 1000px; margin: 0 auto; }
.flourish .fly { width: clamp(50px, 5vw, 80px); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); position: relative; overflow: hidden; }
.contact__head { position: relative; }
.contact__head .display { color: #fff; font-size: clamp(52px, 7.4vw, 120px); margin-top: 16px; }
.contact__head p { max-width: 440px; font-size: 14px; color: #dbe3f6; margin-top: 30px; }
.contact__crane { position: absolute; right: 8%; top: 0; width: clamp(160px, 22vw, 330px); }
.contact__crane .crane { animation: glide 6s ease-in-out infinite; }
.form { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 50px; }
.field { position: relative; padding-top: 22px; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .45); color: #fff; font: inherit; font-size: 15px;
  padding: 10px 0 12px; outline: none; border-radius: 0; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 2.4; background-image: repeating-linear-gradient(transparent 0 37px, rgba(255, 255, 255, .45) 37px 38px); background-attachment: local; border-bottom: 0; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-top: 28px; }
.field select option { color: #111; }
.field label { position: absolute; left: 0; top: 32px; font-size: 15px; color: #fff; pointer-events: none; transition: transform .35s var(--ease), font-size .35s, color .35s; transform-origin: left; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px); font-size: 12px; color: var(--sky); }
.field--select label { top: 22px; }
.field--select::after { content: ""; position: absolute; right: 6px; bottom: 22px; border: 5px solid transparent; border-top-color: #fff; }
.field .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.field input:focus ~ .bar, .field select:focus ~ .bar { transform: scaleX(1); }
.field.invalid input { border-color: #ff8a65; }
.form__foot { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 50px; font-size: 13px; color: #dbe3f6; }
.form__foot p + p { margin-top: 12px; }
.form__foot a { text-decoration: underline; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--orange); }
.form-success { grid-column: 1 / -1; display: none; padding: 30px; border: 1px solid rgba(255, 255, 255, .3); text-align: center; font-size: 18px; }
.form.sent .form-success { display: block; animation: pfade .6s var(--ease); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__bottom > div { border-left: 0; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .stats { grid-template-columns: 1fr; }
  .stats__media { height: 70vh; }
  .logos__grid { grid-template-columns: repeat(3, 1fr); }
  .two-col, .defines, .vm, .mindset, .why, .overview, .pocl-intro, .pillars, .how__head, .how__grid-wrap, .cards-row, .challenge__grid, .join { grid-template-columns: 1fr; }
  .defines__left, .why__left, .mindset__l { align-items: flex-start; }
  .defines__left .h2, .mindset__l .h2 { margin-left: 0; }
  .defines__left .vline, .why__left .vline, .mindset__l .vline, .overview .vline { display: none; }
  .vm__crane { justify-self: start; max-width: 220px; }
  .values { height: auto; }
  .values__sticky { position: relative; top: 0; height: auto; grid-template-columns: 1fr; padding: 80px 0; }
  .values__left .body { margin-left: 0; }
  .values__right { height: auto; flex-direction: column; gap: 12px; }
  .values__right .vline, .values__dots { display: none; }
  .value-card { position: relative; max-width: none; opacity: 1 !important; transform: none !important; }
  .founders { margin-left: 0; grid-template-columns: 1fr 1fr; }
  .partners-grid { grid-template-columns: 1fr 1fr; }
  .pillars__nav { position: relative; top: 0; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .pillars__nav button { font-size: 14px; padding: 10px 16px; background: var(--grey); color: var(--ink); flex: 1 1 40%; text-align: center; }
  .pillars__nav button.on { background: var(--navy); color: #fff; transform: none; }
  .pillars__body { border-left: 0; padding-left: 0; }
  .challenge__l { border-right: 0; padding-right: 0; }
  .challenge__r { padding-left: 0; }
  .xcard { width: 40%; }
  .xcard.on { width: 72%; }
  .impact__list li { padding: 16px 4%; }
  .menu__body { grid-template-columns: 1fr; align-content: center; }
  .menu__aside .crane { display: none; }
  .intro__panel { grid-template-columns: 1fr; padding: 6vh 7vw; align-content: center; gap: 3vh; }
  .intro__panel .ph { display: none; }
  .unfold-sub { right: 8%; top: 70%; }
  .unfold-crane { left: 8%; top: 26%; }
  .contact__crane { position: relative; right: auto; width: 180px; margin-bottom: 20px; }
  .form { grid-template-columns: 1fr; }
  .form__foot { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --header-h: 56px; }
  .kb-logo span { font-size: 12px; letter-spacing: .16em; }
  .menu-btn { padding: 5px 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .logos__grid { grid-template-columns: repeat(2, 1fr); }
  .founders, .partners-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .how__grid { grid-template-rows: auto; }
  .how-cell { min-height: 170px; padding: 16px; }
  .stat { min-height: 160px; }
  .xcard { width: 60%; }
  .xcard.on { width: 86%; }
  .xhero__title .display { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Real assets from Figma ---------- */
.logo-img { display: flex; align-items: center; justify-content: center; height: 64px; }
.logo-img img { max-height: 54px; max-width: 150px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.15); opacity: .9; transition: filter .4s, opacity .4s, transform .5s var(--ease); }
.logo-img:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.think img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; animation: sign 6s ease-in-out infinite; transform-origin: 50% 100%; }
.person__img { background: #ececef; }
.person__img img[src$=".png"] { object-fit: cover; object-position: top center; }
.about-hero__media img { object-position: center 55%; }
.intro__panel .ph img { object-position: center; }
@media (max-width: 600px) { .logo-img img { max-width: 110px; max-height: 40px; } }

/* =========================================================
   v2 — brand book + handover recordings
   ========================================================= */
body { font-size: clamp(14px, 1.45vw, 28px); line-height: 1.3; }
.h2 { font-size: clamp(24px, 3.1vw, 60px); font-weight: 600; line-height: 1.12; color: var(--ink); }
.h3 { font-size: clamp(20px, 2.4vw, 46px); }
.body { font-size: clamp(14px, 1.45vw, 28px); line-height: 1.3; }
.lead { font-size: clamp(22px, 3.4vw, 66px); line-height: 1.18; }
.display { color: var(--ink); }

/* ---------- Header (real logo, sized as in the recordings) ---------- */
.kb-logo { display: block; width: clamp(150px, 18.1vw, 348px); height: auto; color: #fff; overflow: visible; }
.site-header .container, .menu__top { padding-right: clamp(20px, 9.4vw, 180px); }
.menu-btn, .menu__close {
  background: var(--grey-2); color: var(--navy); border-radius: 0; padding: 0; font-weight: 400;
  width: clamp(84px, 10.4vw, 200px); height: clamp(34px, 3.85vw, 74px); font-size: clamp(15px, 1.72vw, 33px);
}
.header-actions { gap: clamp(8px, 1vw, 20px); }
.pen-btn, .pen-btn svg { width: clamp(20px, 2.1vw, 40px); height: clamp(20px, 2.1vw, 40px); }
.site-header { transition: transform .6s var(--ease); }
img.crane { width: 100%; height: auto; }
.footer__brand .kb-logo { width: clamp(200px, 18.1vw, 348px); }
.footer__crane { width: min(34vw, 90%); margin: 3vw 0 1vw; }
.site-footer { font-size: clamp(12px, .95vw, 18px); padding-top: 5vw; }
.site-footer h4 { font-size: inherit; }
.footer__tagline { font-size: inherit; }

/* ---------- Home: timed intro ---------- */
.intro2 { position: fixed; inset: 0; z-index: 200; background: rgb(0, 25, 58); overflow: hidden; }
.intro2 > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro2 .intro__logo { position: absolute; left: 5.9vw; bottom: 8vh; width: 89.7vw; opacity: 0; display: block; will-change: transform; }
.intro2 .intro__logo .kb-logo { width: 100%; }
.intro__skip { position: absolute; right: 2vw; top: 2vw; color: rgba(255, 255, 255, .65); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; transition: color .3s; }
.intro__skip:hover { color: #fff; }
body.intro-playing { overflow: hidden; }

/* ---------- Home: hero → We partner ---------- */
.hero2 { position: relative; height: 430vh; background: #fff; }
.hero2__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero2__lines i { position: absolute; top: 0; bottom: 0; width: 1px; background: #b9c6dc; left: 54%; }
.hero2__lines i + i { left: 84%; }
.hero2__head { position: absolute; inset: 0; opacity: var(--title, 1); }
.hero2__titlewrap { position: absolute; left: 50%; top: 49%; transform: translate(-50%, -50%); white-space: nowrap; }
.hero2__title { font-size: 6.45vw; line-height: 1.17; font-weight: 500; color: #000; text-align: center; letter-spacing: -.012em; }
.hero2__title .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
.hero2__title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero2__title .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero2__title .ln + .ln > span { transition-delay: .12s; }
.hero2__crane { position: absolute; left: -12vw; top: -6.9vw; width: 17.2vw; opacity: 0; }
.hero2__sub { position: absolute; left: 55.9vw; top: 72.5%; font-family: var(--serif); color: var(--blue); font-size: clamp(12px, 1.67vw, 32px); line-height: 1.48; opacity: 0; transform: translateY(16px); transition: opacity .9s .5s, transform 1s .5s var(--ease); }
.hero2__panel { position: absolute; left: calc((1 - var(--wide, 0)) * 5.6vw); right: calc((1 - var(--wide, 0)) * 5.1vw); top: calc(93vh - var(--grow, 0) * 74.4vh); bottom: 0; background: var(--blue); transform: translateY(101%); transition: transform 1s .35s var(--ease); }
body.intro-reveal .hero2__title .ln > span { transform: none; }
body.intro-reveal .hero2__sub { opacity: 1; transform: none; }
body.intro-reveal .hero2__panel { transform: none; }
body.intro-done .hero2__crane { opacity: 1; }
.hero2__content { position: absolute; inset: 0; color: #fff; opacity: var(--content, 0); }
.hero2__we { position: absolute; left: 9vw; top: 48vh; font-weight: 600; font-size: 2.55vw; }
.hero2__we span { display: block; margin-left: 1.2vw; }
.hero2__we div { width: 14.2vw; margin-top: 2.6vh; }
.hero2__img { position: absolute; left: 28.9vw; top: 42.7vh; width: 19.7vw; height: 46vh; transform: translateY(calc((1 - var(--content, 0)) * 6vh)); }
.hero2__text { position: absolute; left: 50.3vw; top: calc(50.4vh - 1.5vw); font-size: 2.4vw; line-height: 1.12; white-space: nowrap; }
.hero2__text span { padding: 0 .12em; margin: 0 -.12em; transition: background-color .5s, color .5s; }
.hero2[data-hl="1"] .hl1, .hero2[data-hl="2"] .hl1, .hero2[data-hl="3"] .hl1 { background: var(--sky); }
.hero2[data-hl="2"] .hl2, .hero2[data-hl="3"] .hl2 { color: var(--sky); background: rgba(0, 101, 231, .55); }
.hero2[data-hl="3"] .hl3 { background: var(--navy); }
.hero2__cue { position: absolute; right: 7vw; top: calc(93vh - 3.4vw); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: calc(var(--title, 1) * .7); display: flex; align-items: center; gap: 10px; }
.hero2__cue i { width: 34px; height: 1px; background: currentColor; transform-origin: left; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
body:not(.intro-done) .hero2__cue { display: none; }

/* ---------- Home: stats (photo pinned, numbers scroll) ---------- */
.stats2 { display: grid; grid-template-columns: 54% 46%; background: #fff; position: relative; }
.stats2__media { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: hidden; align-self: start; }
.stats2__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.srow { display: grid; min-height: 50vh; border-bottom: 1px solid var(--sky-2); }
.srow--a { grid-template-columns: 65% 35%; }
.srow--b { grid-template-columns: 35% 65%; }
.stats2 .stat { border: 0; border-left: 1px solid #7fa5d6; padding: 2.6vw 1vw 2.2vw 1vw; min-height: 0; justify-content: flex-start; }
.stats2 .stat:hover { background: transparent; }
.stats2 .stat svg { width: 2.6vw; height: 2.6vw; min-width: 20px; min-height: 20px; }
.stats2 .stat__num { font-size: clamp(34px, 4.9vw, 94px); margin-top: 1vw; color: var(--orange); }
.stats2 .stat__label { font-size: clamp(12px, 1.45vw, 28px); line-height: 1.15; margin-top: auto; max-width: none; color: var(--navy); }

/* ---------- Home: client logos carousel ---------- */
.logos { background: var(--grey); padding: 7vw 0 0; }
.logos h3 { font-size: clamp(12px, 1.25vw, 24px); max-width: 21em; line-height: 1.25; color: var(--ink); }
.logos__viewport { overflow: hidden; margin-top: 3vw; touch-action: pan-y; }
.logos__track { display: flex; transition: transform 1.2s var(--ease-io); }
.logos__page { flex: 0 0 100%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2.6vw 2vw; align-items: center; opacity: .0; transition: opacity .8s; }
.logos__page.on { opacity: 1; }
.logos__page--5 { grid-template-columns: repeat(5, 1fr); }
.logo-img { height: 5.2vw; min-height: 40px; }
.logo-img img { max-height: 4.4vw; max-width: 11.5vw; filter: grayscale(1) brightness(.7) contrast(3); opacity: 1; }
.logos__dots { display: flex; justify-content: center; gap: 8px; margin-top: 2.4vw; }
.logos__dots button { width: 7px; height: 7px; border-radius: 50%; background: #b3b8c4; transition: background .3s, transform .3s; }
.logos__dots button.on { background: var(--navy); transform: scale(1.3); }
.capital { padding-top: 5vw; }
.capital h2 { font-size: clamp(24px, 3.3vw, 64px); max-width: none; }

/* ---------- About: hero ---------- */
.ahero { position: relative; height: 320vh; }
.ahero__sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow: hidden; }
.ahero__title {
  position: absolute; left: 0; right: 0; top: 18%; text-align: center; transform-origin: 50% 0;
  transform: translateY(calc(var(--a, 0) * -9vh + var(--c, 0) * -70vh)) scale(calc(1 - var(--a, 0) * .37));
}
.ahero__title .display { font-size: 9.9vw; line-height: .95; letter-spacing: -.01em; font-weight: 500; }
.ahero__sub { position: absolute; left: 0; right: 0; top: calc(18% + 12.6vw); text-align: center; font-weight: 600; color: var(--navy); font-size: clamp(13px, 1.5vw, 29px); opacity: var(--a, 0); transform: translateY(calc((1 - var(--a, 0)) * 30px + var(--c, 0) * -70vh)); }
.ahero__media { position: absolute; left: 19.2vw; width: 60.8vw; top: 2%; height: 61%; transform: translateY(calc((1 - var(--b, 0)) * 105vh)); overflow: hidden; }
.ahero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.ahero__text { position: absolute; left: 50%; top: 67%; width: min(50vw, 960px); transform: translate(-50%, calc((1 - var(--t, 0)) * 40px)); text-align: center; opacity: var(--t, 0); color: var(--navy); }
.ahero__text p + p { margin-top: 1.3em; }
.ahero .fly { width: 14vw; }
.ahero .fly--1 { left: 3.5vw; top: 46%; }
.ahero .fly--2 { left: 41vw; top: 78%; width: 10.4vw; }
.ahero .fly--3 { right: 3.6vw; top: 52%; width: 10.2vw; }

/* ---------- About: What defines us (stacked slider) ---------- */
.defines2 { display: grid; grid-template-columns: 26vw 1fr; gap: 0; position: relative; padding: 8vw 0 6vw; min-height: 100vh; }
.defines2__left { position: relative; padding-left: 7.2vw; display: flex; flex-direction: column; justify-content: center; }
.defines2__rule { position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: var(--grey-3); }
.defines2__titles { position: relative; }
.defines__title { font-size: clamp(22px, 3.1vw, 60px); font-weight: 600; line-height: 1.14; color: var(--ink); transition: color .6s, font-size .6s var(--ease), opacity .6s, max-height .7s var(--ease), margin .6s; max-height: 0; opacity: 0; overflow: hidden; }
.defines__title.on { max-height: 12vw; opacity: 1; }
.defines__title.past { max-height: 12vw; opacity: 1; color: #d5d8de; margin-bottom: .2em; }
.defines2__btn { position: absolute; right: -19px; bottom: 9vw; background: #fff; z-index: 2; }
.defines2__right { position: relative; padding: 0 16vw 0 7.3vw; min-height: 46vw; }
.defines__slide { position: absolute; left: 7.3vw; right: 16vw; top: 0; opacity: 0; transform: translateY(8vh); transition: opacity .7s, transform 1s var(--ease); pointer-events: none; }
.defines__slide.on { opacity: 1; transform: none; pointer-events: auto; }
.defines__slide.past { transform: translateY(-8vh); }
.defines__slide p { max-width: 52vw; color: var(--navy); }
.defines__slide .media { margin-top: 3.6vw; width: 47.4vw; aspect-ratio: 183 / 113; background: #e9e9ea; }

/* ---------- About: vision / mission ---------- */
.vm { grid-template-columns: 28vw 1fr; gap: 3vw; align-items: start; overflow: hidden; }
.vm__crane { max-width: none; width: 30vw; justify-self: end; margin-top: 4vw; }
.vm__crane .crane { animation: none; }
.vm h3 { font-size: clamp(20px, 3.05vw, 58px); }
.vm p { font-size: clamp(16px, 2.55vw, 49px); line-height: 1.13; color: var(--navy); max-width: 22em; }
.vm__block + .vm__block { margin-top: 5.6vw; }

/* ---------- About: values (title pinned, cards scroll) ---------- */
.values2 { background: var(--grey); display: grid; grid-template-columns: 61% 35.5%; padding: 5vw 0 6vw; position: relative; align-items: start; }
.values2__left { position: sticky; top: calc(var(--header-h) + 4vw); padding-left: 7vw; }
.values2__left .display { font-size: 9.9vw; line-height: 1.05; font-weight: 500; }
.values2__left .body { margin: 3vw 0 0 16vw; max-width: 32vw; color: var(--navy); }
.values2__right { position: relative; display: flex; flex-direction: column; gap: 2.1vw; padding-top: 0; }
.values2__right::before { content: ""; position: absolute; left: 64.5%; top: -5vw; bottom: -6vw; width: 1px; background: #7fa5d6; }
.vcard { position: relative; background: #fff; }
.vcard__head { display: flex; align-items: stretch; justify-content: space-between; border-bottom: 1px solid #7fa5d6; }
.vcard__head span { padding: 1.3vw 2.5vw; font-size: clamp(14px, 1.62vw, 31px); color: var(--navy); }
.vcard__head b { font-weight: 600; margin-left: .8em; }
.vcard__icon { width: 4.8vw; min-width: 38px; background: var(--navy); color: #fff; display: grid; place-items: center; }
.vcard__icon svg { width: 1.5vw; height: 1.5vw; min-width: 14px; min-height: 14px; }
.vcard p { padding: 3.4vw 2.5vw 3.6vw; color: var(--navy); max-width: 24vw; }

/* ---------- About: people ---------- */
.people2__head { text-align: left; padding-left: 66.7vw; }
.people2__lead { margin: 2.4vw 0 0 16.1vw; max-width: 50vw; color: var(--navy); }
.founders2 { display: grid; grid-template-columns: 29.4vw 29.4vw; gap: 8.9vw; margin: 6.5vw 0 0 16.1vw; }
.person__img { aspect-ratio: 113 / 122; }
.person__name { font-size: clamp(15px, 1.75vw, 34px); color: var(--navy); }
.person__role { font-size: clamp(11px, 1.15vw, 22px); color: var(--navy); }
.link-arrow { font-size: clamp(11px, 1.05vw, 20px); color: var(--navy); }
.person__meta { margin-top: 1.2vw; align-items: flex-end; }
.partners-grid { grid-template-columns: repeat(4, 18.75vw); gap: 4vw 2.6vw; margin: 7vw 0 0 8.6vw; }
.partners-grid .person__name { font-size: clamp(11px, 1.1vw, 21px); }
.partners-grid .person__role { font-size: clamp(10px, .95vw, 18px); }
.partners-grid .person__img { aspect-ratio: 72 / 86; }
.pager { margin-top: 5vw; }
.bio { position: fixed; top: var(--header-h); bottom: 0; right: 0; left: 50%; background: var(--navy); color: #fff; z-index: 40; transform: translateX(101%); transition: transform .9s var(--ease-io); display: flex; flex-direction: column; }
.bio-open .bio { transform: none; }
.bio__close { position: absolute; right: 4vw; top: 1.6vw; width: 2.2vw; height: 2.2vw; min-width: 28px; min-height: 28px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; }
.bio__close svg { width: 45%; height: 45%; }
.bio__body { overflow: auto; padding: 5vw 4vw 4vw 5.3vw; font-size: clamp(13px, 1.42vw, 27px); line-height: 1.3; }
.bio__body p + p { margin-top: 1.3em; }

/* ---------- Responsive (v2) ---------- */
@media (max-width: 800px) {
  :root { --pad: 6vw; }
  .site-header .container, .menu__top { padding-right: 6vw; }
  .hero2__title { font-size: 8vw; }
  .hero2__crane { left: -4vw; top: -13vw; width: 24vw; }
  .hero2__sub { left: 38vw; top: 62%; font-size: 3.5vw; }
  .hero2__lines i { left: 34%; } .hero2__lines i + i { left: 78%; }
  .hero2__we { left: 8vw; top: 23vh; font-size: 6vw; display: flex; align-items: center; gap: 4vw; }
  .hero2__we span { margin: 0; } .hero2__we div { width: 26vw; margin: 0; }
  .hero2__img { left: 8vw; top: 32vh; width: 42vw; height: 25vh; }
  .hero2__text { left: 8vw; top: 61vh; font-size: 5.6vw; line-height: 1.18; }
  .stats2 { grid-template-columns: 1fr; }
  .stats2__media { position: relative; top: 0; height: 62vh; }
  .srow { min-height: 0; } .srow--a, .srow--b { grid-template-columns: 1fr 1fr; }
  .stats2 .stat { padding: 6vw 4vw; min-height: 46vw; } .stats2 .stat svg { width: 22px; height: 22px; }
  .stats2 .stat__num { font-size: 11vw; margin-top: 3vw; } .stats2 .stat__label { font-size: 3.6vw; }
  .logos__page, .logos__page--5 { grid-template-columns: repeat(3, 1fr); gap: 5vw 4vw; align-content: start; }
  .logo-img { height: 13vw; } .logo-img img { max-height: 10vw; max-width: 24vw; }
  .logos h3 { font-size: 3.4vw; }
  .ahero__title { top: 14%; } .ahero__title .display { font-size: 13vw; }
  .ahero__sub { top: calc(14% + 27vw); font-size: 3.6vw; padding: 0 6vw; }
  .ahero__media { left: 6vw; width: 88vw; height: 46%; }
  .ahero__text { width: 86vw; top: 53%; font-size: 3.7vw; }
  .ahero .fly { width: 24vw; } .ahero .fly--2 { width: 18vw; left: 30vw; top: 80%; } .ahero .fly--3 { width: 18vw; }
  .defines2 { grid-template-columns: 1fr; padding: 14vw 6vw; min-height: 0; }
  .defines2__left { padding-left: 0; } .defines2__rule { display: none; }
  .defines__title { font-size: 8vw; } .defines__title.on, .defines__title.past { max-height: 30vw; }
  .defines2__btn { position: relative; right: auto; bottom: auto; margin: 5vw 0; }
  .defines2__right { padding: 0; min-height: 118vw; }
  .defines__slide { left: 0; right: 0; } .defines__slide p { max-width: none; } .defines__slide .media { width: 100%; }
  .vm { grid-template-columns: 1fr; } .vm__crane { width: 44vw; justify-self: start; margin: 0 0 6vw; }
  .vm h3 { font-size: 6.4vw; } .vm p { font-size: 4.6vw; }
  .values2 { grid-template-columns: 1fr; padding: 14vw 6vw; }
  .values2__left { position: relative; top: 0; padding-left: 0; } .values2__left .display { font-size: 15vw; }
  .values2__left .body { margin: 6vw 0 8vw; max-width: none; }
  .values2__right { gap: 4vw; } .values2__right::before { display: none; }
  .vcard__head span { padding: 3.4vw 4vw; font-size: 4vw; } .vcard__icon { width: 12vw; } .vcard__icon svg { width: 16px; height: 16px; }
  .vcard p { padding: 5vw 4vw 7vw; max-width: none; }
  .people2__head { padding-left: 0; } .people2__lead { margin: 5vw 0 0; max-width: none; font-size: 6vw; }
  .founders2 { grid-template-columns: 1fr 1fr; gap: 5vw; margin: 10vw 0 0; }
  .person__name { font-size: 4vw; } .person__role, .link-arrow { font-size: 3vw; } .person__meta { flex-direction: column; align-items: flex-start; }
  .partners-grid { grid-template-columns: 1fr 1fr; gap: 6vw 4vw; margin: 12vw 0 0; }
  .partners-grid .person__name { font-size: 3.4vw; } .partners-grid .person__role { font-size: 2.9vw; }
  .bio { left: 0; } .bio__body { padding: 16vw 6vw 10vw; font-size: 3.9vw; } .bio__close { right: 6vw; top: 4vw; }
  .footer__crane { width: 70vw; }
  .site-footer { font-size: 13px; }
}

/* ---------- v2 type scale for remaining components ---------- */
.acc__head { font-size: clamp(15px, 1.45vw, 28px); padding: 1.4vw 0; }
.acc__content { font-size: clamp(13px, 1.2vw, 23px); }
.jobs .acc__head { font-size: clamp(16px, 1.75vw, 34px); }
.link-arrow svg { width: 1em; height: 1em; }
.how-cell__title { font-size: clamp(13px, 1.35vw, 26px); }
.how-cell__desc { font-size: clamp(12px, 1.05vw, 20px); }
.how-cell.on .how-cell__desc { max-height: 12vw; }
.xcard__title { font-size: clamp(12px, 1.3vw, 25px); max-width: 12em; }
.xcard__desc { font-size: clamp(12px, 1.05vw, 20px); max-width: 26em; }
.xcard.on .xcard__desc { max-height: 12vw; }
.cards-row p.small { font-size: clamp(13px, 1.25vw, 24px); max-width: 16em; }
.challenge__l p, .challenge__r li { font-size: clamp(13px, 1.3vw, 25px); }
.challenge__l p { max-width: 24em; }
.challenge__r ul { max-width: 36vw; }
.impact__sub, .impact__note { font-size: clamp(13px, 1.3vw, 25px); }
.impact__note { max-width: 26em; }
.impact__list li { font-size: clamp(16px, 2.1vw, 40px); }
.together p, .mindset__r p, .join__text p, .join__text b { font-size: clamp(13px, 1.3vw, 25px); }
.together p { max-width: 52vw; }
.partner__inner p { font-size: clamp(13px, 1.3vw, 25px); max-width: 44vw; }
.btn { font-size: clamp(14px, 1.45vw, 28px); padding: .6em 1.6em; }
.tag { font-size: clamp(10px, .9vw, 17px); }
.contact__head p, .field input, .field textarea, .field select, .field label { font-size: clamp(14px, 1.35vw, 26px); }
.form__foot { font-size: clamp(12px, 1.1vw, 21px); }
.pocl-intro h3 { font-size: clamp(22px, 2.6vw, 50px); }
.why__text { font-size: inherit; }
.flourish .fly { width: clamp(60px, 8vw, 150px); }
.fly img.crane { display: block; }
.contact__crane { width: clamp(160px, 26vw, 500px); }
.menu__aside { font-size: clamp(13px, 1.1vw, 21px); }
.menu__aside h4 { font-size: inherit; }
.menu__aside .crane { width: min(26vw, 80%); }
@media (max-width: 800px) {
  .acc__head { padding: 4vw 0; }
  .together p, .partner__inner p, .challenge__r ul { max-width: none; }
  .how-cell.on .how-cell__desc, .xcard.on .xcard__desc { max-height: 40vw; }
}

/* logos sit inside a transformed track, so give the page its own backdrop for the blend */
.logos__page { background: var(--grey); }

/* =========================================================
   v3 — review round: scroll-driven intro, plain Menu, manual logos
   ========================================================= */
/* header: "Menu" / "Close" as plain white words */
.menu-btn, .menu__close {
  background: none; color: #fff; width: auto; height: auto; padding: .35em 0; border-radius: 0;
  font-size: clamp(15px, 1.72vw, 33px); font-weight: 400; position: relative;
}
.menu-btn:hover, .menu__close:hover { background: none; }
.menu-btn::after, .menu__close::after { content: ""; position: absolute; left: 0; right: 0; bottom: .2em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.menu-btn:hover::after, .menu__close:hover::after { transform: scaleX(1); }
/* menu: only the link under the pointer turns blue */
.menu__links a, .menu__links a.is-current { color: #fff; }
.menu__links a:hover, .menu__links a:focus-visible { color: var(--sky); }

/* intro now follows the scrollbar */
.intro2 { pointer-events: auto; }
.intro__cue { position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%); color: rgba(255, 255, 255, .8); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.intro__cue i { width: 1px; height: 44px; background: linear-gradient(#fff, transparent); transform-origin: top; animation: hint 1.8s ease-in-out infinite; }
body.intro-playing { overflow: visible; }

/* logos: a strip you move yourself */
.logos__viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: auto; cursor: grab; overscroll-behavior-x: contain; outline: none; }
.logos__viewport::-webkit-scrollbar { display: none; }
.logos__viewport.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.logos__track { transform: none !important; transition: none; }
.logos__page { opacity: 1; scroll-snap-align: start; }
.logo-img img { user-select: none; -webkit-user-drag: none; }
.logos__nav { display: flex; align-items: center; justify-content: center; gap: 1.4vw; margin-top: 2.4vw; padding-bottom: 3vw; }
.logos__nav .logos__dots { margin: 0; }
.logos__nav > button { width: clamp(30px, 2.6vw, 50px); height: clamp(30px, 2.6vw, 50px); border-radius: 50%; border: 1px solid var(--navy); color: var(--navy); display: grid; place-items: center; transition: background .3s, color .3s, opacity .3s; }
.logos__nav > button svg { width: 42%; height: 42%; }
.logos__nav > button:hover:not(:disabled) { background: var(--navy); color: #fff; }
.logos__nav > button:disabled { opacity: .25; cursor: default; }

/* =========================================================
   v3 pages — Services, Curriculum Design, Careers
   Sizes measured from the handover recordings (1vw = 1% of a 1280-wide frame)
   ========================================================= */
body[data-page="services"] main, body[data-page="curriculum"] main, body[data-page="careers"] main { --pad: 7.1vw; --rule: #5d6f94; font-variation-settings: "opsz" 14; }

/* ---------- Shared hero: headline shrinks, picture rises to fill the screen ---------- */
.xhero { height: 240vh; --p1: clamp(0, calc(var(--p, 0) * 2), 1); --p2: clamp(0, calc(var(--p, 0) * 2 - 1), 1); }
.xhero__sticky { display: block; }
.xhero__title { position: absolute; left: 0; right: 0; top: calc(41% - var(--p1) * 13% - var(--p2) * 18%); transform: translateY(-50%); padding: 0 4vw; opacity: calc(1 - var(--p2) * 1.5); }
.xhero__title .display { font-size: calc(10.55vw - var(--p1) * 3.8vw); line-height: 1.08; letter-spacing: 0; white-space: nowrap; }
.xhero .split-line, .sd-hero .split-line { padding-bottom: .14em; margin-bottom: -.14em; }
.xhero__media { top: calc(70% - var(--p1) * 20% - var(--p2) * 50%); bottom: 0; height: auto; }
.xhero__media::after { display: none; }

/* centred statement under a hero */
.centered { text-align: center; padding: 4vw var(--pad) 8.5vw; color: var(--navy); }
.centered h2 { font-size: 2.64vw; font-weight: 400; color: var(--ink); letter-spacing: 0; margin-bottom: 3.3vw; }
.centered p { font-size: clamp(13px, 1.45vw, 28px); line-height: 1.42; max-width: 60.5vw; margin: 0 auto; }
.centered p + p { margin-top: 2em; }

/* ---------- Services: Our Services / POCL ---------- */
.services-head { padding: 0; }
.services-head .display { font-size: 10.55vw; line-height: 1.12; letter-spacing: 0; }
.pocl-intro { grid-template-columns: 26.1vw 1fr; gap: 9.1vw; margin-top: 3.2vw; }
.pocl-intro__img { aspect-ratio: 365 / 405; }
.pocl-intro h3 { font-size: 3.25vw; letter-spacing: 0; font-weight: 400; line-height: 1.1; margin: .5vw 0 1.7vw; color: var(--ink); }
.pocl-intro .body { font-size: clamp(13px, 1.45vw, 28px); line-height: 1.12; color: var(--navy); max-width: 49.5vw; }
.pocl-intro .body p + p { margin-top: 1.4em; }
.pillars { grid-template-columns: 33.3vw 1fr; gap: 0; margin-top: 0; }
.pillars__nav { top: calc(var(--header-h) + 4vw); gap: 4.2vw; padding-top: 6.6vw; padding-bottom: 6vw; }
.pillars__nav button { font-size: 3.33vw; line-height: 1.2; font-weight: 600; color: var(--grey-2); }
.pillars__nav button:hover { color: #9aa6bd; }
.pillars__nav button.on { color: var(--ink); font-weight: 600; transform: none; }
.pillars__body { border-left: 1px solid var(--rule); padding: 5.9vw 0 6.8vw 1.9vw; min-height: 0; }
.acc, .acc__item { border-color: var(--rule); }
.acc__icon { width: 1.05vw; height: 1.05vw; min-width: 10px; min-height: 10px; flex: 0 0 auto; }
.acc__icon::before, .acc__icon::after { height: 1px; }
.pillars .acc__head { font-size: clamp(14px, 1.67vw, 32px); font-weight: 600; padding: 2.5vw .4vw 2.5vw 0; color: var(--navy); }
.pillars .acc__item.is-open .acc__head { padding-bottom: 1.6vw; }
.pillars .acc__content { font-size: clamp(13px, 1.45vw, 28px); line-height: 1.32; color: var(--navy); padding-bottom: 1.4vw; }
.pillars .acc__content p { max-width: 41vw; }
.acc__more { margin-top: 1.4vw; }
.link-arrow { font-size: clamp(12px, 1.46vw, 28px); gap: .3em; }
.link-arrow svg { width: 1.5em; height: 1em; }

/* ---------- Services: Why POCL ---------- */
.why-sec { padding: 0 0 9vw; }
.why { grid-template-columns: 32vw 1fr; gap: 0; align-items: start; }
.why__left { display: block; }
.why__left .vline { height: 9vw; margin-left: 24.5vw; }
.why__titles { padding: 1.6vw 0 2.6vw; align-self: auto; }
.why__titles h2 { font-size: 3.33vw; letter-spacing: 0; font-weight: 600; line-height: 1.1; color: var(--ink); margin: 0; }
.why__titles p { font-size: 3.33vw; font-weight: 400; line-height: 1.1; color: var(--ink); margin-top: 3.4vw; letter-spacing: 0; }
.why__left .vline + .why__ctrl, .why__ctrl { margin: 3vw 0 0 24.5vw; width: 0; align-items: center; gap: 2.2vw; }
.why .round-btn { width: 5.1vw; height: 5.1vw; min-width: 34px; min-height: 34px; flex: 0 0 auto; border: 1px solid var(--navy); color: var(--navy); }
.why .round-btn svg { width: 30%; height: 30%; }
.why .round-btn[disabled] { opacity: .22; }
.why__r { padding-top: 10.2vw; }
.why__texts { position: relative; height: 12.6vw; min-height: 0; max-width: 50.5vw; font-size: clamp(13px, 1.51vw, 29px); line-height: 1.2; color: var(--navy); }
.why__text, .why__text.on { position: absolute; left: 0; right: 0; bottom: 0; top: auto; inset: auto 0 0 0; font-size: inherit; }
.why__slides { width: 47.4vw; aspect-ratio: 663 / 495; margin-top: 3.2vw; }

/* ---------- Services: How We Work With You ---------- */
.how { padding: 8vw 0 3.8vw; }
.how__head { grid-template-columns: 42.9vw 1fr; gap: 0; }
.how__head .h2 { font-size: 3.33vw; letter-spacing: 0; font-weight: 600; line-height: 1.12; }
.how__head .body { font-size: clamp(13px, 1.45vw, 28px); line-height: 1.12; color: var(--navy); max-width: 33vw; }
.how__head .body p + p { margin-top: 1.4em; }
.how__grid-wrap { grid-template-columns: 39.4vw 48.8vw; gap: 1.3vw; margin: 6.2vw 0 0 7.1vw; }
.how__img { height: 48.6vw; min-height: 0; }
.how__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 24.3vw 24.3vw; }
.how__grid::before, .how__grid::after { background: var(--rule); }
.how-cell { padding: 2.1vw; min-height: 0; display: block; }
.how-cell::before { transform: none; transition: opacity .45s; }
.how-cell__num { display: block; font-size: 4.6vw; font-weight: 300; letter-spacing: 0; line-height: 1; }
.how-cell__title { position: absolute; left: 2.1vw; top: calc(24.3vw - 2.1vw - 2.4em); height: 2.4em; display: flex; align-items: flex-end; font-size: clamp(12px, 1.67vw, 32px); font-weight: 600; line-height: 1.2; transition: top .65s var(--ease), left .65s var(--ease), color .4s; }
.how-cell__desc { position: absolute; left: 2.1vw; right: 2.1vw; bottom: 2.1vw; margin: 0; max-height: none; font-size: clamp(10px, 1.09vw, 21px); line-height: 1.2; color: #fff; opacity: 0; transform: translateY(1vw); transition: opacity .35s, transform .6s var(--ease); }
.how-cell.on .how-cell__title { top: 2.9vw; left: 8.9vw; align-items: flex-start; }
.how-cell.on .how-cell__desc { max-height: none; margin: 0; opacity: 1; transform: none; transition-delay: .15s; }

/* ---------- Partner with us: blue band, then blue words on grey ---------- */
.partner { height: 37vw; background: var(--grey-2); overflow: hidden; }
.partner__sticky { position: static; top: auto; height: 100%; display: block; overflow: visible; }
.partner__box { inset: 0 0 auto 0; height: 23.2vw; opacity: 0; transform: scaleX(.93); transition: opacity .7s, transform 1s var(--ease); }
.partner.is-in .partner__box { opacity: 1; transform: none; }
.partner.is-open .partner__box { opacity: 0; transform: none; }
.partner__inner { position: absolute; inset: 0; padding: 0; }
.partner__inner h2 { position: absolute; left: 0; right: 0; top: 11.6vw; transform: translateY(-50%); font-size: 10.55vw; font-weight: 500; letter-spacing: 0; line-height: 1; white-space: nowrap; color: #fff; transition: color .8s, top 1s var(--ease); }
.partner.is-open .partner__inner h2 { color: var(--blue); top: 10.2vw; }
.partner__inner p { position: absolute; left: 50%; top: 26.2vw; width: 62vw; max-width: none; margin: 0 0 0 -31vw; font-size: clamp(11px, 1.7vw, 33px); font-weight: 500; line-height: 1.3; color: var(--navy); opacity: 1; transform: none; transition: top 1s var(--ease); }
.partner.is-open .partner__inner p { top: 19.4vw; }
.partner__inner .btn { position: absolute; left: 50%; top: 28vw; font-size: clamp(11px, 1.7vw, 33px); font-weight: 500; padding: .28em .95em; white-space: nowrap; opacity: 0; transform: translate(-50%, 1.2vw); pointer-events: none; transition: opacity .6s, transform .8s var(--ease), background .3s; }
.partner.is-open .partner__inner .btn { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; transition-delay: .35s, .35s, 0s; }
.partner.is-open .partner__inner .btn:hover { transform: translate(-50%, -2px); }

/* ---------- Curriculum Design ---------- */
.sd-hero { height: 54.8vw; min-height: 66vh; padding: 0; overflow: hidden; background: var(--navy); }
.sd-hero__media { position: absolute; inset: 0; height: auto; min-height: 0; margin: 0; }
.sd-hero__media img { height: 122%; }
.sd-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 12, 32, .5), rgba(0, 12, 32, .12) 75%); }
.sd-hero__title { position: absolute; left: 0; top: 4.3vw; padding: 0 6.8vw; max-width: none; margin: 0; }
.sd-hero__title .tag { background: #e6e8ec; color: var(--navy); font-size: clamp(9px, .95vw, 18px); font-weight: 500; padding: .2em 1.1em; margin-bottom: 1.1vw; }
.sd-hero__title .display { font-size: 10.55vw; line-height: .99; letter-spacing: 0; color: #fff; }
.sd-hero__sub { position: absolute; z-index: 2; left: 53.3vw; bottom: 7.3vw; max-width: 41vw; color: #fff; font-size: clamp(13px, 2.08vw, 40px); line-height: 1.25; }
.ov__line { display: block; height: 10.4vw; margin-left: 72.7vw; }
.ov__grid { display: grid; grid-template-columns: 38.8vw 1fr; }
.ov__grid h2 { font-size: 3.33vw; letter-spacing: 0; font-weight: 500; color: var(--ink); line-height: 1.1; margin-top: -2.2vw; }
.ov__text { padding: 5.3vw 0 6.6vw; max-width: 43.5vw; font-size: clamp(13px, 1.45vw, 28px); line-height: 1.37; color: var(--navy); }
.ov__text p + p { margin-top: 1.5em; }
.ov { padding-bottom: 7vw; }
.challenge { padding: 4vw 0 7.7vw; }
.challenge__grid { grid-template-columns: 31.7vw 1fr; min-height: 54.5vw; }
.challenge__l { padding-right: 2vw; gap: 5vw; border-right: 1px solid rgba(255, 255, 255, .38); }
.challenge__l h2 { font-size: 3.33vw; letter-spacing: 0; font-weight: 500; line-height: 1.15; }
.challenge__l p { font-size: clamp(13px, 1.45vw, 28px); line-height: 1.38; max-width: 29vw; margin-top: 2.6vw; color: rgba(255, 255, 255, .9); }
.challenge__l strong { font-size: clamp(14px, 1.67vw, 32px); font-weight: 500; line-height: 1.35; max-width: 27vw; }
.challenge__r { padding: 9.6vw 0 0 3.5vw; }
.challenge__r h3 { font-size: clamp(16px, 2.13vw, 41px); font-weight: 500; margin: 0 0 .6vw; }
.challenge__r ul { max-width: none; }
.challenge__r li { font-size: clamp(13px, 1.45vw, 28px); font-weight: 500; line-height: 1.3; padding: 2.2vw 0; border-color: rgba(255, 255, 255, .38); }
.challenge__r li span { display: block; max-width: 33vw; }
.cards-sec { padding: 8vw 0 0; }
.cards-row { grid-template-columns: 35.1vw 1fr; gap: 0; max-width: none; padding: 0 0 0 7.1vw; }
.cards-row .h2 { font-size: 3.33vw; letter-spacing: 0; font-weight: 600; line-height: 1.15; margin-bottom: 2.6vw; }
.cards-row p.small { font-size: clamp(13px, 1.45vw, 28px); line-height: 1.3; max-width: 22.5vw; color: var(--navy); }
.xcards__track { gap: 2vw; }
.xcard, .xcard.on { width: 20.6vw; height: 22.4vw; aspect-ratio: auto; padding: 1.3vw 1.6vw 1.7vw; background: #d3d3d3; transition: background .5s; }
.xcard__num { font-size: 4.6vw; font-weight: 400; letter-spacing: 0; line-height: 1; }
.xcard__title { font-size: clamp(11px, 1.67vw, 32px); font-weight: 500; line-height: 1.2; max-width: 11em; }
.xcards--blue .xcard.on { background: var(--blue); }
.xcards--orange .xcard.on { background: var(--orange); }
.xcards--blue .xcard:not(.on):hover { background: #93a7cb; }
.xcards--orange .xcard:not(.on):hover { background: #d19577; }
.xcards__bar { height: 2px; margin-top: 2.8vw; background: #d3d3d3; }
.xcards__bar i { height: 4px; top: -1px; background: var(--blue); transition: transform .9s var(--ease); }
.impact-sec { padding: 9vw 0 0; }
.impact__title { font-size: 10.55vw; line-height: 1.25; letter-spacing: 0; }
.impact__title .row1 { display: grid; grid-template-columns: 35.1vw 1fr; justify-content: start; }
.impact__sub { font-size: clamp(13px, 1.7vw, 33px); font-weight: 500; margin: 4.6vw 0 5.6vw; color: var(--navy); }
.impact__list li { font-size: clamp(15px, 2.56vw, 49px); font-weight: 500; line-height: 1.25; min-height: 9.2vw; padding: 1.2vw calc(50% - 25vw); display: grid; place-items: center; border-color: #c9cfda; cursor: default; transition: color .45s; }
.impact__list:hover li { color: #c3cbdb; }
.impact__list li:hover { color: #fff; }
.impact__list li:hover::before { transform: none; }
.impact__note { font-size: clamp(13px, 1.7vw, 33px); font-weight: 500; line-height: 1.3; max-width: 46vw; margin-top: 8vw; color: var(--navy); }
.deliver-sec { padding: 9vw 0 11vw; }

/* ---------- Careers ---------- */
.mindset-sec { padding: 0; }
.mindset { grid-template-columns: 31.7vw 1fr; gap: 0; }
.mindset__l { display: block; }
.mindset__l .vline { height: 10vw; margin-left: 24.3vw; }
.mindset__l .h2 { font-size: 3.33vw; letter-spacing: 0; font-weight: 500; line-height: 1.13; margin: 1.7vw 0 5.1vw; }
.mindset__r { padding-top: 6vw; }
.mindset__img { width: 46vw; max-width: none; aspect-ratio: 359 / 246; background: #e9e9eb; }
.mindset__r p { font-size: clamp(13px, 1.51vw, 29px); line-height: 1.22; max-width: 47.5vw; margin-top: 4.4vw; color: var(--navy); }
.join-sec { padding: 0 0 12vw; }
.join { display: block; position: relative; padding-top: 16.4vw; }
.join__figure { position: absolute; left: 2.7vw; top: -5vw; width: 23vw; height: 40.7vw; max-width: none; pointer-events: none; }
.think { width: 100%; height: 100%; aspect-ratio: auto; }
.join__text { margin-left: 31.8vw; }
.join .display { font-size: 10.55vw; line-height: 1; letter-spacing: 0; }
.join__text b { font-size: clamp(13px, 1.45vw, 28px); font-weight: 600; margin: 3.6vw 0 2vw; color: var(--navy); }
.join__text p { font-size: clamp(13px, 1.45vw, 28px); line-height: 1.22; max-width: 46vw; color: var(--navy); }
.jobs { max-width: none; margin: 7.7vw 0 0; }
.jobs .acc__head { font-size: clamp(15px, 2.13vw, 41px); font-weight: 500; color: var(--navy); padding: 2.1vw 1.2vw 2.1vw 0; transition: background .45s, color .45s, padding .5s var(--ease); }
.jobs .acc__item:not(.is-open) .acc__head:hover { background: var(--blue); color: #fff; padding-left: 1.3vw; }
.jobs .acc__item.is-open .acc__head { border-bottom: 1px solid var(--rule); }
.jobs .acc__content { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2vw; padding: 3.2vw 0 3.2vw; font-size: clamp(13px, 1.45vw, 28px); line-height: 1.3; color: var(--navy); }
.jobs .acc__content b { display: block; font-size: clamp(14px, 1.67vw, 32px); font-weight: 600; margin-bottom: 1.5em; }
.jobs .acc__content p { max-width: 50.5vw; }
.jobs .acc__content p + p { margin-top: 1.3em; }
.reach { white-space: nowrap; display: inline-flex; align-items: center; gap: .3em; color: var(--navy); }
.reach u { text-underline-offset: .15em; }
.reach svg { width: 1.5em; height: 1em; transition: transform .3s var(--ease); }
.reach:hover svg { transform: translateX(.25em); }
.flourish { padding: 17vw 0 26vw; }
.flourish h2 { font-size: 4.55vw; font-weight: 400; letter-spacing: 0; line-height: 1.22; max-width: none; }
.flourish .fly { width: 10.5vw; }
.flourish .fly--lg { width: 14vw; }

/* ---------- Phones ---------- */
@media (max-width: 800px) {
  body[data-page="services"] main, body[data-page="curriculum"] main, body[data-page="careers"] main { --pad: 6vw; }
  .xhero { height: 200vh; }
  .xhero__title .display { font-size: calc(10vw - var(--p1) * 2.4vw); }
  .centered { padding: 9vw var(--pad) 14vw; }
  .centered h2 { font-size: 6vw; margin-bottom: 6vw; }
  .centered p { font-size: 3.9vw; max-width: none; }
  .services-head .display, .join .display { font-size: 14vw; }
  .impact__title { font-size: 12vw; }
  .pocl-intro { grid-template-columns: 1fr; gap: 6vw; margin-top: 6vw; }
  .pocl-intro__img { width: 62vw; }
  .pocl-intro h3 { font-size: 6.6vw; margin-bottom: 4vw; }
  .pocl-intro .body, .how__head .body, .why__texts, .ov__text, .challenge__l p, .challenge__r li, .cards-row p.small, .mindset__r p, .join__text p, .join__text b, .pillars .acc__content, .jobs .acc__content { font-size: 3.9vw; line-height: 1.35; max-width: none; }
  .pillars { grid-template-columns: 1fr; margin-top: 10vw; }
  .pillars__nav { padding: 0; gap: 2vw; }
  .pillars__nav button, .pillars__nav button.on { font-size: 4vw; font-weight: 500; }
  .pillars__body { border-left: 0; padding: 6vw 0 12vw; }
  .pillars .acc__head { font-size: 4.3vw; padding: 4.5vw 0; }
  .pillars .acc__content p { max-width: none; }
  .link-arrow, .reach { font-size: 3.7vw; }
  .why-sec { padding-bottom: 16vw; }
  .why { grid-template-columns: 1fr; }
  .why__titles { padding: 0 0 5vw; }
  .why__titles h2, .why__titles p { font-size: 7.4vw; }
  .why__titles p { margin-top: 3vw; }
  .why__left .vline + .why__ctrl, .why__ctrl { margin: 0 0 6vw; width: auto; flex-direction: row; justify-content: flex-start; gap: 3vw; }
  .why .round-btn { width: 11vw; height: 11vw; }
  .why__r { padding-top: 0; }
  .why__texts { height: 56vw; }
  .why__text, .why__text.on { inset: 0 0 auto 0; }
  .why__slides { width: 100%; margin-top: 4vw; }
  .how { padding: 14vw 0 10vw; }
  .how__head { grid-template-columns: 1fr; gap: 5vw; }
  .how__head .h2, .cards-row .h2, .mindset__l .h2, .ov__grid h2, .challenge__l h2 { font-size: 7.4vw; }
  .how__grid-wrap { grid-template-columns: 1fr; margin: 8vw 6vw 0; gap: 0; }
  .how__img { height: 70vw; }
  .how__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .how__grid::before, .how__grid::after { display: none; }
  .how-cell { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 4vw; padding: 5vw; border-bottom: 1px solid var(--rule); }
  .how-cell__num { font-size: 11vw; }
  .how-cell__title, .how-cell.on .how-cell__title { position: static; height: auto; display: block; font-size: 4.4vw; }
  .how-cell__title br { display: none; }
  .how-cell__desc { position: static; grid-column: 1 / -1; font-size: 3.7vw; line-height: 1.35; max-height: 0; overflow: hidden; transform: none; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
  .how-cell.on .how-cell__desc { max-height: 60vw; margin-top: 4vw; }
  .partner { height: 96vw; }
  .partner__box { height: 36vw; }
  .partner__inner h2 { font-size: 11.5vw; top: 18vw; }
  .partner.is-open .partner__inner h2 { top: 16vw; }
  .partner__inner p { top: 44vw; width: 86vw; margin-left: -43vw; font-size: 3.9vw; }
  .partner.is-open .partner__inner p { top: 31vw; }
  .partner__inner .btn { top: 68vw; font-size: 4vw; white-space: nowrap; }
  .sd-hero { height: 128vw; min-height: 0; }
  .sd-hero__title { top: 9vw; padding: 0 6vw; }
  .sd-hero__title .tag { font-size: 3vw; margin-bottom: 3vw; }
  .sd-hero__title .display { font-size: 14vw; }
  .sd-hero__sub { left: 6vw; right: 6vw; bottom: 9vw; max-width: none; font-size: 4.6vw; }
  .ov { padding: 14vw 0; }
  .ov__line { display: none; }
  .ov__grid { grid-template-columns: 1fr; }
  .ov__grid h2 { margin: 0; }
  .ov__text { padding: 6vw 0 0; }
  .challenge { padding: 14vw 0; }
  .challenge__grid { grid-template-columns: 1fr; min-height: 0; }
  .challenge__l { border-right: 0; padding: 0; gap: 8vw; }
  .challenge__l p { margin-top: 5vw; }
  .challenge__l strong { font-size: 4.5vw; max-width: none; order: 3; }
  .challenge__r { padding: 10vw 0 0; }
  .challenge__r h3 { font-size: 5vw; }
  .challenge__r li { padding: 4.4vw 0; }
  .challenge__r li span { max-width: none; }
  .cards-sec { padding-top: 16vw; }
  .cards-row { grid-template-columns: 1fr; padding: 0 0 0 6vw; }
  .cards-row .h2 { margin-bottom: 4vw; }
  .cards-row p.small { padding-right: 6vw; }
  .cards-row .xcards { margin-top: 8vw; }
  .xcards__track { gap: 4vw; }
  .xcard, .xcard.on { width: 52vw; height: 56vw; padding: 4vw; }
  .xcard__num { font-size: 10vw; }
  .xcard__title { font-size: 4vw; }
  .xcards__bar { margin-top: 6vw; }
  .impact-sec { padding-top: 18vw; }
  .impact__title { line-height: 1.12; }
  .impact__title .row1 { grid-template-columns: auto auto; gap: 4vw; }
  .impact__sub, .impact__note { font-size: 4vw; max-width: none; }
  .impact__sub { margin: 8vw 0; }
  .impact__list li { font-size: 4.8vw; padding: 5vw 4vw; min-height: 0; }
  .impact__note { margin-top: 12vw; }
  .deliver-sec { padding: 16vw 0 20vw; }
  .mindset { grid-template-columns: 1fr; }
  .mindset__l .vline { display: none; }
  .mindset__l .h2 { margin: 0 0 6vw; }
  .mindset__r { padding-top: 0; }
  .mindset__img { width: 100%; }
  .mindset__r p { margin-top: 5vw; }
  .join-sec { padding-bottom: 20vw; }
  .join { padding-top: 10vw; }
  .join__figure { position: relative; left: auto; top: auto; width: 46vw; height: 80vw; margin: 0 0 4vw; }
  .join__text { margin-left: 0; }
  .join__text b { margin: 5vw 0 3vw; }
  .jobs { margin-top: 12vw; }
  .jobs .acc__head { font-size: 4.6vw; padding: 4.6vw 0; }
  .jobs .acc__item:not(.is-open) .acc__head:hover { padding-left: 3vw; }
  .jobs .acc__content { grid-template-columns: 1fr; padding: 6vw 0; gap: 5vw; }
  .jobs .acc__content b { font-size: 4.1vw; }
  .jobs .acc__content p { max-width: none; }
  .flourish { padding: 36vw 0 40vw; }
  .flourish h2 { font-size: 6.8vw; padding: 0 5vw; }
  .flourish .fly { width: 17vw; }
  .flourish .fly--lg { width: 22vw; }
}
.cards-row > .xcards { min-width: 0; }
.xcard__title { display: block; }

/* headings on these pages use the text cut without negative tracking */
body[data-page="services"] main .h2, body[data-page="curriculum"] main .h2, body[data-page="careers"] main .h2 { letter-spacing: 0; }
.partner { font-variation-settings: "opsz" 14; }
.xcard__title { max-width: 10em; }
.cards-row p.small { max-width: 24.5vw; }
.challenge__l strong { max-width: 30vw; }
.impact__list li { padding-left: 4vw; padding-right: 4vw; }
@media (max-width: 800px) {
  .impact__list li br { display: none; }
  .cards-row p.small, .challenge__l strong { max-width: none; }
}
.mindset__img img { object-fit: contain; }
.xcard__title { max-width: 9.6em; }
.menu-btn:focus-visible, .menu__close:focus-visible { outline: none; }
.menu-btn:focus-visible::after, .menu__close:focus-visible::after { transform: scaleX(1); }

/* =========================================================
   v4 — the recordings' wider DM Sans (text cut, optical size 14) everywhere,
   with headline sizes re-measured against the Home and About recordings
   ========================================================= */
body { font-variation-settings: "opsz" 14; }
.display, .h2 { letter-spacing: 0; }
.h2 { font-size: clamp(24px, 3.33vw, 64px); }
.menu__links a { font-size: clamp(34px, 4.86vw, 93px); letter-spacing: 0; }
.contact__head .display { font-size: clamp(44px, 6.94vw, 133px); }

/* Home */
.hero2__title { font-size: 6.94vw; letter-spacing: 0; }
.hero2__title .serif { font-size: .96em; letter-spacing: 0; }
.hero2__we, .hero2__text { font-size: 2.5vw; }
.stats2 .stat__num { font-size: clamp(34px, 4.6vw, 88px); letter-spacing: 0; }
.capital .container { padding: 0; }
.capital h2 { font-size: min(4.51vw, 87px); line-height: 1.16; white-space: nowrap; }

/* About */
.ahero__title .display { font-size: 10.55vw; line-height: .92; letter-spacing: 0; }
.defines__title { font-size: clamp(22px, 3.33vw, 64px); }
.vm h3 { font-size: clamp(20px, 3.33vw, 64px); }
.vm p { font-size: clamp(16px, 2.5vw, 48px); }
.values2__left .display { font-size: 10.55vw; }
.people2__lead { font-size: clamp(22px, 3.86vw, 74px); max-width: 51vw; }
.person__name { font-size: clamp(15px, 2vw, 38px); }
.person__role { font-size: clamp(11px, 1.46vw, 28px); }
.vcard__head span { font-size: clamp(14px, 1.67vw, 32px); }

@media (max-width: 800px) {
  .hero2__title { font-size: 8.6vw; }
  .hero2__we { font-size: 5.6vw; }
  .hero2__text { font-size: 5.2vw; }
  .stats2 .stat__num { font-size: 10vw; }
  .ahero__title .display { font-size: 13vw; }
  .defines__title { font-size: 7.4vw; }
  .vm h3 { font-size: 6vw; }
  .vm p { font-size: 4.4vw; }
  .values2__left .display { font-size: 15vw; }
  .people2__lead { font-size: 5.6vw; max-width: none; }
  .person__name { font-size: 4vw; }
  .person__role { font-size: 3.2vw; }
  .vcard__head span { font-size: 4vw; }
}
@media (min-width: 801px) {
  .founders2 .person__name, .founders2 .link-arrow { white-space: nowrap; }
}

/* =========================================================
   v5 — review round: coloured logos on hover, calm cranes, settled layouts
   ========================================================= */
/* logos: grey at rest, full brand colour under the pointer (or when tapped) */
.logos .logo-img:hover img, .logos .logo-img.is-lit img { filter: none; mix-blend-mode: multiply; transform: scale(1.06); }
.logos__viewport.is-drag .logo-img img { filter: grayscale(1) brightness(.7) contrast(3); transform: none; }

/* About hero: cranes stay in the margins, gently gliding; the middle one flies off before the text arrives */
.ahero .fly { animation: glide2 7s ease-in-out infinite; }
.ahero .fly--1 { left: 4.5vw; top: 44%; width: 13vw; }
.ahero .fly--2 { left: 41vw; top: 76%; width: 10vw; opacity: calc(1 - var(--f, 0)); translate: calc(var(--f, 0) * -26vw) calc(var(--f, 0) * -30vh); animation-delay: -2.3s; }
.ahero .fly--3 { right: 4.5vw; top: 50%; width: 10vw; animation-delay: -4.6s; }
@keyframes glide2 { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(.6vw, -.8vw) rotate(-1.5deg); } }

/* About: What Defines Us — title lines up with the text instead of floating at the bottom */
.defines2 { min-height: 0; padding: 7vw 0 7vw; }
.defines2__left { justify-content: flex-start; padding-top: .3vw; }
.defines2__btn { bottom: 2vw; }
.defines2__right { min-height: 48vw; }
.defines__slide .media img { object-position: center 40%; }

/* About: standing crane fits its column (no clipped beak) and settles fully */
.vm { grid-template-columns: 31vw 1fr; overflow: visible; }
.vm__crane { width: 25vw; justify-self: start; margin: 3vw 0 0 4vw; overflow: hidden; }
#vision { overflow: hidden; }

/* Careers: the Think Bigger chair stays put */
.think img { animation: none; }

@media (max-width: 800px) {
  .ahero .fly--1 { left: 4vw; top: 47%; width: 20vw; }
  .ahero .fly--2 { left: 38vw; top: 82%; width: 16vw; }
  .ahero .fly--3 { right: 4vw; top: 50%; width: 16vw; }
  .vm { grid-template-columns: 1fr; }
  .vm__crane { width: 40vw; margin: 0 0 6vw 6vw; }
  .defines2__left { padding-top: 0; }
  .defines2__right { min-height: 118vw; }
}
@media (min-width: 801px) {
  .defines2 { grid-template-columns: 29vw 1fr; }
  .defines2__left { padding-left: 7.1vw; padding-right: 1.5vw; }
  .defines__title.on, .defines__title.past { max-height: 22vw; }
}
@media (max-width: 800px) {
  .vm > div:last-child { padding: 0 6vw !important; }
  .ahero .fly--1 { top: 49.5%; width: 16vw; }
  .ahero .fly--3 { top: 49.5%; width: 14vw; }
}

/* ==========================================================================
   v6 — service pages built from the old-site copy
   ========================================================================== */
.sd-hero__title .display { font-size: calc(10.55vw * var(--ts, 1)); }
.sd-hero__title .split-line > span { white-space: nowrap; }
a.tag { display: inline-block; text-decoration: none; transition: background .3s, color .3s; }
.sd-hero__title a.tag:hover { background: var(--blue); color: #fff; }
.xcard__body { display: block; }
.xcard__sub { display: block; margin-top: .6em; font-size: clamp(11px, 1.05vw, 20px); line-height: 1.3; opacity: .9; }
.xcards--desc .xcard, .xcards--desc .xcard.on { width: 24vw; height: 30vw; }
.xcards--desc .xcard__desc { display: block; font-size: clamp(11px, .98vw, 19px); line-height: 1.38; color: #fff; max-width: none; }
.xcards--desc .xcard.on .xcard__desc { max-height: 20vw; margin-top: .9vw; }
.cards-row p.cards-note { margin-top: 1.6vw; opacity: .8; }
@media (max-width: 800px) {
  .sd-hero__title .display { font-size: calc(14vw * var(--tsm, 1)); }
  .sd-hero__title .split-line > span { white-space: normal; }
  .xcards--desc .xcard, .xcards--desc .xcard.on { width: 72vw; height: auto; min-height: 60vw; }
  .xcards--desc .xcard__desc { font-size: 3.5vw; }
  .xcards--desc .xcard.on .xcard__desc { max-height: 90vw; margin-top: 3vw; }
  .xcard__sub { font-size: 3.3vw; }
  .cards-row p.cards-note { margin-top: 4vw; }
}
@media (min-width: 801px) and (max-width: 1180px) {
  .xcards--desc .xcard, .xcards--desc .xcard.on { height: 33vw; }
  .xcards--desc .xcard.on .xcard__desc { max-height: 24vw; }
}

/* ==========================================================================
   v7 — review round 7
   ========================================================================== */
/* no single word left alone on a last line (JS also glues the last two words) */
p, li, h1, h2, h3, h4, blockquote { text-wrap-style: pretty; }

/* Home intro now plays by itself: no scroll cue */
.intro__cue { display: none; }

/* About hero: picture rises full-bleed, then narrows into its frame to reveal the text and cranes */
.ahero__media {
  left: 0; top: 0; width: 100%; height: 100%;
  transform: translateY(calc((1 - var(--b, 0)) * 101%));
  clip-path: inset(calc(var(--s, 0) * 2%) calc(var(--s, 0) * 20vw) calc(var(--s, 0) * 37%) calc(var(--s, 0) * 19.2vw));
  z-index: 3;
}
.ahero__media img { transform: scale(calc(1.1 - var(--s, 0) * .1)); transform-origin: 50% 30%; object-position: center 58%; }
.ahero__text { z-index: 2; }
.ahero .fly { z-index: 2; }

/* About: Who we are, in the "Why POCL?" layout */
.defines3 { --pad: 7.1vw; padding: 4vw 0 9vw; font-variation-settings: "opsz" 14; }
.why__subs { position: relative; margin-top: 3.4vw; }
.why__sub { position: absolute; left: 0; top: 0; right: 0; margin: 0 !important; font-size: 3.33vw; font-weight: 400; line-height: 1.1; color: var(--ink); opacity: 0; transform: translateY(1vw); transition: opacity .6s, transform .8s var(--ease); }
.why__sub.on { position: relative; opacity: 1; transform: none; }
.defines3 .why__texts { height: 15vw; }
.defines3 .why__slide img { object-position: center 45%; }

/* About: vision and mission together, crane beside them */
.vm2 { display: grid; grid-template-columns: 34vw 1fr; align-items: end; padding: 7vw 7.1vw 8vw 0; overflow: hidden; font-variation-settings: "opsz" 14; }
.vm2__crane { width: 25vw; justify-self: end; margin-right: 5vw; overflow: hidden; }
.vm2__crane .crane { display: block; width: 100%; height: auto; }
.vm2__text { max-width: 52vw; padding-bottom: .6vw; }
.vm2 h3 { font-size: clamp(20px, 2.9vw, 56px); font-weight: 600; color: var(--ink); margin: 0 0 1.4vw; line-height: 1.1; }
.vm2 p { font-size: clamp(16px, 2.15vw, 41px); line-height: 1.2; color: var(--navy); }
.vm2__block + .vm2__block { margin-top: 4.2vw; }

/* About: people in circles */
.people3 .founders3 { display: flex; justify-content: center; gap: 10vw; margin-top: 6vw; }
.pc { text-align: center; }
.pc__img { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #eee; }
.pc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pc:hover .pc__img img { transform: scale(1.05); }
.pc--lg { width: 23vw; }
.pc__name { margin-top: 1.4vw; font-weight: 600; color: var(--navy); font-size: clamp(15px, 1.75vw, 34px); line-height: 1.2; }
.pc__role { margin-top: .35vw; color: var(--navy); font-size: clamp(11px, 1.15vw, 22px); line-height: 1.3; }
.pc--lg .pc__name { font-size: clamp(17px, 2.1vw, 40px); }
.pc--lg .pc__role { font-size: clamp(12px, 1.35vw, 26px); }
.pc__bio { margin-top: 1vw; justify-content: center; }
.team3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 5vw 5.5vw; width: 78.5vw; margin: 8vw auto 0; }
.team3 .pc { width: 15.5vw; }
.bio__name { font-size: clamp(20px, 2.4vw, 46px); font-weight: 600; line-height: 1.1; }
.bio__cred { margin-top: .6em !important; opacity: .75; font-size: .85em; }
.bio__cred + p { margin-top: 2em !important; }

/* service cards: the bar follows the active card */
.xcards__bar i { transition: transform .9s var(--ease), width .9s var(--ease); }

@media (max-width: 800px) {
  .ahero__media { clip-path: inset(calc(var(--s, 0) * 2%) calc(var(--s, 0) * 6vw) calc(var(--s, 0) * 52%) calc(var(--s, 0) * 6vw)); }
  .defines3 { --pad: 6vw; padding: 10vw 0 16vw; }
  .why__subs { margin-top: 3vw; }
  .why__sub { font-size: 7.4vw; }
  .defines3 .why__texts { height: 88vw; }
  .vm2 { grid-template-columns: 1fr; padding: 14vw 6vw; }
  .vm2__crane { width: 40vw; justify-self: start; margin: 0 0 6vw; }
  .vm2__text { max-width: none; }
  .vm2 h3 { font-size: 6.4vw; margin-bottom: 3vw; }
  .vm2 p { font-size: 4.6vw; }
  .vm2__block + .vm2__block { margin-top: 9vw; }
  .people3 .founders3 { gap: 6vw; margin-top: 10vw; }
  .pc--lg { width: 41vw; }
  .pc__name, .pc--lg .pc__name { font-size: 4.2vw; margin-top: 3vw; }
  .pc__role, .pc--lg .pc__role { font-size: 3.2vw; margin-top: 1vw; }
  .pc__bio { margin-top: 2.5vw; font-size: 3.2vw; }
  .team3 { width: auto; gap: 9vw 8vw; margin: 14vw 6vw 0; }
  .team3 .pc { width: 37vw; }
}
.why__sub { white-space: nowrap; }
@media (max-width: 800px) {
  .xcard__title { max-width: none; }
  .xcard, .xcard.on { width: 60vw; }
}
@media (max-width: 800px) {
  .ahero__media img { transform-origin: 50% 100%; transform: translateY(calc(var(--s, 0) * -30%)) scale(calc(1.1 - var(--s, 0) * .1)); }
  .ahero .fly--1 { top: 76%; left: 8vw; width: 18vw; }
  .ahero .fly--3 { top: 79%; right: 8vw; width: 15vw; }
}

/* ===== v8: people in two pages, smaller founders, tighter About rhythm ===== */
.ppl .pc--lg { width: 16.5vw; }
.people3 .founders3 { gap: 9vw; margin-top: 5vw; }
.ppl .team3 { margin-top: 5vw; }
.ppl .pager { margin-top: 4.5vw; gap: 14px; font-size: clamp(13px, 1.1vw, 20px); color: var(--navy); }
.ppl .pager .round-btn { width: clamp(30px, 2.6vw, 50px); height: clamp(30px, 2.6vw, 50px); }
.ppl .pager .round-btn:disabled { opacity: .35; cursor: default; }
.defines3 { padding-bottom: 3vw; }
.vm2 { padding-top: 2vw; }
@media (max-width: 800px) {
  .ppl .pc--lg { width: 36vw; }
  .ppl .pager { margin-top: 10vw; }
  .defines3 { padding-bottom: 8vw; }
  .vm2 { padding-top: 6vw; }
}
.ppl .pc--lg { width: 26vw; }
.ppl .pc--lg .pc__img { width: 16.5vw; margin: 0 auto; }
.ppl .pc--lg .pc__name { font-size: clamp(17px, 1.9vw, 36px); }
.people3 .ppl .founders3 { gap: 3vw; }
@media (max-width: 800px) {
  .ppl .pc--lg { width: 44vw; }
  .ppl .pc--lg .pc__img { width: 36vw; }
  .ppl .pc--lg .pc__name { font-size: 4.2vw; }
  .people3 .ppl .founders3 { gap: 3vw; }
}
.ppl .team3 .pc .pc__img { width: 12.5vw; margin: 0 auto; }
@media (max-width: 800px) { .ppl .team3 .pc .pc__img { width: 30vw; } }
@media (max-width: 800px) { .ppl .team3 { gap: 9vw 4vw; margin-left: 4vw; margin-right: 4vw; } .ppl .team3 .pc { width: 44vw; } }

/* ===== v9: Careers mindset video (vertical clip beside the text) ===== */
.mindset__r--video { display: flex; align-items: flex-end; gap: 3.2vw; padding-right: 7.1vw; }
.mvid { position: relative; flex: 0 0 21vw; aspect-ratio: 9 / 16; overflow: hidden; background: #e9e9eb; }
.mvid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mindset__r--video p { margin-top: 0; max-width: 26vw; }
.mvid__sound { position: absolute; left: 1vw; bottom: 1vw; display: inline-flex; align-items: center; gap: .5em; padding: .55em .9em; border: 0; border-radius: 999px; background: rgba(2, 27, 61, .72); color: #fff; font: inherit; font-size: clamp(11px, .9vw, 17px); cursor: pointer; backdrop-filter: blur(6px); transition: background .3s; }
.mvid__sound:hover { background: rgba(2, 27, 61, .92); }
.mvid__sound svg { width: 1.3em; height: 1.3em; }
.mvid__sound .mvid__on { display: none; }
.mvid__sound[aria-pressed="true"] .mvid__on { display: inline; }
.mvid__sound[aria-pressed="true"] .mvid__off { display: none; }
@media (max-width: 800px) {
  .mindset__r--video { display: block; padding-right: 0; }
  .mvid { width: 62vw; flex: none; }
  .mindset__r--video p { max-width: none; margin-top: 7vw; }
  .mvid__sound { left: 3vw; bottom: 3vw; font-size: 3.2vw; }
}
.pc__img img { color: transparent; font-size: 0; }   /* never spill alt text over the circle */

/* ===== v10: email options panel ===== */
.mailpop { position: fixed; z-index: 200; width: max-content; max-width: calc(100vw - 24px); padding: 18px 20px 16px; background: #fff; color: var(--navy); border: 1px solid rgba(2, 27, 61, .14); box-shadow: 0 18px 50px rgba(2, 27, 61, .16); font-size: 14px; animation: mailpop .22s var(--ease); }
.mailpop[hidden] { display: none; }
@keyframes mailpop { from { opacity: 0; transform: translateY(6px); } }
.mailpop__label { font-size: 12px; opacity: .65; }
.mailpop__to { margin-top: 2px; font-size: 17px; font-weight: 600; user-select: all; }
.mailpop__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mailpop__row a, .mailpop__row button { padding: 8px 14px; border: 1px solid rgba(2, 27, 61, .25); background: none; color: inherit; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.mailpop__row a:hover, .mailpop__row button:hover { background: var(--navy); color: #fff; }
.mailpop { padding: 16px 20px; }
.mailpop__to { cursor: copy; }

/* ===== v11: contact form box + consent alignment ===== */
.field--area textarea { min-height: 170px; line-height: 1.45; padding: 16px 18px; background: rgba(255, 255, 255, .03); background-image: none; border: 1px solid rgba(255, 255, 255, .45); }
.field--area textarea:focus { border-color: #fff; background: rgba(255, 255, 255, .06); }
.field--area label { left: 18px; top: 39px; }
.field--area textarea:focus + label, .field--area textarea:not(:placeholder-shown) + label { transform: translate(-18px, -39px); }
.consent { --box: 18px; --gap: 14px; }
.consent .check { gap: var(--gap); }
.consent .check input { flex: none; width: var(--box); height: var(--box); margin: .2em 0 0; }
.consent > p { padding-left: calc(var(--box) + var(--gap)); }
.consent .check + p { margin-top: 12px; }

/* ===== v11: legal pop-up (Privacy Policy, Cookies Notice, Terms of Use) ===== */
html.legal-open { overflow: hidden; }
.legal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; }
.legal[hidden] { display: none; }
.legal__backdrop { position: absolute; inset: 0; background: rgba(0, 25, 58, .55); backdrop-filter: blur(3px); animation: lfade .3s ease; }
.legal__panel { position: relative; display: flex; flex-direction: column; width: min(920px, calc(100vw - 48px)); height: min(86vh, 980px); background: #fff; color: var(--navy); box-shadow: 0 30px 90px rgba(0, 25, 58, .35); animation: lrise .45s var(--ease); }
@keyframes lfade { from { opacity: 0; } }
@keyframes lrise { from { opacity: 0; transform: translateY(24px); } }
.legal__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px 18px 40px; border-bottom: 1px solid rgba(0, 25, 58, .12); }
.legal__tabs { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.legal__tabs button { padding: 6px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: inherit; font: inherit; font-size: 14px; opacity: .6; cursor: pointer; transition: opacity .2s, border-color .2s; }
.legal__tabs button:hover { opacity: 1; }
.legal__tabs button[aria-selected="true"] { opacity: 1; border-color: var(--navy); }
.legal__close { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(0, 25, 58, .2); border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.legal__close svg { width: 14px; height: 14px; }
.legal__close:hover { background: var(--navy); color: #fff; }
.legal__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 36px 40px 56px; }
.legal__title { font-size: clamp(26px, 2.6vw, 42px); font-weight: 600; line-height: 1.1; }
.legal__body { margin-top: 18px; font-size: 15px; line-height: 1.6; }
.legal__body dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; font-size: 13px; opacity: .75; margin-bottom: 26px; }
.legal__body dt { font-weight: 600; }
.legal__body h2 { margin: 34px 0 10px; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.legal__body h3 { margin: 22px 0 8px; font-size: 15px; font-weight: 600; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p, .legal__body ol + p, .legal__body p + ol { margin-top: 10px; }
.legal__body ul, .legal__body ol { padding-left: 1.3em; }
.legal__body ul { list-style: disc; }
.legal__body ol { list-style: decimal; }
.legal__body li + li { margin-top: 6px; }
.legal__body a { text-decoration: underline; }
.legal__body table { width: 100%; margin: 14px 0; border-collapse: collapse; font-size: 13.5px; }
.legal__body th, .legal__body td { padding: 9px 10px; border: 1px solid rgba(0, 25, 58, .15); text-align: left; vertical-align: top; }
.legal__body th { background: rgba(0, 25, 58, .05); font-weight: 600; }
@media (max-width: 800px) {
  .legal__panel { width: 100vw; height: 100dvh; }
  .legal__top { padding: 12px 14px 12px 20px; }
  .legal__tabs button { font-size: 13px; }
  .legal__scroll { padding: 26px 20px 48px; }
  .legal__body { font-size: 14.5px; }
  .legal__body table { display: block; overflow-x: auto; }
}

/* ===== v12: card rows glide with the pointer; the bar fills with what you've seen ===== */
.xcards { touch-action: pan-y; }
.xcards__track { transition: none; will-change: transform; }
.xcard { cursor: default; }
.xcards__bar { overflow: hidden; }
.xcards__bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--seen, 0%); background: var(--blue); opacity: .28; }
.xcards--orange .xcards__bar::before { background: var(--orange); }
.xcards__bar i, .xcards__bar i { transform: none !important; transition: none !important; top: 0; height: 100%; }
.xcards__bar { height: 3px; }

/* ===== v13: phone and tablet review ===== */
/* logos are transparent PNGs now: no blending needed */
.logo-img img, .logos .logo-img:hover img, .logos .logo-img.is-lit img { mix-blend-mode: normal; }
/* Join Us: the plus keeps the same inset as the title inside the coloured bar */
.jobs .acc__item:not(.is-open) .acc__head:hover { padding-right: 1.3vw; }

@media (max-width: 800px) {
  /* POCL tabs sit in their own row, never on top of the list */
  .pillars__nav { position: relative; top: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 2vw; padding: 0; }
  .pillars__nav button, .pillars__nav button.on { padding: 3.4vw 2vw; text-align: center; background: var(--grey); color: var(--navy); font-weight: 500; transform: none; transition: background .35s, color .35s; }
  .pillars__nav button.on { background: var(--navy); color: #fff; }
  .pillars__body { padding-top: 5vw; }
}
@media (max-width: 800px) {
  .pillars__nav button, .pillars__nav button.on { font-size: 4vw; }
  /* About intro: steadier on phones (no toolbar jumps), a little less scrolling */
  .ahero { height: 260vh; height: 260svh; }
  .ahero__sticky { height: calc(100svh - var(--header-h)); }
  /* the text box is only as tall as its longest slide, so the picture follows closely */
  .why__texts, .defines3 .why__texts { display: grid; height: auto; }
  .why__text, .why__text.on { position: relative; inset: auto; grid-area: 1 / 1; }
  .why__slides { margin-top: 6vw; }
  /* Our People: same side margins as the rest of the page */
  .people2__head, .people2__lead { padding-left: 6vw; padding-right: 6vw; }
  .people2__lead { margin-left: 0; }
  /* How we work: clear gap between the two words of each title */
  .how-cell__title br { display: none; }
  /* Join Us */
  .jobs .acc__item:not(.is-open) .acc__head:hover { padding-left: 4vw; padding-right: 4vw; }
  .jobs .acc__icon { margin-right: 1vw; }
}
/* tablets in the two-column layout: the pillar list stays a column beside the items */
@media (min-width: 801px) and (max-width: 1000px) {
  .pillars__nav { position: sticky; top: calc(var(--header-h) + 3vw); display: flex; flex-direction: column; flex-wrap: nowrap; gap: 3vw; padding: 5vw 0 4vw; }
  .pillars__nav button, .pillars__nav button.on { flex: none; padding: 0; background: none; text-align: left; font-size: 3.4vw; font-weight: 600; transform: none; }
  .pillars__nav button { color: var(--grey-2); }
  .pillars__nav button.on { color: var(--ink); }
}
/* tablets in the two-column layout: lift the smallest text so it reads comfortably */
@media (min-width: 801px) and (max-width: 1180px) {
  .how-cell__desc { font-size: max(12px, 1.25vw); line-height: 1.25; }
  .how-cell__title { font-size: max(14px, 1.67vw); }
  .sd-hero__title .tag, a.tag { font-size: 12px; }
  .mvid__sound { font-size: 12px; }
}

/* ===== v13b: tablets in the single-column layout keep comfortable text sizes (phones unchanged) ===== */
@media (min-width: 521px) and (max-width: 800px) {
  .stats2 .stat__num { font-size: min(11vw, 57.2px); }
  .stats2 .stat__label { font-size: min(3.6vw, 18.7px); }
  .logos h3 { font-size: min(3.4vw, 17.7px); }
  .vm h3 { font-size: min(6.4vw, 33.3px); }
  .vm p { font-size: min(4.6vw, 23.9px); }
  .vcard__head span { font-size: min(4vw, 20.8px); }
  .people2__lead { font-size: min(6vw, 31.2px); }
  .person__name { font-size: min(4vw, 20.8px); }
  .person__role, .link-arrow { font-size: min(3vw, 15.6px); }
  .partners-grid .person__name { font-size: min(3.4vw, 17.7px); }
  .partners-grid .person__role { font-size: min(2.9vw, 15.1px); }
  .bio__body { font-size: min(3.9vw, 20.3px); }
  .centered h2 { font-size: min(6vw, 31.2px); }
  .centered p { font-size: min(3.9vw, 20.3px); }
  .pocl-intro h3 { font-size: min(6.6vw, 34.3px); }
  .pocl-intro .body, .how__head .body, .why__texts, .ov__text, .challenge__l p, .challenge__r li, .cards-row p.small, .mindset__r p, .join__text p, .join__text b, .pillars .acc__content, .jobs .acc__content { font-size: min(3.9vw, 20.3px); }
  .pillars__nav button, .pillars__nav button.on { font-size: min(4vw, 20.8px); }
  .pillars .acc__head { font-size: min(4.3vw, 22.4px); }
  .link-arrow, .reach { font-size: min(3.7vw, 19.2px); }
  .why__titles h2, .why__titles p { font-size: min(7.4vw, 38.5px); }
  .how__head .h2, .cards-row .h2, .mindset__l .h2, .ov__grid h2, .challenge__l h2 { font-size: min(7.4vw, 38.5px); }
  .how-cell__num { font-size: min(11vw, 57.2px); }
  .how-cell__title, .how-cell.on .how-cell__title { font-size: min(4.4vw, 22.9px); }
  .how-cell__desc { font-size: min(3.7vw, 19.2px); }
  .partner__inner p { font-size: min(3.9vw, 20.3px); }
  .partner__inner .btn { font-size: min(4vw, 20.8px); }
  .challenge__l strong { font-size: min(4.5vw, 23.4px); }
  .challenge__r h3 { font-size: min(5vw, 26.0px); }
  .xcard__num { font-size: min(10vw, 52.0px); }
  .xcard__title { font-size: min(4vw, 20.8px); }
  .impact__sub, .impact__note { font-size: min(4vw, 20.8px); }
  .impact__list li { font-size: min(4.8vw, 25.0px); }
  .jobs .acc__head { font-size: min(4.6vw, 23.9px); }
  .jobs .acc__content b { font-size: min(4.1vw, 21.3px); }
  .flourish h2 { font-size: min(6.8vw, 35.4px); }
  .stats2 .stat__num { font-size: min(10vw, 52.0px); }
  .vm h3 { font-size: min(6vw, 31.2px); }
  .vm p { font-size: min(4.4vw, 22.9px); }
  .people2__lead { font-size: min(5.6vw, 29.1px); }
  .person__name { font-size: min(4vw, 20.8px); }
  .person__role { font-size: min(3.2vw, 16.6px); }
  .vcard__head span { font-size: min(4vw, 20.8px); }
  .xcards--desc .xcard__desc { font-size: min(3.5vw, 18.2px); }
  .xcard__sub { font-size: min(3.3vw, 17.2px); }
  .why__sub { font-size: min(7.4vw, 38.5px); }
  .vm2 h3 { font-size: min(6.4vw, 33.3px); }
  .vm2 p { font-size: min(4.6vw, 23.9px); }
  .pc__name, .pc--lg .pc__name { font-size: min(4.2vw, 21.8px); }
  .pc__role, .pc--lg .pc__role { font-size: min(3.2vw, 16.6px); }
  .pc__bio { font-size: min(3.2vw, 16.6px); }
  .ppl .pc--lg .pc__name { font-size: min(4.2vw, 21.8px); }
  .mvid__sound { font-size: min(3.2vw, 16.6px); }
  .pillars__nav button, .pillars__nav button.on { font-size: min(4vw, 20.8px); }
}


/* ===== v13c: portrait tablets get the How-we-work grid as a list (the squares are too small there) ===== */
@media (min-width: 801px) and (max-width: 1000px) {
  .how__grid-wrap { grid-template-columns: 1fr; gap: 0; margin: 6vw 7.1vw 0; }
  .how__img { height: 52vw; }
  .how__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .how__grid::before, .how__grid::after { display: none; }
  .how-cell { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 3vw; padding: 3vw 3.4vw; border-bottom: 1px solid var(--rule); }
  .how-cell__num { font-size: 7vw; }
  .how-cell__title, .how-cell.on .how-cell__title { position: static; height: auto; display: block; font-size: 22px; }
  .how-cell__title br { display: none; }
  .how-cell__desc { position: static; grid-column: 1 / -1; font-size: 17px; line-height: 1.4; max-height: 0; overflow: hidden; transform: none; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
  .how-cell.on .how-cell__desc { max-height: 40vw; margin-top: 2.4vw; }
}

/* ===== v13d: small tablets (601–800px): people sit four to a row under the founders ===== */
@media (min-width: 601px) and (max-width: 800px) {
  .ppl .pc--lg { width: 34vw; }
  .ppl .pc--lg .pc__img { width: 24vw; }
  .people3 .ppl .founders3 { gap: 6vw; }
  .ppl .team3 { gap: 6vw 2vw; margin: 8vw 4vw 0; }
  .ppl .team3 .pc { width: 21vw; }
  .ppl .team3 .pc .pc__img { width: 17vw; }
  .ppl .team3 .pc__name { font-size: 2.6vw; }
  .ppl .team3 .pc__role { font-size: 2vw; }
}

/* ===== v14: phones: intros move with transforms only (no text re-layout per frame) ===== */
@media (max-width: 800px) {
  .xhero__title { top: 41%; transform: translateY(calc(-50% - var(--p1) * 12svh - var(--p2) * 17svh)) scale(calc(1 - var(--p1) * .24)); will-change: transform, opacity; }
  .xhero__title .display { font-size: 10vw; }
  .xhero__media { top: 0; bottom: auto; height: 100%; transform: translate3d(0, calc((70 - var(--p1) * 20 - var(--p2) * 50) * 1%), 0); will-change: transform; }
  .xhero__media img { will-change: transform; }
  /* About: title, then picture, then text; no extra line in between */
  .ahero__sub { display: none; }
  .ahero__media, .ahero__media img { will-change: transform; }
}

/* ===== v15: phones: hero tagline sits centred between the two lines; Defines Us pictures slide sideways ===== */
@media (max-width: 800px) {
  .hero2__lines i { left: 34%; } .hero2__lines i + i { left: 82%; }
  .hero2__sub { left: 58vw; width: max-content; max-width: 44vw; font-size: min(3.3vw, 17px); transform: translate(-50%, 16px); }
  body.intro-reveal .hero2__sub { transform: translateX(-50%); }
  .why__slide { transition: transform .8s var(--ease-io); }
  .why__r { touch-action: pan-y; }
}
