:root {
  --green-dark: #0b3d2e;
  --green-mid: #3a7d44;
  --green-light: #a7d7a9;
  --white: #ffffff;
  --gray-light: #f0f2f1;
  --gray-dark: #1a1a1a;
  --charcoal: #1c2420;
  --text: #2a3330;
  --surface: #ffffff;
  --surface-alt: #f5f6f5;
  --line: #e2eae4;
  --radius: 4px;
  --shadow: 0 20px 48px rgba(15, 28, 22, 0.07);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.33, 1, 0.38, 1);
  --motion-fast: 0.28s;
  --motion-med: 0.42s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

body.theme-dark {
  --text: #d4ddd8;
  --surface: #0e1311;
  --surface-alt: #151c19;
  --charcoal: #0a0e0c;
  --gray-light: #151c19;
  --gray-dark: #eef3f0;
  --line: #2a3530;
  --shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}


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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: clamp(4.5rem, 12vw, 8.5rem) 0;
}

.section--spacious {
  padding: clamp(5rem, 14vw, 10rem) 0;
}

.section--kpi {
  padding: clamp(1.4rem, 4vw, 2rem) 0 clamp(2.2rem, 6vw, 3rem);
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.kpi-item {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(11, 61, 46, 0.04), rgba(58, 125, 68, 0.02));
  padding: 1rem 1.15rem;
  border-radius: 12px;
}

.kpi-value {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--green-dark);
}

body.theme-dark .kpi-value {
  color: var(--green-light);
}

.kpi-label {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.section-alt {
  background: var(--surface-alt);
}

.section--charcoal {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.88);
}

.section--charcoal .section-title,
.section--charcoal h2,
.section--charcoal h3 {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
}

.prose {
  margin: 0;
  max-width: 62ch;
  color: var(--text);
}

.prose--muted {
  color: rgba(255, 255, 255, 0.72);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1.5rem;
}

.section-title--light {
  color: var(--white);
}

.section-lead {
  font-size: 1.125rem;
  opacity: 0.92;
  max-width: 52ch;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.display-heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.eyebrow {
  color: var(--green-mid);
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 0.75rem;
  margin: 0 0 1.25rem;
}

.eyebrow--on-dark {
  color: var(--green-light);
}

h1,
h2,
h3,
h4 {
  color: var(--gray-dark);
  margin: 0 0 0.8rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.75rem, 7.5vw, 4.75rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.hero-eyebrow {
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  max-width: 38rem;
  opacity: 0.95;
}

.highlight-line {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--green-mid);
}

body.theme-dark .highlight-line {
  color: var(--green-light);
}

.two-col {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.two-col--balanced {
  align-items: stretch;
}

.value-block {
  padding: 2.5rem;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

body.theme-dark .value-block {
  background: var(--surface-alt);
}

.positioning-card {
  padding: 2.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  padding: 2.25rem 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: rgba(58, 125, 68, 0.45);
  box-shadow: var(--shadow);
}

.service-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-mid);
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.service-card p {
  margin: 0;
  font-size: 0.98rem;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-section--premium {
  padding: clamp(5rem, 12vw, 8rem) 0;
  background: linear-gradient(145deg, #0b3d2e 0%, #061f18 100%);
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 18ch;
  margin: 0 auto 2rem;
  text-align: center;
}

.cta-wrap {
  gap: 0.25rem;
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

p {
  margin: 0 0 0.9rem;
}

.topbar {
  position: fixed;
  width: 100%;
  inset: 0 0 auto;
  z-index: 1200;
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 61, 46, 0.12);
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

body.theme-dark .topbar {
  background: rgba(9, 18, 14, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.nav-wrap {
  position: relative;
  z-index: 2;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.nav-utils {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.45rem;
  padding-left: 0.55rem;
  border-left: 1px solid rgba(11, 61, 46, 0.2);
}

body.theme-dark .nav-utils {
  border-left-color: rgba(255, 255, 255, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  color: var(--green-dark);
}

body.theme-dark .brand {
  color: var(--white);
}

.brand-logo {
  width: 148px;
  height: 62px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.brand-logo-mark {
  width: auto;
  height: clamp(76px, 9vw, 96px);
  max-width: 110px;
  object-fit: contain;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  color: rgba(22, 38, 32, 0.9);
}

body.theme-dark .nav-links {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--motion-fast) var(--ease-out), opacity var(--motion-fast) var(--ease-out);
}

.nav-links a:not(.btn-small)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--motion-med) var(--ease-out);
  opacity: 0.85;
}

.nav-links a:not(.btn-small):hover::after,
.nav-links a:not(.btn-small):focus-visible::after {
  transform: scaleX(1);
}

@media (min-width: 1200px) {
  .nav-links a {
    font-size: 0.88rem;
  }
}

.theme-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(11, 61, 46, 0.22);
  background: rgba(11, 61, 46, 0.06);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

body.theme-dark .theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: rgba(11, 61, 46, 0.1);
}

body.theme-dark .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Desktop: flag buttons only — native select is hidden */
@media (min-width: 720px) {
  .lang-switcher select.lang-switcher__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Mobile: compact round flag picker */
@media (max-width: 719px) {
  .lang-switcher select.lang-switcher__native {
    border: 1px solid rgba(11, 61, 46, 0.22);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    color: transparent;
    font-size: 0;
    padding: 0;
    min-height: 2.85rem;
    width: 2.85rem;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
  }

  body.theme-dark .lang-switcher select.lang-switcher__native {
    border-color: rgba(255, 255, 255, 0.38);
    background-color: rgba(255, 255, 255, 0.08);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Legacy splash loader removed — keep selectors hidden if old HTML is cached on the server */
#siteLoader,
.site-loader {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.is-loading {
  overflow: auto !important;
  pointer-events: auto !important;
}

@keyframes loaderLogoBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.72;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--green-dark);
  border: 1px solid rgba(11, 61, 46, 0.28);
  background: transparent;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.theme-dark .nav-toggle {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.78rem 1.3rem;
  min-height: 48px;
  box-sizing: border-box;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.58rem 1rem;
  font-size: 0.85rem;
  background: var(--green-mid);
  color: var(--white);
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 61, 46, 0.3);
}

.btn-secondary {
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
}

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

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding-top: max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4.25rem));
  overflow: clip;
}

.hero--full {
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 18, 15, 0.92) 0%,
    rgba(11, 61, 46, 0.55) 45%,
    rgba(20, 35, 28, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  color: var(--white);
  max-width: 760px;
  width: 100%;
}

.hero-content h1,
.hero-content p {
  color: var(--white);
}

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 680px;
}

.hero-cta {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.image-panel--tall img {
  min-height: 420px;
  max-height: 520px;
}

.risk-list {
  margin: 1rem 0 1rem 0;
  padding-left: 1.15rem;
}

.risk-list li {
  margin-bottom: 0.5rem;
}

.highlight {
  font-weight: 700;
  color: var(--green-dark);
}

.image-panel img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 330px;
  object-fit: cover;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  position: relative;
}

.timeline--premium {
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.timeline--premium::before {
  display: none;
}

.timeline-step {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 2.5rem 2rem;
  box-shadow: none;
}

.timeline-step:last-child {
  border-right: none;
}

.timeline-summary {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  opacity: 0.88;
}

.timeline-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.step-number {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--green-mid);
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.timeline-step ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
}

.timeline-step li {
  margin-bottom: 0.45rem;
}

.value-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.value-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.95rem;
  text-align: center;
  font-weight: 700;
}

.project-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-card img {
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.project-meta {
  padding: 1.25rem 1.25rem 1.5rem;
}

.project-meta h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.project-meta p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

.material-tiles-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0.5rem auto 1.35rem;
  max-width: 28rem;
  text-align: center;
}

.material-tiles-hint__arrow {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green-mid);
  opacity: 0.75;
}

body.theme-dark .material-tiles-hint__arrow {
  color: var(--green-light);
}

.material-tiles-hint__text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(42, 51, 48, 0.82);
  letter-spacing: 0.01em;
}

body.theme-dark .material-tiles-hint__text {
  color: rgba(212, 221, 216, 0.88);
}

@keyframes materialHintBlink {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.35;
    transform: translateY(5px);
  }
}

