/* Legacy Capital — Premium Corporate Design System */
:root {
  --bg-cream: #f5f1e8;
  --bg-cream-dark: #ebe4d8;
  --bg-charcoal: #141210;
  --text-charcoal: #1a1814;
  --text-muted: #5c564e;
  --text-blue-grey: #6b7280;
  --accent-gold: #a68966;
  --accent-bronze: #8b6914;
  --accent-warm: #b87333;
  --accent-gold-light: rgba(166, 137, 102, 0.14);
  --secondary-beige: #e0d8cc;
  --secondary-grey: #c5bdb0;
  --white: #ffffff;
  --glass: rgba(245, 241, 232, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 4px 28px rgba(20, 18, 16, 0.06);
  --shadow-md: 0 16px 52px rgba(20, 18, 16, 0.1);
  --shadow-lg: 0 28px 72px rgba(20, 18, 16, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --type-body: 1rem;
  --type-body-lh: 1.65;
  --type-nav: 0.92rem;
  --type-label: 0.72rem;
  --type-btn: 0.9rem;
  --type-display-weight: 600;
  --type-title-weight: 500;
  --nav-offset: 100px;
  --section-spacer: clamp(72px, 14vh, 160px);
  --ease-cine: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--type-body-lh);
  color: var(--text-charcoal);
  background: var(--bg-cream);
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:lang(zh) {
  font-family: 'Outfit', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.panel-section { position: relative; overflow: visible; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}
.section-label--light { color: var(--accent-warm); }

/* Display typography — SR Coworking template proportions */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.06em;
}
.line-inner {
  display: block;
  will-change: transform;
  padding-bottom: 0.06em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: var(--type-display-weight);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-title--huge {
  font-size: clamp(3rem, 7vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.section-head { margin-bottom: 3.5rem; max-width: 640px; }

.gold-line {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-warm));
  border-radius: 2px;
  margin-top: 1.5rem;
}
.gold-line--light { background: linear-gradient(90deg, var(--accent-warm), #d4a574); }

[class*="anim-"] { will-change: transform, opacity; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-size: var(--type-btn);
  font-weight: var(--type-title-weight);
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: background 0.4s, box-shadow 0.4s, color 0.4s, border-color 0.4s;
  white-space: nowrap;
}
.btn--gold { background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm)); color: var(--white); }
.btn--gold:hover { box-shadow: 0 12px 36px rgba(166, 137, 102, 0.4); }
.btn--outline {
  background: transparent;
  color: var(--text-charcoal);
  border: 2px solid var(--text-charcoal);
}
.btn--outline:hover { background: var(--text-charcoal); color: var(--white); }
.btn--text { color: var(--accent-gold); font-weight: 600; padding: 0.5rem 0; }
.btn--text:hover { color: var(--accent-bronze); }
.btn--lg { padding: 1.1rem 2.4rem; }
.btn--nav { padding: 0.7rem 1.5rem; font-size: 0.9rem; }

.btn--ink {
  background: var(--bg-charcoal);
  color: var(--white);
  border: 2px solid var(--bg-charcoal);
}
.btn--ink:hover {
  background: #2c2824;
  border-color: #2c2824;
  color: var(--white);
  box-shadow: 0 12px 32px rgba(20, 18, 16, 0.28);
}

/* Leaf-shaped CTA — first version */
.btn--leaf {
  border-radius: 70% 30% 70% 30% / 48% 52% 48% 52%;
  padding: 1.1rem 2.55rem 1.15rem;
  min-width: 11.5rem;
  transition:
    background 0.4s,
    box-shadow 0.4s,
    color 0.4s,
    border-color 0.4s,
    transform 0.45s var(--ease-cine);
}
.btn--leaf-alt {
  border-radius: 30% 70% 30% 70% / 52% 48% 52% 48%;
}
.btn--leaf:hover {
  transform: translateY(-3px) rotate(-1deg);
}
.btn--leaf-alt:hover {
  transform: translateY(-3px) rotate(1deg);
}

/* Glass pill navigation */
.nav {
  position: fixed;
  top: 1rem;
  left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: min(1240px, 100%);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s, background 0.4s;
}
.nav--scrolled .nav__pill { box-shadow: var(--shadow-md); background: rgba(245, 241, 232, 0.92); }

.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo-img {
  width: auto;
  height: 44px;
  max-width: none; /* beat global img { max-width: 100%; height: auto } */
  max-height: none;
  object-fit: contain;
  display: block;
}
.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(0.55rem, 1vw, 1.15rem);
  flex-wrap: nowrap;
  min-width: 0;
}
.nav__link {
  font-family: var(--font-body);
  font-size: var(--type-nav);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-gold);
  transition: width 0.35s;
}
.nav__link:hover, .nav__link.active { color: var(--text-charcoal); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; flex-shrink: 0; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text-charcoal); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language switcher — compact segment control inside the glass pill */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 1px 2px rgba(20, 18, 16, 0.04);
}
.lang-switch__btn {
  padding: 0.42rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.lang-switch__btn:hover { color: var(--text-charcoal); }
.lang-switch__btn.active {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(166, 137, 102, 0.35);
}

@media (max-width: 1100px) {
  .nav__logo-img { height: 38px; }
  .nav__pill { gap: 0.75rem; padding-left: 0.75rem; }
  .nav__link { font-size: 0.85rem; }
  .lang-switch__btn { padding: 0.38rem 0.55rem; font-size: 0.68rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-offset) + 2rem) 0 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 245, 240, 0.82);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-offset) - 6rem);
  padding-left: clamp(2.5rem, 11vw, 11rem);
}

