/* =========================================================
   EnviroTech Foundation — homepage redesign
   Palette and type are derived from the original logo and
   banner (olive green + sky blue) with a deeper, modern base.
   ========================================================= */

:root {
  --paper: #f8f6f0;
  --paper-2: #f1ede3;
  --ink: #15251c;
  --ink-soft: #4a5a50;
  --forest: #123127;
  --forest-deep: #0c231b;
  --olive: #7d9a2e;
  --olive-deep: #5b7318;
  --lime: #d7e39a;
  --sky: #a5d5ea;
  --sky-soft: #eaf4f9;
  --line: rgba(21, 37, 28, 0.13);
  --line-light: rgba(255, 255, 255, 0.16);
  --white: #ffffff;
  --radius: 20px;
  --container: 1200px;
  --header-h: 88px;
  --serif: "Fraunces", "Noto Serif TC", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--lime);
  color: var(--forest-deep);
}

:focus-visible {
  outline: 2px solid var(--olive-deep);
  outline-offset: 4px;
  border-radius: 2px;
}

.hero :focus-visible,
.actions :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--lime);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--forest);
  color: var(--white);
  border-radius: 0 0 10px 10px;
  font-size: 14px;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--olive-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--lime);
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

h2 {
  margin-top: 20px;
  font-size: clamp(2.15rem, 3.6vw, 3.5rem);
  line-height: 1.06;
  max-width: 18ch;
}

h2 em {
  font-style: italic;
  color: var(--olive-deep);
}

.section {
  padding: 118px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: end;
}

.section-head__intro {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.8;
  padding-bottom: 6px;
}

.section-head--light .section-head__intro {
  color: rgba(255, 255, 255, 0.7);
}

.lead {
  font-size: 18px;
  line-height: 1.75;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn svg {
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--lime);
  color: var(--forest-deep);
}

.btn--primary:hover {
  background: #e6efb6;
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn--dark {
  background: var(--forest);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 12px 20px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--olive-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.text-link:hover {
  color: var(--ink);
  gap: 13px;
}

/* ---------- Top bar ---------- */

.topbar {
  position: relative;
  z-index: 110;
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.68);
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 9px;
}

.topbar__note svg {
  flex: 0 0 auto;
  color: var(--olive);
}

.topbar__note-short {
  display: none;
}

.topbar a {
  transition: color 0.25s var(--ease);
}

.topbar a:hover {
  color: var(--white);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.22);
}

.lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
}

.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.55);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.lang a:hover {
  color: var(--white);
}

.lang a.is-active {
  background: rgba(215, 227, 154, 0.16);
  color: var(--lime);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 240, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(1.2);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 16px 40px -28px rgba(12, 35, 27, 0.55);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.brand__text {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.brand__name {
  color: var(--olive-deep);
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.94;
}

.brand__zh {
  margin-top: 3px;
  color: var(--olive);
  font-family: "Ma Shan Zheng", "Noto Serif TC", serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.brand__bar {
  height: 5px;
  margin-top: 4px;
  background: var(--olive);
  border-radius: 2px;
}

.brand__divider {
  width: 1px;
  height: 38px;
  background: rgba(21, 37, 28, 0.2);
}

.brand__tagline {
  color: #6a776d;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.55;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__list a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.25s var(--ease);
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__list a:hover {
  color: var(--ink);
}

.nav__list a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
}

.nav-toggle__icon i {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(8, 24, 17, 0.45);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.nav-backdrop.is-visible {
  opacity: 1;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 86vh, 840px);
  min-height: clamp(620px, 86svh, 840px);
  padding: 108px 0 150px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 20, 0.9) 0%, rgba(8, 28, 20, 0.7) 42%, rgba(8, 28, 20, 0.16) 78%, rgba(8, 28, 20, 0.3) 100%),
    linear-gradient(0deg, rgba(8, 28, 20, 0.72) 0%, rgba(8, 28, 20, 0) 45%);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 940px;
  margin-top: 26px;
  font-size: clamp(3.1rem, 5.7vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: italic;
  color: var(--lime);
}

.hero__lead {
  max-width: 54ch;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  z-index: 3;
  margin-top: -82px;
  padding-bottom: 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid rgba(21, 37, 28, 0.07);
  border-radius: 22px;
  box-shadow: 0 40px 80px -46px rgba(12, 35, 27, 0.5);
  padding: 34px 8px;
}

.stat {
  padding: 2px 34px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat dt {
  color: var(--olive-deep);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.stat dd {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.stat dd.stat__small {
  font-size: 27px;
  line-height: 1.3;
}

.stat dd span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

/* ---------- About ---------- */

.about {
  padding-top: 128px;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 92px;
  align-items: center;
}

.about__media {
  position: relative;
  padding-bottom: 34px;
}

.about-photo {
  overflow: hidden;
  border-radius: 220px 220px 22px 22px;
  background: var(--paper-2);
  box-shadow: 0 40px 70px -48px rgba(12, 35, 27, 0.55);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-quote {
  position: absolute;
  right: -30px;
  bottom: 0;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 22px;
  background: var(--forest);
  color: var(--white);
  border-radius: 16px;
  box-shadow: 0 26px 50px -30px rgba(12, 35, 27, 0.8);
}

.about-quote__portrait {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border: 1.5px solid rgba(215, 227, 154, 0.6);
  border-radius: 50%;
  object-fit: cover;
}

.about-quote p {
  font-family: var(--serif);
  font-size: 16.5px;
  font-style: italic;
  line-height: 1.35;
}

.about-quote span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.about__body h2 {
  max-width: 14ch;
}

.about__body .lead {
  margin-top: 28px;
  color: var(--ink);
}

.about__body p:not(.eyebrow):not(.lead) {
  max-width: 58ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- Focus areas ---------- */

.focus {
  background: var(--paper-2);
}

.focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 58px;
}

.focus-card {
  background: var(--white);
  border: 1px solid rgba(21, 37, 28, 0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.focus-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px -38px rgba(12, 35, 27, 0.5);
}

.focus-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dde1d5;
}

.focus-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 35, 27, 0.38), rgba(12, 35, 27, 0) 55%);
  pointer-events: none;
}

.focus-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.focus-card:hover .focus-card__media img {
  transform: scale(1.055);
}

.focus-card__no {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 5px 11px;
  background: rgba(12, 35, 27, 0.52);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.focus-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.focus-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.focus-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
}

.focus-card__link {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--olive-deep);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.focus-card__link svg {
  transition: transform 0.4s var(--ease);
}

.focus-card:hover .focus-card__link svg {
  transform: translateX(4px);
}

/* ---------- Actions ---------- */

.actions {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--white);
}

.actions::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -160px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(125, 154, 46, 0.35), rgba(125, 154, 46, 0) 68%);
  pointer-events: none;
}