.material-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.material-tile {
  position: relative;
  aspect-ratio: 1;
  border: 2px solid var(--line);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.material-tile:hover {
  border-color: rgba(58, 125, 68, 0.55);
}

.material-tile:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 3px;
}

.material-tile.is-open {
  border-color: var(--green-dark);
  box-shadow: var(--shadow);
}

.material-tile__hint {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 1;
  transition: opacity 0.45s ease;
}

body.theme-dark .material-tile__hint {
  background-image: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}

.material-tile.is-open .material-tile__hint {
  opacity: 0;
  pointer-events: none;
}

.material-tile__reveal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.material-tile.is-open .material-tile__reveal {
  opacity: 1;
  transform: scale(1);
}

.material-tile__reveal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.material-tile__meta {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem 1.15rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 61, 46, 0.92) 38%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.material-tile.is-open .material-tile__meta {
  transform: translateY(0);
}

.material-tile__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-light);
}

.material-tile__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.25;
}

.section--premium-split {
  background: linear-gradient(165deg, #faf9f7 0%, #f2ebe2 55%, #efe6dc 100%);
  color: #1a2320;
  position: relative;
}

.section--premium-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 12% 20%, rgba(11, 61, 46, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.section--premium-split > .container {
  position: relative;
  z-index: 1;
}

.section--premium-split .eyebrow {
  color: rgba(11, 61, 46, 0.88);
}

.premium-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.premium-split__eyebrow {
  margin-bottom: 0.85rem;
}

.premium-split__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  color: #101a16;
}

.premium-split__lead {
  margin: 0 0 1.75rem;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(26, 35, 32, 0.82);
}

.premium-split__list {
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.premium-split__list li {
  position: relative;
  padding-left: 1.65rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(26, 35, 32, 0.88);
  letter-spacing: -0.01em;
}

.premium-split__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227 0%, #a67c32 100%);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.btn-premium-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 4px;
  background: linear-gradient(135deg, #0f2e24 0%, #153d30 100%);
  color: #faf9f7;
  border: 1px solid rgba(15, 46, 36, 0.5);
  box-shadow: 0 12px 32px rgba(15, 46, 36, 0.22);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.btn-premium-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(15, 46, 36, 0.32);
  filter: brightness(1.06);
}

.premium-split__figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(20, 30, 26, 0.14),
    0 0 0 1px rgba(26, 35, 32, 0.06);
}

.premium-split__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.premium-split__content > .reveal:nth-child(1) {
  transition-delay: 0.02s;
}

.premium-split__content > .reveal:nth-child(2) {
  transition-delay: 0.05s;
}

.premium-split__content > .reveal:nth-child(3) {
  transition-delay: 0.08s;
}

.premium-split__content > .reveal:nth-child(4) {
  transition-delay: 0.1s;
}

.premium-split__content > .reveal:nth-child(5) {
  transition-delay: 0.12s;
}

@media (max-width: 1024px) {
  .premium-split {
    grid-template-columns: 1fr;
  }

  .premium-split__visual {
    order: 2;
  }

  .premium-split__content {
    order: 1;
  }
}

.before-after-frame {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11, 61, 46, 0.06) 0%, rgba(248, 246, 242, 0.9) 42%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow:
    0 32px 80px rgba(15, 28, 22, 0.08),
    0 0 0 1px rgba(11, 61, 46, 0.07);
}