/* Lightweight looping leaf breeze — CSS only, 3 leaves max */
.hero-fall {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  contain: layout style paint;
}
.hero-fall__leaf {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--fall-w, 56px);
  height: var(--fall-h, 72px);
  background: url('assets/Leaf.svg') center / contain no-repeat;
  opacity: 0;
  mix-blend-mode: multiply;
  animation: hero-leaf-breeze var(--fall-dur, 28s) linear infinite;
  animation-delay: var(--fall-delay, 0s);
  transform: translate3d(-12vw, 10vh, 0);
}
.hero-fall.is-paused .hero-fall__leaf,
.hero-fall[hidden] .hero-fall__leaf {
  animation-play-state: paused;
}
.hero-fall__leaf--1 {
  --fall-w: clamp(42px, 4.5vw, 68px);
  --fall-h: clamp(54px, 5.8vw, 88px);
  --fall-dur: 26s;
  --fall-delay: 0s;
  --fall-y0: 12vh;
  --fall-y1: 30vh;
  --fall-y2: 48vh;
  --fall-spin: 55deg;
}
.hero-fall__leaf--2 {
  --fall-w: clamp(36px, 3.8vw, 56px);
  --fall-h: clamp(46px, 4.9vw, 72px);
  --fall-dur: 32s;
  --fall-delay: -10s;
  --fall-y0: 28vh;
  --fall-y1: 44vh;
  --fall-y2: 62vh;
  --fall-spin: -48deg;
}
.hero-fall__leaf--3 {
  --fall-w: clamp(48px, 5vw, 74px);
  --fall-h: clamp(62px, 6.4vw, 94px);
  --fall-dur: 36s;
  --fall-delay: -18s;
  --fall-y0: 8vh;
  --fall-y1: 24vh;
  --fall-y2: 40vh;
  --fall-spin: 70deg;
}
.hero-fall__leaf--4 {
  --fall-w: clamp(38px, 4vw, 58px);
  --fall-h: clamp(48px, 5.2vw, 74px);
  --fall-dur: 30s;
  --fall-delay: -22s;
  --fall-y0: 42vh;
  --fall-y1: 52vh;
  --fall-y2: 68vh;
  --fall-spin: -38deg;
}
@keyframes hero-leaf-breeze {
  0% {
    transform: translate3d(-14vw, var(--fall-y0, 12vh), 0) rotate(-18deg);
    opacity: 0;
  }
  8% { opacity: 0.38; }
  50% {
    transform: translate3d(45vw, var(--fall-y1, 30vh), 0) rotate(calc(var(--fall-spin, 40deg) * 0.45));
    opacity: 0.32;
  }
  92% { opacity: 0.26; }
  100% {
    transform: translate3d(112vw, var(--fall-y2, 48vh), 0) rotate(var(--fall-spin, 40deg));
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .hero-fall__leaf--3,
  .hero-fall__leaf--4 { display: none; }
  .hero-fall__leaf--1,
  .hero-fall__leaf--2 {
    --fall-w: clamp(40px, 11vw, 56px);
    --fall-h: clamp(52px, 14vw, 72px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fall { display: none !important; }
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.75rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 5.5rem);
  font-weight: var(--type-display-weight);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero__title .line-inner {
  white-space: nowrap;
}
.hero__text { max-width: min(900px, 72vw); }

/* Longer BM / 中文 titles: keep lines fully visible */
html[lang="ms"] .hero__text,
html[lang="zh-Hans"] .hero__text {
  max-width: min(1040px, 90vw);
}
html[lang="ms"] .hero__title,
html[lang="zh-Hans"] .hero__title {
  font-size: clamp(2.35rem, 4.6vw, 4.5rem);
}
.hero__accent { color: var(--accent-gold); }
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* About */
.about { padding-bottom: clamp(80px, 12vw, 140px); }
.about__spacer { height: var(--section-spacer); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.about__visual { position: relative; }
.about__gold {
  position: absolute;
  top: 36px;
  left: -36px;
  width: 58%;
  height: 82%;
  background: linear-gradient(145deg, var(--accent-gold), var(--accent-warm));
  /* Soft leaf / petal backdrop */
  border-radius: 68% 32% 68% 32% / 38% 62% 38% 62%;
  z-index: 0;
  box-shadow: 0 18px 40px rgba(166, 137, 102, 0.28);
}
.about__image {
  position: relative;
  z-index: 1;
  /* Leaf silhouette for About photo */
  border-radius: 62% 38% 62% 38% / 36% 64% 36% 64%;
  overflow: hidden;
  box-shadow:
    0 22px 48px rgba(26, 24, 20, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  aspect-ratio: 4 / 5;
  background: var(--bg-cream-dark);
  transform: rotate(-2deg);
  transition: transform 0.55s var(--ease-cine);
}
.about__visual:hover .about__image {
  transform: rotate(0deg) translateY(-4px);
}
.about__image img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 125%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.about__copy {
  color: var(--text-muted);
  margin: 1.15rem 0 1.15rem;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.75;
}
.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0;
}
.mini-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 7.25rem;
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(166, 137, 102, 0.1), transparent 55%),
    linear-gradient(165deg, #fffdf9, var(--white));
  border: 1px solid rgba(166, 137, 102, 0.14);
  /* Soft leaf — keep text clear of curved edges */
  border-radius: 2.1rem 1.05rem 2.1rem 1.05rem;
  padding: 1.55rem 1.45rem 1.75rem;
  box-shadow: 0 10px 28px rgba(26, 24, 20, 0.06);
  text-align: center;
  transition: transform 0.45s var(--ease-cine), box-shadow 0.45s;
}
.mini-card:nth-child(even) {
  border-radius: 1.05rem 2.1rem 1.05rem 2.1rem;
}
.mini-card:nth-child(3) {
  border-radius: 1.9rem 1.15rem 1.9rem 1.15rem;
}
.mini-card:nth-child(4) {
  border-radius: 1.15rem 1.9rem 1.15rem 1.9rem;
}
.mini-card:hover {
  transform: translateY(-6px) rotate(-0.8deg);
  box-shadow: 0 16px 36px rgba(26, 24, 20, 0.1);
}
.mini-card:nth-child(even):hover {
  transform: translateY(-6px) rotate(0.8deg);
}
.mini-card span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.45rem;
}
.mini-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: var(--type-title-weight);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-charcoal);
}

