/* =========================================================
   PG Shelters — global styles
   ========================================================= */
:root {
  --green-950: #0d2619;
  --green-900: #12321f;
  --green-800: #1d4a2c;
  --green-700: #275c37;
  --olive: #6f9140;
  --olive-soft: #e6eed6;
  --cream: #f7f4ec;
  --cream-2: #f0efe4;
  --white: #ffffff;
  --red: #c1272d;
  --red-dark: #a31f25;
  --ink: #1f2420;
  --text: #3c423d;
  --muted: #6b716c;
  --line: #e4e2d8;

  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-script: "Caveat", cursive;

  --radius: 8px;
  --shadow-sm: 0 2px 10px rgba(18, 50, 31, .06);
  --shadow-md: 0 14px 34px rgba(18, 50, 31, .12);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  font: 700 14px/1 var(--font-body);
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: 6px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(193, 39, 45, .25); }
.btn-red:hover { background: var(--red-dark); }
.btn-green { background: var(--green-800); color: #fff; box-shadow: 0 8px 20px rgba(29, 74, 44, .25); }
.btn-green:hover { background: var(--green-700); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-outline .play {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive); transition: background .25s;
}
.btn-outline .play svg { width: 14px; fill: #fff; }
.btn-outline:hover .play { background: #fff; }
.btn-outline:hover .play svg { fill: var(--green-800); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(18, 50, 31, .08); border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 72px; width: auto; }
.brand-mark { width: 46px; height: 46px; fill: none; stroke: var(--green-800); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.brand-mark path:last-child { stroke: var(--olive); stroke-width: 1.8; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 800 26px/1 var(--font-head); color: var(--green-800); letter-spacing: -.01em; }
.brand-tag { margin-top: 5px; font: 600 10px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--green-800); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 38px; }
.main-nav a:not(.btn) {
  position: relative; display: block; padding: 8px 0;
  font-weight: 500; font-size: 15px; color: var(--ink);
  transition: color .2s;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--olive), var(--green-800), var(--olive));
  transform: scaleX(0); transform-origin: center;
  transition: transform .4s var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--green-800); }
.main-nav a.active { font-weight: 600; }
.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn):focus-visible::after { transform: scaleX(1); }
/* active line draws itself in once on load, then stays still */
.main-nav a.active::after { transform: scaleX(1); animation: navGrow .7s .2s var(--ease) both; }
@keyframes navGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.nav-cta-mobile { display: none; }
.header-cta { margin-left: 32px; height: 46px; padding: 0 22px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--green-800); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f6f3ea 0%, #f3f0e6 100%);
  min-height: 560px;
}
.hero-media {
  position: absolute; inset: 0 0 0 auto; width: 62%;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  animation: heroIn 1.2s var(--ease) both;
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: scale(1); } }

.hero-script {
  position: absolute; top: 36px; right: 48px;
  font: 700 30px/1.05 var(--font-script); color: var(--green-900);
  text-align: right; transform: rotate(-8deg);
  text-shadow: 0 1px 12px rgba(255, 255, 255, .85);
}
.hero-script .swoosh { width: 120px; margin: 4px 0 0 auto; fill: none; stroke: var(--green-800); stroke-width: 3; stroke-linecap: round; }

.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 560px; padding: 76px 0 56px; }

.hero-kicker {
  font: 700 14px/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase;
  color: var(--green-800);
}
.hero-kicker i { font-style: normal; margin: 0 10px; color: var(--olive); }

.hero-title {
  margin-top: 26px;
  font-size: clamp(40px, 5vw, 68px); font-weight: 900;
  letter-spacing: -.02em; line-height: .98; text-transform: uppercase;
  color: var(--green-900);
}
.hero-title span { color: var(--olive); }

.hero-lead { margin-top: 22px; max-width: 470px; font-size: 16.5px; color: var(--text); }

.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; }

.hero-stats { margin-top: 44px; display: flex; }
.hero-stats li { padding: 0 28px; border-left: 1px solid #cfcdbf; }
.hero-stats li:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { display: block; font: 800 30px/1 var(--font-head); color: var(--green-900); }
.hero-stats span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* =========================================================
   SECTION HEAD (shared)
   ========================================================= */
.section-head {
  display: grid; grid-template-columns: 1fr minmax(0, 360px) auto;
  align-items: center; gap: 24px 48px;
  margin-bottom: 40px;
}
.section-title-wrap { padding-left: 18px; border-left: 3px solid var(--green-800); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--olive);
}
.eyebrow::after { content: ""; width: 28px; height: 1.5px; background: var(--green-800); }
.section-title { margin-top: 10px; font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -.01em; color: var(--green-900); }
.section-intro { font-size: 14.5px; color: var(--muted); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-800); white-space: nowrap;
  padding-bottom: 6px; border-bottom: 1.5px solid var(--green-800);
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* =========================================================
   QUICK LINKS
   ========================================================= */
.quick-links { padding: 56px 0 72px; background: var(--cream); }
.ql-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.ql-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 22px 24px; min-height: 196px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.ql-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.ql-icon {
  width: 62px; height: 62px; display: grid; place-items: center;
  border-radius: 18px 18px 18px 6px; background: var(--olive-soft);
  transition: background .35s;
}
.ql-icon svg { width: 40px; height: 40px; fill: none; stroke: var(--green-800); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; transition: stroke .35s; }
.ql-card:hover .ql-icon { background: var(--green-800); }
.ql-card:hover .ql-icon svg { stroke: #fff; }

.ql-card h3 { margin-top: 20px; font-size: 17px; font-weight: 700; color: var(--green-900); }
.ql-card p { margin-top: 8px; padding-right: 30px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.ql-go {
  position: absolute; right: 20px; bottom: 20px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive); color: #fff; font-size: 14px; font-weight: 700;
  transition: background .3s, transform .3s var(--ease);
}
.ql-card:hover .ql-go { background: var(--green-800); transform: translateX(3px); }

/* =========================================================
   FEATURED PROJECTS
   ========================================================= */
.projects { padding: 64px 0 80px; background: var(--cream-2); }
.projects-head { grid-template-columns: auto 1fr auto; }

.pj-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pj-filter {
  height: 38px; padding: 0 20px; border-radius: 6px;
  font: 500 13.5px/1 var(--font-body); color: var(--ink);
  background: var(--white); border: 1px solid var(--line); cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.pj-filter:hover { border-color: var(--green-800); color: var(--green-800); transform: translateY(-2px); }
.pj-filter.active { background: var(--green-800); border-color: var(--green-800); color: #fff; transform: none; }

.pj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.pj-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .4s var(--ease);
}
.pj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pj-card.is-hidden { display: none; }
.pj-card.is-entering { opacity: 0; transform: translateY(16px) scale(.98); }

.pj-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.pj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pj-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 38, 25, .45));
  opacity: 0; transition: opacity .4s;
}
.pj-card:hover .pj-img img { transform: scale(1.07); }
.pj-card:hover .pj-img::after { opacity: 1; }