body.theme-dark .before-after-frame {
  background: linear-gradient(145deg, rgba(167, 215, 169, 0.08) 0%, rgba(21, 28, 25, 0.95) 45%, rgba(14, 19, 17, 0.98) 100%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.before-after {
  --split: 50;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: clamp(320px, 52vw, 480px);
  aspect-ratio: 16 / 10;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 48px rgba(15, 28, 22, 0.12);
}

body.theme-dark .before-after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.4);
}

.before-after__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.before-after__after {
  z-index: 1;
}

.before-after__before {
  z-index: 2;
  clip-path: inset(0 calc((100 - var(--split)) * 1%) 0 0);
}

.before-after__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--split) * 1%);
  z-index: 4;
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.before-after__divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    #fff 18%,
    #fff 82%,
    rgba(255, 255, 255, 0.05) 100%
  );
  box-shadow:
    0 0 0 1px rgba(11, 61, 46, 0.12),
    0 0 28px rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.before-after__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 36px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 4px 14px rgba(11, 61, 46, 0.25),
    0 0 0 1px rgba(11, 61, 46, 0.08);
}

.before-after__label {
  position: absolute;
  bottom: 1rem;
  z-index: 5;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(11, 61, 46, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.before-after__label--before {
  left: 1rem;
}

.before-after__label--after {
  right: 1rem;
  background: rgba(26, 36, 32, 0.45);
}

.before-after-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

.cta-section {
  background: var(--green-dark);
  color: var(--white);
}

.cta-wrap {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.5rem;
}

.cta-wrap h2,
.cta-wrap p {
  color: var(--white);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.civexa-contact {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
}

.civexa-contact__intro {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0.92;
}

.civexa-contact__embed {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
  min-height: 12rem;
}

.input-group {
  display: grid;
  gap: 0.35rem;
}

.input-group label {
  font-weight: 700;
  font-size: 0.92rem;
}

.input-group input,
.input-group select,
.input-group textarea {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.input-group textarea {
  resize: vertical;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: 2px solid rgba(58, 125, 68, 0.22);
  border-color: var(--green-mid);
}

.input-full {
  grid-column: 1 / -1;
}

.form-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.85rem;
  opacity: 0.8;
}

.form-feedback {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 700;
  color: var(--green-dark);
}

.contact-page {
  padding-top: max(4.875rem, calc(env(safe-area-inset-top, 0px) + 3.5rem));
}

.page-intro {
  padding-bottom: 3rem;
}

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

.page-intro-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.executive-card {
  max-width: 760px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.executive-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.executive-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(167, 215, 169, 0.55);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(1.35rem, 3.5vw, 2rem);
  max-width: 1040px;
  margin-inline: auto;
  align-items: stretch;
}

.leadership-grid .executive-card {
  max-width: none;
  width: 100%;
  height: 100%;
}

.executive-role {
  margin: -0.2rem 0 0;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-mid);
}

body.theme-dark .executive-role {
  color: var(--green-light);
  opacity: 0.9;
}

.executive-bio {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.6;
}

.section-head--narrow {
  text-align: center;
  margin-bottom: 2rem;
}

.build-types-note {
  margin-top: clamp(1.25rem, 4vw, 2rem);
}

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

.footer {
  background: #0a2d23;
  color: rgba(255, 255, 255, 0.9);
  padding: 2.2rem 0;
  padding-bottom: max(2.2rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem));
}

body.theme-dark .footer {
  background: #0a120f;
}

.footer-wrap {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.footer h4 {
  color: var(--green-light);
  margin-bottom: 0.5rem;
}

.footer a {
  display: block;
  margin-bottom: 0.4rem;
}

.footer-small {
  font-size: 0.86rem;
  max-width: 290px;
  opacity: 0.88;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--motion-med) var(--ease-out), transform var(--motion-med) var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .cards-grid,
  .project-grid,
  .material-tiles,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline,
  .timeline--premium {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .timeline-step:last-child {
    border-bottom: none;
  }

  .two-col,
  .two-col--balanced {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(1120px, calc(100% - 1.5rem));
    margin-left: auto;
    margin-right: auto;
  }

  .lang-switcher {
    margin-left: auto;
  }

  .nav-links .nav-utils {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 0.25rem;
  }

  .brand-logo-mark {
    height: clamp(56px, 14vw, 72px);
    max-width: 88px;
  }

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

  .nav-links {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(4.875rem + env(safe-area-inset-top, 0px));
    display: flex;
    width: auto;
    max-height: min(72vh, calc(100dvh - 6rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--green-dark);
    padding: 0.85rem 1rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.985);
    transition:
      opacity var(--motion-fast) var(--ease-out),
      transform var(--motion-med) var(--ease-snap),
      visibility var(--motion-fast) var(--ease-out);
  }

  .nav-links a,
  .nav-links .nav-utils {
    color: inherit;
    padding: 0.55rem 0.15rem;
    font-size: 0.92rem;
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity var(--motion-fast) var(--ease-out),
      transform var(--motion-med) var(--ease-out),
      color var(--motion-fast) var(--ease-out),
      background var(--motion-fast) var(--ease-out);
  }

  .nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding-inline: 0.65rem;
  }

  .nav-links a:not(.btn-small)::after {
    display: none;
  }

  .nav-links.open .nav-item,
  .nav-links.open .nav-utils {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(50ms + var(--nav-i, 0) * 42ms);
  }

  .nav-links .btn-small {
    width: 100%;
    margin-top: 0.35rem;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .nav-links.open {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    animation: navPanelIn 0.42s var(--ease-snap);
  }

  @keyframes navPanelIn {
    from {
      opacity: 0;
      transform: translateY(-14px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .nav-toggle {
    position: relative;
    z-index: 1212;
    transition: background var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out);
  }

  body.nav-open .brand {
    position: relative;
    z-index: 1212;
  }

  body.nav-open .nav-toggle {
    background: rgba(11, 61, 46, 0.08);
  }

  .split,
  .cards-grid,
  .timeline,
  .value-grid,
  .project-grid,
  .material-tiles,
  .services-grid,
  .contact-form,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .split--reverse {
    direction: ltr;
  }

  .timeline::before {
    display: none;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section--spacious {
    padding: clamp(3.5rem, 12vw, 5.5rem) 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .hero {
    min-height: min(88vh, 100dvh);
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .before-after {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .before-after-frame {
    padding: 0.5rem;
    border-radius: 14px;
  }

  .premium-split__title {
    font-size: clamp(1.65rem, 6vw, 2.4rem);
  }

  .btn-premium-cta {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .material-tiles-hint {
    margin-bottom: 1rem;
  }

  .cta-heading {
    font-size: clamp(1.35rem, 5vw, 2rem);
    padding-inline: 0.25rem;
  }

  .cta-wrap .btn--large {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }

  .input-group input,
  .input-group select,
  .input-group textarea {
    font-size: 1rem;
    min-height: 48px;
    padding: 0.65rem 0.85rem;
  }

  .input-group textarea {
    min-height: 120px;
  }

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

  .form-action .btn {
    width: 100%;
    justify-content: center;
  }

  .page-intro-inner h1 {
    font-size: clamp(1.65rem, 6vw, 2.35rem);
  }

  .executive-card {
    padding: 1.5rem 1.1rem;
    margin-inline: 0;
  }

  .site-loader-inner {
    padding-inline: max(0.75rem, env(safe-area-inset-left));
    padding-inline-end: max(0.75rem, env(safe-area-inset-right));
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(1.7rem, 8.5vw, 2.35rem);
  }

  .section-title {
    font-size: clamp(1.55rem, 6.5vw, 2.15rem);
  }

  .hero-content .display-heading {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .before-after__label {
    font-size: 0.62rem;
    padding: 0.35rem 0.55rem;
    bottom: 0.5rem;
    max-width: 42%;
  }

  .before-after__label--before {
    left: 0.45rem;
  }

  .before-after__label--after {
    right: 0.45rem;
  }

  .footer-wrap {
    text-align: center;
  }

  .footer .brand {
    justify-content: center;
  }

  .footer-small {
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Multi-page additions (structure + UX + footer) --- */

.service-card--link {
  display: block;
  position: relative;
}

.service-card--link .service-link {
  display: inline-flex;
  margin-top: 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-dark);
}

body.theme-dark .service-card--link .service-link {
  color: var(--green-light);
}

.project-card--link {
  display: block;
  position: relative;
  transition: transform 180ms ease;
}

.project-card--link:hover {
  transform: translateY(-2px);
}

.project-card--link:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 3px;
}

.material-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.material-preview-grid--home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
  margin-inline: auto;
}

@media (max-width: 640px) {
  .material-preview-grid--home {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.material-preview {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: block;
  transition: transform 180ms ease, border-color 180ms ease;
}

.material-preview:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 125, 68, 0.45);
}

.material-preview:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 3px;
}

.material-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-preview__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 0.95rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 61, 46, 0.92) 55%);
  display: grid;
  gap: 0.25rem;
}

.material-preview__tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--green-light);
}

.material-preview__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-actions {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
}

.page {
  padding-top: max(4.875rem, calc(env(safe-area-inset-top, 0px) + 3.5rem));
}

.page-hero {
  padding-bottom: 3rem;
}

.page-hero-inner {
  max-width: 820px;
}

.page-hero-lead {
  font-size: 1.1rem;
  opacity: 0.92;
}

.page-hero--service,
.page-hero--services,
.page-hero--projects,
.page-hero--materials {
  position: relative;
  color: var(--white);
  overflow: clip;
}

.page-hero--services,
.page-hero--projects,
.page-hero--materials {
  background: linear-gradient(145deg, #0b3d2e 0%, #061f18 100%);
}

.page-hero--services .eyebrow,
.page-hero--projects .eyebrow,
.page-hero--materials .eyebrow {
  color: var(--green-light);
}

.page-hero--services h1,
.page-hero--projects h1,
.page-hero--materials h1,
.page-hero--services p,
.page-hero--projects p,
.page-hero--materials p {
  color: var(--white);
}

.page-hero--service .page-hero-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 1rem;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 18, 15, 0.92) 0%,
    rgba(11, 61, 46, 0.62) 45%,
    rgba(20, 35, 28, 0.35) 100%
  );
  z-index: 0;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin: 0 0 1rem;
  color: var(--white);
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.25rem;
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.focus-swap {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.focus-swap__list {
  display: grid;
  gap: 0.65rem;
}

.focus-swap__item {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 1rem 1.05rem;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.focus-swap__item:hover {
  transform: translateX(4px);
  border-color: rgba(58, 125, 68, 0.5);
}

.focus-swap__item.is-active {
  border-color: rgba(58, 125, 68, 0.72);
  background: rgba(58, 125, 68, 0.1);
}

.focus-swap__media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.focus-swap__media img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
}

.focus-swap__media img.is-switching {
  opacity: 0.72;
  transform: scale(1.04);
}

.service-link-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 125, 68, 0.45);
}

.service-link-card:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 3px;
}