.actions .container {
  position: relative;
  z-index: 1;
}

.actions h2 {
  color: var(--white);
}

.actions__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
  margin-top: 62px;
}

.actions__list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line-light);
}

.actions__no {
  color: var(--lime);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.9;
}

.actions h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.actions__list p {
  max-width: 44ch;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- Green Directory ---------- */

.directory {
  background: linear-gradient(180deg, var(--paper) 0%, var(--sky-soft) 100%);
}

.directory__grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 96px;
  align-items: center;
}

.directory__body h2 {
  max-width: 13ch;
}

.directory__body > p:not(.eyebrow) {
  max-width: 50ch;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.85;
}

.directory__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.directory__tags li {
  padding: 6px 13px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(21, 37, 28, 0.12);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.directory__body .btn {
  margin-top: 34px;
}

.directory__panel {
  position: relative;
  padding: 26px;
  background: var(--forest);
  border-radius: 28px;
  box-shadow: 0 50px 90px -54px rgba(12, 35, 27, 0.8);
}

.directory__glow {
  position: absolute;
  top: -50px;
  right: -30px;
  width: 240px;
  height: 240px;
  background: var(--olive);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.dir-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--paper);
  border-radius: 16px;
}

.dir-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dir-window__bar span {
  width: 7px;
  height: 7px;
  background: #d6d2c6;
  border-radius: 50%;
}

.dir-window__bar span:first-child {
  background: var(--olive);
}

.dir-window__bar b {
  margin-left: 8px;
  font-weight: 600;
}

.dir-window__search {
  margin: 16px 18px 4px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #9aa49c;
  font-size: 11px;
}

.dir-window__list {
  padding: 8px 18px 16px;
}

.dir-window__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.dir-window__list li:last-child {
  border-bottom: 0;
}

.dir-window__list i {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.dir-window__list i::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 13px;
  height: 1px;
  background: var(--olive-deep);
  opacity: 0.7;
}

.dir-window__list i::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 2px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--olive-deep);
  border-right: 1px solid var(--olive-deep);
  transform: rotate(45deg);
  opacity: 0.7;
}

.directory__badge {
  position: absolute;
  right: -20px;
  bottom: -18px;
  z-index: 3;
  padding: 16px 18px;
  background: var(--lime);
  color: var(--forest-deep);
  border-radius: 12px;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.25;
  transform: rotate(-3deg);
  box-shadow: 0 18px 30px -18px rgba(12, 35, 27, 0.5);
}

/* ---------- Activities ---------- */

.activities__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 86px;
  align-items: start;
}

.activities__body h2 {
  max-width: 12ch;
}