.pj-tag {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 5px 10px; border-radius: 4px;
  font: 600 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-800); background: rgba(255, 255, 255, .92);
}

.pj-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 18px; }
.pj-body h3 { font-size: 16px; font-weight: 700; color: var(--green-900); }
.pj-meta { margin-top: 5px; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pj-meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--olive); }

.pj-go {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-900); color: #fff; font-weight: 700;
  transition: background .3s, transform .4s var(--ease);
}
.pj-card:hover .pj-go { background: var(--olive); transform: rotate(-45deg); }

.pj-grid .reveal:nth-child(4n+2) { transition-delay: .08s; }
.pj-grid .reveal:nth-child(4n+3) { transition-delay: .16s; }
.pj-grid .reveal:nth-child(4n+4) { transition-delay: .24s; }

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  background: var(--cream);
  border-block: 1px solid var(--line);
}
/* side gutters that line up with .container (1200px wide) */
.why { --gutter: max(24px, calc(50vw - 600px)); }
.why-intro {
  display: flex; align-items: center;
  padding: 44px 40px 44px var(--gutter);
  background: linear-gradient(135deg, #e3ead0 0%, #edf0e0 100%);
}
.why-intro-inner { padding-left: 18px; border-left: 3px solid var(--green-800); }
.why-intro .section-title { line-height: 1.12; }

.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  align-items: start; align-self: center;
  padding: 28px var(--gutter) 28px 0;
}
.why-item {
  position: relative; text-align: center;
  padding: 10px 12px;
}
.why-item + .why-item::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px; background: var(--line);
}
.why-icon {
  width: 56px; height: 56px; margin: 0 auto 12px;
  display: grid; place-items: center; border-radius: 50%;
  transition: background .35s, transform .45s var(--ease);
}
.why-icon svg {
  width: 34px; height: 34px; fill: none; stroke: var(--green-800);
  stroke-width: 2; stroke-linejoin: round; stroke-linecap: round;
  transition: stroke .35s;
}
.why-item:hover .why-icon { background: var(--green-800); transform: translateY(-4px) rotate(-6deg); }
.why-item:hover .why-icon svg { stroke: #fff; }
.why-item h3 { font-size: 15.5px; font-weight: 700; color: var(--green-900); line-height: 1.25; }
.why-item p { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

.why-grid .reveal:nth-child(2) { transition-delay: .08s; }
.why-grid .reveal:nth-child(3) { transition-delay: .16s; }
.why-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { padding: 64px 0 80px; background: var(--cream); }
.ts-head { grid-template-columns: 1fr auto; }

.ts-nav { display: flex; gap: 10px; }
.ts-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 17px; font-weight: 700; cursor: pointer;
  color: var(--green-900); background: var(--white); border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), opacity .3s;
}
.ts-arrow:hover:not(:disabled) { background: var(--green-900); border-color: var(--green-900); color: #fff; transform: scale(1.06); }
.ts-arrow:disabled { opacity: .35; cursor: default; }
.ts-nav.is-static { visibility: hidden; }

.ts-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 14px; margin: -6px -4px 0; scrollbar-width: none;
}
.ts-track::-webkit-scrollbar { display: none; }

.ts-card {
  position: relative; margin: 0; scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: 30px 28px 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.ts-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.ts-quote {
  position: absolute; top: 14px; left: 22px;
  font: 900 72px/1 Georgia, serif; color: var(--olive-soft);
  transition: color .4s, transform .4s var(--ease);
}
.ts-card:hover .ts-quote { color: var(--olive); transform: translateY(-3px); }

.ts-text { position: relative; margin: 26px 0 0; }
.ts-text p {
  font-size: 14.5px; line-height: 1.7; color: var(--text);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden;
}
.ts-card.is-open .ts-text p { -webkit-line-clamp: unset; line-clamp: unset; }

.ts-more {
  align-self: flex-start; margin-top: 8px; padding: 0;
  font: 600 13px/1.4 var(--font-body); color: var(--green-800);
  background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer;
}
.ts-more:hover { color: var(--olive); }

.ts-author {
  display: flex; align-items: center; gap: 14px;
  margin-top: auto; padding-top: 22px;
}
.ts-avatar {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font: 800 18px/1 var(--font-head); color: #fff;
  background: linear-gradient(135deg, var(--green-700), var(--olive));
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--olive-soft);
}
.ts-author strong { display: block; font: 700 15px/1.3 var(--font-head); color: var(--green-900); }
.ts-author small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

.ts-track .reveal:nth-child(2) { transition-delay: .08s; }
.ts-track .reveal:nth-child(3) { transition-delay: .16s; }

/* =========================================================
   CALL TO ACTION
   ========================================================= */
.cta {
  position: relative; overflow: hidden;
  padding: 52px 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(111, 145, 64, .35), transparent 60%),
    linear-gradient(120deg, var(--green-800) 0%, #1a4428 55%, var(--green-900) 100%);
  color: #dfe7df;
}
/* faint blueprint grid, fading towards the centre */
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 30%, transparent 70%, #000 100%);
          mask-image: linear-gradient(90deg, #000 0%, transparent 30%, transparent 70%, #000 100%);
}