.service-link-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-link-card__body {
  padding: 1.5rem 1.5rem 1.65rem;
}

.service-link-card__kicker {
  margin: 0 0 0.6rem;
  font-weight: 800;
  color: var(--green-mid);
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.service-link-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.service-link-card__desc {
  margin: 0;
  opacity: 0.88;
}

.service-link-card__cta {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--green-dark);
}

body.theme-dark .service-link-card__cta {
  color: var(--green-light);
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.95rem 1rem;
  margin-bottom: 0.8rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  font-weight: 900;
  color: var(--green-mid);
}

.faq details[open] summary::after {
  content: "–";
}

.bullets {
  padding-left: 1.15rem;
}

.bullets li {
  margin-bottom: 0.55rem;
}

.project-grid--dense {
  gap: 1.25rem;
}

.project-card--detail {
  position: relative;
}

.project-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.project-subtitle {
  margin: 0 0 0.85rem;
  opacity: 0.85;
  font-weight: 650;
  font-size: 0.92rem;
}

.project-pills {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-pills li {
  border: 1px solid var(--line);
  background: rgba(11, 61, 46, 0.06);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

body.theme-dark .project-pills li {
  background: rgba(255, 255, 255, 0.08);
}

.project-desc {
  margin: 0 0 0.9rem;
  opacity: 0.9;
}

.project-cta {
  margin: 0;
  font-weight: 850;
  color: var(--green-dark);
}

body.theme-dark .project-cta {
  color: var(--green-light);
}

.material-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.material-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 260px;
}

.material-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-card__body {
  padding: 1.5rem 1.5rem 1.6rem;
  position: relative;
  z-index: 1;
}

.material-card__tag {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  color: var(--green-mid);
}

.material-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.material-card__desc {
  margin: 0 0 0.9rem;
  opacity: 0.9;
}

.material-card__details summary {
  font-weight: 800;
  cursor: pointer;
  position: relative;
  padding-right: 1.2rem;
}

.material-card__details {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.material-card__details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 900;
  color: var(--green-light);
  transition: transform 240ms ease;
}

.material-card__details[open] summary::after {
  transform: rotate(45deg);
}

.material-card__details .prose {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 340ms ease, opacity 260ms ease, transform 260ms ease;
}

.material-card__details[open] .prose {
  max-height: 280px;
  opacity: 1;
  transform: translateY(0);
}

.footer--new {
  background: #0a2d23;
  color: rgba(255, 255, 255, 0.92);
}

body.theme-dark .footer--new {
  background: #0a120f;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.2fr 1fr 1.1fr 1fr;
  align-items: start;
  padding: 2.35rem 0 1.4rem;
}

.footer-links a {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 650;
}

.footer-label {
  margin: 0 0 0.45rem;
  color: var(--green-light);
  font-weight: 850;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

.footer-muted {
  margin: 0 0 0.35rem;
  opacity: 0.9;
}

.footer-muted a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-muted a:hover {
  color: var(--green-light);
}

.footer-utils {
  display: grid;
  gap: 1rem;
  justify-items: end;
}

.footer-utils__row {
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
  align-items: center;
}

.theme-toggle--footer {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.lang-switcher--footer select {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 800;
}

.footer-social a {
  display: block;
  margin-bottom: 0.45rem;
}

.footer-bottom {
  padding: 0.9rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .material-preview-grid,
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-utils {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .material-preview-grid,
  .cards-3,
  .focus-swap {
    grid-template-columns: 1fr;
  }

  .kpi-strip {
    grid-template-columns: 1fr;
  }

  .material-cards {
    grid-template-columns: 1fr;
  }

  .material-card {
    grid-template-columns: 1fr;
    position: relative;
  }

  .material-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58%;
    background: linear-gradient(180deg, rgba(11, 61, 46, 0) 0%, rgba(11, 61, 46, 0.9) 55%, rgba(11, 61, 46, 0.98) 100%);
    pointer-events: none;
    z-index: 0;
  }

  .material-card__body,
  .material-card__body .material-card__title,
  .material-card__body .material-card__desc,
  .material-card__body .prose,
  .material-card__body summary {
    color: var(--white);
  }

  .material-card__details {
    border-top-color: rgba(255, 255, 255, 0.25);
  }

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

  .footer-utils {
    justify-items: start;
  }
}

/* Multifamily projects catalog & detail dialog */
.projects-mf-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 52ch;
}

.projects-mf-lead {
  margin: 0.5rem 0 0;
  opacity: 0.9;
  line-height: 1.55;
}

.projects-mf-catalog {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  max-width: 920px;
}

.mf-project-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.mf-project-card__media {
  overflow: hidden;
  min-height: 200px;
}

.mf-project-card__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.mf-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(15, 28, 22, 0.14);
}

.mf-project-card:hover .mf-project-card__media img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.mf-project-card__body {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mf-project-card__kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin: 0;
}

body.theme-dark .mf-project-card__kicker {
  color: var(--green-light);
}

.mf-project-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.1;
}

