/* ==========================================================================
   IVCCE website
   Built on the IVCCE house style: warm off-white page, teal as the action
   colour, amber as the second accent, Plus Jakarta Sans.
   ========================================================================== */

:root {
  --teal-900: #063b39;
  --teal-800: #084f4c;
  --teal-700: #0a5c58;
  --teal-600: #0d7a76;
  --teal-500: #12938d;
  --teal-100: #d5eae8;
  --teal-50: #ecf6f5;

  --ink: #10312f;
  --ink-2: #35504d;
  --muted: #6f8280;
  --faint: #9aa8a6;

  --line: #e9e5dc;
  --line-soft: #f1ede5;
  --card: #ffffff;
  --page: #fbfaf6;
  --sand: #f6f1e7;
  --amber: #b9701c;
  --amber-soft: #fdf1e0;

  --c-amber: #b9701c;  --c-amber-bg: #fdf1e0;
  --c-blue: #2c66b4;   --c-blue-bg: #e6effc;
  --c-green: #157f3c;  --c-green-bg: #e2f5e8;
  --c-purple: #6a3fb0; --c-purple-bg: #efe8fb;
  --c-teal: #0d7a76;   --c-teal-bg: #e0f2f1;

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius: 12px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgba(16, 49, 47, .05);
  --shadow: 0 1px 2px rgba(16, 49, 47, .05), 0 8px 22px rgba(16, 49, 47, .06);
  --shadow-lg: 0 2px 6px rgba(16, 49, 47, .06), 0 22px 48px rgba(16, 49, 47, .1);
  --focus-ring: 0 0 0 3px rgba(18, 147, 141, .22);
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1440px;
  --gutter: 24px;
  --nav-h: 70px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--page);
  background-image:
    radial-gradient(900px 460px at 88% -8%, rgba(18, 147, 141, .12), transparent 62%),
    radial-gradient(760px 420px at 6% -12%, rgba(214, 158, 78, .14), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-800); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.022em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--teal-100); }