.activities__body > p:not(.eyebrow) {
  max-width: 44ch;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.updates {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.updates li {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.updates time {
  color: var(--olive-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}

.updates a {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.25s var(--ease);
}

.updates a:hover {
  color: var(--olive-deep);
}

.collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 30px;
}

.collage__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.collage__col--offset {
  padding-top: 40px;
}

.collage figure {
  overflow: hidden;
  border-radius: 14px;
  background: var(--paper-2);
}

.collage img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.collage figure:hover img {
  transform: scale(1.04);
}

.collage__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #7b887e;
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* ---------- Heritage ---------- */

.heritage {
  background: var(--paper-2);
}

.heritage__body {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.heritage__body .eyebrow {
  justify-content: center;
}

.heritage__body h2 {
  max-width: 16ch;
  margin-right: auto;
  margin-left: auto;
}

.heritage__body > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.85;
}

.heritage__body [lang="zh-Hant"] {
  color: var(--ink);
  font-family: "Ma Shan Zheng", "Noto Serif TC", serif;
  font-size: 1.08em;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.heritage__figure {
  margin-top: 52px;
  padding: 22px 26px 16px;
  background: var(--white);
  border: 1px solid rgba(21, 37, 28, 0.06);
  border-radius: 18px;
  box-shadow: 0 30px 60px -44px rgba(12, 35, 27, 0.4);
}

.heritage__figure img {
  width: 100%;
}

.heritage__figure figcaption {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #7b887e;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  color: var(--white);
  background: var(--forest-deep);
}

.contact__media,
.contact__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact__media img {
  object-fit: cover;
  object-position: center;
}

.contact__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 20, 0.95) 0%, rgba(8, 28, 20, 0.86) 46%, rgba(8, 28, 20, 0.55) 100%),
    linear-gradient(0deg, rgba(8, 28, 20, 0.5), rgba(8, 28, 20, 0.2));
}

.contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: end;
}

.contact__body h2 {
  max-width: 15ch;
  color: var(--white);
}

.contact__body > p:not(.eyebrow) {
  max-width: 46ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
  line-height: 1.8;
}

.contact__body .btn {
  margin-top: 32px;
}

.contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 34px;
}

.contact__details > div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.contact__details h3 {
  color: var(--lime);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact__details p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.contact__details a {
  transition: color 0.25s var(--ease);
}

.contact__details a:hover {
  color: var(--white);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 76px 0 0;
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.62);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 1fr 0.75fr 1.1fr;
  gap: 40px;
  padding-bottom: 62px;
}