.mf-project-card__loc {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.88;
  font-weight: 650;
  line-height: 1.45;
}

.mf-project-card__pills {
  margin: 0.35rem 0 0.15rem;
}

.mf-project-card__summary {
  margin: 0.25rem 0 0.85rem;
  font-size: 0.9rem;
  opacity: 0.86;
  line-height: 1.5;
}

.mf-project-card__btn {
  align-self: flex-start;
  margin-top: auto;
}

.project-dialog {
  padding: 0;
  border: none;
  max-width: min(920px, calc(100vw - 1.25rem));
  width: 100%;
  background: transparent;
}

.project-dialog::backdrop {
  background: rgba(11, 27, 22, 0.58);
  backdrop-filter: blur(8px);
  animation: mfBackdropIn 0.32s ease both;
}

@keyframes mfBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.project-dialog__panel {
  position: relative;
  background: var(--surface);
  color: var(--text);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
  border: 1px solid var(--line);
  animation: mfDialogPanel 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mfDialogPanel {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.project-dialog__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-dark);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

body.theme-dark .project-dialog__close {
  background: rgba(20, 28, 24, 0.94);
  color: var(--green-light);
}

.project-dialog__close:hover {
  transform: scale(1.06);
}

.project-dialog__scroll {
  max-height: min(88vh, 920px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.project-dialog__figure {
  margin: 0;
  aspect-ratio: 21 / 9;
  max-height: 300px;
}

.project-dialog__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-dialog__content {
  padding: clamp(1.2rem, 3.5vw, 2.15rem);
  padding-top: 1.35rem;
}

.project-dialog__eyebrow {
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin: 0 0 0.35rem;
}

.project-dialog__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.8vw, 1.95rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.project-dialog__subtitle {
  margin: 0 0 0.45rem;
  font-weight: 650;
  opacity: 0.88;
  font-size: 0.94rem;
  line-height: 1.45;
}

.project-dialog__tagline {
  margin: 0 0 1.65rem;
  font-size: 0.87rem;
  opacity: 0.82;
  line-height: 1.55;
}

.project-dialog__section {
  margin-bottom: 1.65rem;
}

.project-dialog__h {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.spec-pairs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-pairs__row {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 0.65rem 1rem;
  align-items: baseline;
  font-size: 0.9rem;
}

.spec-pairs__row dt {
  margin: 0;
  font-weight: 650;
  opacity: 0.72;
}

.spec-pairs__row dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.spec-pairs__row--emph dd,
.spec-pairs__row--emph dt {
  opacity: 1;
  font-weight: 800;
  color: var(--green-dark);
}

body.theme-dark .spec-pairs__row--emph dd,
body.theme-dark .spec-pairs__row--emph dt {
  color: var(--green-light);
}

.project-dialog__fine {
  font-size: 0.8rem;
  opacity: 0.72;
  margin: -0.2rem 0 0.7rem;
  line-height: 1.4;
}

.project-dialog__contact {
  background: linear-gradient(145deg, rgba(11, 61, 46, 0.07), rgba(58, 125, 68, 0.04));
  padding: 1.05rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.project-dialog__contact-name {
  margin: 0 0 0.4rem;
  font-weight: 750;
}

.project-dialog__contact-line {
  margin: 0.12rem 0 0;
  font-size: 0.9rem;
}

.project-dialog__contact a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.project-dialog__disclaimer {
  font-size: 0.76rem;
  opacity: 0.64;
  margin: 1.15rem 0 1.35rem;
  line-height: 1.45;
}

.project-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-bottom: 0.15rem;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  padding: 0.62rem 1.1rem;
  font-weight: 750;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(58, 125, 68, 0.55);
  background: rgba(58, 125, 68, 0.07);
}

@keyframes mfSectionIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-dialog[open] .mf-animate-in {
  animation: mfSectionIn 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.06s + var(--mf-delay, 0ms));
}

@media (max-width: 900px) {
  .mf-project-card {
    grid-template-columns: 1fr;
  }

  .mf-project-card__media img {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .project-dialog__figure {
    aspect-ratio: 16 / 10;
    max-height: 200px;
  }

  .spec-pairs__row {
    grid-template-columns: 1fr;
  }

  .spec-pairs__row dd {
    text-align: left;
  }
}

/* Motion refinements */
.card,
.service-card,
.project-card,
.material-card,
.image-panel img,
.premium-split__figure img,
.material-preview {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease, filter 320ms ease;
}

.card:hover,
.service-card:hover,
.project-card:hover,
.material-card:hover,
.material-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(15, 28, 22, 0.14);
}

.image-panel:hover img,
.premium-split__figure:hover img,
.project-card:hover img,
.material-card:hover .material-card__img {
  transform: scale(1.03);
  filter: saturate(1.04);
}

.btn:active,
.theme-toggle:active,
.nav-toggle:active {
  transform: scale(0.98);
}

/* Home — calmer hero, frosted hero panel, essentials band */
.hero--home-calm .hero-media {
  opacity: 0.4;
  filter: saturate(0.82);
}

.hero--home-calm .hero-overlay {
  background: linear-gradient(
    125deg,
    rgba(5, 18, 14, 0.94) 0%,
    rgba(11, 61, 46, 0.82) 44%,
    rgba(6, 28, 22, 0.72) 100%
  );
}

.hero-content--tight {
  max-width: 38rem;
}

.hero-content--tight .hero-lead {
  opacity: 0.95;
}

.section--home-band {
  background: linear-gradient(180deg, #edf3ef 0%, #e0ebe3 42%, #d3e3da 100%);
}

body.theme-dark .section--home-band {
  background: linear-gradient(180deg, #080f0c 0%, #0c1612 48%, #0f1f18 100%);
}

.home-band__grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);
  align-items: stretch;
}

@media (max-width: 900px) {
  .home-band__grid {
    grid-template-columns: 1fr;
  }
}

.home-glass {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(11, 61, 46, 0.1);
  box-shadow: 0 18px 50px rgba(11, 61, 46, 0.08);
}

body.theme-dark .home-glass {
  background: rgba(18, 26, 22, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.home-glass--compact {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-glass .section-lead {
  max-width: 56ch;
}

.home-pillars {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-pillars li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.94;
}

.home-pillars li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-mid);
}

.home-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.home-side-tagline {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--green-dark);
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 61, 46, 0.12);
}

body.theme-dark .home-side-tagline {
  color: var(--green-light);
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* —— Refinement: topbar, programs CTA, motion preferences —— */
.topbar {
  transition:
    background var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) var(--ease-out);
}

.topbar--scrolled {
  box-shadow: 0 10px 32px rgba(11, 61, 46, 0.08);
}

body.theme-dark .topbar--scrolled {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

body.nav-open {
  overflow: hidden;
}

.home-programs-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(11, 61, 46, 0.06) 0%, rgba(255, 255, 255, 0.92) 55%);
  box-shadow: var(--shadow);
}

body.theme-dark .home-programs-callout {
  background: linear-gradient(135deg, rgba(58, 125, 68, 0.12) 0%, rgba(21, 28, 25, 0.95) 60%);
}

.home-programs-callout__copy {
  flex: 1 1 280px;
  max-width: 640px;
}

.home-programs-callout__copy .section-title {
  margin-bottom: 0.65rem;
}

.home-programs-callout__btn {
  flex-shrink: 0;
}

.material-preview-grid--home {
  grid-template-columns: minmax(0, 1fr);
  max-width: 420px;
}

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

  .reveal,
  .site-loader,
  .site-loader-inner,
  .nav-links,
  .nav-links a {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .team-chip,
  .team-feature,
  .team-filter,
  .nav-backdrop,
  .nav-toggle__bars span {
    transition: none !important;
    animation: none !important;
  }
}

/* —— Premium navigation —— */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1180;
  background: rgba(6, 18, 14, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--motion-med) var(--ease-out),
    visibility var(--motion-fast) var(--ease-out);
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-toggle {
  gap: 0.55rem;
  transition:
    background var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    transform var(--motion-fast) var(--ease-snap);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
  height: 16px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 0.38s var(--ease-snap),
    opacity 0.22s var(--ease-out);
}

.nav-toggle.is-active .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-toggle.is-active .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle__label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (min-width: 761px) {
  .nav-links a[aria-current="page"]:not(.btn-small) {
    color: var(--green-dark);
  }

  body.theme-dark .nav-links a[aria-current="page"]:not(.btn-small) {
    color: var(--green-light);
  }

  .nav-links a[aria-current="page"]:not(.btn-small)::after {
    transform: scaleX(1);
  }

  .nav-links a:not(.btn-small):hover {
    transform: translateY(-1px);
  }

  .nav-links .btn-small {
    box-shadow: 0 6px 20px rgba(11, 61, 46, 0.2);
  }

  .nav-links .btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(11, 61, 46, 0.28);
  }

  .topbar--scrolled .nav-wrap {
    min-height: 66px;
  }

  .topbar--scrolled .brand-logo-mark {
    height: clamp(52px, 7vw, 72px);
  }
}