.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta .eyebrow { color: #c4d6a4; }
.cta .eyebrow::after { background: #c4d6a4; }
.cta h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: #fff; }
.cta-copy > p:last-child { margin-top: 10px; font-size: 15.5px; max-width: 560px; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }
.cta .btn-red { box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .04); text-transform: none; letter-spacing: 0; font-size: 15px; }
.btn-ghost svg { width: 18px; height: 18px; fill: currentColor; transition: transform .4s var(--ease); }
.btn-ghost:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-ghost:hover svg { transform: rotate(-14deg) scale(1.1); }

/* =========================================================
   INNER PAGES — shared page hero
   ========================================================= */
.page-hero { min-height: 440px; }
.page-hero .hero-content { padding: 40px 0 64px; max-width: 520px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--ink); transition: color .25s; }
.breadcrumb a:hover { color: var(--green-800); }
.breadcrumb [aria-current] { color: var(--green-800); font-weight: 600; }
.page-hero .eyebrow::after { display: none; }
.page-title {
  margin-top: 12px;
  font-size: clamp(34px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.06;
  color: var(--green-900);
}
.page-title span { display: block; color: var(--olive); }
.page-title::after {
  content: ""; display: block; width: 64px; height: 3px; margin-top: 22px;
  background: var(--green-800); border-radius: 2px;
  transform-origin: left; animation: navGrow .8s .5s var(--ease) both;
}

/* small icon badges under an inner-page hero */
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 30px; }
.hero-badges li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--green-900); }
.hb-icon {
  flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; transition: background .35s, transform .45s var(--ease);
}
.hb-icon svg { width: 40px; height: 40px; fill: none; stroke: var(--green-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.hero-badges li:hover .hb-icon { background: var(--green-800); transform: rotate(-8deg); }
.hero-badges li:hover .hb-icon svg { stroke: #fff; }
@media (min-width: 1101px) {
  /* keep up to 4 badges on one line; they may run over the faded edge of the photo */
  .hero-badges { flex-wrap: nowrap; width: max-content; gap: 24px; }
  .hero-badges li { gap: 10px; font-size: 13px; }
  .hb-icon { width: 42px; height: 42px; }
  .hb-icon svg { width: 34px; height: 34px; }
}

/* =========================================================
   PROJECTS — GALLERY
   ========================================================= */
.gallery { padding: 64px 0 72px; background: var(--cream); scroll-margin-top: calc(var(--header-h) - 40px); }
.gallery-head { grid-template-columns: 1fr minmax(0, 380px); }
.gallery-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: -8px 0 28px; }
.gallery-tools .pj-filters { justify-content: flex-start; }

.gallery-search {
  position: relative; flex: 0 0 260px;
  display: flex; align-items: center;
}
.gallery-search svg { position: absolute; left: 14px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.gallery-search input {
  width: 100%; height: 42px; padding: 0 14px 0 42px;
  font: 400 14px var(--font-body); color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .3s, box-shadow .3s;
}
.gallery-search input:focus { outline: none; border-color: var(--green-800); box-shadow: 0 0 0 3px var(--olive-soft); }

.pj-grid--gallery { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pj-tag--solid { color: #fff; background: var(--olive); bottom: 12px; top: auto; border-radius: 999px; padding: 6px 12px; text-transform: none; letter-spacing: .02em; font-size: 12px; }
.pj-tag--ongoing { background: #d08a1e; }

.gallery-empty { padding: 40px 0; text-align: center; color: var(--muted); }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pager-btn {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 6px;
  font: 600 14px/1 var(--font-body); color: var(--ink); cursor: pointer;
  background: var(--white); border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.pager-btn:hover:not(:disabled):not(.is-current) { border-color: var(--green-800); color: var(--green-800); transform: translateY(-2px); }
.pager-btn.is-current { background: var(--green-800); border-color: var(--green-800); color: #fff; cursor: default; }
.pager-btn:disabled { opacity: .4; cursor: default; }

/* PROJECTS — impact strip (reuses .why layout) */
.impact-item { position: relative; padding: 8px 28px; }
.impact-item + .impact-item::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line);
}
.impact-item strong { display: block; font: 800 38px/1 var(--font-head); color: var(--green-900); transition: color .3s; }
.impact-item span { display: block; margin-top: 10px; font-size: 14px; color: var(--text); }
.impact-item:hover strong { color: var(--olive); }

/* =========================================================
   VISUALIZATION — PROJECT CARDS
   ========================================================= */
.vz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vz-card { height: 100%; }
.vz-count {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px;
  font: 600 12px/1 var(--font-body); color: #fff;
  background: rgba(13, 38, 25, .72); border-radius: 999px; backdrop-filter: blur(4px);
}
.vz-count svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vz-grid .reveal:nth-child(2) { transition-delay: .1s; }
.vz-grid .reveal:nth-child(3) { transition-delay: .2s; }

/* =========================================================
   IMAGE GALLERY LIGHTBOX (built by main.js for [data-gallery] links)
   ========================================================= */
html.lb-open { overflow: hidden; }
.lb {
  width: min(1000px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; overflow: auto;
  background: #161c18; color: #e8ece8; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.lb:focus { outline: none; }
.lb::backdrop { background: rgba(8, 16, 11, .78); backdrop-filter: blur(3px); }
.lb[open] { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }

.lb-stage { position: relative; aspect-ratio: 16 / 9; background: #0d120f; touch-action: pan-y; }
.lb-img { width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.lb-img.is-loading { opacity: 0; }
.lb-top {
  position: absolute; inset: 0 0 auto; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px 72px 44px 28px; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .55), transparent);
}
.lb-count { font: 600 15px/1 var(--font-body); color: rgba(255, 255, 255, .75); }
.lb-count b { color: #fff; }
.lb-title { text-align: right; }
.lb-title strong { display: block; font: 700 16px/1.3 var(--font-head); color: #fff; }
.lb-loc { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.lb-loc svg { width: 13px; fill: currentColor; }
.lb-loc:empty { display: none; }
.lb-close {
  position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center;
  color: #fff; background: transparent; border: 0; border-radius: 50%; cursor: pointer; transition: background .25s;
}
.lb-close:hover { background: rgba(255, 255, 255, .14); }
.lb-close svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.lb-nav {
  position: absolute; top: 50%; width: 48px; height: 48px; display: grid; place-items: center;
  font-size: 20px; color: var(--ink); background: #fff; border: 0; border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3); cursor: pointer; transform: translateY(-50%);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.lb-nav:hover { background: var(--green-800); color: #fff; transform: translateY(-50%) scale(1.06); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb button:focus-visible, .lb a:focus-visible { outline: 3px solid #c4d6a4; outline-offset: 2px; }

.lb-foot { padding: 18px 28px 22px; background: #1a201c; }
.lb-strip { display: flex; align-items: center; gap: 12px; }
.lb-scroll {
  flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .1); border: 0; border-radius: 50%; cursor: pointer; transition: background .25s;
}
.lb-scroll:hover { background: rgba(255, 255, 255, .22); }
.lb-thumbs { position: relative; flex: 1; display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumb {
  flex: 0 0 auto; width: 100px; aspect-ratio: 16 / 10; padding: 0; overflow: hidden;
  border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer;
  opacity: .55; transition: opacity .25s, border-color .25s;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover { opacity: .9; }
.lb-thumb[aria-current="true"] { opacity: 1; border-color: #c4d6a4; }
.lb-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.lb-caption { position: relative; padding-top: 10px; font-size: 15px; color: #e8ece8; }
.lb-caption::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 2px; background: #c4d6a4; }
.lb-full { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; font-size: 13px; font-weight: 600; color: #c4d6a4; }
.lb-full:hover { color: #fff; }
.lb-full svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   SERVICES — WHAT WE DO
   ========================================================= */
.services-list { padding: 64px 0 80px; background: var(--white); }
.sv-head { grid-template-columns: auto minmax(0, 520px) 1fr; }
.sv-head .section-intro { padding-left: 24px; border-left: 1px solid var(--line); }

.sv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sv-card {
  display: flex; flex-direction: column;
  padding: 22px 18px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.sv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
/* highlight a card reached via #anchor from another page */
.sv-card:target { border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-soft), var(--shadow-md); }

.sv-icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 10px; transition: transform .45s var(--ease);
}
.sv-icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv-icon--1 { background: var(--green-800); }
.sv-icon--2 { background: #4c7a3d; }
.sv-icon--3 { background: #9cbf4a; }
.sv-icon--4 { background: #ece4d6; }
.sv-icon--4 svg { stroke: #6b5a43; }
.sv-icon--5 { background: var(--red); }
.sv-card:hover .sv-icon { transform: translateY(-3px) rotate(-6deg); }

.sv-card h3 { margin-top: 18px; font-size: 16.5px; font-weight: 700; color: var(--green-900); }
.sv-card > p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--muted); flex: 1; }

.sv-img { margin-top: 16px; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 6px; }
.sv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sv-card:hover .sv-img img { transform: scale(1.07); }

.sv-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-900);
}
.sv-link span { transition: transform .3s var(--ease); }
.sv-link:hover { color: var(--olive); }
.sv-card:hover .sv-link span { transform: translateX(5px); }

.sv-grid .reveal:nth-child(2) { transition-delay: .08s; }
.sv-grid .reveal:nth-child(3) { transition-delay: .16s; }
.sv-grid .reveal:nth-child(4) { transition-delay: .24s; }
.sv-grid .reveal:nth-child(5) { transition-delay: .32s; }

/* =========================================================
   SERVICES — HOW WE WORK
   ========================================================= */
.process { padding: 60px 0 64px; background: linear-gradient(135deg, #e6ecd5 0%, #eff1e3 100%); }
.process-head { grid-template-columns: 1fr minmax(0, 300px); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.pr-step { position: relative; display: flex; align-items: flex-start; gap: 16px; }
/* dotted connector that draws in once the step is revealed */
.pr-step:not(:last-child)::after {
  content: ""; position: absolute; top: 10px; left: 136px; width: calc(100% - 128px); height: 2px;
  background: radial-gradient(circle, var(--olive) 1px, transparent 1.5px) 0 50% / 8px 2px repeat-x;
  transform: scaleX(0); transform-origin: left; transition: transform .8s .4s var(--ease);
}
.pr-step:not(:last-child)::before {
  content: "›"; position: absolute; top: -2px; left: calc(100% + 8px);
  font-size: 18px; color: var(--olive); opacity: 0; transition: opacity .3s 1.1s;
}
.pr-step.in::after, .pr-step:not(.reveal)::after { transform: scaleX(1); }
.pr-step.in::before, .pr-step:not(.reveal)::before { opacity: 1; }

.pr-icon {
  flex-shrink: 0; width: 72px; height: 72px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 6px rgba(255, 255, 255, .35);
  transition: background .35s, transform .45s var(--ease);
}
.pr-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--green-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.pr-step:hover .pr-icon { background: var(--green-800); transform: scale(1.06); }
.pr-step:hover .pr-icon svg { stroke: #fff; }
.pr-num { display: block; font: 800 22px/1 var(--font-head); color: var(--green-800); }
.pr-step h3 { margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--green-900); }
.pr-step p { margin-top: 6px; max-width: 170px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.process-steps .reveal:nth-child(2) { transition-delay: .12s; }
.process-steps .reveal:nth-child(3) { transition-delay: .24s; }
.process-steps .reveal:nth-child(4) { transition-delay: .36s; }

/* =========================================================
   SERVICES — SERVICE DETAILS (tabs)
   ========================================================= */
.sv-detail { padding: 72px 0 80px; background: var(--cream); scroll-margin-top: calc(var(--header-h) - 40px); }
.sd-head { grid-template-columns: 1fr minmax(0, 360px); }

.sd-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; }
/* the five tabs share the panel's height equally */
.sd-tabs { display: flex; flex-direction: column; gap: 10px; }
.sd-tab {
  flex: 1; display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 12px 16px 12px 12px; text-align: left;
  font: 700 15px/1.3 var(--font-head); color: var(--green-900);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.sd-tab .sv-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 8px; }
.sd-tab .sv-icon svg { width: 24px; height: 24px; }
.sd-tab::after {
  content: "→"; margin-left: auto; color: #c4d6a4;
  opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease);
}
.sd-tab:hover { border-color: var(--olive); transform: translateX(4px); }
.sd-tab[aria-selected="true"] { background: var(--green-800); border-color: var(--green-800); color: #fff; box-shadow: var(--shadow-md); transform: none; }
.sd-tab[aria-selected="true"]::after { opacity: 1; transform: none; }
.sd-tab[aria-selected="true"] .sv-icon { box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.sd-tab:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }

/* all panels sit in one grid cell, so every panel is as tall as the tallest one */
.sd-panels { display: grid; }
.sd-panel {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px;
  padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.sd-panel[hidden] { visibility: hidden; }
.sd-copy { align-self: center; }
.sd-panel.is-entering > * { animation: sd-in .55s var(--ease) both; }
.sd-panel.is-entering > .sd-copy { animation-delay: .08s; }
@keyframes sd-in { from { opacity: 0; transform: translateY(14px); } }

/* image fills its column at whatever height the panel ends up */
.sd-img { position: relative; min-height: 380px; overflow: hidden; border-radius: 6px; }
.sd-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sd-panel:hover .sd-img img { transform: scale(1.05); }

.sd-count { font: 700 12.5px/1 var(--font-body); letter-spacing: .18em; color: var(--olive); }
.sd-copy h3 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; color: var(--green-900); }
.sd-lead { margin-top: 12px; font-size: 15px; line-height: 1.7; }
.sd-copy h4 { margin: 24px 0 12px; font: 700 12.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.sd-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.sd-list li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.45; }
.sd-list li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%;
  background: var(--olive-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%231d4a2c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.sd-ideal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; }
.sd-ideal strong { margin-right: 4px; color: var(--green-900); }
.sd-ideal span { padding: 5px 12px; border-radius: 999px; background: var(--cream-2); border: 1px solid var(--line); }
.sd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }

/* =========================================================
   SERVICES — WHY CHOOSE US
   ========================================================= */
.partner { padding: 72px 0 80px; background: var(--white); }
.partner-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }

.partner-media { position: relative; padding-right: 40px; }
.partner-media img {
  width: 100%; height: auto; aspect-ratio: 11 / 7.2; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.partner-box {
  position: absolute; right: 0; bottom: -28px; width: 46%;
  padding: 28px 26px 26px; background: var(--green-800); color: #dfe7df;
  box-shadow: 0 18px 36px rgba(18, 50, 31, .3);
}
.partner-box h3 { font-size: 24px; font-weight: 700; color: #fff; line-height: 1.15; }
.partner-box p { margin-top: 12px; font-size: 14.5px; line-height: 1.55; }
.partner-box::after {
  content: ""; display: block; width: 0; height: 2px; margin-top: 18px; background: #c4d6a4;
  transition: width .8s .5s var(--ease);
}
.partner-media.in .partner-box::after, .partner-media:not(.reveal) .partner-box::after { width: 48px; }

.partner-copy .section-title { margin-top: 10px; }
.partner-lead { margin-top: 16px; font-size: 15.5px; line-height: 1.7; }
.partner-points { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 30px; }
.partner-points li { display: flex; align-items: flex-start; gap: 14px; }
.pp-icon {
  flex-shrink: 0; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; background: var(--olive-soft);
  transition: background .35s, transform .45s var(--ease);
}
.pp-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--green-800); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.partner-points li:hover .pp-icon { background: var(--green-800); transform: rotate(-8deg) scale(1.05); }
.partner-points li:hover .pp-icon svg { stroke: #fff; }
.partner-points strong { display: block; margin-top: 4px; font: 700 15.5px/1.3 var(--font-head); color: var(--green-900); }
.partner-points small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.partner-points .reveal:nth-child(2) { transition-delay: .08s; }
.partner-points .reveal:nth-child(3) { transition-delay: .16s; }
.partner-points .reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   CONTACT — INFO STRIP
   ========================================================= */
.ct-info { padding: 40px 0; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.ct-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ct-item { display: flex; align-items: flex-start; gap: 16px; padding: 4px 24px; }
.ct-item + .ct-item { border-left: 1px solid var(--line); }
.ct-item:first-child { padding-left: 0; }
.ct-icon {
  flex-shrink: 0; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--olive-soft);
  transition: background .35s, transform .45s var(--ease);
}
.ct-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-800); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.ct-item:hover .ct-icon { background: var(--green-800); transform: rotate(-8deg) scale(1.05); }
.ct-item:hover .ct-icon svg { stroke: #fff; }
.ct-item h2 { margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--green-900); }
.ct-item p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.ct-item p a { color: var(--text); font-weight: 500; transition: color .25s; }
.ct-item p a:hover { color: var(--olive); }
.ct-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font: 700 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-800);
}
.ct-link span { transition: transform .3s var(--ease); }
.ct-link:hover { color: var(--olive); }
.ct-link:hover span { transform: translateX(5px); }
.ct-grid .reveal:nth-child(2) { transition-delay: .08s; }
.ct-grid .reveal:nth-child(3) { transition-delay: .16s; }
.ct-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   CONTACT — FORM + LOCATION
   ========================================================= */
.ct-main { padding: 72px 0 80px; background: var(--cream); }
.ct-main-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }

.ct-form-card {
  padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px);
}
.ct-form-intro { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 26px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ct-field label span { color: var(--red); }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%; padding: 12px 14px;
  font: 400 14.5px/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 1px solid #d6d4c8; border-radius: 6px;
  transition: border-color .25s, box-shadow .25s;
}
.ct-field textarea { min-height: 128px; resize: vertical; }
.ct-field select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%231d4a2c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
}
.ct-field ::placeholder { color: #9a9f9a; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-soft); }
.ct-error { display: none; font-size: 12.5px; color: var(--red); }
.ct-field.is-invalid input, .ct-field.is-invalid textarea { border-color: var(--red); }
.ct-field.is-invalid .ct-error { display: block; }
.ct-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.ct-submit .btn { min-width: 240px; }
.ct-status { font-size: 14px; font-weight: 500; color: var(--green-800); }
.ct-status.is-error { color: var(--red); }
.ct-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-submit .btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* shown in place of the form after sending */
.ct-result {
  margin-top: 26px; padding: 28px; text-align: center;
  background: var(--olive-soft); border-radius: var(--radius);
  animation: sd-in .5s var(--ease) both;
}
.ct-result-title { font: 700 20px/1.3 var(--font-head); color: var(--green-900); }
.ct-result p + p { margin-top: 8px; font-size: 14.5px; }
.ct-result .btn { margin-top: 20px; }

.ct-map-card {
  display: flex; flex-direction: column; padding: 36px;
  background: var(--green-800); color: #dfe7df; border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.ct-map-card .section-title-wrap { border-left-color: #c4d6a4; }
.ct-map-card .eyebrow { color: #c4d6a4; }
.ct-map-card .eyebrow::after { background: #c4d6a4; }
.ct-map-card .section-title { color: #fff; }
.ct-map-intro { margin-top: 14px; font-size: 14.5px; line-height: 1.65; }
.ct-map { flex: 1; min-height: 280px; margin-top: 24px; overflow: hidden; border-radius: 6px; background: var(--green-900); }
.ct-map iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
.ct-map-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 22px; }
.ct-dir-btn { height: 48px; background: var(--olive); color: #fff; }
.ct-dir-btn:hover { background: #7fa34d; }
.ct-dir-btn svg { width: 18px; fill: currentColor; }
.ct-map-script { font: 700 26px/1.05 var(--font-script); color: rgba(255, 255, 255, .85); text-align: right; transform: rotate(-6deg); }
.ct-main-grid .reveal:nth-child(2) { transition-delay: .12s; }

/* =========================================================
   ABOUT — FOUNDER
   ========================================================= */
.founder { padding: 88px 0; background: var(--white); overflow-x: clip; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }

.founder-media { position: relative; padding: 0 0 28px 28px; }
.founder-photo {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--radius);
  display: grid; place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(160deg, var(--green-700), var(--green-950));
  box-shadow: var(--shadow-md);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.founder-media:hover .founder-photo img { transform: scale(1.04); }
.founder-monogram { font: 900 120px/1 var(--font-head); letter-spacing: -.04em; color: rgba(255, 255, 255, .9); }
/* offset outline frame behind the photo */
.founder-frame {
  position: absolute; left: 0; bottom: 0; width: calc(100% - 28px); height: calc(100% - 28px);
  border: 2px solid var(--olive); border-radius: var(--radius);
  transition: transform .6s var(--ease);
}
.founder-media:hover .founder-frame { transform: translate(-8px, 8px); }
.founder-plate {
  position: absolute; z-index: 2; right: -24px; bottom: 56px;
  padding: 16px 22px; background: var(--white); border-left: 4px solid var(--red);
  box-shadow: var(--shadow-md);
}
.founder-plate strong { display: block; font: 800 18px/1.2 var(--font-head); color: var(--green-900); }
.founder-plate span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

.founder-copy .section-title { margin-top: 10px; font-size: clamp(32px, 3.6vw, 46px); }
.founder-role { margin-top: 8px; font: 600 15px/1.4 var(--font-body); color: var(--olive); letter-spacing: .04em; }
.founder-bio { margin-top: 22px; }
.founder-bio p { font-size: 15.5px; line-height: 1.8; color: var(--text); }
.founder-bio p + p { margin-top: 14px; }

.founder-skills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.founder-skills li {
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--green-800);
  background: var(--olive-soft); border: 1px solid transparent;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.founder-skills li:hover { background: var(--green-800); color: #fff; transform: translateY(-2px); }

.founder-quote {
  margin: 30px 0 0; padding: 20px 24px;
  background: var(--cream); border-left: 3px solid var(--green-800); border-radius: 0 var(--radius) var(--radius) 0;
}
.founder-quote blockquote { margin: 0; }
.founder-quote p { font: italic 500 16px/1.6 var(--font-body); color: var(--green-900); }
.founder-quote figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

.founder-sign { margin-top: 22px; font: 700 38px/1 var(--font-script); color: var(--green-800); transform: rotate(-3deg); transform-origin: left; }

/* =========================================================
   ABOUT — WHO WE ARE
   ========================================================= */
.who { padding: 72px 0; background: var(--cream); overflow-x: clip; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.who-media { position: relative; padding: 0 70px 40px 0; }
.who-media img {
  position: relative; z-index: 1;
  width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.who-badge {
  position: absolute; right: 30px; bottom: 0; z-index: 2;
  padding: 22px 30px; background: var(--green-800); color: #fff;
  font: 700 15px/1.75 var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(18, 50, 31, .3);
  outline: 1px solid rgba(255, 255, 255, .25); outline-offset: -8px;
}
.who-badge li { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.who-media.in .who-badge li { opacity: 1; transform: none; }
.who-media.in .who-badge li:nth-child(2) { transition-delay: .1s; }
.who-media.in .who-badge li:nth-child(3) { transition-delay: .2s; }
.who-media.in .who-badge li:nth-child(4) { transition-delay: .3s; }
.who-media.in .who-badge li:nth-child(5) { transition-delay: .4s; color: #c4d6a4; }
.who-media:not(.reveal) .who-badge li { opacity: 1; transform: none; }

.who-copy .section-title { margin: 10px 0 20px; }
.who-copy > p:not(.eyebrow) { margin-top: 14px; font-size: 15px; line-height: 1.75; }
.who-points { display: grid; grid-template-columns: repeat(3, auto); gap: 20px; margin-top: 32px; justify-content: start; }
.who-points li { display: flex; align-items: center; gap: 12px; }
.who-points svg {
  flex-shrink: 0; width: 40px; height: 40px; padding: 7px; border-radius: 50%;
  background: var(--olive-soft); fill: none; stroke: var(--green-800); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: background .35s, stroke .35s, transform .45s var(--ease);
}
.who-points li:hover svg { background: var(--green-800); stroke: #fff; transform: rotate(-10deg) scale(1.06); }
.who-points strong { display: block; font: 700 14.5px/1.3 var(--font-head); color: var(--green-900); }
.who-points small { display: block; font-size: 12.5px; color: var(--muted); }

/* =========================================================
   ABOUT — STATS
   ========================================================= */
.about-stats { padding: 40px 0; background: linear-gradient(135deg, #e3ead0 0%, #edf0e0 100%); }
.about-stats-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.stat-list { display: flex; flex: 1; }
.stat-list li { flex: 1; padding: 4px 24px; border-left: 2px solid var(--green-800); }
.stat-list li + li { border-left: 1px solid #cdd3bd; }
.stat-list strong { display: block; font: 800 36px/1 var(--font-head); color: var(--green-900); }
.stat-list span { display: block; margin-top: 8px; font-size: 14px; color: var(--text); }
.stat-quote { margin: 0; padding-left: 36px; border-left: 1px solid #cdd3bd; max-width: 320px; }
.stat-quote p { font: italic 500 18px/1.5 var(--font-body); color: var(--green-900); }
.stat-quote::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 14px; background: var(--green-800); }

/* =========================================================
   ABOUT — APPROACH
   ========================================================= */
.approach { padding: 72px 0 40px; background: var(--cream); }
.approach-head { grid-template-columns: 1fr minmax(0, 400px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step {
  position: relative; padding: 26px 22px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
/* chevron connector between steps */
.step:not(:last-child)::after {
  content: "›"; position: absolute; right: -27px; top: 50%; transform: translateY(-50%);
  font: 400 30px/1 var(--font-body); color: var(--green-800);
}
.step-num {
  position: absolute; right: 18px; top: 14px;
  font: 800 28px/1 var(--font-head); color: var(--olive-soft);
  transition: color .4s;
}
.step:hover .step-num { color: var(--olive); }
.step-icon {
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: var(--olive-soft);
  transition: background .35s, transform .45s var(--ease);
}
.step-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--green-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.step:hover .step-icon { background: var(--green-800); transform: rotate(-8deg); }
.step:hover .step-icon svg { stroke: #fff; }
.step h3 { margin-top: 18px; font-size: 17px; font-weight: 700; color: var(--green-900); }
.step p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.steps .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3) { transition-delay: .2s; }
.steps .reveal:nth-child(4) { transition-delay: .3s; }

/* =========================================================
   ABOUT — TEAM
   ========================================================= */
.team { padding: 48px 0 80px; background: var(--cream); }
.team-head { grid-template-columns: 1fr auto; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
  display: grid; grid-template-columns: 120px 1fr; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo {
  display: grid; place-items: center; min-height: 170px;
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  font: 800 46px/1 var(--font-head); color: #fff;
}
.team-photo-icon { background: linear-gradient(160deg, #e3ead0, #cfdcb4); }
.team-photo svg { width: 56px; height: 56px; fill: none; stroke: var(--green-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.team-card:hover .team-photo svg { transform: scale(1.12) rotate(-6deg); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 20px 20px 22px; }
.team-info h3 { font-size: 17px; font-weight: 700; color: var(--green-900); }
.team-role { margin-top: 4px; font-size: 13px; color: var(--muted); }
.team-role::after { content: ""; display: block; width: 32px; height: 2px; margin: 12px 0; background: var(--olive); transition: width .4s var(--ease); }
.team-card:hover .team-role::after { width: 56px; }
.team-info p:not(.team-role) { font-size: 13.5px; line-height: 1.55; color: var(--text); }
.team-info .team-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap;
  color: var(--green-900); background: var(--olive-soft);
}
.team-badge svg { flex-shrink: 0; width: 20px; height: 20px; fill: var(--red); transition: fill .3s; }
a.team-badge { transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
a.team-badge:hover { background: var(--red); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(193, 39, 45, .25); }
a.team-badge:hover svg { fill: #fff; }
.team-badge-go { font-size: 13px; transition: transform .3s var(--ease); }
a.team-badge:hover .team-badge-go { transform: translate(2px, -2px); }
.team-photo img { object-position: 50% 20%; transition: transform .7s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-photo:has(img) { overflow: hidden; }
.team-grid .reveal:nth-child(2) { transition-delay: .1s; }
.team-grid .reveal:nth-child(3) { transition-delay: .2s; }

/* =========================================================
   FOOTER / QUICK LINKS
   ========================================================= */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--green-950); color: #c9d3cb;
  padding-top: 64px;
}
.footer-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 320px) auto auto auto;
  justify-content: space-between; gap: 40px;
  padding-bottom: 48px;
}
.footer-logo img { height: 70px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 290px; font-size: 14.5px; line-height: 1.65; }

.socials { margin-top: 24px; display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25); color: #fff;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.socials svg .o { fill: none; stroke: currentColor; stroke-width: 2; }
.socials a:hover { background: var(--olive); border-color: var(--olive); transform: translateY(-3px); }

.footer-col h3 {
  position: relative; padding-bottom: 12px; margin-bottom: 20px;
  font-size: 17px; font-weight: 700; color: #fff;
}
.footer-col h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px;
  background: var(--olive); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .8s .3s var(--ease), width .4s var(--ease);
}
.footer-col.in h3::after { transform: scaleX(1); }
.footer-col:hover h3::after { width: 56px; }

.footer-col ul { display: grid; gap: 10px; font-size: 14.5px; }
.footer-col a { position: relative; display: inline-block; transition: color .3s, transform .4s var(--ease); }
.footer-col:not(.footer-contact) a::before {
  content: "→"; position: absolute; left: -20px; top: 0;
  color: var(--olive); opacity: 0; transform: translateX(-10px);
  transition: opacity .3s, transform .4s var(--ease);
}
.footer-col:not(.footer-contact) a:hover { color: #fff; transform: translateX(20px); }
.footer-col:not(.footer-contact) a:hover::before { opacity: 1; transform: none; }

/* staggered slide-in of the link lists when the footer scrolls into view */
.footer-col li { opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.footer-col.in li { opacity: 1; transform: none; }
.footer-col.in li:nth-child(1) { transition-delay: .15s; }
.footer-col.in li:nth-child(2) { transition-delay: .22s; }
.footer-col.in li:nth-child(3) { transition-delay: .29s; }
.footer-col.in li:nth-child(4) { transition-delay: .36s; }
.footer-col.in li:nth-child(5) { transition-delay: .43s; }
.footer-col.in li:nth-child(6) { transition-delay: .5s; }
.footer-grid .reveal:nth-child(2) { transition-delay: .1s; }
.footer-grid .reveal:nth-child(3) { transition-delay: .2s; }
.footer-grid .reveal:nth-child(4) { transition-delay: .3s; }

.footer-contact li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.footer-contact svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; fill: #e2b04a; }
.footer-contact a:hover { color: #fff; }

/* ---------- Copy-to-clipboard button (email addresses) ---------- */
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 10px;
  font: 600 12px/1 var(--font-body); color: var(--green-800);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.copy-btn svg, .footer-contact .copy-btn svg { width: 14px; height: 14px; margin: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn:hover { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.copy-btn:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
.copy-btn.is-copied { background: var(--olive); border-color: var(--olive); color: #fff; }
.footer-contact .copy-btn { display: flex; width: max-content; }
.copy-btn--dark { color: #dfe7df; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); }
.copy-btn--dark:hover { background: #fff; border-color: #fff; color: var(--green-900); }

.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 13.5px;
}
.footer-credit a { color: #fff; font-weight: 600; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.footer-credit a:hover { color: #e2b04a; border-color: #e2b04a; }
.footer-motto { display: flex; align-items: center; gap: 16px; }
.footer-motto::before { content: ""; width: 110px; height: 1px; background: rgba(255, 255, 255, .25); }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive); color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--ease), background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-700); }
.to-top svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.ql-grid .reveal:nth-child(2) { transition-delay: .08s; }
.ql-grid .reveal:nth-child(3) { transition-delay: .16s; }
.ql-grid .reveal:nth-child(4) { transition-delay: .24s; }
.ql-grid .reveal:nth-child(5) { transition-delay: .32s; }
.hero-content .reveal:nth-child(2) { transition-delay: .1s; }
.hero-content .reveal:nth-child(3) { transition-delay: .2s; }
.hero-content .reveal:nth-child(4) { transition-delay: .3s; }
.hero-content .reveal:nth-child(5) { transition-delay: .4s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav ul { gap: 26px; }
  .header-cta { margin-left: 20px; }
  .ql-grid { grid-template-columns: repeat(3, 1fr); }
  .section-head { grid-template-columns: 1fr auto; }
  .section-intro { grid-column: 1 / -1; grid-row: 2; max-width: 560px; }
  .why { grid-template-columns: 1fr; }
  .why-intro { padding: 40px var(--gutter); }
  .why-grid { padding: 32px var(--gutter); }
  .projects-head { grid-template-columns: 1fr auto; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .sv-grid { grid-template-columns: repeat(3, 1fr); }
  .ct-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .ct-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .ct-main-grid { grid-template-columns: 1fr; }
  .vz-grid { grid-template-columns: 1fr 1fr; }
  .ct-map { min-height: 320px; }
  .gallery-head { grid-template-columns: 1fr; }
  .gallery-tools { flex-direction: column; align-items: stretch; }
  .gallery-search { flex: none; }
  .pj-grid--gallery { grid-template-columns: repeat(2, 1fr); }
  .process-head { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; gap: 64px; }
  .partner-media { max-width: 680px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .pr-step::after, .pr-step::before { display: none; }
  .sv-head { grid-template-columns: 1fr; }
  .sv-head .section-intro { grid-row: auto; padding-left: 0; border-left: 0; }
  .sd-head { grid-template-columns: 1fr; }
  .sd-layout { grid-template-columns: 1fr; gap: 20px; }
  .sd-tabs { position: relative; top: auto; flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .sd-tabs::-webkit-scrollbar { display: none; }
  .sd-tab { flex: 0 0 auto; width: auto; padding-right: 18px; }
  .sd-tab:hover { transform: none; }
  .sd-tab::after { display: none; }
  .founder-grid { grid-template-columns: 1fr; gap: 48px; }
  .founder-media { max-width: 460px; }
  .who-grid { grid-template-columns: 1fr; gap: 48px; }
  .who-media { max-width: 620px; }
  .about-stats-inner { flex-direction: column; align-items: flex-start; }
  .stat-list { width: 100%; }
  .stat-quote { padding-left: 0; border-left: 0; max-width: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .step::after { display: none; }
  .approach-head { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 620px; }
  .ts-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .pj-filters { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .pj-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand-logo { height: 50px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 22px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(18, 50, 31, .12);
    padding: 12px 24px 28px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: flex; width: 100%; margin-top: 20px; }

  .hero { min-height: 0; }
  .hero-media { position: relative; width: 100%; height: 340px; }
  .hero-media img {
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .hero-script { top: 20px; right: 20px; font-size: 24px; }
  .hero-content { max-width: none; padding: 8px 0 52px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero-media { height: 260px; }
  .hero-kicker { font-size: 12px; letter-spacing: .18em; }
  .hero-kicker i { margin: 0 6px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats li { padding: 0 16px; flex: 1; }
  .hero-stats strong { font-size: 26px; }
  .hero-stats span { font-size: 12px; }

  .section-head { grid-template-columns: 1fr; }
  .section-intro { grid-row: auto; }
  .link-arrow { justify-self: start; }
  .ql-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ql-card { padding: 20px 16px; min-height: 0; }
  .ql-card p { padding-right: 0; margin-bottom: 30px; }
  .ql-go { right: 16px; bottom: 16px; }

  .why { --gutter: 16px; }
  .why-intro { padding: 36px 16px; }
  .why-grid { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .why-item:nth-child(3)::before { display: none; }
  .impact-item { padding: 12px 16px; }
  .impact-item:nth-child(3)::before { display: none; }
  .impact-item strong { font-size: 32px; }
  .why-item { padding: 16px 10px; }
  .projects-head { grid-template-columns: 1fr; }
  .cta { padding: 44px 0; }
  .page-hero .hero-content { padding: 4px 0 48px; }
  .sv-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sv-card { padding: 18px 14px 14px; }
  .sv-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .process-steps { grid-template-columns: 1fr; row-gap: 22px; }
  .partner { padding: 56px 0; }
  .partner-media { padding-right: 0; }
  .partner-box { position: relative; right: auto; bottom: auto; width: auto; margin: -40px 16px 0; }
  .partner-points { grid-template-columns: 1fr; gap: 18px; }
  .ct-info { padding: 28px 0; }
  .ct-grid { grid-template-columns: 1fr; row-gap: 0; }
  .ct-item { padding: 18px 0; }
  .ct-item + .ct-item { border-left: 0; border-top: 1px solid var(--line); }
  .ct-icon { width: 48px; height: 48px; }
  .ct-main { padding: 48px 0 56px; }
  .ct-form-card, .ct-map-card { padding: 26px 18px; }
  .ct-form { grid-template-columns: 1fr; }
  .ct-submit .btn { flex: 1 1 100%; min-width: 0; }
  .ct-map-foot { flex-direction: column; align-items: stretch; }
  .ct-map-script { align-self: flex-end; }
  .vz-grid { grid-template-columns: 1fr; gap: 18px; }
  .lb { width: 100%; max-height: 100dvh; border-radius: 0; border: 0; }
  .lb-top { padding: 14px 56px 32px 16px; }
  .lb-title strong { font-size: 14px; }
  .lb-close { top: 6px; right: 6px; }
  .lb-nav { width: 38px; height: 38px; font-size: 16px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-foot { padding: 14px 16px 18px; }
  .lb-scroll { display: none; }
  .lb-thumb { width: 76px; }
  .lb-meta { flex-wrap: wrap; }
  .pr-icon { width: 60px; height: 60px; }
  .pr-step p { max-width: none; }
  .sv-card:last-child:nth-child(odd) .sv-img { aspect-ratio: 16 / 8; }
  .sv-card h3 { font-size: 15px; }
  .sv-detail { padding: 56px 0; }
  .sd-tabs { margin: 0 -16px; padding: 4px 16px 8px; }
  .sd-tab { font-size: 14px; }
  .sd-tab .sv-icon { width: 38px; height: 38px; }
  .sd-panel { grid-template-columns: 1fr; gap: 22px; padding: 14px 14px 24px; }
  .sd-img { min-height: 0; aspect-ratio: 16 / 10; }
  .sd-copy { align-self: start; padding: 0 6px; }
  .sd-list { grid-template-columns: 1fr; }
  .sd-actions .btn { flex: 1 1 100%; }
  .founder { padding: 56px 0; }
  .founder-media { padding: 0 0 20px 20px; }
  .founder-frame { width: calc(100% - 20px); height: calc(100% - 20px); }
  .founder-plate { right: 0; bottom: 40px; }
  .founder-monogram { font-size: 90px; }
  .who { padding: 56px 0; }
  .who-media { padding: 0 24px 40px 0; }
    .who-badge { right: 0; padding: 16px 22px; font-size: 13px; }
  .who-points { grid-template-columns: 1fr; gap: 14px; }
  .stat-list { flex-wrap: wrap; row-gap: 24px; }
  .stat-list li { flex: 1 1 45%; padding: 2px 16px; }
  .stat-list li:nth-child(3) { border-left: 2px solid var(--green-800); }
  .stat-list strong { font-size: 30px; }
  .steps { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 100px 1fr; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .ts-head { grid-template-columns: 1fr auto; align-items: end; }
  .ts-track { grid-auto-columns: 86%; gap: 14px; }
  .ts-card { padding: 26px 20px 22px; }
  .pj-filters { grid-row: auto; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 4px 16px; scrollbar-width: none; }
  .pj-filters::-webkit-scrollbar { display: none; }
  .pj-filter { flex-shrink: 0; }
  /* swipeable row on phones */
  .pj-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 16px; scroll-padding-left: 16px; scrollbar-width: none;
  }
  .pj-grid::-webkit-scrollbar { display: none; }
  .pj-card { flex: 0 0 80%; scroll-snap-align: start; }
  /* projects page keeps a normal stacked grid with pagination */
  .pj-grid--gallery { display: grid; grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 0; }
  .pj-grid--gallery .pj-card { flex: none; }
}

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .footer-bottom-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-motto::before { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-motto::before { display: none; }
}

@media (max-width: 380px) {
  .ql-grid { grid-template-columns: 1fr; }
}

/* Reduced motion: keep hover feedback, drop only the large movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .reveal, .footer-col li { transform: none; }
  .sd-panel.is-entering > * { animation: none; }
  .lb[open] { animation: none; }
}