.brand--footer .brand__name {
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.brand--footer .brand__zh {
  color: var(--lime);
}

.brand--footer .brand__bar {
  background: var(--lime);
}

.brand--footer .brand__divider {
  background: rgba(255, 255, 255, 0.22);
}

.brand--footer .brand__tagline {
  color: rgba(255, 255, 255, 0.44);
}

.footer__mission {
  max-width: 34ch;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.8;
}

.footer__reg {
  margin-top: 18px;
  color: var(--lime);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.footer__nav h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer__nav li {
  margin-bottom: 9px;
}

.footer__nav a {
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.25s var(--ease);
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__contact address {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  font-style: normal;
  line-height: 1.75;
}

.footer__contact p {
  font-size: 16px;
  line-height: 1.9;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
}

.footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer__bottom a:hover {
  color: var(--white);
}

.lang--footer {
  gap: 3px;
}

.lang--footer a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

.lang--footer a.is-active {
  border-color: transparent;
}

/* ---------- Reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav {
    gap: 24px;
  }

  .nav__list {
    gap: 22px;
  }

  .brand__tagline,
  .brand__divider {
    display: none;
  }

  .about__grid {
    gap: 64px;
  }

  .directory__grid,
  .contact__grid {
    gap: 60px;
  }
}

@media (max-width: 1024px) {
  .focus__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 8px;
  }

  .stat {
    padding: 22px 30px;
  }

  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__contact {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 16px);
  }

  .container {
    padding: 0 22px;
  }

  .section {
    padding: 84px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(380px, 92vw);
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 24px 26px 40px;
    overflow-y: auto;
    background: var(--paper);
    box-shadow: -20px 30px 60px rgba(8, 24, 17, 0.18);
    transform: translateX(102%);
    transition: transform 0.5s var(--ease);
  }

  .nav.is-open {
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list li {
    border-bottom: 1px solid var(--line);
  }

  .nav__list a {
    display: block;
    padding: 16px 0;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 400;
    color: var(--ink);
  }

  .nav__list a::after {
    display: none;
  }

  .nav__cta {
    justify-content: center;
    margin-top: 28px;
  }

  .topbar__links > a,
  .topbar__divider {
    display: none;
  }

  .topbar__note span {
    font-size: 10.5px;
  }

  .hero {
    min-height: 78svh;
    padding: 78px 0 132px;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(8, 28, 20, 0.9) 0%, rgba(8, 28, 20, 0.72) 60%, rgba(8, 28, 20, 0.35) 100%),
      linear-gradient(0deg, rgba(8, 28, 20, 0.8) 0%, rgba(8, 28, 20, 0) 55%);
  }

  .hero h1 {
    font-size: clamp(2.7rem, 9vw, 4rem);
  }

  .stats {
    margin-top: -72px;
  }

  .about__grid,
  .directory__grid,
  .activities__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about__media {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .about__body {
    max-width: 620px;
  }

  .about__body h2 {
    max-width: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-head__intro {
    max-width: 58ch;
  }

  .directory__panel {
    max-width: 520px;
  }

  .directory__badge {
    right: 4px;
  }

  .activities__body {
    max-width: 600px;
  }

  .collage {
    max-width: 620px;
  }

  .contact__grid {
    gap: 48px;
  }

  .contact__details {
    max-width: 560px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__contact {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .topbar__note-long {
    display: none;
  }

  .topbar__note-short {
    display: inline;
  }

  .topbar__note span {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .topbar__inner {
    gap: 12px;
  }

  .brand__name {
    font-size: 17px;
  }

  .brand__zh {
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: 68px 0 120px;
  }

  .hero__lead {
    font-size: 15.5px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    border-radius: 18px;
    padding: 6px 22px;
  }

  .stat,
  .stat:nth-child(3),
  .stat:nth-child(4) {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .stat:first-child {
    border-top: 0;
  }

  .stat dd {
    font-size: 32px;
  }

  .about {
    padding-top: 88px;
  }

  .about__media {
    padding-bottom: 26px;
  }

  .about-photo {
    border-radius: 160px 160px 18px 18px;
  }

  .about-quote {
    right: 8px;
    left: 8px;
    padding: 16px;
  }

  .about-quote__portrait {
    width: 52px;
    height: 52px;
  }

  .about-quote p {
    font-size: 14.5px;
  }

  .about-quote span {
    font-size: 8.5px;
  }

  .focus__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .actions__list {
    grid-template-columns: 1fr;
    column-gap: 0;
    margin-top: 44px;
  }

  .actions__list li {
    grid-template-columns: 36px 1fr;
    padding: 28px 0;
  }

  .actions__list li:last-child {
    border-bottom: 1px solid var(--line-light);
  }

  .directory__panel {
    padding: 18px;
  }

  .directory__badge {
    display: none;
  }

  .collage {
    gap: 12px;
  }

  .collage__col {
    gap: 12px;
  }

  .collage__col--offset {
    padding-top: 24px;
  }

  .updates li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .heritage__figure {
    padding: 12px 12px 10px;
  }

  .heritage__figure figcaption {
    font-size: 9.5px;
  }

  .contact {
    padding: 84px 0;
  }

  .contact__details {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer {
    padding-top: 60px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 44px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 0;
  }

  .footer__bottom ul {
    gap: 16px;
  }
}

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .nav-backdrop,
  .hero__actions,
  .contact__media,
  .contact__overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 20px 0;
    color: #000;
    background: #fff;
  }

  .hero__media,
  .hero__overlay {
    display: none;
  }

  .hero h1 em,
  .eyebrow--light,
  .actions,
  .contact {
    color: #000;
  }

  .actions,
  .contact {
    background: #fff;
  }

  .section {
    padding: 24px 0;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Inner pages
   ========================================================= */

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 430px;
  padding: 150px 0 76px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.page-hero--compact {
  min-height: 320px;
  padding: 126px 0 58px;
}

.page-hero__media,
.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero__media img {
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 20, 0.94) 0%, rgba(8, 28, 20, 0.76) 52%, rgba(8, 28, 20, 0.38) 100%),
    linear-gradient(0deg, rgba(8, 28, 20, 0.82) 0%, rgba(8, 28, 20, 0) 62%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--lime);
}

.page-hero .eyebrow {
  margin-bottom: 16px;
}

.page-hero h1 {
  max-width: 19ch;
  color: var(--white);
  font-size: clamp(2.6rem, 4.8vw, 4.5rem);
  line-height: 1.02;
}

.page-hero__subtitle {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.85);
}