body.nav-open .nav-toggle {
  background: rgba(11, 61, 46, 0.1);
}

body.theme-dark.nav-open .nav-toggle {
  background: rgba(255, 255, 255, 0.12);
}

/* —— Team page —— */
.team-page {
  background: var(--surface);
}

.about-leaders-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

.team-hero {
  position: relative;
  padding: clamp(6rem, 15vw, 9.5rem) 0 clamp(3rem, 7vw, 4.5rem);
  color: var(--white);
  background:
    radial-gradient(110% 90% at 100% 0%, rgba(167, 215, 169, 0.16), transparent 52%),
    radial-gradient(80% 60% at 0% 100%, rgba(58, 125, 68, 0.25), transparent 48%),
    linear-gradient(160deg, #041f18 0%, var(--green-dark) 50%, #0d5240 100%);
  overflow: hidden;
}

.team-hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 55%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
}

.team-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.team-hero__title {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.35rem, 5.5vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.team-hero__lead {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
}

.team-section {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.team-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.team-toolbar__head {
  max-width: 28rem;
}

.team-toolbar .subsection-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.03em;
}

.team-toolbar__hint {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.72;
  line-height: 1.55;
}

.team-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.team-filter {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out),
    background var(--motion-fast) var(--ease-out),
    transform var(--motion-fast) var(--ease-snap),
    box-shadow var(--motion-fast) var(--ease-out);
}

