/* Anama Consulting — Home (from Figma "No Edit" / Home, node 578:1473) */
@font-face {
  font-family: "League Spartan";
  src: url("../fonts/league-spartan-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --olive-drab: #6d8f22;
  --olive-1: #4d5937;
  --olive-2: #e4f2cd;
  --olive-3: #e4ffb5;
  --cream: #f5f3da;
  --white: #fff;
  --grad-olive: linear-gradient(90deg, var(--olive-drab), var(--olive-1));
  --grad-cream: linear-gradient(90deg, var(--olive-2), var(--cream));
  --drop: drop-shadow(0 38.519px 12.741px rgba(56,56,56,.06)) drop-shadow(0 20px 6.5px rgba(56,56,56,.05)) drop-shadow(0 8.148px 3.259px rgba(56,56,56,.04)) drop-shadow(0 1.852px 1.574px rgba(56,56,56,.02));
  --font-body: Arial, "Liberation Sans", Helvetica, sans-serif;
  --font-head: "League Spartan", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-padding-top: 104px; scroll-behavior: smooth; }
body { background: #fff; font-family: var(--font-body); color: var(--olive-1); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; }
p, h1, h2, h3 { margin: 0; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
.h1 { font-family: var(--font-head); font-weight: 700; font-size: 70px; line-height: normal; white-space: nowrap; }
.h2 { font-family: var(--font-head); font-weight: 700; font-size: 50px; line-height: normal; }
.sub { font-weight: 700; font-size: 25px; line-height: normal; }
.body { font-size: 16px; line-height: 25px; }
.center { text-align: center; }
.grad-text { background: var(--grad-olive); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cream-text { background: var(--grad-cream); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Glass button ---------- */
.btn-glass {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 145.732px; height: 40.017px; padding: 8px 6px; border-radius: 36.433px;
  background: url("../assets/tex-leaf.jpg") center / cover no-repeat;
  color: #fff; font-weight: 700; font-size: 14px; line-height: normal; white-space: nowrap;
  text-shadow: 0 2.389px 2.389px rgba(0,0,0,.25);
  filter: var(--drop);
  transition: transform .2s ease, filter .2s ease;
}
.btn-glass:hover { transform: translateY(-2px); filter: var(--drop) brightness(1.08); }

/* ---------- Navbar ---------- */
.nav-wrap { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); width: 1200px; z-index: 10; filter: drop-shadow(0 10px 5px rgba(77,89,55,.36)); }
.navbar {
  height: 60px; padding: 10px 50px; border-radius: 96px;
  background: linear-gradient(90deg, rgba(109,143,34,.9), rgba(77,89,55,.9));
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { width: 71px; height: 40px; }
.nav-link { font-weight: 700; font-size: 14px; line-height: normal; color: var(--olive-3); white-space: nowrap; transition: color .2s; }
.nav-link.is-active, .nav-link:hover { color: var(--white); }
.nav-lang { cursor: default; }
.nav-lang { position: relative; width: 65px; height: 20px; color: var(--olive-3); font-weight: 700; font-size: 14px; }
.nav-lang img:first-child { position: absolute; left: 0; top: 0; }
.nav-lang span { position: absolute; left: 24px; top: 2px; line-height: normal; }
.nav-lang-arrow { position: absolute; left: 43px; top: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 800px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: absolute; left: 50%; top: 488px; width: 976px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 9px; }
.hero-title { width: 100%; padding: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.hero-eyebrow { font-weight: 700; font-size: 25px; line-height: normal; color: var(--olive-3); }
.hero .h1 { color: var(--cream); }
.hero-sub { font-size: 16px; line-height: 25px; color: #fff; }

/* ---------- Trusted band ---------- */
.trusted { height: 81px; display: flex; align-items: center; justify-content: center; background: var(--grad-cream); padding: 0 24px; }
.trusted p { font-weight: 700; font-size: 25px; line-height: normal; color: var(--olive-1); text-align: center; }

/* ---------- Main stack ---------- */
.stack { display: flex; flex-direction: column; align-items: center; gap: 119px; padding-top: 106px; }

/* Logos */
.logos { width: 1200px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 57px; }
.logos img { object-fit: contain; }

/* Socioecological */
.socio { width: 1200px; height: 474px; display: flex; align-items: center; justify-content: space-between; }
.socio-text { width: 500px; height: 341px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.socio-text .body { width: 476px; color: var(--olive-1); }
.stats { position: relative; width: 500px; height: 474px; }
.stat {
  position: absolute; width: 220px; height: 161px; padding: 28px 27px 27px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 100px 0 100px 0; background: #fff center / cover no-repeat;
  filter: var(--drop); color: #fff; text-align: center; text-shadow: 0 3px 10px rgba(0,0,0,.25);
  transition: transform .25s ease;
}
.stat:hover { transform: translateY(-4px); }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 70px; line-height: normal; white-space: nowrap; }
.stat-label { width: 138px; font-weight: 700; font-size: 14px; line-height: normal; }

/* Services */
.services { width: 1200px; height: 626px; display: flex; flex-direction: column; align-items: center; gap: 74px; }
.services .h2 { width: 100%; }
.services-row { width: 100%; height: 494px; display: flex; align-items: center; justify-content: space-between; }
.service-card {
  position: relative; width: 370px; height: 481.444px; border-radius: 30px; border: 1px solid #f4f4f4;
  background: var(--grad-olive); box-shadow: 10px 30px 50px rgba(155,157,178,.1); filter: var(--drop);
}
.service-card > img { position: absolute; left: -1px; top: -1px; width: 370px; height: 215px; object-fit: cover; object-position: bottom; border-radius: 30px 30px 0 0; }
.service-body { position: absolute; left: 31px; top: 235.72px; width: 306px; height: 196px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.service-title { width: 306px; font-weight: 700; font-size: 25px; line-height: normal; text-align: center; background: var(--grad-cream); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Approach */
.approach { position: relative; width: 100%; height: 936px; overflow: hidden; }
.approach-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.approach-inner { position: relative; width: 1200px; margin: 150px auto 0; display: flex; flex-direction: column; align-items: flex-end; gap: 50px; }
.approach-heading { width: 370px; }
.approach-list { display: flex; flex-direction: column; gap: 30px; }
.approach-card { width: 370px; height: 160px; padding: 20px; border-radius: 30px; background: var(--grad-cream); filter: var(--drop); }
.approach-card-in { height: 120px; display: flex; flex-direction: column; align-items: center; gap: 19px; text-align: center; }
.approach-card-in.is-between { justify-content: space-between; gap: 0; }
.approach-card-in .sub, .approach-card-in .body { width: 100%; }
.approach-card .body { color: var(--olive-1); }

/* Publications */
.pubs { width: 1200px; display: flex; flex-direction: column; align-items: center; gap: 74px; }
.pubs-row { width: 100%; display: flex; align-items: center; justify-content: center; gap: 45px; }
.pub-card { position: relative; width: 370px; height: 392px; display: flex; flex-direction: column; align-items: center; gap: 22px; filter: var(--drop); }
.pub-card::before { content: ""; position: absolute; inset: 0; border-radius: 30px; border: 1px solid #f4f4f4; background: var(--grad-cream); box-shadow: 10px 30px 50px rgba(155,157,178,.1); }
.pub-card > img { position: relative; width: 370px; height: 215px; object-fit: cover; border-radius: 30px 30px 0 0; flex-shrink: 0; }
.pub-date {
  position: absolute; left: calc(50% - 137px); top: 14px; height: 80px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 10px 14px 13px; border-radius: 30px; border: .5px solid #fff;
  background: rgba(109,143,34,.2); backdrop-filter: blur(4.5px); -webkit-backdrop-filter: blur(4.5px);
  color: #fff; font-weight: 700; line-height: normal; text-align: center; white-space: nowrap;
}
.pub-date .d { font-size: 32px; }
.pub-date .m { font-size: 20px; }
.pub-body { position: relative; width: 296px; height: 127px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.pub-tag { font-weight: 700; font-size: 14px; line-height: normal; color: var(--olive-drab); }
.pub-title { font-weight: 700; font-size: 25px; line-height: normal; color: var(--olive-1); }
.pub-body .body { width: 296px; color: var(--olive-1); }
.pub-link, .pub-more { font-weight: 700; font-size: 14px; line-height: normal; color: var(--olive-drab); text-decoration: underline; text-underline-position: from-font; }
.pub-more { width: 202px; text-align: center; }
.pub-link:hover, .pub-more:hover { color: var(--olive-1); }

/* Contact */
.contact { position: relative; width: 900px; height: 351px; filter: var(--drop); }
.contact-bg {
  position: absolute; inset: 0; border-radius: 30px; overflow: hidden;
  background: url("../assets/contact-bg.jpg") center / cover no-repeat;
  box-shadow: 0 38.519px 25.481px rgba(56,56,56,.06), 0 20px 13px rgba(56,56,56,.05), 0 8.148px 6.519px rgba(56,56,56,.04), 0 1.852px 3.148px rgba(56,56,56,.02);
}
.contact-card {
  position: absolute; top: 9.97%; bottom: 9.97%; left: 54.11%; right: 4.11%;
  padding: 40px; border-radius: 30px; border: .5px solid #fff;
  background: linear-gradient(90deg, rgba(109,143,34,.85), rgba(77,89,55,.85));
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
}
.contact-title { color: #fff; width: 296px; }
.contact-text { color: var(--cream); width: 296px; }

/* ---------- Footer ---------- */
.footer { position: relative; height: 315px; overflow: hidden; }
.footer-bg { position: absolute; left: -3.78%; top: 0; width: 107.49%; height: 100%; max-width: none; }
.footer-inner { position: absolute; left: 50%; top: 145px; transform: translateX(-50%); width: 1200px; display: flex; align-items: center; justify-content: space-between; color: #fff; font-weight: 700; font-size: 14px; line-height: normal; }
.f-brand { width: 191px; height: 118px; display: flex; flex-direction: column; gap: 20px; }
.f-brand img { width: 71px; height: 40px; }
.f-contact { width: 400px; height: 124px; display: flex; flex-direction: column; justify-content: space-between; }
.f-row { display: flex; align-items: flex-start; gap: 16px; }
.f-row img { flex-shrink: 0; }
.f-row span { padding-top: 1px; }
.f-address { gap: 16.5px; }
.f-address span { width: 360px; padding-top: 1.61px; }
.f-actions { width: 296px; display: flex; flex-direction: column; gap: 24px; }
.f-cta {
  position: relative; height: 56px; border-radius: 30px; border: 1px solid var(--olive-2);
  background: linear-gradient(90deg, rgba(109,143,34,.7), rgba(77,89,55,.7));
  display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 29px;
  transition: background .2s;
}
.f-cta:hover { background: linear-gradient(90deg, rgba(109,143,34,.9), rgba(77,89,55,.9)); }
.f-social { display: flex; align-items: center; gap: 17px; }
.f-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-cream); display: flex; align-items: center; justify-content: center; }
.f-circle span { background: var(--grad-olive); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ---------- Services dropdown (navbar) ---------- */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd-toggle { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font-body); }
.nav-dd::after { content: ""; position: absolute; left: -50px; right: -50px; top: 100%; height: 26px; }
.nav-dd-panel {
  position: absolute; left: -50px; top: calc(100% + 22px); width: 262px;
  padding: 10px 50px 17px; display: flex; flex-direction: column; gap: 20px;
  background: linear-gradient(90deg, var(--olive-drab), var(--olive-1));
  border-radius: 0 0 30px 30px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 20;
}
.nav-dd:hover .nav-dd-panel, .nav-dd.is-open .nav-dd-panel {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease;
}
.nav-dd:hover .nav-dd-toggle, .nav-dd.is-open .nav-dd-toggle { color: var(--white); }
.nav-dd-link { font-weight: 700; font-size: 14px; line-height: normal; color: var(--olive-3); white-space: nowrap; transition: color .15s; }
.nav-dd-link:hover, .nav-dd-link.is-current { color: var(--white); }

/* ---------- Service detail pages ---------- */
.svc-hero { position: relative; height: 800px; overflow: hidden; }
.svc-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #6d8f22 0%, rgba(109,143,34,0) 56%); }
.svc-hero-title {
  position: absolute; z-index: 1; left: 50%; top: 101px; transform: translateX(-50%);
  width: 976px; padding: 30px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.svc-eyebrow { font-weight: 700; font-size: 25px; line-height: normal; color: var(--olive-3); text-shadow: 0 3px 10px rgba(0,0,0,.25); }
.svc-title { width: 100%; color: var(--cream); text-shadow: 0 3px 10px rgba(0,0,0,.25); }

.svc-stack { display: flex; flex-direction: column; align-items: center; gap: 119px; padding-top: 105px; }
.svc-detail { width: 1200px; display: flex; gap: 100px; }
.svc-detail--split { height: 420px; align-items: center; }
.svc-detail--top { align-items: stretch; }
.svc-col { width: 500px; flex-shrink: 0; display: flex; flex-direction: column; gap: 25px; }
.svc-detail--split .svc-col { height: 419px; }
.svc-detail--split .svc-col.is-spread { justify-content: space-between; gap: 0; }
.svc-detail--top .svc-col { gap: 35px; }
.svc-divider { width: 1px; margin-right: -1px; flex-shrink: 0; align-self: stretch; background: linear-gradient(180deg, var(--olive-drab), var(--olive-1)); }
.svc-intro { font-weight: 700; font-size: 25px; line-height: normal; }
.svc-item { display: flex; flex-direction: column; gap: 12px; }
.svc-item-title { font-weight: 700; font-size: 25px; line-height: normal; }
.svc-item .body { width: 476px; color: var(--olive-1); }

/* Past Project cards reuse the publication card */
.project-card .pub-body { margin-top: 0; }


/* ---------- About dropdown variant ---------- */
.nav-dd-panel--about { width: 200px; gap: 15px; padding-bottom: 20px; }

/* ---------- About pages: shared hero decoration ---------- */
.about-hero-deco { position: absolute; left: 0; right: 0; top: 0; height: 800px; background: linear-gradient(180deg, #f5f3da 0%, rgba(245,243,218,0) 56%); pointer-events: none; }
.about-hero-leaves { position: absolute; left: 0; right: 0; top: 0; height: 810px; background: url("../assets/about-leaves.webp") center top / 100% 100% no-repeat; pointer-events: none; }

/* Our Vision */
.about-hero--vision { position: relative; height: 800px; overflow: hidden; }
.about-hero--vision > .vision-leaf, .about-hero--vision > .vision-text { position: absolute; left: calc(50% - 600px); }
.vision-leaf { width: 273px; height: 342px; object-fit: cover; border-radius: 0 136.5px 0 136.5px; filter: var(--drop); }
.about-hero--vision > .vision-leaf--1 { margin-left: 626px; top: 202px; }
.about-hero--vision > .vision-leaf--2 { margin-left: 920px; top: 310px; }
.vision-text { top: 318px; width: 500px; display: flex; flex-direction: column; gap: 20px; z-index: 1; }
.vision-text .body { width: 476px; color: var(--olive-1); }
.vision-text .body p + p { margin-top: 25px; }

.about-stack { display: flex; flex-direction: column; align-items: center; gap: 119px; }
.about-stack--vision { padding-top: 105px; }
.mission { width: 1200px; min-height: 419px; display: flex; flex-direction: column; align-items: center; gap: 72px; }
.mission .h2 { width: 100%; }
.mission-row { width: 100%; height: 254px; display: flex; align-items: center; gap: 75px; }
.mission-row .svc-divider { margin-right: -1px; }
.mission-item { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.mission-item .body { color: var(--olive-1); }

/* Company profile card */
.compro { position: relative; width: 900px; height: 441px; filter: var(--drop); }
.compro-bg {
  position: absolute; inset: 0; border-radius: 30px; overflow: hidden;
  background: url("../assets/compro-bg.jpg") center / cover no-repeat;
  box-shadow: 0 38.519px 25.481px rgba(56,56,56,.06), 0 20px 13px rgba(56,56,56,.05), 0 8.148px 6.519px rgba(56,56,56,.04), 0 1.852px 3.148px rgba(56,56,56,.02);
}
.compro-card {
  position: absolute; left: 487px; top: 35px; width: 376px; height: 373.02px;
  padding: 40px; border-radius: 30px; border: .5px solid #fff;
  background: linear-gradient(90deg, rgba(109,143,34,.85), rgba(77,89,55,.85));
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.compro-title { color: #fff; width: 296px; }
.compro-text { color: var(--cream); width: 296px; }

/* Our People */
.people-page { position: relative; overflow: hidden; }
.people-block { position: relative; display: flex; flex-direction: column; align-items: center; gap: 72px; margin: 0 auto; }
.people-block .h2 { width: 100%; }
.people-block--key { width: 1200px; padding-top: 169px; }
.people-block--experts { width: 1000px; margin-top: 102px; }
.people-row { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; }
.people-row.is-partial { justify-content: center; }
.person { width: 250px; display: flex; flex-direction: column; }
.person-photo { position: relative; width: 250px; height: 250px; }
.person--expert .person-photo { height: 251px; }
.person-arch { position: absolute; left: 0; background: var(--grad-cream); }
.person--key .person-arch { top: 56px; width: 138px; height: 194px; border-radius: 136px 136px 0 0; }
.person--expert .person-arch { top: 51px; width: 144px; height: 200px; border-radius: 136px 0 0 0; }
.person-photo img { position: absolute; left: 0; top: 0; width: 250px; height: 250px; object-fit: cover; }
.person-name { margin-top: 12px; font-weight: 700; font-size: 25px; line-height: normal; }
.person-role { margin-top: 12px; color: var(--olive-1); }
.about-stack--people { position: relative; margin-top: 119px; }

/* ---------- Modals (Compro pop-up) ---------- */
body.has-modal { overflow: hidden; }
.modal {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: linear-gradient(90deg, rgba(109,143,34,.5), rgba(77,89,55,.5));
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  opacity: 0; transition: opacity .2s ease;
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal-card {
  width: 733px; max-width: 100%; max-height: calc(100vh - 48px); overflow-y: auto;
  padding: 40px; border-radius: 30px; background: var(--grad-cream);
  box-shadow: 0 38.519px 25.481px rgba(56,56,56,.06), 0 20px 13px rgba(56,56,56,.05), 0 8.148px 6.519px rgba(56,56,56,.04), 0 1.852px 3.148px rgba(56,56,56,.02);
  display: flex; flex-direction: column; align-items: center; gap: 39px;
  transform: translateY(8px); transition: transform .2s ease;
}
.modal.is-open .modal-card { transform: none; }
.modal-title { width: 100%; font-weight: 700; font-size: 25px; line-height: normal; text-align: center; }
.modal-form { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 25px 20px; position: relative; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field span { font-weight: 700; font-size: 14px; line-height: normal; color: var(--olive-1); }
.field input {
  height: 50px; padding: 0 12px; border-radius: 30px; font: 16px/1 var(--font-body); color: var(--olive-1);
  border: 1px solid transparent; outline: none;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--olive-drab), var(--olive-1)) border-box;
}
.field input:focus { box-shadow: 0 0 0 3px rgba(109,143,34,.25); }
.field.is-invalid input { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #c0392b, #c0392b) border-box; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { grid-column: 1 / -1; margin-top: -8px; font-size: 14px; color: #b03a2e; text-align: center; }
.modal-submit { grid-column: 1 / -1; justify-self: center; margin-top: 14px; border: 0; cursor: pointer; font-family: var(--font-body); }
.modal-submit:disabled { opacity: .7; cursor: wait; }
.modal-card--thanks { gap: 0; }


/* ---------- Contact page ---------- */
.contact-page { position: relative; overflow: hidden; }
.contact-page-inner { position: relative; width: 1200px; margin: 0 auto; padding-top: 169px; display: flex; flex-direction: column; gap: 50px; }
.contact-page-inner > .h2 { width: 100%; }
.contact-page-row { display: flex; justify-content: space-between; align-items: flex-start; }
.contact-info { width: 400px; display: flex; flex-direction: column; gap: 20px; }
.contact-info-company { font-size: 16px; line-height: 25px; }
.contact-info-company strong { font-size: 25px; line-height: 29px; }
.contact-info-heading { font-weight: 700; font-size: 25px; line-height: normal; }
.ci-row { display: flex; align-items: flex-start; gap: 16px; font-size: 16px; line-height: 25px; }
.ci-row img { flex-shrink: 0; }
.ci-row span { padding-top: 1px; }
.ci-row--address { gap: 16.5px; }
.ci-row--address span { width: 360px; padding-top: 1.61px; }
a.ci-row:hover span { text-decoration: underline; }
.ci-social { display: flex; align-items: center; gap: 17px; }
.ci-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-cream); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.contact-page .modal-card { max-height: none; overflow: visible; transform: none; }
.field textarea {
  height: 152px; padding: 12px; border-radius: 30px; resize: none; font: 16px/25px var(--font-body); color: var(--olive-1);
  border: 1px solid transparent; outline: none;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--olive-drab), var(--olive-1)) border-box;
}
.field textarea:focus { box-shadow: 0 0 0 3px rgba(109,143,34,.25); }
.field.is-invalid textarea { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #c0392b, #c0392b) border-box; }
.field--full { grid-column: 1 / -1; }
.contact-card .btn-glass { border: 0; cursor: pointer; font-family: var(--font-body); }

/* ---------- List pages (Our Projects / Publications / Career) ---------- */
.list-page { position: relative; overflow: hidden; }
.list-page-inner { position: relative; width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.list-page-inner > .h2 { width: 100%; }
.list-grid { display: grid; grid-template-columns: repeat(3, 370px); justify-content: center; gap: 45px; }
.list-page--projects .list-page-inner { padding: 176px 0 69px; }
.list-page--projects .list-grid { margin: 74px 0 45px; }
.list-page--pubs .list-page-inner { padding: 185px 0 24px; }
.list-page--pubs .list-grid { margin: 74px 0 30px; row-gap: 74px; }
.list-page--pubs .list-empty { margin: 74px 0 30px; min-height: 392px; }
.list-page--career .list-page-inner { padding: 185px 0 73px; }
.list-page--career .list-grid { margin-top: 74px; }

.pager { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; line-height: 16px; }
.pager-nums a, .pager-nums span { color: inherit; }
.pager-nums a:hover { text-decoration: underline; }
.pager-nums [aria-current] { text-decoration: underline; text-underline-position: from-font; }
.pager-next { display: inline-flex; }
.pager-next.is-disabled { opacity: .4; }

/* Publications: search + filter pills */
.pub-tools { width: 100%; margin-top: 74px; display: flex; gap: 20px; }
.pill {
  position: relative; z-index: 2; width: 296px; height: 56px; padding: 0 20px 0 30px; border-radius: 30px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid transparent; background: var(--grad-olive) padding-box, var(--grad-cream) border-box;
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  color: #fff; font: 700 14px/16px var(--font-body); cursor: pointer;
}
.pill--search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: #fff; font: inherit; }
.pill--search input::placeholder { color: #fff; opacity: 1; }
.pill--search input::-webkit-search-cancel-button { filter: invert(1); }
.pill--search:focus-within { box-shadow: 0 0 0 3px rgba(109,143,34,.25); }
.pill-icon { display: inline-flex; flex-shrink: 0; background: none; border: 0; padding: 0; cursor: pointer; }
.pill--filter { padding-right: 23px; }
.pill-dd { position: relative; }
.pill-dd-panel {
  position: absolute; z-index: 1; top: 30px; left: 22px; width: 245px; padding: 36px 10px 20px;
  border-radius: 0 0 30px 30px; background: var(--grad-olive); opacity: .9;
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.pill-dd-panel[hidden] { display: none; }
.pill-dd.is-open .pill--filter svg { transform: rotate(180deg); }
.pill-dd-all { opacity: .8; }

/* ---------- Detail pages (Project / Article / News) ---------- */
.detail-meta { display: flex; align-items: center; justify-content: center; gap: 17px; }
.detail-date { font-size: 16px; line-height: 25px; text-shadow: none; }
.detail-share { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-cream); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.detail-share:hover { filter: brightness(1.05); }
.detail-stack { display: flex; flex-direction: column; align-items: center; gap: 50px; padding: 105px 0 4px; }
.detail-text { width: 1200px; display: flex; flex-direction: column; gap: 12px; }
.detail-sub { font-weight: 700; font-size: 25px; line-height: normal; }
.detail-text .body, .doc-info .body { width: 100%; text-align: justify; color: var(--olive-1); }
.detail-split { width: 1200px; display: flex; align-items: flex-start; gap: 35px; }
.detail-square { width: 578px; height: 578px; flex-shrink: 0; background: #d9d9d9; overflow: hidden; }
.detail-square img { width: 100%; height: 100%; object-fit: cover; }
.detail-text--col { width: auto; flex: 1; min-width: 0; }
.detail-text .body + .body { margin-top: 12px; }
.detail-split.is-reversed { flex-direction: row-reverse; }
.detail-cols { width: 1200px; display: flex; align-items: flex-start; gap: 35px; }
.detail-image { width: 1200px; margin: 0; }
.detail-image img { display: block; width: 100%; height: auto; }
.detail-image figcaption { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--olive-1); text-align: center; }

/* ---------- Document pages (Resources detail / Career apply) ---------- */
.doc-page { position: relative; overflow: hidden; }
.doc-page-inner { position: relative; width: 1200px; margin: 0 auto; padding-top: 169px; display: flex; flex-direction: column; gap: 50px; }
.doc-page-inner > .h2 { width: 100%; }
.doc-page-row { min-height: 794px; display: flex; justify-content: space-between; align-items: flex-start; }
.doc-info { width: 632px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.doc-info .detail-sub { width: 100%; }
.doc-info .body { min-height: 200px; }
.doc-blocks { padding: 0 0 80px; }
.doc-cover { width: 331px; height: auto; border: 1px solid #000; }
.doc-page .doc-form-card { width: 504px; max-height: none; overflow: visible; transform: none; }
.field--file { position: relative; cursor: pointer; }
.field--file input[type="file"] { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; padding: 0; opacity: 0; }
.field .file-box {
  height: 50px; padding: 0 12px; border-radius: 30px; display: flex; align-items: center;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-weight: 400; font-size: 14px; line-height: normal; color: var(--olive-drab);
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, var(--olive-drab), var(--olive-1)) border-box;
}
.field--file input:focus-visible + .file-box { box-shadow: 0 0 0 3px rgba(109,143,34,.25); }
.field--file.is-invalid .file-box { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #c0392b, #c0392b) border-box; }

/* ---------- 404 page ---------- */
.error-page-inner { min-height: 640px; padding: 200px 0 120px; gap: 0; }
.error-code { font-family: var(--font-head); font-weight: 700; font-size: 140px; line-height: 1; }
.error-page .h2 { margin-top: 12px; }
.error-text { margin-top: 20px; color: var(--olive-1); text-align: center; }
.error-actions { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.error-actions .pub-more { width: auto; }
@media (max-width: 768px) { .error-page-inner { padding: 150px 0 80px; min-height: 0; } .error-code { font-size: 96px; } }

/* ---------- Hamburger (hidden on desktop) ---------- */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--olive-3); position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.navbar.is-open .nav-toggle span { background: transparent; }
.navbar.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.navbar.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ======================================================================
   RESPONSIVE
   Desktop (>=1241px) follows the Figma frame 1:1.
   ====================================================================== */

/* ---- Laptop / tablet landscape: 1025–1240 ---- */
@media (max-width: 1240px) {
  .nav-wrap, .logos, .socio, .services, .pubs, .approach-inner, .footer-inner { width: calc(100% - 48px); }
  .navbar { padding: 10px 32px; }
  .services-row, .pubs-row { gap: 24px; }
  .service-card, .pub-card { flex: 1 1 0; min-width: 0; width: auto; }
  .service-card > img { width: calc(100% + 2px); }
  .service-body { left: 24px; right: 24px; width: auto; }
  .service-title { width: 100%; font-size: 22px; }
  .pub-card > img { width: 100%; }
  .pub-body { width: auto; align-self: stretch; margin: 0 28px; }
  .pub-body .body { width: 100%; }
  .pub-date { left: 15px; transform: none; }
  .socio-text { width: 46%; }
  .socio-text .body { width: 100%; }
}

/* ---- Tablet: 769–1024 ---- */
@media (max-width: 1024px) {
  .nav-link, .nav-lang { display: none; }
  .nav-toggle { display: inline-flex; order: 1; margin-left: auto; }
  .nav-link, .nav-lang { order: 2; }
  .navbar { flex-wrap: wrap; height: auto; min-height: 60px; padding: 10px 14px 10px 28px; }
  .navbar.is-open { border-radius: 30px; padding-bottom: 18px; background: linear-gradient(90deg, rgba(109,143,34,.97), rgba(77,89,55,.97)); }
  .navbar.is-open .nav-link { display: block; width: 100%; padding: 13px 4px; border-top: 1px solid rgba(228,255,181,.18); font-size: 15px; }
  .navbar.is-open .nav-link:first-of-type { margin-top: 8px; }
  .navbar.is-open .nav-lang { display: block; margin: 14px 4px 0; }

  .hero { height: 720px; }
  .hero-content { top: auto; bottom: 64px; width: calc(100% - 48px); }
  .h1 { white-space: normal; font-size: 60px; }
  .h2 { font-size: 44px; }
  .trusted { height: auto; padding: 22px 24px; }
  .trusted p { font-size: 20px; }

  .stack { gap: 96px; padding-top: 80px; }
  .logos img { zoom: .8; }
  .logos { gap: 16px 40px; }

  .socio { flex-direction: column; height: auto; gap: 56px; }
  .socio-text { width: 100%; max-width: 640px; height: auto; gap: 28px; align-items: center; text-align: center; }
  .socio-text .h2 { min-width: 0; }
  .stats { margin: 0 auto; }

  .services { height: auto; gap: 48px; }
  .services-row { height: auto; flex-wrap: wrap; justify-content: center; gap: 28px; }
  .service-card { flex: 0 1 calc(50% - 14px); max-width: 370px; }
  .service-title { font-size: 23px; }

  .pubs-row { flex-wrap: wrap; gap: 28px; }
  .pub-card { flex: 0 1 calc(50% - 14px); max-width: 370px; }

  .approach { height: auto; display: flex; flex-direction: column; }
  .approach-bg { position: relative; inset: auto; height: 520px; object-position: 20% 100%; }
  .approach-inner { margin: 56px auto 0; align-items: center; padding-bottom: 72px; }
  .approach-heading { width: auto; background: var(--grad-olive); -webkit-background-clip: text; background-clip: text; }
  .approach-heading, .approach-list { position: relative; }
  .approach-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
  .approach-card { width: auto; height: auto; min-height: 160px; }
  .approach-card-in, .approach-card-in.is-between { height: auto; gap: 14px; justify-content: flex-start; }
  .approach-inner .approach-heading { order: 0; }

  .contact { width: calc(100% - 48px); max-width: 900px; }
  .contact-card { left: 46%; }
  .contact-title, .contact-text { width: auto; }

  .footer { height: auto; padding: 150px 24px 48px; }
  .footer::before { content: ""; position: absolute; left: 0; right: 0; top: max(95.2px, 9.517vw); bottom: 0; background: url("../assets/footer-tile.jpg") 0 0 / max(100%, 1000px) auto repeat-y; }
  .footer-bg { width: max(100%, 1000px); height: auto; left: 0; }
  .footer-inner { z-index: 1; }
  .footer-inner { position: relative; left: auto; top: auto; transform: none; width: 100%; max-width: 900px; margin: 0 auto; flex-wrap: wrap; align-items: flex-start; gap: 36px 40px; }
  .f-contact { flex: 1 1 360px; width: auto; height: auto; gap: 12px; }
  .f-address span { width: auto; }
}

/* ---- Mobile: <=768 ---- */
@media (max-width: 768px) {
  .nav-wrap { top: 16px; width: calc(100% - 32px); }
  .hero { height: 100vh; height: 100svh; min-height: 600px; max-height: 820px; }
  .hero-bg { object-position: 50% 50%; }
  .hero-content { bottom: 48px; width: calc(100% - 32px); }
  .hero-title { padding: 0 0 16px; }
  .hero-eyebrow { font-size: 18px; }
  .h1 { font-size: 44px; line-height: 1.05; }
  .h2 { font-size: 36px; }
  .trusted p { font-size: 17px; }

  .stack { gap: 80px; padding-top: 64px; }
  .logos, .socio, .services, .pubs, .approach-inner { width: calc(100% - 32px); }
  .logos { gap: 14px 28px; }
  .logos img { zoom: .6; }

  .socio-text { align-items: flex-start; text-align: left; }
  .stats { zoom: .82; }

  .services-row, .pubs-row { flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 28px; }
  .service-card, .pub-card { flex: none; width: 100%; max-width: 400px; }
  .service-card > img, .pub-card > img { height: auto; aspect-ratio: 370 / 215; }
  .service-card { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .service-card > img { position: relative; left: 0; top: 0; width: 100%; }
  .service-body { position: relative; left: auto; top: auto; right: auto; height: auto; gap: 28px; padding: 22px 24px 32px; }
  .pub-card { height: auto; padding-bottom: 28px; }
  .pub-body { height: auto; gap: 8px; }
  .pub-body .body { margin-bottom: 4px; }

  .approach-bg { height: 360px; object-position: 15% 100%; }
  .approach-inner { margin-top: 44px; padding-bottom: 64px; gap: 32px; }
  .approach-list { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .contact { width: calc(100% - 32px); height: auto; filter: none; }
  .contact-bg { background-position: 30% center; }
  .contact-card { position: relative; inset: auto; margin: 200px 16px 16px; padding: 28px 24px; gap: 18px; }
  .h2.contact-title { font-size: 40px; }

  .footer { padding: 130px 20px 40px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .f-brand { height: auto; }
  .f-contact, .f-actions { width: 100%; flex: none; }
  .f-actions { max-width: 360px; }
}

/* ---- Small phones: <=420 ---- */
@media (max-width: 420px) {
  .h1 { font-size: 38px; }
  .h2 { font-size: 32px; }
  .hero-eyebrow { font-size: 16px; }
  .trusted p { font-size: 15px; }
  .logos img { zoom: .5; }
  .logos { gap: 12px 22px; }
  .service-title { font-size: 21px; }
  .h2.contact-title { font-size: 34px; }
  .contact-card { margin-top: 160px; }
}

/* ---- Stats as a readable 2x2 grid on phones ---- */
@media (max-width: 600px) {
  .stats { zoom: 1; width: 100%; max-width: 420px; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 28px; }
  .stat { position: relative; left: auto !important; top: auto !important; width: auto; height: auto; aspect-ratio: 220 / 161; padding: 10px 12px; border-radius: 64px 0 64px 0; }
  .stat:nth-child(1) { order: 4; } .stat:nth-child(2) { order: 1; } .stat:nth-child(3) { order: 2; } .stat:nth-child(4) { order: 3; }
  .stat:nth-child(3), .stat:nth-child(1) { transform: translateY(28px); }
  .stat:hover { transform: none; }
  .stat:nth-child(3):hover, .stat:nth-child(1):hover { transform: translateY(28px); }
  .stat-num { font-size: clamp(36px, 12vw, 52px); }
  .stat-label { width: auto; max-width: 130px; font-size: 12px; }
}

/* ---- Services: dropdown inside the mobile menu ---- */
@media (max-width: 1024px) {
  .nav-dd { display: none; order: 2; }
  .navbar.is-open .nav-dd { display: block; width: 100%; border-top: 1px solid rgba(228,255,181,.18); }
  .navbar.is-open .nav-dd-toggle { display: block; width: 100%; padding: 13px 4px; text-align: left; font-size: 15px; }
  .nav-dd::after { display: none; }
  .navbar.is-open .nav-dd-panel { position: static; width: auto; opacity: 1; visibility: visible; transform: none; background: none; border-radius: 0; padding: 0 0 10px 16px; gap: 0; }
  .navbar.is-open .nav-dd-link { display: block; padding: 9px 4px; font-size: 14px; }

  .svc-hero { height: 640px; }
  .svc-hero-title { width: calc(100% - 48px); top: 96px; padding: 24px 0; }
  .svc-stack { gap: 88px; padding-top: 72px; }
  .svc-detail, .svc-detail--split, .svc-detail--top { width: calc(100% - 48px); height: auto !important; gap: 40px; align-items: stretch; }
  .svc-col, .svc-detail--split .svc-col { width: auto; flex: 1 1 0; height: auto; }
  .svc-detail--split .svc-col.is-spread { justify-content: flex-start; gap: 28px; }
  .svc-item .body { width: auto; }
}
@media (max-width: 768px) {
  .svc-hero { height: 560px; }
  .svc-hero-title { width: calc(100% - 32px); top: 90px; }
  .svc-eyebrow { font-size: 16px; }
  .svc-title { font-size: 34px; }
  .svc-title br { display: none; }
  .svc-detail, .svc-detail--split { flex-direction: column; width: calc(100% - 32px); gap: 28px; }
  .svc-divider { width: 100%; height: 1px; margin-right: 0; align-self: auto; background: linear-gradient(90deg, var(--olive-drab), var(--olive-1)); }
  .svc-intro, .svc-item-title { font-size: 21px; }
}

/* Sticky navbar: keep the open mobile menu scrollable inside the viewport */
@media (max-width: 1024px) {
  .navbar.is-open { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
}

/* ---- About pages: tablet/mobile (basic, to be refined) ---- */
@media (max-width: 1240px) {
  .mission, .people-block--key { width: calc(100% - 48px); }
  .people-block--experts { width: min(1000px, calc(100% - 48px)); }
  .about-hero--vision > .vision-leaf, .about-hero--vision > .vision-text { left: 24px; }
  .about-hero--vision > .vision-leaf--1 { margin-left: auto; left: auto; right: 320px; }
  .about-hero--vision > .vision-leaf--2 { margin-left: auto; left: auto; right: 24px; }
}
@media (max-width: 1024px) {
  .about-hero--vision { height: auto; padding: 140px 24px 48px; display: flex; flex-direction: column; gap: 32px; }
  .about-hero--vision > .vision-text, .about-hero--vision > .vision-leaf { position: relative; left: auto; right: auto; top: auto; margin: 0; }
  .about-hero--vision > .vision-leaf--2 { align-self: flex-end; margin-top: -120px; }
  .vision-text, .vision-text .body { width: 100%; }
  .mission-row { height: auto; flex-wrap: wrap; gap: 32px; }
  .mission-row .svc-divider { display: none; }
  .mission-item { flex: 1 1 260px; width: auto; }
  .people-row { flex-wrap: wrap; justify-content: center; gap: 40px 32px; }
  .people-block--key { padding-top: 130px; }
  .compro { width: calc(100% - 48px); max-width: 900px; }
  .compro-card { left: auto; right: 24px; }
}
@media (max-width: 768px) {
  .compro { height: auto; filter: none; }
  .compro-card { position: relative; inset: auto; width: auto; height: auto; margin: 200px 16px 16px; padding: 28px 24px; }
  .compro-title, .compro-text { width: auto; }
  .h2.compro-title { font-size: 36px; }
  .vision-leaf { width: 200px; height: 250px; }
  .modal-card { padding: 28px 20px; gap: 24px; }
  .modal-form { grid-template-columns: 1fr; gap: 16px; }
  .modal-title { font-size: 21px; }
}

/* ---- Contact page: tablet/mobile (basic) ---- */
@media (max-width: 1240px) {
  .contact-page-inner { width: calc(100% - 48px); }
  .contact-page-row { gap: 32px; }
  .contact-page .modal-card { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 1024px) {
  .contact-page-inner { padding-top: 130px; }
  .contact-page-row { flex-direction: column; }
  .contact-info, .ci-row--address span { width: auto; }
  .contact-page .modal-card { width: 100%; }
}
@media (max-width: 768px) {
  .contact-page-inner { width: calc(100% - 32px); }
  .contact-info-heading, .contact-info-company strong { font-size: 21px; }
}

/* ---------- List / detail / document pages: interim responsive (final mobile per guide) ---------- */
@media (max-width: 1279px) {
  .list-page-inner, .doc-page-inner, .detail-text, .detail-split { width: calc(100% - 48px); }
  .list-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 370px)); }
  .detail-square { width: 45%; height: auto; aspect-ratio: 1; }
  .doc-page-row { gap: 32px; min-height: 0; padding-bottom: 64px; }
  .doc-info { width: auto; flex: 1; }
}
@media (max-width: 767px) {
  .list-grid { grid-template-columns: minmax(0, 400px); }
  .list-grid .pub-card { width: 100%; }
  .pub-tools { flex-direction: column; align-items: center; }
  .detail-split, .doc-page-row { flex-direction: column; align-items: center; }
  .detail-square { width: 100%; }
  .doc-page .doc-form-card { width: 100%; }
  .doc-cover { width: min(331px, 100%); }
}

/* ===================== Mobile revisions (round 1, user guide 7 Nov) ===================== */

/* Side leaves: keep their real proportions (never stretch). Left half pinned left, right half pinned right. */
@media (max-width: 1240px) {
  .about-hero-leaves {
    background:
      url("../assets/about-leaves.webp") left top / auto 100% no-repeat,
      url("../assets/about-leaves.webp") right top / auto 100% no-repeat;
  }
}
@media (max-width: 768px) {
  .about-hero-leaves { height: 560px; }
}

/* Mobile menu: one divider per item, and breathing room under the logo */
@media (max-width: 1024px) {
  .navbar.is-open .nav-dd-toggle { border-top: 0; }
  .navbar.is-open .nav-logo + .nav-link { margin-top: 14px; }
}

@media (max-width: 768px) {
  /* Home: paragraph + "Our Services" centred */
  .socio-text .body { text-align: center; }
  .socio-text .btn-glass { align-self: center; }

  /* Our Vision: photos closer together, less empty space */
  .about-hero--vision { padding-top: 120px; gap: 28px; }
  .about-hero--vision > .vision-leaf--2 { margin-top: -178px; }
}
@media (max-width: 420px) {
  .vision-leaf { width: 160px; height: 200px; border-radius: 0 80px 0 80px; }
  .about-hero--vision > .vision-leaf--2 { margin-top: -148px; }
}

/* Our People: two photos per row on phones */
@media (max-width: 600px) {
  .people-block { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 36px 16px; width: calc(100% - 32px) !important; }
  .people-block > .h2 { grid-column: 1 / -1; margin-bottom: 4px; }
  .people-row { display: contents; }
  .people-row.is-partial .person:only-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
  .person { width: auto; min-width: 0; }
  .person-photo, .person--expert .person-photo { width: 100%; height: auto; aspect-ratio: 1; }
  .person-photo img { width: 100%; height: 100%; }
  .person--key .person-arch { top: 22.4%; width: 55.2%; height: 77.6%; }
  .person--expert .person-arch { top: 20.4%; width: 57.6%; height: 80%; }
  .person-name { margin-top: 10px; font-size: 18px; }
  .person-role { margin-top: 6px; font-size: 14px; line-height: 20px; }
  .person-role br { display: none; }
  .people-block--key { padding-top: 120px; }
}

/* ===================== Revisions round 2 (7 Nov) ===================== */
/* Navbar sits closer to the top edge */
.nav-wrap { top: 12px; }
@media (max-width: 768px) { .nav-wrap { top: 10px; } }

/* Card titles are links too */
.pub-title a, .service-title a { color: inherit; -webkit-text-fill-color: inherit; }
.pub-title a:hover { text-decoration: underline; text-underline-position: from-font; }
.service-title a:hover { filter: brightness(1.08); }

@media (max-width: 768px) {
  /* Home: title centred too */
  .socio-text .h2 { align-self: stretch; text-align: center; }

  /* Smaller side leaves so they don't run into text */
  .about-hero-leaves { height: 380px; }

  /* Services pages: no divider lines on mobile */
  .svc-divider { display: none; }

  /* Home: Our Approach photo moves below the approach cards */
  .approach-bg { order: 2; }
  .approach-inner { order: 1; margin-top: 0; padding-bottom: 40px; }
}

/* Navbar: drop the wide soft shadow that looked like a blur band over scrolled content */
.nav-wrap { filter: none; }
.navbar { box-shadow: 0 2px 6px rgba(56,56,56,.12); }

/* Blur strip behind the navbar while scrolled (desktop + mobile) */
.nav-blur {
  position: fixed; left: 0; right: 0; top: 0; z-index: 9; height: 104px; pointer-events: none;
  background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  opacity: 0; transition: opacity .25s ease;
}
body.is-scrolled .nav-blur { opacity: 1; }
body.has-modal .nav-blur { opacity: 0; }
@media (max-width: 768px) { .nav-blur { height: 96px; } }

/* Detail page blocks: tablet/phone */
@media (max-width: 1279px) { .detail-cols, .detail-image { width: calc(100% - 48px); } }
@media (max-width: 767px) {
  .detail-cols, .detail-split.is-reversed { flex-direction: column; align-items: stretch; }
  .detail-cols, .detail-image { width: calc(100% - 32px); }
}