/* Highlights */
.highlights {
  position: relative;
  z-index: 2;
  background: var(--bg-cream-dark);
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(88px, 12vw, 140px);
}
.highlights .section-head {
  margin-bottom: 1.35rem;
  max-width: 640px;
}
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: stretch; }
.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #fffdf9 0%, var(--white) 55%, #f8f3eb 100%);
  border: 1px solid rgba(166, 137, 102, 0.14);
  /* Leaf silhouette — pointed tips via asymmetric radii only */
  border-radius: 72% 28% 72% 28% / 32% 68% 32% 68%;
  aspect-ratio: 0.92 / 1.18;
  min-height: 220px;
  padding: 2.6rem 1.6rem;
  box-shadow:
    0 10px 28px rgba(26, 24, 20, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.55s var(--ease-cine), box-shadow 0.55s, border-radius 0.55s;
}
.stat-card:nth-child(even) {
  border-radius: 28% 72% 28% 72% / 68% 32% 68% 32%;
}
.stat-card:nth-child(3) {
  border-radius: 68% 32% 68% 32% / 40% 60% 40% 60%;
}
.stat-card:nth-child(4) {
  border-radius: 34% 66% 34% 66% / 62% 38% 62% 38%;
}
.stat-card:hover {
  transform: translateY(-10px) rotate(-1.5deg);
  box-shadow:
    0 18px 40px rgba(26, 24, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.stat-card:nth-child(even):hover {
  transform: translateY(-10px) rotate(1.5deg);
}
.stat-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 3.8vw, 3.5rem);
  font-weight: var(--type-display-weight);
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.55rem;
}
.stat-card__label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 11ch;
  line-height: 1.35;
}
.stat-card--tags {
  gap: 0.65rem;
  padding: 2.4rem 1.35rem 2.75rem;
  /* Readable pill — % leaf radii clip the label at the bottom */
  border-radius: 2rem 1.2rem 2rem 1.2rem;
  aspect-ratio: auto;
  min-height: 0;
}
.stat-card--tags:nth-child(4) {
  border-radius: 2rem 1.2rem 2rem 1.2rem;
}
.stat-card--tags .stat-card__label {
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: var(--type-title-weight);
  color: var(--text-charcoal);
  letter-spacing: -0.02em;
  margin-top: 0.35rem;
  margin-bottom: 0.15rem;
}
.stat-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  justify-content: center;
  max-width: 15rem;
}
.stat-card__tags span {
  padding: 0.45rem 0.85rem;
  background: var(--accent-gold-light);
  color: var(--accent-bronze);
  border: 1px solid rgba(166, 137, 102, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.stat-card--tags .stat-card__tags {
  max-width: 16.5rem;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}
.stat-card--tags .stat-card__tags span {
  padding: 0.5rem 0.95rem;
  font-size: 0.92rem;
}

/* Philosophy — pinned sequential reveal */
.philosophy {
  position: relative;
  z-index: 1;
  background: var(--bg-cream);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.philosophy__pin {
  min-height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: calc(var(--nav-offset) + 1.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  padding-inline: clamp(24px, 4vw, 48px);
  box-sizing: border-box;
  overflow: visible;
}
.philosophy__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5.5vw, 72px);
  align-items: start;
}
.philosophy__title-col {
  position: static;
  align-self: start;
}
.philosophy__cards {
  display: grid;
  grid-template-rows: auto;
  gap: clamp(1.15rem, 2.4vh, 1.65rem);
  width: 100%;
}
.philosophy__cards .phil-card {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  overflow: visible;
}
.phil-card {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(166, 137, 102, 0.1), transparent 50%),
    linear-gradient(165deg, #fffdf9 0%, var(--white) 55%, #faf7f1 100%);
  border: 1px solid rgba(166, 137, 102, 0.16);
  /* Soft leaf — avoid extreme radii that clip body copy at the bottom */
  border-radius: 2.35rem 1.05rem 2.35rem 1.05rem;
  padding: clamp(1.75rem, 3vw, 2.4rem) clamp(1.55rem, 2.8vw, 2.25rem) clamp(2.35rem, 4vw, 3.1rem);
  box-shadow:
    0 14px 34px rgba(26, 24, 20, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.5s var(--ease-cine), box-shadow 0.5s;
  overflow: visible;
}
.phil-card:nth-child(even) {
  border-radius: 1.05rem 2.35rem 1.05rem 2.35rem;
}
.phil-card:nth-child(3) {
  border-radius: 2rem 1.2rem 1.85rem 1.5rem;
}
.phil-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 22px 44px rgba(26, 24, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.phil-card__num {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: var(--type-display-weight);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  background: var(--accent-gold-light);
  border: 1px solid rgba(166, 137, 102, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  margin-bottom: 1.15rem;
}
.phil-card__bm {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  font-weight: var(--type-title-weight);
  line-height: 1.55;
  letter-spacing: -0.015em;
  margin-bottom: 0.95rem;
  color: var(--text-charcoal);
}
.phil-card__en {
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  padding-left: 1rem;
  border-left: 2px solid rgba(166, 137, 102, 0.35);
}
.phil-card--list {
  padding-bottom: clamp(2.75rem, 5vw, 3.6rem);
}
.phil-card--list ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.phil-card--list li {
  position: relative;
  padding: 0.55rem 0.35rem 0.55rem 1.45rem;
  color: var(--text-charcoal);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  border-radius: 0.85rem;
  transition: background 0.3s;
}
.phil-card--list li:last-child {
  margin-bottom: 0.35rem;
}
.phil-card--list li:hover {
  background: rgba(166, 137, 102, 0.08);
}
.phil-card--list li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 1.05rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 60% 40% 55% 45%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(166, 137, 102, 0.18);
}

.section-title--compact {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

/* Leadership horizontal */
.leadership {
  padding-bottom: clamp(4rem, 8vh, 6rem);
  background: var(--bg-cream-dark);
}
.leadership__pin-wrap { padding-bottom: 2rem; }
.leadership__layout {
  display: flex;
  flex-direction: column;
  min-height: auto;
  height: auto;
  padding-top: calc(var(--nav-offset) + 1.25rem);
  padding-bottom: 2.5rem;
  box-sizing: border-box;
}
.ecosystem__layout {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 1rem);
  height: auto;
  padding-top: calc(var(--nav-offset) + 1.25rem);
  padding-bottom: 2.5rem;
  box-sizing: border-box;
}
.leadership__head,
.ecosystem__head {
  flex-shrink: 0;
  padding-top: 0;
  padding-bottom: 1.75rem;
}
.leadership__track-scroller {
  padding-bottom: 2rem;
  overflow: visible;
}
.ecosystem__track-scroller {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  overflow: visible;
  padding-bottom: 2rem;
}
.leadership__pin {
  min-height: auto;
  height: auto;
  overflow: visible;
  padding-bottom: 2.5rem;
}
.leadership__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding: 0 0 1rem;
  overflow: visible;
  align-items: stretch;
}
.leader-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(166, 137, 102, 0.1), transparent 55%),
    linear-gradient(180deg, #fffdf9 0%, var(--white) 100%);
  border: 1px solid rgba(166, 137, 102, 0.14);
  border-radius: 1.85rem;
  overflow: visible;
  box-shadow: 0 14px 36px rgba(26, 24, 20, 0.07);
  padding: 1.65rem 1.25rem 1.5rem;
  transition: transform 0.5s var(--ease-cine), box-shadow 0.5s;
}
.leader-card:hover {
  /* Avoid transform here — GSAP entrance also uses transform on this node */
  box-shadow: 0 22px 48px rgba(26, 24, 20, 0.12);
}
.leader-card:hover .leader-card__body {
  box-shadow: none;
}
.leader-card:hover .leader-card__img img { transform: scale(1.05); }
.leader-card:hover .leader-card__img {
  transform: rotate(-1.5deg) translateY(-4px);
}
.leader-card:nth-child(even):hover .leader-card__img {
  transform: rotate(1.5deg) translateY(-4px);
}
.leader-card__img {
  position: relative;
  width: min(78%, 210px);
  aspect-ratio: 0.86 / 1.18;
  flex-shrink: 0;
  overflow: hidden;
  margin: 0 auto 0.15rem;
  /* Leaf silhouette via border-radius only */
  border-radius: 70% 30% 70% 30% / 34% 66% 34% 66%;
  background:
    linear-gradient(155deg, rgba(166, 137, 102, 0.35), rgba(245, 241, 232, 0.95) 48%, #e8dcc8);
  box-shadow:
    0 16px 34px rgba(26, 24, 20, 0.12),
    inset 0 0 0 2px rgba(255, 253, 249, 0.55);
  transition: transform 0.55s var(--ease-cine);
}
.leader-card:nth-child(even) .leader-card__img {
  border-radius: 30% 70% 30% 70% / 66% 34% 66% 34%;
}
.leader-card:nth-child(3) .leader-card__img {
  border-radius: 66% 34% 66% 34% / 40% 60% 40% 60%;
}
.leader-card:nth-child(4) .leader-card__img {
  border-radius: 34% 66% 34% 66% / 60% 40% 60% 40%;
}
.leader-card__img::before {
  content: '';
  position: absolute;
  inset: -10%;
  z-index: 0;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.35), transparent 55%);
  pointer-events: none;
}
.leader-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(255, 253, 249, 0.12) 0%, transparent 40%, rgba(166, 137, 102, 0.12) 100%);
}
.leader-card__img img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.7s var(--ease-cine);
}
.leader-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
  padding: 1.15rem 0.35rem 0.85rem;
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.leader-card__body::before { display: none; }
.leader-card__body h3 {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
  font-weight: var(--type-title-weight);
  letter-spacing: -0.025em;
  color: var(--text-charcoal);
  margin-bottom: 0.65rem;
  line-height: 1.28;
  max-width: 18ch;
}
.leader-card__role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  background: var(--accent-gold-light);
  border: 1px solid rgba(166, 137, 102, 0.22);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.leader-card__body > p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
  max-width: 28ch;
  flex: 1;
}
.leader-card__more {
  margin-top: auto;
  padding: 0.7rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  align-self: center;
  transition: color 0.3s, border-color 0.3s;
}
.leader-card__more:hover {
  color: var(--accent-bronze);
  border-bottom-color: var(--accent-bronze);
}
.leader-card__more::after {
  content: ' →';
}
.leader-card__detail {
  margin-top: 1rem;
  padding-top: 1rem;
  width: 100%;
  border-top: 1px solid rgba(166, 137, 102, 0.18);
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
}
.leader-card__detail[hidden] { display: none; }