.team-filter:hover {
  border-color: var(--green-mid);
  transform: translateY(-1px);
}

.team-filter.is-active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(11, 61, 46, 0.22);
}

body.theme-dark .team-filter {
  background: var(--surface-alt);
}

body.theme-dark .team-filter.is-active {
  background: var(--green-mid);
  border-color: var(--green-mid);
}

.team-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    opacity var(--motion-med) var(--ease-out),
    transform var(--motion-med) var(--ease-out);
}

.team-feature.is-switching .team-feature__copy {
  opacity: 0.6;
}

.team-feature__visual {
  position: relative;
  min-height: 320px;
  background: var(--charcoal);
}

.team-feature__visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center 12%;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.team-feature__visual img.is-loaded {
  opacity: 1;
}

.team-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--surface-alt);
}

.team-feature__dept {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-mid);
}

.team-feature__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--gray-dark);
}

body.theme-dark .team-feature__name {
  color: var(--white);
}

.team-feature__role {
  margin: 0.45rem 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
}

body.theme-dark .team-feature__role {
  color: var(--green-light);
}

.team-feature__bio {
  margin: 0;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.72;
}

.team-strip-wrap {
  margin-top: 0.25rem;
}

.team-strip-label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.55;
}

.team-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 0.85rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.team-strip::-webkit-scrollbar {
  height: 6px;
}