.page-hero__lead {
  max-width: 62ch;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.page-hero--light {
  background: linear-gradient(135deg, var(--sky-soft) 0%, #f4f8f4 55%, var(--paper) 100%);
  color: var(--ink);
}

.page-hero--light .breadcrumbs {
  color: #7b887e;
}

.page-hero--light .breadcrumbs a {
  color: var(--ink-soft);
}

.page-hero--light .breadcrumbs a:hover {
  color: var(--ink);
}

.page-hero--light .breadcrumbs span[aria-current="page"] {
  color: var(--olive-deep);
}

.page-hero--light h1 {
  color: var(--ink);
}

.page-hero--light .page-hero__lead {
  color: var(--ink-soft);
}

.page-hero--compact h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
}

/* ---------- Page body / sidebar ---------- */

.page-body {
  padding: 88px 0 112px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 80px;
  align-items: start;
}

.page-main {
  min-width: 0;
}

.page-side {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.side-nav {
  border-top: 1px solid var(--line);
}

.side-nav__label {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--olive-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.side-nav ul li {
  border-bottom: 1px solid var(--line);
}

.side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
  transition: color 0.25s var(--ease);
}

.side-nav a:hover {
  color: var(--ink);
}

.side-nav a.is-active {
  color: var(--ink);
}

.side-nav i {
  color: var(--olive-deep);
  font-style: normal;
}

.side-cta {
  padding: 26px 24px 28px;
  background: var(--forest);
  border-radius: 18px;
  color: var(--white);
}

.side-cta__eyebrow {
  color: var(--lime);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.side-cta__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.side-cta__text {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12.5px;
  line-height: 1.75;
}

.side-cta .text-link {
  margin-top: 18px;
  color: var(--lime);
}

.side-cta .text-link:hover {
  color: var(--white);
}

/* ---------- Intro / prose ---------- */

.page-intro {
  max-width: 760px;
}

.page-intro--wide {
  max-width: 900px;
}

.page-intro h2 {
  max-width: 20ch;
}

.page-intro p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.page-intro .lead {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.75;
}

.prose {
  max-width: 74ch;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.9;
}

.prose > * + * {
  margin-top: 20px;
}

.prose > h2 {
  max-width: none;
  margin-top: 52px;
  color: var(--ink);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.16;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 34px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}

.prose a:hover {
  color: var(--ink);
}

.prose a[href$=".pdf"] {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}

.prose a[href$=".pdf"]::before {
  content: "PDF";
  flex: 0 0 auto;
  padding: 2px 5px;
  background: var(--olive-deep);
  border-radius: 3px;
  color: var(--white);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.prose a[href$=".pdf"]:hover {
  border-color: var(--olive);
  color: var(--olive-deep);
}

.prose ul {
  padding-left: 0;
}

.prose ul li {
  position: relative;
  padding-left: 22px;
}

.prose ul li + li {
  margin-top: 8px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 5px;
  height: 5px;
  background: var(--olive);
  border-radius: 50%;
}

.prose img {
  width: auto;
  max-width: 100%;
  border-radius: 14px;
}

.prose figure {
  margin: 32px 0;
}

.prose figure:not(.prose-figure--right) {
  text-align: center;
}

.prose figcaption {
  margin-top: 9px;
  color: #7b887e;
  font-size: 10.5px;
  line-height: 1.6;
}

.prose-figure--right {
  float: right;
  width: 300px;
  margin: 2px 0 24px 34px;
}

.prose-figure--right img {
  width: 100%;
}

.prose::after {
  content: "";
  display: table;
  clear: both;
}

/* ---------- Reusable feature split ---------- */

.feature-split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
  align-items: center;
}

.feature-media {
  position: relative;
}

.feature-media__photo {
  overflow: hidden;
  border-radius: 220px 220px 22px 22px;
  background: var(--paper-2);
  box-shadow: 0 40px 70px -48px rgba(12, 35, 27, 0.55);
}

.feature-media__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.feature-media__badge {
  position: absolute;
  right: -24px;
  bottom: 26px;
  left: 24px;
  padding: 18px 20px;
  background: var(--forest);
  border-radius: 14px;
  color: var(--white);
  box-shadow: 0 26px 50px -30px rgba(12, 35, 27, 0.8);
}

.feature-media__badge p {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.35;
}

.feature-media__badge span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* ---------- Generic page CTA ---------- */

.page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 72px;
  padding: 48px 52px;
  background: var(--forest);
  border-radius: 22px;
  color: var(--white);
}

.page-cta h2 {
  max-width: 18ch;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.page-cta p {
  max-width: 48ch;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
  line-height: 1.75;
}

.page-cta .btn {
  flex: 0 0 auto;
}

/* ---------- People ---------- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.people-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.people-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -38px rgba(12, 35, 27, 0.4);
}

.people-card__label {
  color: var(--olive-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.people-card h2,
.people-card h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
}

.people-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.75;
}

.people-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--olive-deep);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 42px;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}

.profile:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.profile__photo {
  overflow: hidden;
  align-self: start;
  border-radius: 14px;
  background: var(--paper-2);
}

.profile__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.profile__name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.profile__role {
  margin-top: 7px;
  color: var(--olive-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.profile__bio {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.9;
}

.profile__bio p + p {
  margin-top: 14px;
}

.profile__bio a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile__bio a[href$=".pdf"] {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  padding: 9px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12.5px;
  text-decoration: none;
}

/* ---------- Project overview ---------- */

.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.project-list__item {
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

.project-list__item a {
  display: block;
}

.project-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--olive-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.project-list__meta span + span::before {
  content: "�";
  margin-right: 8px;
  color: #9aa49c;
}

.project-list h3 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  transition: color 0.25s var(--ease);
}

.project-list__item a:hover h3 {
  color: var(--olive-deep);
}

.project-list p {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.project-meta span {
  padding: 6px 12px;
  background: var(--paper-2);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.related-projects {
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.related-projects h2 {
  font-size: 1.35rem;
  margin-top: 0;
}

.related-projects ul {
  margin-top: 14px;
}

.related-projects li + li {
  margin-top: 10px;
}

.related-projects a {
  color: var(--olive-deep);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Activities timeline ---------- */

.activities-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 12px;
}

.activities-filter a {
  padding: 7px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.activities-filter a:hover {
  border-color: var(--olive);
  color: var(--olive-deep);
}

.timeline {
  margin-top: 28px;
}

.timeline__year {
  margin: 48px 0 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.timeline__year:first-child {
  margin-top: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline__date {
  color: var(--olive-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-transform: uppercase;
}

.timeline__title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.timeline__photos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--olive-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.timeline__photos:hover {
  color: var(--ink);
}

.timeline__photos--off {
  color: #9aa49c;
  font-weight: 500;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px -36px rgba(12, 35, 27, 0.45);
}

.gallery-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}

.gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-card:hover .gallery-card__media img {
  transform: scale(1.045);
}

.gallery-card__count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 5px 9px;
  background: rgba(12, 35, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  backdrop-filter: blur(6px);
}

.gallery-card__body {
  padding: 18px 18px 20px;
}

.gallery-card__date {
  color: var(--olive-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.gallery-card h2,
.gallery-card h3 {
  margin-top: 7px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.gallery-card__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 25%, rgba(215, 227, 154, 0.42), transparent 55%),
    linear-gradient(135deg, var(--forest), #1d4334);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #7b887e;
  font-size: 12px;
  line-height: 1.7;
}

.gallery-note a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 14, 0.8);
  backdrop-filter: blur(6px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 30px;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6);
}

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--forest);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: var(--forest-deep);
}

.lightbox__date {
  color: var(--olive-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox__title {
  max-width: 82%;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
}

.lightbox__count {
  margin-top: 6px;
  color: #7b887e;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.lightbox__grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-2);
}

.lightbox__grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.lightbox__grid a:hover img {
  transform: scale(1.03);
}

/* ---------- Contact ---------- */

.contact-page {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 36px;
  margin-top: 34px;
}

.contact-card {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.contact-card h2 {
  color: var(--olive-deep);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-card p,
.contact-card address {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  font-style: normal;
  line-height: 1.75;
}

.contact-card a {
  transition: color 0.25s var(--ease);
}

.contact-card a:hover {
  color: var(--olive-deep);
}

.contact-map {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  border-radius: 20px;
  box-shadow: 0 30px 60px -50px rgba(12, 35, 27, 0.5);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.75) contrast(1.02);
}

.contact-map__caption {
  margin-top: 10px;
  color: #7b887e;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.contact-map__caption a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Careers ---------- */

.career-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}

.career-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.career-card h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.career-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.career-card ul {
  margin-top: 14px;
}

.career-card li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
}

.career-card li + li {
  margin-top: 6px;
}

.career-card li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 2px;
  width: 5px;
  height: 5px;
  background: var(--olive);
  border-radius: 50%;
}

.application-box {
  margin-top: 48px;
  padding: 34px 36px;
  background: var(--paper-2);
  border-radius: 18px;
}

.application-box h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.application-box p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.application-box .btn {
  margin-top: 22px;
}

/* ---------- Green Directory page ---------- */

.directory-page-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.directory-page-grid h2 {
  max-width: 14ch;
}

.directory-page-grid p:not(.eyebrow) {
  max-width: 52ch;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.85;
}

.directory-mock {
  position: relative;
  padding: 26px;
  background: var(--forest);
  border-radius: 26px;
  box-shadow: 0 50px 90px -54px rgba(12, 35, 27, 0.8);
}

.directory-mock .dir-window {
  border-radius: 14px;
}

.directory-mock__badge {
  position: absolute;
  right: -16px;
  bottom: -16px;
  padding: 14px 16px;
  background: var(--lime);
  border-radius: 10px;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  line-height: 1.3;
  transform: rotate(-3deg);
}

.directory-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.directory-category {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.directory-category span {
  color: var(--olive-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.directory-category h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}

.directory-category p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- Legal ---------- */

.legal-note {
  margin-bottom: 34px;
  padding: 18px 20px;
  background: var(--paper-2);
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- 404 ---------- */

.error-page {
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: 80px 0;
}

.error-page h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 1;
}

.error-page p {
  max-width: 48ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

/* ---------- Inner-page responsive ---------- */

@media (max-width: 1080px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .page-side {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
  }

  .side-cta {
    margin-top: 0;
  }

  .directory-page-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .directory-mock {
    max-width: 520px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .page-hero {
    min-height: 360px;
    padding: 118px 0 58px;
  }

  .page-hero--compact {
    min-height: 270px;
    padding: 106px 0 46px;
  }

  .page-hero h1 {
    max-width: 22ch;
    font-size: clamp(2.3rem, 7vw, 3.4rem);
  }

  .page-hero__lead {
    font-size: 15px;
  }

  .breadcrumbs {
    margin-bottom: 26px;
  }

  .page-body {
    padding: 66px 0 84px;
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-media {
    max-width: 420px;
    width: 100%;
  }

  .page-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 30px;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .timeline__item {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .timeline__photos {
    grid-column: 2;
    margin-top: 2px;
  }

  .contact-page {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-map {
    aspect-ratio: 16 / 10;
  }

  .directory-categories {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero {
    min-height: 320px;
    padding: 96px 0 48px;
  }

  .page-hero--compact {
    min-height: 230px;
    padding: 88px 0 38px;
  }

  .page-hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.9rem);
  }

  .page-hero__lead {
    margin-top: 16px;
    font-size: 14px;
  }

  .breadcrumbs {
    margin-bottom: 22px;
    font-size: 9px;
  }

  .page-body {
    padding: 52px 0 72px;
  }

  .page-side {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .prose {
    font-size: 15px;
    line-height: 1.85;
  }

  .prose-figure--right {
    float: none;
    width: 100%;
    margin: 26px 0;
  }

  .profile {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 36px 0;
  }

  .profile__photo {
    max-width: 190px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 10px;
  }

  .lightbox__dialog {
    padding: 22px 16px;
    max-height: 94vh;
  }

  .lightbox__title {
    max-width: 88%;
    font-size: 1.4rem;
  }

  .lightbox__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .career-grid {
    grid-template-columns: 1fr;
  }

  .application-box {
    padding: 26px 22px;
  }

  .directory-categories {
    grid-template-columns: 1fr;
  }

  .page-cta {
    margin-top: 52px;
    padding: 30px 24px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }

  .timeline__photos {
    grid-column: 1;
    margin-top: 6px;
  }

  .activities-filter {
    margin-top: 26px;
  }
}

/* ---------- Welcome message ---------- */

.message-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.message-portrait {
  overflow: hidden;
  border-radius: 140px 140px 16px 16px;
  background: var(--paper-2);
}

.message-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.message-portrait figcaption {
  padding: 14px 16px 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.letter-signature {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
}

.letter-signature span {
  display: block;
  margin-top: 8px;
  color: var(--olive-deep);
  font-family: var(--sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.actions__list--light li {
  border-top: 1px solid var(--line);
}

.actions__list--light .actions__no {
  color: var(--olive-deep);
}

.actions__list--light h3 {
  color: var(--ink);
  font-size: 21px;
}

.actions__list--light p {
  color: var(--ink-soft);
  font-size: 13.5px;
}

@media (max-width: 900px) {
  .message-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .message-portrait {
    max-width: 240px;
  }
}

/* ---------- About page ---------- */

.founder-band {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 44px;
  padding: 30px;
  background: var(--paper-2);
  border-radius: 18px;
}

.founder-band__photo {
  overflow: hidden;
  border-radius: 90px 90px 12px 12px;
  background: var(--white);
}

.founder-band__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founder-band h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
}

.founder-band__role {
  margin-top: 6px;
  color: var(--olive-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-band p:not(.founder-band__role) {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.founder-band blockquote {
  margin-top: 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.5;
}

.focus-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 46px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.focus-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.3;
  transition: color 0.25s var(--ease);
}

.focus-index a:hover {
  color: var(--olive-deep);
}

.focus-index i {
  color: var(--olive-deep);
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.heritage-inline {
  margin-top: 52px;
  padding: 22px 24px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.heritage-inline img {
  width: 100%;
}

.heritage-inline figcaption {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #7b887e;
  font-size: 10.5px;
  text-align: center;
}

@media (max-width: 640px) {
  .founder-band {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
  }

  .founder-band__photo {
    max-width: 170px;
  }

  .focus-index {
    grid-template-columns: 1fr;
  }
}

.profile__photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  background: var(--forest);
  color: var(--lime);
  font-family: var(--serif);
  font-size: 3rem;
  letter-spacing: 0.02em;
}

.profile__pdf {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.profile__pdf::before {
  content: "PDF";
  padding: 2px 5px;
  background: var(--olive-deep);
  border-radius: 3px;
  color: var(--white);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.profile__pdf:hover {
  border-color: var(--olive);
  color: var(--olive-deep);
}

.lightbox-open {
  overflow: hidden;
}

.gallery-card:target {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.contact-map {
  position: relative;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-map__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 45px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 4px 6px rgba(12, 35, 27, 0.35));
}

.contact-map__caption span {
  display: inline-block;
  margin-top: 6px;
  color: #9aa49c;
  font-size: 9.5px;
}

/* ---------- Header dropdown ---------- */

.nav__item--dropdown {
  position: relative;
}

.nav__item--dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav__chevron {
  width: 10px;
  height: 10px;
  transition: transform 0.3s var(--ease);
}

.nav__item--dropdown.is-open .nav__chevron {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  z-index: 30;
  min-width: 226px;
  margin: 0;
  padding: 9px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  display: none;
  border-radius: 12px;
  box-shadow: 0 26px 55px -28px rgba(12, 35, 27, 0.55);
}

.nav__item--dropdown.is-open .nav__dropdown {
  display: block;
}

.nav__dropdown li {
  border: 0;
}

.nav__dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}

.nav__dropdown a:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.nav__dropdown a::after {
  display: none;
}

.nav__list .nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.nav__list .nav__dropdown-toggle:hover,
.nav__list .nav__dropdown-toggle.is-active,
.nav__item--dropdown.is-open .nav__dropdown-toggle {
  color: var(--ink);
}

.page-zh .nav__list .nav__dropdown-toggle {
  font-family: var(--sans-zh);
  font-size: 15px;
}

.page-zh .nav__dropdown a {
  font-family: var(--sans-zh);
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav__item--dropdown {
    position: static;
  }

  .nav__item--dropdown > a {
    justify-content: space-between;
  }

  .nav__list .nav__dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 400;
  }

  .page-zh .nav__list .nav__dropdown-toggle {
    font-family: var(--serif-zh);
    font-size: 23px;
  }

  .nav__chevron {
    width: 12px;
    height: 12px;
  }

  .nav__dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 10px 16px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__item--dropdown.is-open .nav__dropdown {
    display: block;
  }

  .nav__dropdown li {
    border-bottom: 0;
  }

  .nav__dropdown a {
    padding: 10px 0;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;
  }

  .page-zh .nav__dropdown a {
    font-family: var(--serif-zh);
    font-size: 19px;
  }

  .nav__dropdown a:hover {
    background: transparent;
    color: var(--ink);
  }
}

.lightbox__desc {
  max-width: none;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.8;
}

.lightbox__desc p + p {
  margin-top: 10px;
}

.page-zh .lightbox__desc {
  font-size: 14px;
  line-height: 1.95;
}

/* ---------- Original website logo ---------- */

.brand__logo {
  display: block;
  width: 136px;
  height: auto;
}

.brand--footer .brand__logo {
  width: 136px;
}

@media (max-width: 900px) {
  .brand__logo {
    width: 112px;
  }

  .brand--footer .brand__logo {
    width: 120px;
  }
}

@media (max-width: 640px) {
  .brand__logo,
  .brand--footer .brand__logo {
    width: 108px;
  }
}

/* Homepage people cards */
.section--people {
  padding: 0;
}

.section--people h2 {
  max-width: none;
  margin-top: 0;
}

/* Project detail banner: half the standard page-hero title size */
.project-hero h1 {
  max-width: none;
  font-size: clamp(1.3rem, 2.4vw, 2.25rem);
  line-height: 1.15;
}

@media (max-width: 900px) {
  .project-hero h1 {
    font-size: clamp(1.15rem, 3.5vw, 1.7rem);
  }
}

@media (max-width: 640px) {
  .project-hero h1 {
    font-size: clamp(1.025rem, 4.5vw, 1.45rem);
  }
}
/* Slightly larger body copy across pages */
.page-intro p:not(.eyebrow):not(.lead),
.prose,
.about__body p:not(.eyebrow):not(.lead),
.activities__body > p:not(.eyebrow),
.contact__body > p:not(.eyebrow),
.timeline__title {
  font-size: 16.5px;
}

.contact-card p {
  font-size: 15.5px;
}
/* Keep the two homepage About paragraphs the same size */
.about__body p.lead {
  font-size: 16.5px;
  line-height: 1.85;
}
/* Back link on project detail pages */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--olive-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back-link svg {
  transition: transform 0.25s var(--ease);
}

.back-link:hover svg {
  transform: translateX(-3px);
}
/* Align footer legal links to the right, before the language switcher */
.footer__bottom ul {
  margin-left: auto;
}

@media (max-width: 900px) {
  .footer__bottom ul {
    margin-left: 0;
  }
}



/* Featured profile on the Our People page */
.featured-profile {
  margin-top: 56px;
  padding: 44px 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.featured-profile .profile__name {
  max-width: none;
}

.featured-profile__bio {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.9;
}

.featured-profile__bio h3 {
  margin-top: 28px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.3;
}

.featured-profile__bio ul {
  margin-top: 10px;
  margin-bottom: 18px;
  padding-left: 22px;
  list-style: disc;
}

.featured-profile__bio li {
  margin-top: 10px;
}

.featured-profile__bio strong {
  color: var(--ink);
  font-weight: 600;
}

.featured-profile__bio p + p {
  margin-top: 14px;
}

.page-zh .featured-profile__bio {
  line-height: 2;
}

.page-zh .featured-profile__bio h3 {
  font-family: var(--serif-zh);
}

@media (max-width: 640px) {
  .featured-profile {
    padding: 28px 22px;
    border-radius: 16px;
  }
}
/* Slightly larger banner breadcrumb and eyebrow labels */
.page-hero .eyebrow {
  font-size: 14px;
}

.page-hero .breadcrumbs {
  font-size: 12px;
}
/* Right-hand page index is desktop-only */
@media (max-width: 1080px) {
  .page-side {
    display: none;
  }
}
/* Activity timeline thumbnails */
.timeline__item {
  grid-template-columns: 160px 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.timeline__thumb {
  display: block;
  width: 92px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
  border-radius: 8px;
}

.timeline__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline__thumb--empty {
  opacity: 0.5;
}

@media (max-width: 900px) {
  .timeline__item {
    grid-template-columns: 140px 78px minmax(0, 1fr) auto;
    gap: 14px;
  }

  .timeline__thumb {
    width: 78px;
  }

  .timeline__photos {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .timeline__thumb {
    width: 120px;
  }

  .timeline__photos {
    grid-column: 1;
    margin-top: 6px;
  }
}