/* Ecosystem */
.ecosystem { background: var(--bg-cream); padding-bottom: 0; padding-top: 1rem; }
.ecosystem__pin {
  min-height: calc(100svh - 1rem);
  height: auto;
  overflow: visible;
  padding-bottom: 2.5rem;
}
.ecosystem__track { display: flex; gap: 1.25rem; padding: 0 max(24px, calc((100vw - 1240px) / 2 + 24px)); will-change: transform; }

.eco-card {
  flex: 0 0 min(92vw, 960px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 520px;
}
.eco-card:nth-child(even) {
  grid-template-columns: 1fr 1.15fr;
}
.eco-card:nth-child(even) .eco-card__visual { order: 2; }
.eco-card:nth-child(even) .eco-card__body { order: 1; }
.eco-card:nth-child(even) .eco-card__overlap {
  right: auto;
  left: -20px;
}
.eco-card__visual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  height: 100%;
  background: var(--bg-cream-dark);
}
.eco-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.eco-card__overlap {
  position: absolute;
  bottom: 24px; right: -20px;
  width: 140px; height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.eco-card__overlap img { width: 100%; height: 100%; object-fit: cover; }
.eco-card__body {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.eco-card__cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-gold); margin-bottom: 0.5rem; }
.eco-card__body h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: var(--type-title-weight); letter-spacing: -0.03em; margin-bottom: 0.75rem; line-height: 1.1; color: var(--text-charcoal); }
.eco-card__body p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.65; }
.eco-card__body address { font-size: 0.82rem; color: var(--text-blue-grey); line-height: 1.6; margin-bottom: 1.25rem; }

/* Flagship project */
.project {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: 6rem;
  /* Clip fixed bg so it only shows inside this section while scrolling */
  clip-path: inset(0);
}
.project__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.project__bg img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,18,16,0.93) 0%, rgba(20,18,16,0.75) 55%, rgba(20,18,16,0.5) 100%);
}
.project__layout {
  position: relative;
  z-index: 2;
}
.project__content { position: relative; z-index: 2; color: var(--white); max-width: 920px; }
.project__heading {
  margin: 0.35rem 0 0.35rem;
}
.project__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 9rem);
  font-weight: var(--type-display-weight);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 0;
}
.project__title .line {
  padding-bottom: 0;
  margin-bottom: 0;
}
.project__title .line-inner {
  padding-bottom: 0;
  white-space: nowrap;
}
.project__title .line--logo {
  display: block;
  margin: 0;
}
.project__title-logo {
  display: block;
  width: min(380px, 100%);
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.project__landmark {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin: 0.15rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.2;
  color: #f3d7b0;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}
.project__landmark-text {
  flex: 0 1 auto;
  min-width: 0;
}
.project__landmark-dot {
  flex: 0 0 auto;
  width: 0.78em;
  height: 0.78em;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}
.project__copy { color: rgba(255,255,255,0.78); font-size: 1.1rem; line-height: 1.75; margin: 1.5rem 0 2rem; }
.project__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.project__card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}
.project__card h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: var(--type-title-weight); color: var(--accent-warm); margin-bottom: 0.4rem; }
.project__card p { font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.55; }