.team-strip::-webkit-scrollbar-thumb {
  background: rgba(11, 61, 46, 0.25);
  border-radius: 999px;
}

.team-chip {
  flex: 0 0 clamp(132px, 14vw, 168px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  gap: 0.5rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-fast) var(--ease-out),
    transform var(--motion-med) var(--ease-snap);
  animation: teamChipIn 0.5s var(--ease-out) backwards;
  animation-delay: calc(var(--chip-i, 0) * 40ms);
}

@keyframes teamChipIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 125, 68, 0.5);
  box-shadow: 0 10px 24px rgba(15, 28, 22, 0.08);
}

.team-chip.is-active {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 1px var(--green-mid), 0 12px 28px rgba(11, 61, 46, 0.12);
  background: linear-gradient(180deg, rgba(11, 61, 46, 0.04), var(--surface));
}

.team-chip__avatar {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-chip.is-active .team-chip__avatar {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 1px var(--green-mid);
}

.team-chip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.team-chip__name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  padding: 0 0.2rem 0.35rem;
  text-wrap: balance;
  color: inherit;
}

body.theme-dark .team-page .team-chip,
body.theme-dark .team-page .team-chip__name {
  color: #fff;
}

.team-chip__role {
  display: none;
}

@media (max-width: 900px) {
  .team-feature {
    grid-template-columns: 1fr;
  }

  .team-feature__visual {
    aspect-ratio: 4 / 3;
    max-height: 420px;
  }
}

.team-cta-band__inner {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.team-cta-band .section-title {
  margin: 0.5rem 0 1.35rem;
}

.team-cta-band .btn-primary {
  min-width: 12rem;
}