.wrap { width: min(var(--max), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--teal-700); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- type ---------- */
.display { font-size: clamp(42px, 6.4vw, 82px); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.h2 { font-size: clamp(27px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-size: 14.5px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease; }
.btn .icon { width: 17px; height: 17px; transition: transform .2s var(--ease-out); }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { background: var(--teal-600); color: #fff; box-shadow: 0 6px 16px rgba(13, 122, 118, .22); }
.btn--primary:hover { background: var(--teal-700); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--teal-100); color: var(--teal-700); background: var(--teal-50); }
.btn--light { background: #fff; color: var(--teal-800); }
.btn--light:hover { background: var(--teal-50); color: var(--teal-900); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn--block { width: 100%; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.link-more .icon { transition: transform .2s var(--ease-out); }
.link-more:hover .icon { transform: translateX(3px); }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: #f0f1f0; color: #63706e; line-height: 1.5; }
a.chip:hover { filter: brightness(.97); }
.chip--amber { background: var(--c-amber-bg); color: var(--c-amber); }
.chip--blue { background: var(--c-blue-bg); color: var(--c-blue); }
.chip--green { background: var(--c-green-bg); color: var(--c-green); }
.chip--purple { background: var(--c-purple-bg); color: var(--c-purple); }
.chip--teal { background: var(--c-teal-bg); color: var(--c-teal); }
.chip--red { background: #fdeceb; color: #bc372a; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(16, 49, 47, .04); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-size: 17px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.brand__sub { font-size: 11px; color: var(--muted); letter-spacing: .01em; white-space: nowrap; }
.nav__menu { margin-left: auto; }
.nav__links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: var(--nav-h); padding: 0 13px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); border-bottom: 2.5px solid transparent; border-top: 2.5px solid transparent; }
.nav__link:hover { color: var(--teal-700); }
.nav__link.is-active { color: var(--teal-700); font-weight: 700; border-bottom-color: var(--teal-600); }
.nav__chev { width: 15px; height: 15px; transition: transform .2s ease; }
.nav__item--drop:hover .nav__chev, .nav__item--drop:focus-within .nav__chev { transform: rotate(180deg); }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav__toggle .icon { width: 22px; height: 22px; }
.nav__toggle .icon--close { display: none; }
.nav__toggle[aria-expanded="true"] .icon--open { display: none; }
.nav__toggle[aria-expanded="true"] .icon--close { display: block; }

/* Research drop-down */
.drop { position: absolute; top: calc(100% - 6px); left: 50%; width: 600px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .22s var(--ease-out), visibility .18s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px; }
.nav__item--drop:hover .drop, .nav__item--drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop__area { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--radius); color: var(--ink); }
.drop__area:hover { background: var(--page); color: var(--ink); }
.drop__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.drop__icon .icon { width: 20px; height: 20px; }
.drop__title { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.drop__text { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.drop__foot { display: flex; gap: 6px; border-top: 1px solid var(--line-soft); margin-top: 6px; padding: 10px 6px 2px; }
.drop__foot a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.drop__foot a:hover { background: var(--teal-50); }
.drop__foot .icon { width: 15px; height: 15px; }

.acc-amber, .drop__icon--amber, .acard__icon--amber, .tcard__icon--amber { background: var(--c-amber-bg); color: var(--c-amber); }
.drop__icon--blue, .acard__icon--blue, .tcard__icon--blue { background: var(--c-blue-bg); color: var(--c-blue); }
.drop__icon--green, .acard__icon--green, .tcard__icon--green { background: var(--c-green-bg); color: var(--c-green); }
.drop__icon--purple, .acard__icon--purple, .tcard__icon--purple { background: var(--c-purple-bg); color: var(--c-purple); }
.drop__icon--teal, .acard__icon--teal, .tcard__icon--teal { background: var(--c-teal-bg); color: var(--c-teal); }

/* Mobile menu */
.mnav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
.mnav__inner { display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 22px; }
.mnav__link { padding: 13px 4px; font-size: 18px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mnav__link.is-active { color: var(--teal-700); }
.mnav__sub { display: flex; flex-direction: column; padding: 4px 0 8px 14px; border-bottom: 1px solid var(--line-soft); }
.mnav__sub a { padding: 8px 4px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.mnav .btn { margin-top: 18px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--tint { background: linear-gradient(180deg, rgba(246, 241, 231, .55), rgba(246, 241, 231, .2)); border-block: 1px solid var(--line-soft); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section__head .lead { margin-top: 14px; }
.section__head > div { max-width: 720px; }

/* ---------- home hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 80px) clamp(36px, 5vw, 60px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__dot { color: var(--amber); }
.hero__line { display: block; }
.hero__sub { font-size: clamp(19px, 2vw, 25px); font-weight: 700; letter-spacing: -.02em; color: var(--teal-700); margin-top: 22px; }
.hero .lead { margin-top: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__media { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(380px, 42vw, 540px); }
.hero__img { position: relative; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow); background: var(--sand); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--a { grid-row: span 2; }
.badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border: 1px solid rgba(233, 229, 220, .9); border-radius: 16px; box-shadow: var(--shadow-lg); }
.badge__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.badge__icon .icon { width: 21px; height: 21px; }
.badge__value { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.badge__label { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.badge--1 { left: -22px; bottom: 26px; }
.badge--2 { right: -14px; top: 22px; }

/* Photo hero: the lab photo fills the banner, a teal shade on the left carries the text. */
.hero--photo { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(72px, 9vw, 128px) clamp(104px, 11vw, 150px); color: #fff; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; z-index: -2; }
.hero--photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(5, 38, 36, .92) 0%, rgba(5, 38, 36, .82) 34%, rgba(5, 38, 36, .35) 60%, rgba(5, 38, 36, .05) 82%),
    linear-gradient(0deg, rgba(5, 38, 36, .45) 0%, rgba(5, 38, 36, 0) 40%); }
.hero__inner { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero--photo .hero__text { max-width: 640px; }
.hero--photo .display { color: #fff; }
.hero--photo .hero__dot { color: #f2b45a; }
.hero--photo .hero__sub { color: #8fe0d6; }
.hero--photo .lead { color: rgba(255, 255, 255, .86); }
.hero__stats { position: relative; z-index: 2; margin-top: -64px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.stats__item { padding: 22px 20px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; position: relative; }
.stats__item + .stats__item::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--line-soft); }
.stats__value { margin: 0; font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--teal-800); font-variant-numeric: tabular-nums; }
.stats__label { font-size: 13.5px; color: var(--muted); font-weight: 600; line-height: 1.3; }

/* ---------- area cards ---------- */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.acard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s; }
.acard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); color: var(--ink); }
.acard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.acard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.acard:hover .acard__media img { transform: scale(1.045); }
.acard__icon { position: absolute; left: 14px; bottom: -20px; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; border: 3px solid #fff; box-shadow: var(--shadow); }
.acard__icon .icon { width: 21px; height: 21px; }
.acard__body { padding: 30px 20px 20px; display: flex; flex-direction: column; flex-grow: 1; }
.acard__title { font-size: 19px; font-weight: 800; }
.acard__text { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.55; flex-grow: 1; }
.acard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--teal-600); }
.acard__more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.acard:hover .acard__more .icon { transform: translateX(3px); }

/* ---------- project cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); color: var(--ink); }
.pcard[hidden] { display: none; }
.pcard__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); border-bottom: 1px solid var(--line-soft); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.pcard__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pcard__title { font-size: 18px; font-weight: 800; line-height: 1.25; }
.pcard__text { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* Placeholder art when a project has no photo yet. */
.ph { width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; position: relative; overflow: hidden; }
.ph::before, .ph::after { content: ''; position: absolute; border-radius: 50%; border: 1.5px solid currentColor; opacity: .16; }
.ph::before { width: 70%; aspect-ratio: 1; right: -18%; top: -30%; }
.ph::after { width: 44%; aspect-ratio: 1; left: -10%; bottom: -26%; }
.ph__icon { width: 46px; height: 46px; opacity: .85; stroke-width: 1.5; }
.ph--amber { background: linear-gradient(135deg, #fdf3e3, #f8e2c2); color: var(--c-amber); }
.ph--blue { background: linear-gradient(135deg, #eef4fd, #d9e7fa); color: var(--c-blue); }
.ph--green { background: linear-gradient(135deg, #eef9f1, #d6efdf); color: var(--c-green); }
.ph--purple { background: linear-gradient(135deg, #f4effc, #e4d9f7); color: var(--c-purple); }

/* ---------- filter switch (sliding pill) ---------- */
.filterbar { display: flex; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin-inline: -2px; }
.filterbar::-webkit-scrollbar { display: none; }
.seg { display: inline-flex; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; min-height: 46px; box-shadow: var(--shadow-sm); flex-shrink: 0; position: relative; }
.seg__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; border: none; background: transparent; cursor: pointer; border-radius: 999px; padding: 0 16px; font-size: 14px; font-weight: 700; color: var(--ink-2); white-space: nowrap; transition: color .2s ease; }
.seg__btn:hover { color: var(--teal-700); }
.seg__btn.is-active { color: #fff; }
.seg__n { font-size: 11.5px; font-weight: 700; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--page); color: var(--muted); transition: background-color .2s, color .2s; }
.seg__btn.is-active .seg__n { background: rgba(255, 255, 255, .2); color: #fff; }
.seg__pill { position: absolute; top: 3px; bottom: 3px; left: 0; width: 0; border-radius: 999px; background: var(--teal-600); transition: transform .3s var(--ease-out), width .3s var(--ease-out); }

/* ---------- feature band (dark) ---------- */
.feature { position: relative; overflow: hidden; border-radius: 28px; color: #e8f3f1; background:
    radial-gradient(700px 380px at 100% 0%, rgba(242, 180, 90, .2), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(18, 147, 141, .45), transparent 65%),
    linear-gradient(135deg, #0a4a47 0%, #073634 100%);
  box-shadow: var(--shadow-lg); }
.feature__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; }
.feature__text { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.feature__kicker { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #f2c27e; background: rgba(242, 180, 90, .12); border: 1px solid rgba(242, 180, 90, .25); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.feature__kicker .icon { width: 15px; height: 15px; }
.feature h2 { color: #fff; }
.feature p { color: rgba(232, 243, 241, .82); margin-top: 16px; font-size: 16.5px; line-height: 1.65; max-width: 520px; }
.feature__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.feature__num { padding: 14px 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.feature__num b { display: block; font-size: clamp(18px, 1.7vw, 22px); white-space: nowrap; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.feature__num span { display: block; font-size: 12.5px; color: rgba(232, 243, 241, .7); margin-top: 4px; line-height: 1.35; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.feature__media { position: relative; min-height: 360px; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #083f3d 0%, rgba(8, 63, 61, 0) 28%); }

/* ---------- impact: before / after ---------- */
.impact { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.impact__photo { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.impact__photo img { width: 100%; height: 100%; object-fit: cover; }
.impact__compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 28px; }
.temp { padding: 18px 20px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.temp b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.temp span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.temp--hot b { color: #c2410c; }
.temp--cool b { color: var(--teal-600); }
.temp--hot { background: linear-gradient(160deg, #fff 0%, #fdf0e6 130%); }
.temp--cool { background: linear-gradient(160deg, #fff 0%, var(--teal-50) 130%); }
.impact__arrow { color: var(--faint); }
.impact__arrow .icon { width: 26px; height: 26px; }
.impact__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.impact__list li { display: flex; gap: 14px; align-items: baseline; font-size: 15.5px; color: var(--ink-2); }
.impact__list b { font-size: 20px; font-weight: 800; color: var(--ink); min-width: 64px; letter-spacing: -.02em; }

/* ---------- milestones ---------- */
.miles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; list-style: none; margin: 0; padding: 0; }
.mile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px 22px; box-shadow: var(--shadow-sm); position: relative; }
.mile__date { font-size: 12.5px; font-weight: 800; color: var(--amber); letter-spacing: .02em; }
.mile__title { font-size: 17px; font-weight: 800; margin-top: 8px; line-height: 1.3; }
.mile__text { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.55; }

/* ---------- news cards ---------- */
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ncard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.ncard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ncard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.ncard:hover .ncard__media img { transform: scale(1.04); }
.ncard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.ncard__meta { display: flex; align-items: center; gap: 10px; }
.ncard__date { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.ncard__title { font-size: 18px; font-weight: 800; line-height: 1.3; }
.ncard__title a { color: var(--ink); }
.ncard__title a::after { content: ''; position: absolute; inset: 0; }
.ncard { position: relative; }
.ncard__title a:hover { color: var(--teal-700); }
.ncard__text { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* ---------- tools ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s; }
a.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); color: var(--ink); }
.tcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.tcard__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.tcard__icon .icon { width: 24px; height: 24px; }
.tcard__title { font-size: 19px; font-weight: 800; }
.tcard__text { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; flex-grow: 1; }
.tcard__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--teal-600); margin-top: 6px; }
.tcard__more .icon { width: 16px; height: 16px; }
.tcard--soon { background: linear-gradient(160deg, #fff 0%, #fbf8f1 120%); }

/* ---------- founder's message ---------- */
.quote__name { display: block; font-weight: 800; color: var(--teal-700); font-size: 16px; }
.quote__role { display: block; }

/* Founder's message: text on the left, the full cut-out photo standing on the card's bottom edge. */
.founder { margin: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 56px); align-items: end; overflow: hidden; border-radius: 28px; border: 1px solid #efe3c9; background:
    radial-gradient(520px 320px at 85% 100%, rgba(214, 158, 78, .2), transparent 70%),
    linear-gradient(120deg, #fffdf6 0%, #f8efdf 100%);
  padding: clamp(28px, 4vw, 48px) clamp(28px, 5vw, 64px) 0; }
.founder__text { align-self: center; padding-bottom: clamp(28px, 4vw, 48px); }
.founder__title { font-size: clamp(20px, 1.9vw, 24px); font-weight: 800; letter-spacing: -.02em; }
.founder__quote { margin: 18px 0 0; font-size: clamp(18px, 1.9vw, 23px); font-weight: 600; letter-spacing: -.015em; line-height: 1.55; color: var(--ink); }
.founder figcaption { margin-top: 22px; }
.founder__photo { display: flex; justify-content: center; align-self: end; }
.founder__photo img { width: 100%; max-width: 380px; height: auto; }
.impact__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; }
.quote__role { font-size: 13.5px; font-style: italic; color: var(--amber); }

/* ---------- call to action band ---------- */
.cta { border-radius: 28px; padding: clamp(32px, 5vw, 60px); border: 1px solid rgba(13, 122, 118, .16); background:
    radial-gradient(520px 260px at 8% 0%, rgba(18, 147, 141, .2), transparent 70%),
    radial-gradient(480px 260px at 96% 100%, rgba(214, 158, 78, .26), transparent 70%),
    linear-gradient(110deg, #e4f2f0 0%, #f4f1e8 58%, #f8ecd8 100%); }
.cta__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cta__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.cta__item { background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius-lg); padding: 22px; backdrop-filter: blur(4px); }
.cta__item .icon { width: 26px; height: 26px; color: var(--teal-600); }
.cta__item h3 { font-size: 18px; font-weight: 800; margin-top: 14px; }
.cta__item p { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.55; }

/* ---------- inner page hero ---------- */
.pagehero { padding-block: clamp(32px, 4.5vw, 60px) clamp(28px, 4vw, 48px); }
.pagehero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.pagehero--media .pagehero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pagehero .h1 { margin-top: 14px; }
.pagehero .lead { margin-top: 18px; }
.pagehero__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pagehero__chips + .h1 { margin-top: 14px; }
.pagehero__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sand); }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: '/'; margin: 0 9px; color: var(--faint); }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--teal-700); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

/* ---------- at a glance (project pages) ---------- */
.glance { --g1: #f6fbfa; --g2: #e3f1ef; --g-line: #cfe6e2; --g-acc: var(--teal-700);
  margin-top: 28px; border-radius: 20px; overflow: hidden; border: 1px solid var(--g-line);
  background: radial-gradient(420px 220px at 100% 0%, rgba(255, 255, 255, .7), transparent 70%), linear-gradient(135deg, var(--g1) 0%, var(--g2) 100%);
  box-shadow: 0 10px 28px rgba(16, 49, 47, .07); }
.glance--amber { --g1: #fffaf1; --g2: #fbe7c8; --g-line: #f1d7aa; --g-acc: #a8610f; }
.glance--blue { --g1: #f6f9ff; --g2: #dce8fb; --g-line: #c9daf5; --g-acc: #2c5fa6; }
.glance--green { --g1: #f5fbf7; --g2: #d9f0e1; --g-line: #c3e4ce; --g-acc: #17703a; }
.glance--purple { --g1: #faf7ff; --g2: #e6dcf8; --g-line: #d6c8f1; --g-acc: #5f379f; }
.glance__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.glance__fact { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 22px; }
.glance__fact + .glance__fact { border-left: 1px solid var(--g-line); }
.glance__icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--g-acc); box-shadow: 0 2px 6px rgba(16, 49, 47, .06); }
.glance__icon .icon { width: 18px; height: 18px; }
.glance dt { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g-acc); }
.glance dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.glance__action { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 20px; color: #fff;
  background: radial-gradient(300px 140px at 100% 100%, rgba(242, 180, 90, .25), transparent 70%), linear-gradient(110deg, #0a4a47 0%, #0d6d69 100%); }
.glance__action:hover { color: #fff; }
.glance__action-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.glance__action-title { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; }
.glance__action-sub { font-size: 13.5px; color: rgba(255, 255, 255, .78); line-height: 1.45; }
.glance__live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.glance__live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #4ade80; opacity: .6; animation: live 1.8s ease-out infinite; }
@keyframes live { from { transform: scale(.6); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.glance__btn { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; min-height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--teal-800); font-size: 14px; font-weight: 800; white-space: nowrap; transition: transform .2s var(--ease-out); }
.glance__btn .icon { width: 16px; height: 16px; }
.glance__action:hover .glance__btn { transform: translateX(2px); }

/* ---------- article (project pages) ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.article__aside { display: flex; flex-direction: column; gap: 22px; }
.article__aside > .facts { position: sticky; top: calc(var(--nav-h) + 24px); }

.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px 20px 20px; box-shadow: var(--shadow-sm); }
.facts dl { margin: 0 0 4px; }
.facts__row { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.facts__row:last-child { border-bottom: none; }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.facts .btn { margin-top: 8px; }

.area-intro { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.keypoints { display: grid; gap: 12px; position: sticky; top: calc(var(--nav-h) + 24px); }
.keypoint { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.keypoint__value { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.035em; color: var(--teal-800); line-height: 1.05; }
.keypoint__label { display: block; font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }

/* ---------- prose ---------- */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink-2); max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; color: var(--ink); letter-spacing: -.025em; margin-top: 2em; line-height: 1.2; }
.prose h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-top: 1.7em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: rgba(13, 122, 118, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li + li, .prose ol li + li { margin-top: .5em; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 32px; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); font-size: 12px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; width: auto; max-width: 100%; margin-inline: auto; }
.prose :is(.pair, .compare, .media-row, .measure) img { width: 100%; }
.prose figure.fig--narrow img { max-width: 460px; margin-inline: auto; }
.prose figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; text-align: center; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--amber); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.prose .figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 1.8em 0; }
.fig-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px; }
.fig-tile b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.035em; color: var(--teal-800); line-height: 1.1; }
.fig-tile span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
/* Project pages: one wide column. Text keeps a readable width, images use the full width. */
.prose--wide { max-width: none; }
.prose figure.fig--text { max-width: 1100px; }
.prose--wide > :is(p, ul, ol, h2, h3, blockquote, .callout) { max-width: 1100px; }

/* Image beside its description (for tall photos). */
.prose .media-row { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin: 2em 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.prose .media-row figure { margin: 0; }
.prose .media-row img { border-radius: var(--radius-lg); }
.media-row__title { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.media-row__text { margin-top: 8px; }
.media-row__stats { display: flex; gap: 28px; margin-top: 18px; }
.media-row__stats b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--teal-800); line-height: 1.1; }
.media-row__stats span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* "What we measured": one card per reading, full images on the left, the reading on the right. */
.prose .measure { display: grid; gap: 16px; margin: 1.8em 0; }
.measure__row { display: flex; gap: 18px; align-items: stretch; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.measure__media { flex: 1 1 auto; min-width: 0; display: flex; gap: 10px; align-items: flex-start; }
.prose .measure__media figure { margin: 0; flex: var(--r, 1) 1 0; min-width: 0; }
.prose .measure__media img { border: none; border-radius: 12px; }
.measure__panel { flex: 0 0 260px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 6px 8px; }
.measure__value { font-size: 46px; font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.measure__panel--hot .measure__value { color: #c2410c; }
.measure__panel--cool .measure__value { color: var(--teal-600); }
.prose .measure__panel p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.measure__list { margin: 0; display: grid; gap: 10px; width: 100%; }
.measure__list dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.measure__list dd { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--c-blue); line-height: 1.15; }

.media-row__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.media-row__tags span { font-size: 13px; font-weight: 700; color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100); padding: 4px 11px; border-radius: 999px; }

/* Two images side by side, shown whole. Set --r (width / height) on each figure
   so both come out the same height. */
.prose .pair { display: flex; gap: 14px; margin: 2em 0; align-items: flex-start; }
.prose .pair figure { margin: 0; flex: var(--r, 1) 1 0; min-width: 0; }
.prose .pair img { height: auto; }

/* Before / after comparison of two homes. */
.prose .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.6em 0 .6em; }
.prose .compare__item { margin: 0; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.prose .compare__item--hot { border-top: 3px solid #d64535; }
.prose .compare__item--cool { border-top: 3px solid var(--teal-600); }
.prose .compare figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 4px; margin: 0; text-align: left; }
.compare__home { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.prose .compare img { border: none; border-radius: 0; padding: 0 6px; }
.compare__peaks { display: grid; grid-template-columns: repeat(3, 1fr); margin: auto 0 0; border-top: 1px solid var(--line-soft); }
.compare__peaks div { padding: 10px 12px 12px; }
.compare__peaks div + div { border-left: 1px solid var(--line-soft); }
.compare__peaks dt { font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.3; }
.compare__peaks dd { margin: 2px 0 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.compare__item--hot dd { color: #c2410c; }
.compare__item--cool dd { color: var(--teal-700); }
.prose .compare__note { font-size: 13.5px; color: var(--muted); margin-top: 0; }
.callout { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius-lg); padding: 18px 20px; font-size: 15.5px; color: var(--teal-900); }
.callout strong { color: var(--teal-900); }

/* ---------- timeline (news) ---------- */
.tl + .tl { margin-top: 48px; }
.tl__year { font-size: 15px; font-weight: 800; color: var(--amber); letter-spacing: .04em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tl__list { list-style: none; margin: 0; padding: 0; }
.tl__item { display: grid; grid-template-columns: 90px minmax(0, 1fr) 200px; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.tl__date { font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 2px; }
.tl__chips { margin-bottom: 8px; }
.tl__title { font-size: 19px; font-weight: 800; line-height: 1.3; }
.tl__title a { color: var(--ink); }
.tl__title a:hover { color: var(--teal-700); }
.tl__text { font-size: 15px; color: var(--ink-2); margin-top: 6px; line-height: 1.6; max-width: 640px; }
.tl__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.tl__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 20px 22px; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; }
/* Cards in one row share their row lines, so names, roles and focus areas line up. */
@supports (grid-template-rows: subgrid) {
  .person { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; justify-items: center; align-items: start; align-content: start; }
}
.person__role:empty { margin: 0; }
.person__photo { width: 128px; height: 128px; border-radius: 50%; padding: 4px; background: #fff; border: 2px solid var(--teal-600); margin-bottom: 16px; }
.person__photo img, .person__initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.person__initials { display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); font-weight: 800; font-size: 34px; }
.person__name { font-size: 17.5px; font-weight: 800; color: var(--teal-700); }
.person__role { font-size: 12.5px; font-style: italic; color: var(--amber); margin-top: 3px; font-weight: 600; }
.person__focus { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-top: 10px; line-height: 1.4; }
.person__edu { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.45; }

.director { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.director__photo { aspect-ratio: 1; border-radius: 50%; padding: 6px; border: 2.5px solid var(--teal-600); max-width: 260px; width: 100%; margin-inline: auto; }
.director__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.director__name { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: var(--teal-700); }
.director__role { font-size: 14.5px; font-style: italic; color: var(--amber); font-weight: 600; margin-top: 4px; }
.director__msg { margin-top: 18px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.director__msg p + p { margin-top: .9em; }

.grouphead { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: var(--radius-sm); margin: 0 0 20px; background: var(--teal-50); color: var(--teal-700); border-left: 3px solid var(--teal-600); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.grouphead--amber { background: #fbf3e6; color: #9a5a12; border-left-color: var(--amber); }
.subsection + .subsection { margin-top: 44px; }

.advisors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.advisor { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.advisor__name { font-weight: 800; color: var(--teal-700); font-size: 15.5px; }
.advisor__role { font-size: 13px; font-style: italic; color: var(--amber); line-height: 1.45; }

/* ---------- facilities ---------- */
.labs { display: grid; gap: 22px; }
.lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.lab:nth-child(even) .lab__media { order: 2; }
.lab__media { position: relative; min-height: 300px; background: var(--sand); }
.lab__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lab__media .ph { position: absolute; inset: 0; }
.lab__body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.lab__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.lab__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.025em; }
.lab__text { font-size: 15.5px; color: var(--ink-2); margin-top: 12px; line-height: 1.65; }
.lab__list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lab__list li { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--page); border: 1px solid var(--line-soft); padding: 5px 11px; border-radius: 999px; }
.lab .link-more { margin-top: 18px; }

/* ---------- publications + reports ---------- */
.pubs + .pubs { margin-top: 44px; }
.pubs__year { font-size: 15px; font-weight: 800; color: var(--amber); letter-spacing: .04em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pubs__list { list-style: none; margin: 0; padding: 0; }
.pub { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.pub__title { font-size: 17.5px; font-weight: 800; line-height: 1.4; }
.pub__authors { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }
.pub__venue { font-size: 14px; color: var(--muted); font-style: italic; margin-top: 2px; }
.pub__chips { margin-top: 10px; }

.reports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.report { display: flex; align-items: center; gap: 14px; padding: 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease-out); }
.report:hover { border-color: var(--teal-100); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.report__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--c-amber-bg); color: var(--c-amber); flex-shrink: 0; }
.report__icon .icon { width: 22px; height: 22px; }
.report__body { display: flex; flex-direction: column; min-width: 0; flex-grow: 1; }
.report__title { font-weight: 800; font-size: 15.5px; }
.report__meta { font-size: 13px; color: var(--muted); }
.report__dl { color: var(--teal-600); }

/* ---------- gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery__item { position: relative; display: block; border: none; padding: 0; margin: 0; cursor: zoom-in; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sand); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--wide { grid-column: span 2; aspect-ratio: auto; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6, 30, 29, .92); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .75); font-size: 13px; font-weight: 600; }
body.is-locked { overflow: hidden; }

/* ---------- about page bits ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.vm__label { font-size: 13px; font-weight: 800; color: var(--amber); }
.vm__text { font-size: clamp(19px, 1.9vw, 24px); font-weight: 700; letter-spacing: -.02em; line-height: 1.4; margin-top: 10px; color: var(--ink); }
.vm__card--mission .vm__text { font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--ink-2); }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: p; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); counter-increment: p; }
.pillar::before { content: '0' counter(p); display: block; font-size: 14px; font-weight: 800; color: var(--teal-600); margin-bottom: 14px; }
.pillar h3 { font-size: 18px; font-weight: 800; }
.pillar p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.55; }

.meg { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.meg__col { border-radius: var(--radius-xl); padding: 26px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.meg__col--electric { background: linear-gradient(160deg, #fff 0%, #f3effc 140%); }
.meg__col--thermal { background: linear-gradient(160deg, #fff 0%, #e8f1fc 140%); }
.meg__head { display: flex; align-items: center; gap: 12px; }
.meg__head .tcard__icon { width: 44px; height: 44px; }
.meg__col h3 { font-size: 20px; font-weight: 800; }
.meg__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.meg__tags span { font-size: 13px; font-weight: 600; color: var(--ink-2); background: rgba(255, 255, 255, .85); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.meg__enablers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.enabler { border-radius: var(--radius); background: var(--page); border: 1px solid var(--line-soft); padding: 14px 16px; }
.enabler b { display: block; font-size: 14.5px; font-weight: 800; color: var(--teal-700); }
.enabler span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
.meg__goals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.journey { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.journey::before { content: ''; position: absolute; left: 111px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--teal-100), var(--line)); }
.journey li { display: grid; grid-template-columns: 96px 32px minmax(0, 1fr); align-items: start; padding: 12px 0; }
.journey__date { font-size: 13.5px; font-weight: 800; color: var(--amber); text-align: right; padding-top: 2px; }
.journey__dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2.5px solid var(--teal-600); justify-self: center; margin-top: 6px; position: relative; z-index: 1; }
.journey__text { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.journey__text b { color: var(--ink); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-line:last-child { border-bottom: none; }
.contact-line .tcard__icon { width: 44px; height: 44px; flex-shrink: 0; }
.contact-line b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-line a, .contact-line span { font-size: 16.5px; font-weight: 700; color: var(--ink); word-break: break-word; }
.contact-line a:hover { color: var(--teal-700); }
.ways { display: grid; gap: 16px; }
.way { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.way h3 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.way h3 .icon { color: var(--teal-600); width: 22px; height: 22px; }
.way p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.6; }
.way .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.way .link-more { margin-top: 14px; font-size: 14px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, var(--page) 100%); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 52px 36px; }
.footer__tag { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); max-width: 360px; line-height: 1.55; }
.footer__contact { margin-top: 10px; }
.footer__contact a { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.footer__contact a:hover { color: var(--teal-700); }
.footer__contact .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--teal-600); }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__h { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer__col a { font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.footer__col a:hover { color: var(--teal-700); }
.footer__base { padding-block: 18px 26px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--faint); }
.footer__hosting { margin-top: 12px; max-width: 980px; font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.notfound__code { font-size: clamp(80px, 14vw, 160px); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--teal-100); }
.notfound .lead { margin: 16px auto 28px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .nav__link { padding: 0 9px; font-size: 14px; }
}

@media (max-width: 1180px) {
  .brand__sub { display: none; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats__item:nth-child(4)::before { display: none; }
  .stats__item:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .miles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; }
  .brand__sub { display: block; }
  .hero__grid, .feature__grid, .impact, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { height: clamp(320px, 62vw, 460px); }
  .feature__media { min-height: 280px; order: -1; }
  .feature__media::after { background: linear-gradient(0deg, #083f3d 0%, rgba(8, 63, 61, 0) 40%); }
  .pgrid, .ngrid, .tgrid, .reports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pagehero--media .pagehero__grid { grid-template-columns: minmax(0, 1fr); }
  .pagehero__media { aspect-ratio: 16 / 9; }
  .article, .area-intro { grid-template-columns: minmax(0, 1fr); }
  .article__aside > .facts, .keypoints { position: static; }
  .keypoints { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .director { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .director__photo { max-width: 200px; }
  .advisors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab { grid-template-columns: minmax(0, 1fr); }
  .lab:nth-child(even) .lab__media { order: 0; }
  .lab__media { min-height: 240px; aspect-ratio: 16 / 9; }
  .tl__item { grid-template-columns: 76px minmax(0, 1fr); }
  .tl__media { grid-column: 2; max-width: 360px; }
  .meg, .vm { grid-template-columns: minmax(0, 1fr); }
  .meg__enablers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .founder { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .founder__text { padding-bottom: 0; }
  .founder__photo img { max-width: 280px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose .media-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .measure__panel { flex-basis: 200px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --nav-h: 64px; }
  body { font-size: 15.5px; }
  .brand__sub { display: none; }
  .hero__media { grid-template-columns: 1fr 1fr; height: auto; }
  .hero__img--a { grid-row: auto; grid-column: span 2; aspect-ratio: 16 / 10; }
  .hero__img--b, .hero__img--c { aspect-ratio: 1; }
  .badge { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 13px; }
  .badge__icon { width: 32px; height: 32px; border-radius: 10px; }
  .badge__value { font-size: 15px; }
  .badge__label { font-size: 11px; }
  .badge--1 { left: 8px; bottom: auto; top: calc(min(100vw, 640px) * .62 - 92px); }
  .badge--2 { right: 8px; top: 10px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero--photo::before { background: linear-gradient(0deg, rgba(5, 38, 36, .94) 0%, rgba(5, 38, 36, .8) 55%, rgba(5, 38, 36, .5) 100%); }
  .hero__inner { flex-direction: column; align-items: stretch; }
  .hero__stats { margin-top: -48px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item { padding: 18px 16px; }
  .stats__item::before { display: none; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .stats__item:nth-child(even) { border-left: 1px solid var(--line-soft); }
  .areas, .pgrid, .ngrid, .tgrid, .reports, .people, .miles, .pillars, .advisors, .gallery { grid-template-columns: minmax(0, 1fr); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .person { padding: 20px 12px 18px; }
  .person__photo { width: 104px; height: 104px; }
  .person__name { font-size: 16px; }
  .person__focus { font-size: 13.5px; }
  .gallery__item--wide { grid-column: auto; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .impact__compare { grid-template-columns: 1fr; }
  .impact__arrow { transform: rotate(90deg); justify-self: center; }
  .feature__nums { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 16px; }
  .prose .pair { flex-direction: column; }
  .prose .pair figure { flex: none; width: 100%; }
  .prose .compare { grid-template-columns: minmax(0, 1fr); }
  .prose .media-row { grid-template-columns: minmax(0, 1fr); }
  .measure__row { flex-direction: column; }
  .measure__panel { flex: none; order: -1; }
  .measure__media { flex-direction: column; }
  .prose .measure__media figure { flex: none; width: 100%; }
  .measure__value { font-size: 38px; }
  .tl__item { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tl__media { grid-column: auto; }
  .meg__enablers { grid-template-columns: minmax(0, 1fr); }
  .journey::before { left: 7px; }
  .journey li { grid-template-columns: 16px minmax(0, 1fr); gap: 12px; }
  .journey__dot { grid-column: 1; grid-row: 1; justify-self: start; margin-top: 5px; }
  .journey__date { grid-column: 2; grid-row: 1; text-align: left; }
  .journey__text { grid-column: 2; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox { padding: 64px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
  .lightbox__prev { transform: rotate(180deg); }
  .seg__btn { padding: 0 13px; font-size: 13.5px; }
  .glance__facts { grid-template-columns: minmax(0, 1fr); }
  .glance__fact { flex-direction: row; align-items: center; gap: 14px; padding: 14px 18px; }
  .glance__fact + .glance__fact { border-left: none; border-top: 1px solid var(--g-line); }
  .glance__action { flex-direction: column; align-items: stretch; }
  .glance__btn { justify-content: center; }
}