/* Gallery */
.gallery {
  background:
    linear-gradient(180deg, rgba(245, 241, 232, 0.55) 0%, transparent 18%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(166, 137, 102, 0.08), transparent 55%),
    var(--bg-cream-dark);
  padding-block: clamp(80px, 12vw, 140px);
}
.gallery__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(166, 137, 102, 0.22);
}
.gallery__head .section-label { margin-bottom: 0.85rem; }
.gallery__head .section-title { max-width: 12ch; }
.gallery__intro {
  max-width: 34ch;
  justify-self: end;
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  color: var(--text-muted);
  padding-bottom: 0.35rem;
}
.gallery__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.1rem;
  width: 100%;
  border-bottom: 1px solid rgba(197, 189, 176, 0.55);
}
.gallery__filter {
  position: relative;
  padding: 0.85rem 1.05rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 0;
  transition: color 0.3s;
}
.gallery__filter::after {
  content: '';
  position: absolute;
  left: 1.05rem;
  right: 1.05rem;
  bottom: -1px;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-cine);
}
.gallery__filter:hover { color: var(--text-charcoal); }
.gallery__filter.active { color: var(--text-charcoal); }
.gallery__filter.active::after { transform: scaleX(1); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.gallery__item {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-width: 0;
  min-height: 0;
  margin-bottom: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  padding: 0;
  cursor: pointer;
  background: var(--secondary-beige);
  isolation: isolate;
  transition: transform 0.45s var(--ease-cine), box-shadow 0.45s;
}
.gallery__item.is-hidden {
  display: none;
}
.gallery__item:hover,
.gallery__item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  z-index: 2;
  outline: none;
}
.gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease-cine), filter 0.45s;
  filter: saturate(0.92) contrast(1.02);
}
.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.04);
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 18, 16, 0.78) 0%, rgba(20, 18, 16, 0.18) 42%, transparent 68%);
  opacity: 0.55;
  transition: opacity 0.4s;
  z-index: 1;
}
.gallery__item:hover::after,
.gallery__item:focus-visible::after { opacity: 1; }
.gallery__item-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.15rem 1.2rem 1.2rem;
  text-align: left;
  color: var(--white);
  transform: translateY(6px);
  opacity: 0.88;
  transition: opacity 0.35s, transform 0.4s var(--ease-cine);
}
.gallery__item:hover .gallery__item-meta,
.gallery__item:focus-visible .gallery__item-meta {
  opacity: 1;
  transform: translateY(0);
}
.gallery__item-cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.72);
}
.gallery__item-title {
  font-family: var(--font-display);
  font-weight: var(--type-title-weight);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Contact */
.contact { padding-block: clamp(80px, 12vw, 140px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.contact__details { margin-top: 1.5rem; color: var(--text-muted); line-height: 1.9; }
.contact__details a:hover { color: var(--accent-gold); }
.contact__map {
  margin-top: 1.75rem;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--secondary-beige);
  background: var(--bg-cream-dark);
  box-shadow: var(--shadow-sm);
}
.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact__form { position: relative; display: flex; flex-direction: column; gap: 1.15rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.form-field input, .form-field textarea {
  padding: 0.95rem 1.1rem;
  border: 2px solid var(--secondary-beige);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent-gold); }
.form-field--hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}
.form-status--success { color: #2f6b4f; }
.form-status--error { color: #9a3b2f; }
.contact__form .btn[disabled] { opacity: 0.72; cursor: wait; }
.form-recaptcha-note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.form-recaptcha-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-recaptcha-note a:hover { color: var(--accent-gold); }

/* Leaf background — decorative layer only; never break absolute section backgrounds */
.leaf-bg-wrapper > :not(.leaf-bg):not(.hero__bg):not(.project__bg) {
  position: relative;
  z-index: 1;
}
.leaf-bg-wrapper > .hero__bg,
.leaf-bg-wrapper > .project__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.leaf-bg-wrapper .leaf-bg { z-index: 1; }
.leaf-bg-wrapper .hero__inner,
.leaf-bg-wrapper .project__layout,
.leaf-bg-wrapper .project__content { position: relative; z-index: 2; }
.leaf-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Clip overhanging leaves so they cannot widen the page and enable horizontal swipe */
  overflow: hidden;
}
.bg-leaf {
  position: absolute;
  pointer-events: none;
  width: var(--leaf-w, 80px);
  height: var(--leaf-h, 130px);
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 1.35s var(--ease-cine);
  transition-delay: var(--leaf-fade-delay, 0s);
  display: none;
}
.leaf-bg-wrapper.leaf-bg--visible .bg-leaf {
  opacity: var(--leaf-opacity, 0.26);
}
.bg-leaf::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: url('assets/Leaf.svg') center / contain no-repeat;
  mix-blend-mode: multiply;
  filter: none;
  transform: rotate(var(--leaf-rotate, 0deg));
  animation: leaf-drift var(--leaf-duration, 14s) ease-in-out infinite;
  animation-delay: var(--leaf-anim-delay, 0s);
  will-change: transform;
}
@keyframes leaf-drift {
  0%, 100% {
    transform: rotate(var(--leaf-rotate, 0deg)) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(calc(var(--leaf-rotate, 0deg) + var(--leaf-tilt, 4deg)))
      translate3d(var(--leaf-shift-x, 0), var(--leaf-shift-y, -10px), 0);
  }
}
.bg-leaf--1 {
  --leaf-w: clamp(96px, 9vw, 148px);
  --leaf-h: clamp(154px, 14.5vw, 236px);
  --leaf-opacity: 0.22;
  --leaf-rotate: -32deg;
  --leaf-duration: 17s;
  --leaf-fade-delay: 0.05s;
  --leaf-anim-delay: -2s;
  --leaf-shift-y: -8px;
  --leaf-tilt: 3deg;
  top: 6%;
  left: -4%;
}
.bg-leaf--2 {
  --leaf-w: clamp(112px, 11vw, 172px);
  --leaf-h: clamp(180px, 17.5vw, 274px);
  --leaf-opacity: 0.24;
  --leaf-rotate: 24deg;
  --leaf-duration: 19s;
  --leaf-fade-delay: 0.2s;
  --leaf-anim-delay: -5s;
  --leaf-shift-y: -12px;
  --leaf-tilt: -4deg;
  top: 4%;
  right: -3%;
}
.bg-leaf--3 {
  --leaf-w: clamp(88px, 8.5vw, 132px);
  --leaf-h: clamp(142px, 13.5vw, 214px);
  --leaf-opacity: 0.20;
  --leaf-rotate: 18deg;
  --leaf-duration: 15s;
  --leaf-fade-delay: 0.35s;
  --leaf-anim-delay: -8s;
  --leaf-shift-x: 6px;
  --leaf-shift-y: -9px;
  bottom: 8%;
  right: -2%;
}
.bg-leaf--4 {
  --leaf-w: clamp(100px, 9.5vw, 150px);
  --leaf-h: clamp(160px, 15vw, 240px);
  --leaf-opacity: 0.22;
  --leaf-rotate: -20deg;
  --leaf-duration: 21s;
  --leaf-fade-delay: 0.15s;
  --leaf-anim-delay: -11s;
  --leaf-shift-y: -11px;
  --leaf-tilt: 5deg;
  bottom: 10%;
  left: -5%;
}
.bg-leaf--5 {
  --leaf-w: clamp(80px, 7.5vw, 118px);
  --leaf-h: clamp(128px, 12vw, 192px);
  --leaf-opacity: 0.18;
  --leaf-rotate: 36deg;
  --leaf-duration: 23s;
  --leaf-fade-delay: 0.45s;
  --leaf-anim-delay: -3s;
  --leaf-shift-y: -7px;
  top: 44%;
  left: 1%;
}
.bg-leaf--6 {
  --leaf-w: clamp(84px, 8vw, 126px);
  --leaf-h: clamp(134px, 12.5vw, 202px);
  --leaf-opacity: 0.20;
  --leaf-rotate: -14deg;
  --leaf-duration: 18s;
  --leaf-fade-delay: 0.55s;
  --leaf-anim-delay: -14s;
  --leaf-shift-y: -10px;
  --leaf-tilt: -3deg;
  top: 40%;
  right: 1%;
}
.bg-leaf--1,
.bg-leaf--2 { display: block; }
@media (min-width: 768px) {
  .bg-leaf--3,
  .bg-leaf--4,
  .bg-leaf--5 { display: block; }
}
@media (min-width: 1024px) {
  .bg-leaf--6 { display: block; }
}

@media (max-width: 768px) {
  .bg-leaf--3,
  .bg-leaf--4,
  .bg-leaf--5,
  .bg-leaf--6 { display: none !important; }
  .bg-leaf--1 {
    top: auto;
    bottom: 4%;
    left: -10%;
    --leaf-opacity: 0.20;
  }
  .bg-leaf--2 {
    top: 6%;
    right: -8%;
    bottom: auto;
    --leaf-opacity: 0.18;
  }
}

/* Philosophy — larger leaves clustered in the title / cards gap */
.leaf-bg-wrapper--philosophy .leaf-bg {
  z-index: 1;
}
.leaf-bg-wrapper--philosophy .bg-leaf::before {
  filter: drop-shadow(0 8px 16px rgba(166, 137, 102, 0.14));
}
.leaf-bg-wrapper--philosophy .bg-leaf--1 {
  top: 18%;
  left: 26%;
  right: auto;
  bottom: auto;
  --leaf-w: clamp(150px, 17vw, 280px);
  --leaf-h: clamp(240px, 27vw, 448px);
  --leaf-opacity: 0.34;
  --leaf-rotate: -32deg;
  --leaf-duration: 22s;
  --leaf-fade-delay: 0.1s;
}
.leaf-bg-wrapper--philosophy .bg-leaf--2 {
  top: 36%;
  left: 38%;
  right: auto;
  bottom: auto;
  --leaf-w: clamp(130px, 14vw, 240px);
  --leaf-h: clamp(208px, 22.5vw, 384px);
  --leaf-opacity: 0.28;
  --leaf-rotate: 18deg;
  --leaf-duration: 20s;
  --leaf-fade-delay: 0.25s;
}
.leaf-bg-wrapper--philosophy .bg-leaf--3 {
  top: 52%;
  left: 28%;
  right: auto;
  bottom: auto;
  --leaf-w: clamp(110px, 12vw, 200px);
  --leaf-h: clamp(176px, 19vw, 320px);
  --leaf-opacity: 0.24;
  --leaf-rotate: 8deg;
  --leaf-duration: 24s;
  --leaf-fade-delay: 0.4s;
}
.leaf-bg-wrapper--philosophy .bg-leaf--4 {
  top: 12%;
  left: 42%;
  right: auto;
  bottom: auto;
  --leaf-w: clamp(88px, 9vw, 150px);
  --leaf-h: clamp(140px, 14.5vw, 240px);
  --leaf-opacity: 0.18;
  --leaf-rotate: -12deg;
  --leaf-duration: 18s;
}
.leaf-bg-wrapper--philosophy .bg-leaf--5 {
  top: auto;
  bottom: 8%;
  left: auto;
  right: -4%;
  --leaf-w: clamp(72px, 7vw, 120px);
  --leaf-h: clamp(115px, 11vw, 192px);
  --leaf-opacity: 0.16;
  --leaf-rotate: 28deg;
}
.leaf-bg-wrapper--philosophy .bg-leaf--6 {
  top: 8%;
  left: -3%;
  right: auto;
  bottom: auto;
  --leaf-w: clamp(70px, 6.5vw, 110px);
  --leaf-h: clamp(112px, 10.5vw, 176px);
  --leaf-opacity: 0.14;
  --leaf-rotate: -40deg;
}
.leaf-bg-wrapper--philosophy .bg-leaf--1,
.leaf-bg-wrapper--philosophy .bg-leaf--2,
.leaf-bg-wrapper--philosophy .bg-leaf--3,
.leaf-bg-wrapper--philosophy .bg-leaf--4 { display: block; }
.leaf-bg-wrapper--philosophy .bg-leaf--5,
.leaf-bg-wrapper--philosophy .bg-leaf--6 { display: none; }
@media (min-width: 1024px) {
  .leaf-bg-wrapper--philosophy .bg-leaf--5,
  .leaf-bg-wrapper--philosophy .bg-leaf--6 { display: block; }
}
@media (max-width: 768px) {
  /* Stacked layout — keep soft edge accents only */
  .leaf-bg-wrapper--philosophy .bg-leaf--3,
  .leaf-bg-wrapper--philosophy .bg-leaf--4,
  .leaf-bg-wrapper--philosophy .bg-leaf--5,
  .leaf-bg-wrapper--philosophy .bg-leaf--6 { display: none !important; }
  .leaf-bg-wrapper--philosophy .bg-leaf--1 {
    top: auto;
    bottom: 6%;
    left: -12%;
    --leaf-w: 100px;
    --leaf-h: 160px;
    --leaf-opacity: 0.22;
    --leaf-rotate: -24deg;
  }
  .leaf-bg-wrapper--philosophy .bg-leaf--2 {
    top: 10%;
    left: auto;
    right: -10%;
    --leaf-w: 88px;
    --leaf-h: 140px;
    --leaf-opacity: 0.18;
    --leaf-rotate: 22deg;
  }
}

/* Hero — crisp Leaf.svg accents in clear corner zones (never under CTAs) */
.leaf-bg-wrapper--hero .leaf-bg {
  z-index: 1;
}
.leaf-bg-wrapper--hero .bg-leaf::before {
  /* Sharper read on cream hero scrub */
  filter: drop-shadow(0 10px 18px rgba(166, 137, 102, 0.18));
}
.leaf-bg-wrapper--hero .bg-leaf--6 { display: none !important; }
.leaf-bg-wrapper--hero .bg-leaf--1 {
  top: auto;
  bottom: 14%;
  left: 6%;
  --leaf-w: clamp(120px, 14vw, 220px);
  --leaf-h: clamp(192px, 22.4vw, 352px);
  --leaf-opacity: 0.42;
  --leaf-rotate: -18deg;
  --leaf-duration: 22s;
}
.leaf-bg-wrapper--hero .bg-leaf--2 {
  top: 14%;
  right: 8%;
  bottom: auto;
  left: auto;
  --leaf-w: clamp(96px, 10vw, 168px);
  --leaf-h: clamp(154px, 16vw, 268px);
  --leaf-opacity: 0.36;
  --leaf-rotate: 28deg;
  --leaf-duration: 20s;
}
.leaf-bg-wrapper--hero .bg-leaf--3 {
  bottom: 18%;
  right: 10%;
  --leaf-w: clamp(72px, 7vw, 120px);
  --leaf-h: clamp(115px, 11.2vw, 192px);
  --leaf-opacity: 0.3;
  --leaf-rotate: 22deg;
  --leaf-duration: 18s;
}
.leaf-bg-wrapper--hero .bg-leaf--4 {
  top: 38%;
  left: 8%;
  bottom: auto;
  right: auto;
  --leaf-w: clamp(88px, 9vw, 148px);
  --leaf-h: clamp(140px, 14.4vw, 236px);
  --leaf-opacity: 0.2;
  --leaf-rotate: 8deg;
  --leaf-duration: 26s;
}
.leaf-bg-wrapper--hero .bg-leaf--5 {
  top: auto;
  bottom: 32%;
  left: auto;
  right: 18%;
  --leaf-w: clamp(64px, 6vw, 100px);
  --leaf-h: clamp(102px, 9.6vw, 160px);
  --leaf-opacity: 0.22;
  --leaf-rotate: -12deg;
  --leaf-duration: 21s;
}
.leaf-bg-wrapper--hero .bg-leaf--1,
.leaf-bg-wrapper--hero .bg-leaf--2 { display: block; }
.leaf-bg-wrapper--hero .bg-leaf--3,
.leaf-bg-wrapper--hero .bg-leaf--4,
.leaf-bg-wrapper--hero .bg-leaf--5 { display: none; }
@media (min-width: 768px) {
  .leaf-bg-wrapper--hero .bg-leaf--3,
  .leaf-bg-wrapper--hero .bg-leaf--4 { display: block; }
}
@media (min-width: 1024px) {
  .leaf-bg-wrapper--hero .bg-leaf--5 { display: block; }
}
@media (max-width: 768px) {
  .leaf-bg-wrapper--hero .bg-leaf--4,
  .leaf-bg-wrapper--hero .bg-leaf--5 { display: none !important; }
  /* Keep leaves clear of full-width stacked CTAs, still gathered inward */
  .leaf-bg-wrapper--hero .bg-leaf--1 {
    top: 48%;
    bottom: auto;
    left: -8%;
    --leaf-w: 108px;
    --leaf-h: 172px;
    --leaf-opacity: 0.4;
    --leaf-rotate: -14deg;
  }
  .leaf-bg-wrapper--hero .bg-leaf--2 {
    top: 12%;
    right: -6%;
    bottom: auto;
    left: auto;
    --leaf-w: 92px;
    --leaf-h: 148px;
    --leaf-opacity: 0.36;
    --leaf-rotate: 24deg;
  }
  .leaf-bg-wrapper--hero .bg-leaf--3 {
    display: block !important;
    top: auto;
    bottom: 6%;
    right: -4%;
    left: auto;
    --leaf-w: 78px;
    --leaf-h: 124px;
    --leaf-opacity: 0.34;
    --leaf-rotate: 20deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-leaf::before {
    animation: none !important;
    transform: rotate(var(--leaf-rotate, 0deg));
  }
  .leaf-bg--visible .bg-leaf {
    transition: none;
  }
}

/* Footer */
.footer { background: var(--bg-charcoal); color: rgba(255,255,255,0.65); padding-block: 2.5rem; }
.footer__inner { text-align: center; }
.footer__brand { display: flex; flex-direction: column; align-items: center; margin-bottom: 1rem; }
.footer__logo {
  width: auto;
  height: 128px;
  max-width: min(240px, 72vw);
  object-fit: contain;
}
.footer__reg { font-size: 0.85rem; margin-bottom: 0.5rem; }
.footer__copy { font-size: 0.8rem; opacity: 0.6; }
.footer__visitors {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: #141210;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem 4.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
  touch-action: pan-y;
  overflow: hidden;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--white);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  transition: background 0.25s;
  z-index: 2;
}
.lightbox__close:hover { background: rgba(255,255,255,0.16); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  transition: background 0.25s, opacity 0.25s;
  z-index: 2;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.16); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav[hidden] { display: none; }
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(92vw, 1100px);
  min-height: 0;
}
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
  background: #0c0b0a;
}
.lightbox__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  max-width: min(92vw, 640px);
  text-align: center;
}
.lightbox__caption {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
}
.lightbox__counter {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 700px) {
  .lightbox { padding: 4.5rem 1rem 2rem; }
  .lightbox__nav {
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }
  .lightbox__nav--prev { left: calc(50% - 3.75rem); }
  .lightbox__nav--next { right: calc(50% - 3.75rem); }
  .lightbox__img { max-height: 68vh; }
  .lightbox__meta { margin-bottom: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [class*="anim-"] { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 1024px) {
  .about__grid, .philosophy__layout, .contact__grid { grid-template-columns: 1fr; }
  .about__grid { gap: 1.75rem; }
  .about__copy { margin-bottom: 1rem; }
  .philosophy__layout { gap: 1rem; }
  .philosophy .gold-line { margin-top: 0.85rem; }
  .philosophy .section-title--huge {
    font-size: clamp(2.15rem, 8vw, 3rem);
    line-height: 0.95;
  }
  .philosophy .section-title--huge .line {
    padding-bottom: 0.06em;
    margin-bottom: 0;
  }
  /* 3 equal stats + full-width sectors — no orphan “5+” hole */
  .highlights__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .highlights .section-head {
    margin-bottom: 1rem;
  }
  .philosophy__pin {
    min-height: auto;
    padding-top: calc(var(--nav-offset) + 0.75rem);
  }
  .stat-card {
    aspect-ratio: auto;
    min-height: 168px;
    padding: 1.6rem 1rem 1.85rem;
    border-radius: 2rem 1.05rem 2rem 1.05rem;
  }
  .stat-card:nth-child(even),
  .stat-card:nth-child(3) {
    border-radius: 1.05rem 2rem 1.05rem 2rem;
  }
  .stat-card--tags,
  .stat-card:nth-child(4) {
    grid-column: 1 / -1;
    border-radius: 1.75rem;
    min-height: 0;
    padding: 1.85rem 1.5rem 2.35rem;
  }
  .stat-card--tags .stat-card__tags {
    max-width: 28rem;
  }
  .project__cards { grid-template-columns: 1fr; }
  .project__title-logo {
    width: min(280px, 100%);
  }
  .project__landmark {
    gap: 0.55rem;
    letter-spacing: 0.02em;
  }
  .gallery__head {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }
  .gallery__intro {
    justify-self: start;
    max-width: 42ch;
    padding-bottom: 0;
  }
  .gallery__toolbar {
    min-width: 0;
    max-width: 100%;
  }
  .gallery__filters {
    gap: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .gallery__filters::-webkit-scrollbar { display: none; }
  .gallery__filter {
    flex: 0 0 auto;
    padding: 0.75rem 0.9rem 0.85rem;
    font-size: 0.74rem;
  }
  .gallery__filter::after {
    left: 0.9rem;
    right: 0.9rem;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  /* Beat .eco-card:nth-child(even) { grid-template-columns: 1fr 1.15fr } */
  .eco-card,
  .eco-card:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .eco-card:nth-child(even) .eco-card__visual,
  .eco-card:nth-child(even) .eco-card__body { order: unset; }
  .eco-card:nth-child(even) .eco-card__overlap { left: auto; right: -12px; }
  .eco-card__visual {
    position: relative;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
  }
  .eco-card__img {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
  }
  .eco-card__body {
    padding: 1.5rem 1.35rem 1.75rem;
    background: var(--white);
  }
  .eco-card__overlap {
    width: 96px;
    height: 120px;
    bottom: 16px;
    right: -10px;
  }
  /* Mobile/tablet: vertical ecosystem cards (pin scroll is off) */
  .ecosystem__track {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
    will-change: auto;
    transform: none;
  }
  .eco-card {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
  }
  .leadership__pin, .ecosystem__pin { height: auto; min-height: calc(100svh - 1rem); overflow: visible; }
  .leadership__layout { height: auto; min-height: auto; }
  .ecosystem__layout { height: auto; min-height: auto; }
  .ecosystem__track-scroller { overflow: visible; }
  .leadership__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leader-card__img {
    width: min(78%, 200px);
    height: auto;
    aspect-ratio: 0.86 / 1.18;
  }
  .philosophy__title-col { position: static; }
  .philosophy__cards {
    display: flex;
    flex-direction: column;
    min-height: auto;
    max-height: none;
  }
  .philosophy__cards .phil-card { overflow-y: visible; }

  /* Tablet + phone: hamburger — matches JS tablet/light (≤1024) */
  .nav {
    pointer-events: none;
  }
  .nav__pill {
    pointer-events: auto;
    position: relative;
    z-index: 1202;
    /* backdrop-filter traps position:fixed menu — disable on mobile */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(245, 241, 232, 0.96);
    justify-content: flex-start;
    width: 100%;
    padding-right: 0.75rem;
    gap: 0.55rem;
  }
  .nav__logo { margin-right: auto; }
  .nav__menu {
    position: fixed;
    inset: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform: none;
    flex: none;
    max-width: none;
    width: 100%;
    height: 100%;
    z-index: 1200;
    background: var(--bg-cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: nowrap;
    opacity: 0;
    visibility: hidden;
    border-radius: 0;
    transition: opacity 0.35s, visibility 0.35s;
    overflow-y: auto;
    padding: 5rem 1.5rem 2rem;
    pointer-events: none;
  }
  .nav__menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__link {
    font-size: 1.05rem;
    font-family: var(--font-display);
    font-weight: var(--type-title-weight);
    pointer-events: auto;
  }
  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 1203;
    pointer-events: auto;
  }
  .btn--nav { display: none; }
  .nav__logo-img { height: 52px; }
  .lang-switch {
    position: relative;
    z-index: 1203;
    pointer-events: auto;
  }
  .lang-switch__btn { padding: 0.36rem 0.5rem; font-size: 0.66rem; }
  .form-field input,
  .form-field textarea {
    font-size: 16px; /* prevent iOS/iPadOS focus zoom */
  }
}

@media (max-width: 768px) {
  /* Even section rhythm on phone — Desktop spacing unchanged */
  .about { padding-bottom: 64px; }
  .about__spacer { height: 64px; }
  .highlights {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .philosophy {
    padding-top: 0;
    padding-bottom: 0;
  }
  .philosophy__pin {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .leadership {
    padding-bottom: 0;
  }
  .leadership__pin-wrap { padding-bottom: 0; }
  .leadership__layout {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .ecosystem {
    padding-top: 0;
    padding-bottom: 0;
  }
  .ecosystem__pin { padding-bottom: 0; }
  .ecosystem__layout {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .project { padding-block: 64px; }
  .gallery { padding-block: 64px; }
  .contact { padding-block: 64px; }

  .section-head { margin-bottom: 1.25rem; }
  .highlights .section-head {
    margin-bottom: 0.85rem;
  }
  .highlights .section-title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }
  .highlights__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .philosophy__layout {
    gap: 0.75rem;
  }
  .philosophy .gold-line {
    margin-top: 0.65rem;
    width: 64px;
  }
  .philosophy .section-label {
    margin-bottom: 0.75rem;
  }
  .philosophy .section-title--huge {
    font-size: clamp(1.95rem, 8vw, 2.55rem);
  }
  .about__cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .about__copy {
    margin: 0.85rem 0 0.85rem;
  }
  .leadership__track { grid-template-columns: 1fr; }
  .gallery__grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .gallery__item {
    aspect-ratio: 4 / 3;
  }
  .gallery__item-meta {
    opacity: 1;
    transform: none;
  }
  .gallery__item::after { opacity: 0.72; }
  .about__gold { left: -16px; top: 28px; width: 48%; }
  .hero__inner { padding-left: 0; min-height: auto; }
  .hero__text { max-width: 100%; }
  .hero__title { font-size: clamp(2.1rem, 8vw, 3rem); line-height: 0.98; }
  .hero__title .line-inner { white-space: normal; }
  .hero__cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__cta .btn {
    width: auto;
    max-width: none;
  }
  .section-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .section-title--huge { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .project__title { font-size: clamp(2.4rem, 10vw, 4rem); }
  .project__landmark {
    gap: 0.45rem;
    font-size: clamp(1.15rem, 5.2vw, 1.45rem);
    letter-spacing: 0.02em;
  }
  .project__landmark-dot {
    width: 0.7em;
    height: 0.7em;
  }
  /* iOS: fixed bg inside clip can stutter — fall back to absolute cover */
  .project { clip-path: none; }
  .project__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .stat-card {
    max-width: none;
    width: 100%;
    aspect-ratio: auto;
    min-height: 112px;
    padding: 1.05rem 0.4rem 1.3rem;
    border-radius: 1.55rem 0.85rem 1.55rem 0.85rem;
  }
  .stat-card:nth-child(even),
  .stat-card:nth-child(3) {
    border-radius: 0.85rem 1.55rem 0.85rem 1.55rem;
  }
  .stat-card--tags,
  .stat-card:nth-child(4) {
    grid-column: 1 / -1;
    border-radius: 1.45rem;
    min-height: 0;
    padding: 1.45rem 1.15rem 2rem;
  }
  .stat-card__num { font-size: clamp(1.35rem, 5vw, 1.75rem); }
  .stat-card__label { max-width: none; font-size: 0.72rem; line-height: 1.3; }
  .stat-card--tags .stat-card__label { font-size: 1rem; }
  .stat-card--tags .stat-card__tags {
    max-width: none;
    margin-bottom: 0.55rem;
  }
  .stat-card--tags .stat-card__tags span {
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
  }
  .phil-card {
    border-radius: 1.75rem 0.95rem 1.75rem 0.95rem;
    padding: 1.55rem 1.25rem 2.45rem;
  }
  .phil-card:nth-child(even),
  .phil-card:nth-child(3) {
    border-radius: 0.95rem 1.75rem 0.95rem 1.75rem;
  }
  .phil-card--list {
    padding-bottom: 2.85rem;
  }
  .mini-card {
    border-radius: 1.85rem 1rem 1.85rem 1rem;
    min-height: 6.5rem;
    padding: 1.35rem 1.15rem 1.55rem;
  }
  .mini-card:nth-child(even),
  .mini-card:nth-child(3),
  .mini-card:nth-child(4) {
    border-radius: 1rem 1.85rem 1rem 1.85rem;
  }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  /* Stats: 2-up + full-width third; sectors stay full-bleed */
  .highlights__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .stat-card {
    min-height: 104px;
    padding: 1.1rem 0.75rem 1.35rem;
  }
  .stat-card:nth-child(3) {
    grid-column: 1 / -1;
  }
  .stat-card__num { font-size: clamp(1.5rem, 7vw, 1.85rem); }
  .stat-card__label { font-size: 0.8rem; }
  .stat-card--tags,
  .stat-card:nth-child(4) {
    grid-column: 1 / -1;
    padding: 1.35rem 1.1rem 1.85rem;
  }
}

/* ========== News page (demo) ========== */
.page-news .nav { pointer-events: none; }
.page-news .nav__pill { pointer-events: auto; }
.news-hero {
  padding: calc(var(--nav-offset) + 3rem) 0 3rem;
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(166, 137, 102, 0.12), transparent 55%),
    var(--bg-cream);
}
.news-hero__title {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  margin-bottom: 1rem;
}
.news-hero__sub {
  max-width: 40rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.news-hero__note {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

.news-featured { padding-bottom: 2rem; }
.news-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  background: linear-gradient(165deg, #fffdf9, var(--white));
  border: 1px solid rgba(166, 137, 102, 0.14);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.news-feature__media {
  min-height: 320px;
  height: 100%;
  overflow: hidden;
}
.news-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.news-feature__body { padding: clamp(1.5rem, 3vw, 2.5rem); }
.news-feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: var(--type-display-weight);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.85rem 0 1rem;
}
.news-feature__excerpt {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.news-meta__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--accent-gold-light);
  color: var(--accent-bronze);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.news-meta time {
  font-size: 0.82rem;
  color: var(--text-blue-grey);
}

.news-list { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--bg-cream-dark); }
.news-list__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.news-list__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: var(--type-display-weight);
  letter-spacing: -0.03em;
}
.news-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.news-filters__btn {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(166, 137, 102, 0.28);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.news-filters__btn:hover,
.news-filters__btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.news-card {
  background: var(--white);
  border: 1px solid rgba(166, 137, 102, 0.12);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-cine), box-shadow 0.4s;
}
.news-card.is-hidden { display: none; }
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.news-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.news-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-cream-dark);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-cine);
}
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.3rem 1.5rem;
  flex: 1;
}
.news-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: var(--type-title-weight);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.news-card__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.news-card__more {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-gold);
}

.news-cta {
  padding-block: clamp(4rem, 9vw, 6.5rem);
  background: var(--bg-cream);
  text-align: center;
}
.news-cta__inner { max-width: 40rem; margin-inline: auto; }
.news-cta__inner p {
  color: var(--text-muted);
  margin: 1rem auto 1.75rem;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .news-feature { grid-template-columns: 1fr; }
  .news-feature__media { min-height: 240px; }
  .news-feature__media img { min-height: 240px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-list__head { align-items: flex-start; }
}

/* ========== Article detail page ========== */
.article {
  padding: calc(var(--nav-offset) + 2.5rem) 0 4.5rem;
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(166, 137, 102, 0.1), transparent 55%),
    var(--bg-cream);
}
.article__wrap { max-width: 760px; }
.article__back {
  display: inline-flex;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-gold);
}
.article__back:hover { color: var(--accent-bronze); }
.article__meta { margin-bottom: 1rem; }
.article__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: var(--type-display-weight);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.article__excerpt {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.article__hero {
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9;
  background: var(--bg-cream-dark);
}
.article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article__body p {
  color: var(--text-charcoal);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1.15rem;
}
.article__demo-note {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}
.article__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
