@import url("https://fonts.googleapis.com/css2?family=Quantico:wght@400;700&family=Inter:wght@400;600;700;800&display=swap");

:root {
  --green-dark: #00463b;
  --green-darker: #002620;
  --green-accent: #45d993;
  --green-pale: #dae4de;
  --grey-muted: #778b87;
  --white: #ffffff;
  --black: #0b0f0e;

  --font-display: "Quantico", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1440px;
  --gutter: clamp(24px, 5vw, 115px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  font-family: var(--font-display);
  font-size: 16px;
  white-space: nowrap;
}

.btn--light {
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid transparent;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

a.btn.btn--light:hover {
  color: #44d993;
  background: transparent;
  border: 1px solid;
  border-color: #44d993;
}

.btn__arrow {
  width: 14px;
  height: 14px;
  color: currentColor;
}

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

.site-header {
  background: var(--green-darker);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__watermark {
  position: absolute;
  top: -108px;
  left: 0;
  right: 0;
  z-index: 0;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(90px, 12vw, 190px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 10px;
}

.site-header__logo img {
  height: 59px;
  width: auto;
}

.site-header__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--green-pale);
}

.site-nav a:hover {
  color: var(--green-accent);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  background: none;
  border: none;
  padding: 0;
  display: flex;
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.site-header__toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-pale);
}

@media (max-width: 900px) {
  .site-header__menu {
    display: none;
  }

  .site-header__toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header__menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-darker);
    padding: 24px var(--gutter);
    gap: 24px;border-bottom: 2px solid #44d993;
  }

  .site-header__menu.is-open .site-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .site-header__menu.is-open .site-header__actions {
    flex-wrap: wrap;
  }

  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
    box-shadow: -2px 10px 11px -8px rgba(0,0,0,0.67);
-webkit-box-shadow: -2px 10px 11px -8px rgba(0,0,0,0.67);
-moz-box-shadow: -2px 10px 11px -8px rgba(0,0,0,0.67);
  }
}

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

.hero {
  position: relative;
  background: var(--green-darker) url("/assets/images/hero-bg.png") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
  height: 85vh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter);
  padding-bottom: 10vh;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 38, 32, 0.15) 0%, rgba(0, 38, 32, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 2px;
  margin: 0 0 8px;
  padding: 0 7px;
}

.hero__heading-row {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 1;
  margin: 0;
}

.hero__scroll {
  flex-shrink: 0;
  margin-bottom: 0.15em;
  width: 70px;
  height: 70px;
}

.hero__scroll img {
  width: 24px;
  height: 24px;
}

a.hero__scroll.icon-circle {
    margin-bottom: 19px;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.icon-circle img {
  width: 18px;
  height: 18px;
}

.icon-circle-right__arrow {
  transition: transform 0.25s ease;
}

.icon-circle-right:hover {
  color: #45d993;
  border-color: #45d993;
}

.icon-circle-right:hover .icon-circle-right__arrow {
  transform: rotate(-135deg);
}

.icon-circle-right--flipped .icon-circle-right__arrow {
  transform: rotate(180deg);
}

.icon-circle-right--flipped:hover .icon-circle-right__arrow {
  transform: rotate(45deg);
}

.icon-circle-project {
  border-color: #00463b;
  color: #00463b;
}

.icon-circle-project:hover {
  border-color: #45d993;
  color: #45d993;
}

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

.stats {
  padding: 72px var(--gutter);
  text-align: center;
}

.stats__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  margin: 0 0 48px;
  text-transform: uppercase;
}

.stats__list {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stats__item {
  width: 180px;
  height: 180px;
  border: 1px solid var(--green-pale);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.stats__item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.stats__item span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .stats__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stats__item {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 16px;
    gap: 12px;
  }

  .stats__item img {
    width: 48px;
    height: 48px;
  }
}

/* ---------- Projects ---------- */

.projects {
  background: linear-gradient(0deg, #45d9935e 0%, #fff 100%);
  overflow: hidden;
  padding-bottom: 40px;
  position: relative;
  min-height: 792px;
}

.projects__heading {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 32px;
  margin: 0 0 40px;
}

.projects__track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  margin: 0 auto;
  scrollbar-width: none;
}

.projects__track::-webkit-scrollbar {
  display: none;
}

.projects__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  z-index: 5;
  cursor: pointer;
  box-shadow: 0 8px 12px rgba(0, 70, 59, 0.16);
}

.projects:hover .projects__nav {
  opacity: 1;
  pointer-events: auto;
}

.projects__nav:hover {
  background: var(--green-accent);
  color: var(--green-darker);
}

.projects__nav--prev {
  left: 12px;
}

.projects__nav--next {
  right: 12px;
}

@media (max-width: 700px) {
  .projects__nav {
    display: none;
  }
}

.project-card {
  position: relative;
  background: var(--white);
  box-shadow: 0 8px 12px rgba(0, 70, 59, 0.08);
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  max-height: 540px;
  transition: width 0.35s ease, height 0.35s ease, max-height 0.35s ease;
}

.project-card--tall {
  height: 642px;
  max-height: 704px;
}

@media (max-width: 900px) {
  .project-card {
    flex-basis: min(320px, 80vw);
    width: min(320px, 80vw);
  }

  .project-card--tall {
    height: auto;
    max-height: 540px;
  }

  .project-card--tall .project-card__body {
    padding-bottom: 32px;
  }
}

.project-card {
  overflow: hidden;
}

.project-card__media {
  aspect-ratio: 588 / 410;
  overflow: hidden;
}

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

.project-card__media,
.project-card__body {
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.project-card:hover .project-card__media {
  transform: translateY(var(--body-h, 0px));
}

.project-card:hover .project-card__body {
  transform: translateY(calc(-1 * var(--media-h, 0px)));
}

.project-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  justify-content: flex-end;
}

.project-card__title {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.05;
  margin: 0;
}

.project-card--tall .project-card__body {
  padding-bottom: 48px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: fit-content;
  padding: 0 24px;
  background: var(--green-accent);
  color: var(--green-dark);
  font-family: var(--font-display);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.more-link:hover {
  background: #ffffff;
  color: var(--green-accent);
  border: 1px solid;
  border-color: var(--green-accent);
}

.projects__more {
  max-width: var(--max-width);
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  color: var(--green-dark);
  font-size: 55px;
  text-transform: uppercase;
  width: 100%;
  margin-top: -71px;
  font-weight: bold;
  transition: color 0.25s ease;
}

.projects__more:hover {
  color: #45d993;
}

.projects__more:hover .icon-circle-project {
  border-color: #45d993;
  color: #45d993;
}

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

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

.about p {
  font-size: clamp(18px, 3.2vw, 29px);
  line-height: 1.6;
  color: var(--black);
}

.about p:first-child {
  font-weight: 700;
}

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

.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px var(--gutter) 96px;
}

.legal__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(32px, 5vw, 48px);
  color: var(--green-dark);
  margin: 0 0 12px;
}

.legal__updated {
  color: var(--grey-muted);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal h2 {
  font-family: var(--font-display);
  color: var(--green-dark);
  font-size: 22px;
  margin: 40px 0 12px;
}

.legal p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  margin: 0 0 12px;
}

.legal a {
  color: var(--green-dark);
  text-decoration: underline;
}

/* ---------- Team teaser ---------- */

.team-teaser {
  position: relative;
  overflow: hidden;
}

.team-teaser__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.team-teaser__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 70px);
  color: var(--green-dark);
  letter-spacing: -1px;
  transition: color 0.25s ease;
}

.team-teaser__link:hover {
  color: #45d993;
}

.team-teaser__link:hover .icon-circle-project {
  border-color: #45d993;
  color: #45d993;
}

.team-teaser__quote {
  position: absolute;
  right: var(--gutter);
  top: 10%;
  width: 239px;
  height: auto;
  z-index: 0;
}

.team-teaser__media {
  margin-top: 48px;
  max-width: 1134px;
}

.team-teaser__media img {
  width: 100%;
  border-radius: 4px;
}

@media (max-width: 900px) {
  section.projects {
    padding: 72px var(--gutter);
  }

  section.about {
    padding: 72px var(--gutter);
  }

  section.team-teaser {
    padding: 0 var(--gutter);
  }
}

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

.site-footer {
  background: var(--green-darker);
  color: var(--green-pale);
  padding: 40px var(--gutter);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
}

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav ul {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 16px;
}

.footer-top__social {
  display: flex;
  gap: 20px;
}

.newsletter {
  position: relative;
  margin-top: 56px;
  padding-bottom: 40px;
}

.newsletter__label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 70px);
  letter-spacing: -1px;
  color: rgba(218, 228, 222, 0.43);
  margin-bottom: 24px;
}

.newsletter__field {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1.5px solid var(--white);
  max-width: 759px;
  padding-bottom: 18px;
}

.newsletter__field input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
}

.newsletter__field input::placeholder {
  color: rgba(218, 228, 222, 0.5);
}

.newsletter__submit {
  width: 67px;
  height: 67px;
  border-radius: 50%;
  background: var(--green-accent);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter__submit img {
  width: 23px;
  height: 23px;
}

.newsletter__mark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 145px;
  height: auto;
  opacity: 0.9;
}

.newsletter__message {
  margin: 14px 0 0;
  font-size: 14px;
  max-width: 759px;
  min-height: 1em;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.newsletter__message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.newsletter__message--success {
  color: var(--green-accent);
}

.newsletter__message--error {
  color: #ff6b6b;
}

.newsletter__field.is-loading .newsletter__submit {
  opacity: 0.6;
  pointer-events: none;
}

.footer-bottom {
  border-top: 1px solid rgba(218, 228, 222, 0.16);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom__legal {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(242, 245, 243, 0.49);
  font-size: 14px;
}

.footer-bottom__legal a {
  color: var(--grey-muted);
}

.footer-bottom__copyright {
  color: rgba(242, 245, 243, 0.49);
  font-size: 14px;
}

.footer-bottom__copyright a {
  color: rgba(242, 245, 243, 0.49);
  text-decoration: underline;
}

.footer-bottom__copyright a:hover {
  color: var(--green-accent);
}

.footer-bottom__dot {
  margin: 0 4px;
}

/* ---------- Our Team page ---------- */

.team-hero {
  background: var(--green-darker);
  color: var(--white);
  padding: 64px var(--gutter);
}

.team-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.team-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 1;
  margin: 0;
}

.team-hero__icon {
  vertical-align: middle;
  margin-left: 12px;
}

.team-hero__desc {
  max-width: 486px;
  font-size: 15px;
  line-height: 1.6;
  margin: 12px 0 0;
}

@media (max-width: 900px) {
  .team-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .team-hero__desc {
    max-width: 100%;
  }
}

.team-intro {
  position: relative;
  margin: 0;
  max-width: none;
  padding: 100px var(--gutter) 64px;
  overflow: hidden;
  background: radial-gradient(circle at 42% 0%, rgba(69, 217, 147, 0.32) 0%, rgba(69, 217, 147, 0) 45%);
}

.team-intro-section {
  max-width: var(--max-width);
  margin: 0 auto;
}

.team-intro__lead {
  position: relative;
  max-width: 1217px;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--black);
  margin: 0 0 96px;
}

.team-intro__highlight {
  font-weight: 700;
  padding: 0 2px;
  margin: 0 -2px;
  border-radius: 2px;
  background-image: linear-gradient(var(--green-accent), var(--green-accent));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size 0.35s ease;
}

.team-intro__lead:hover .team-intro__highlight {
  background-size: 100% 100%;
}

.team-intro__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-intro__mark {
  width: 104px;
  height: auto;
}

.team-intro__quote {
  width: 239px;
  height: auto;
}

.team-grid-section {
  padding: 0 var(--gutter) 96px;
}

.team-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 24px;
}

.team-card {
  position: relative;
  border: 1px solid var(--green-dark);
  border-bottom: 4px solid var(--green-dark);
  min-height: 449px;
  overflow: hidden;
}

.team-card__front {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card__info {
  padding: 24px 24px 16px;
}

.team-card__photo {
  flex: 1;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 26px;
  margin: 0;
}

.team-card__role {
  font-family: var(--font-body);
  font-weight: 100;
  text-transform: uppercase;
  font-size: 18px;
  color: var(--grey-muted);
  margin: 4px 0 0;
}

.team-card__hover {
  position: absolute;
  inset: 0;
  background: var(--green-dark);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__hover {
  transform: translateY(0);
}

.team-card__hover-name {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 26px;
  color: var(--green-accent);
  margin: 0;
}

.team-card__hover-role {
  font-family: var(--font-body);
  font-weight: 100;
  text-transform: uppercase;
  font-size: 18px;
  color: rgba(69, 217, 147, 0.6);
  margin: 4px 0 20px;
}

.team-card__hover-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--white);
  margin: 0;
}

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

  .team-intro__quote {
    display: none;
  }

  .team-intro__lead {
    font-size: 22px;
    margin: 0 0 71px;
  }

  .team-intro__foot {
    display: none;
  }
}

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

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

  .team-teaser__quote {
    display: none;
  }

  .newsletter__mark {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .projects__more {
    font-size: clamp(28px, 8vw, 55px);
    position: absolute;
    bottom: 70px;
  }
}

/* ---------- Our Partner page ---------- */

.partner-spotlight {
  padding: 0 var(--gutter) 96px;
}

.partner-spotlight__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.partner-spotlight__card {
  background: var(--green-darker);
  color: var(--white);
  border-radius: 8px;
  padding: 64px clamp(24px, 6vw, 96px);
}

.partner-spotlight__eyebrow {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-accent);
  margin: 0 0 16px;
}

.partner-spotlight__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  margin: 0 0 24px;
}

.partner-spotlight__desc {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--green-pale);
  margin: 0 0 48px;
}

.partner-spotlight__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 96px);
  padding-top: 32px;
  border-top: 1px solid rgba(218, 228, 222, 0.25);
}

.partner-spotlight__stats li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 260px;
}

.partner-spotlight__stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--green-accent);
}

.partner-spotlight__stat-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--green-pale);
}

.partner-cta {
  padding: 0 var(--gutter) 96px;
  text-align: center;
}

.partner-cta__inner {
  max-width: 680px;
  margin: 0 auto;
}

.partner-cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 16px;
  color: var(--black);
}

.partner-cta__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-muted);
  margin: 0 0 32px;
}

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

.contact {
  padding: 64px var(--gutter) 96px;
}

.contact-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-heading {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 4px;
}

.contact-subheading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 15px;
  color: var(--grey-muted);
  margin: 0 0 24px;
}

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

.contact-form__input,
.contact-form__textarea {
  background: rgba(118, 118, 128, 0.12);
  border: none;
  padding: 15px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
}

.contact-form__textarea {
  min-height: 342px;
  resize: vertical;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: #999;
}

.contact-form__submit {
  background: var(--green-dark);
  color: var(--white);
  border: none;
  padding: 16px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.contact-form__submit:hover {
  background: var(--green-darker);
}

.contact-map {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 340px;
}

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

.contact-map .contact-map__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 6px 10px rgba(0, 38, 32, 0.35));
  transition: transform 0.25s ease;
  animation: offices-pin-drop 0.6s ease;
}

.contact-map:hover .contact-map__pin {
  transform: translate(-50%, -110%);
}

.contact-details {
  max-width: var(--max-width);
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}

.contact-details--center {
  justify-content: center;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-detail img {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  margin: 0;
}

.contact-detail__value {
  font-size: 13px;
  color: var(--green-dark);
  margin: 2px 0 0;
}

.contact-detail__value a {
  color: inherit;
}

.contact-detail__value a:hover {
  text-decoration: underline;
}

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

  .contact-map {
    min-height: 260px;
  }
}

/* ---------- Section heading ---------- */

.section-heading {
  position: relative;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 72px);
  color: var(--black);
  margin: 0 0 24px;
  padding-bottom: 16px;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  background: var(--green-accent);
}

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

.about-intro {
  padding: 96px var(--gutter);
}

.about-intro__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 64px;
  align-items: stretch;
}

.about-intro__bio {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-intro__bio p {
  font-size: clamp(17px, 1.7vw, 25px);
  line-height: 1.2;
  color: var(--black);
  margin: 0;
}

.about-intro__bio p:first-child {
  font-weight: 700;
}

.about-business {
  position: relative;
  margin-top: 75px !important;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-business__quote {
    position: absolute;
    top: -12px;
    left: 0px;
    width: 120px;
    height: auto;
    pointer-events: none;
    z-index: 0;
    transform: rotate(180deg);
}

.about-business__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
      margin-left: 225px;
}

.about-business__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  color: var(--black);
  margin: 0;
  max-width: 335px;
  
}

.about-business__mark {
  width: 100px;
  height: auto;
  flex-shrink: 0;
  position: absolute;
  right: 0;
}

.about-business__list {
  position: relative;
  z-index: 1;
  max-width: 1000px;
      margin-left: 225px;
}

.about-business__item {
padding: 18px 0 18px 16px;
    border-bottom: 1px solid var(--green-pale);
    border-left: 3px solid transparent;
    font-size: clamp(16px, 1.5vw, 22px);
    line-height: 1.3;
    color: var(--black);
    min-height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: border-left-color 0.2s ease;
}

.about-business__item-text {
  display: block;
}

.about-business__list:not(:hover) .about-business__item--active,
.about-business__item:hover {
  border-left-color: var(--green-accent);
  font-weight: 600;
}

.about-intro__media {
  overflow: hidden;
  border-radius: 4px;
}

.about-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

  .about-intro__media {
    order: -1;
    max-height: 420px;
  }

  .about-business__quote {
    display: none;
  }

  .about-business__head,
  .about-business__list {
    margin-left: 0;
  }

  .about-business__mark {
    position: static;
  }
}

.certificates {
  background: #f2f5f3;
  padding: 96px var(--gutter);
}

.certificates__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.certificate-card__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--black);
  margin: 0 0 16px;
}

.certificate-card__frame {
  height: 460px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: zoom-in;
  appearance: none;
  font: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.certificate-card__frame:hover,
.certificate-card__frame:focus-visible {
  border-color: var(--green-accent);
  box-shadow: 0 8px 24px rgba(0, 70, 59, 0.12);
}

.certificate-card__frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.certificate-card__frame:hover img,
.certificate-card__frame:focus-visible img {
  transform: scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 38, 32, 0.82);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(900px, 100%);
  max-height: 100%;
  display: flex;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.lightbox.is-open .lightbox__dialog {
  transform: scale(1);
  opacity: 1;
}

.lightbox__image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  background: var(--white);
}

.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: var(--green-accent);
  color: var(--green-darker);
  transform: rotate(90deg);
}

@media (max-width: 600px) {
  .lightbox {
    padding: 20px;
  }

  .lightbox__close {
    top: -40px;
  }
}

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

.offices {
  padding: 96px var(--gutter);
}

.offices__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.offices__address {
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.3;
  font-weight: 500;
  color: var(--black);
  max-width: 500px;
  margin: 0 0 40px;
}

.offices__map {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  max-height: 600px;
}

.offices__map img {
  width: 100%;
  height: auto;
  display: block;
}

.offices__map .offices__map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 6px 10px rgba(0, 38, 32, 0.35));
  transition: transform 0.25s ease;
  animation: offices-pin-drop 0.6s ease;
}

.offices__map:hover .offices__map-pin {
  transform: translate(-50%, -110%);
}

@keyframes offices-pin-drop {
  0% {
    transform: translate(-50%, -260%);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -90%);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -100%);
  }
}

/* ---------- Main Project page ---------- */

.project-rows-section {
  overflow: hidden;
}

.project-rows {
  display: flex;
  flex-direction: column;
}

.project-row {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 599px;
  background: var(--white);
  border-bottom: 1px solid var(--green-pale);
  height: 650px;
}

.project-row__media {
  flex: 1 1 auto;
  min-width: 0;
  order: 2;
  overflow: hidden;
}

.project-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.project-row:hover .project-row__media img {
  transform: scale(1.06);
}

.project-row__content {
  order: 1;
  width: 420px;
  max-width: 100%;
  flex-shrink: 0;
  padding: 56px var(--gutter) 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.project-row__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 32px;
  line-height: 1.03;
  color: var(--black);
  margin: 0;
  transition: color 0.3s ease;
}

.project-row:hover .project-row__title {
  color: var(--green-dark);
}

.project-row__bar {
  display: block;
  width: 151px;
  height: 10px;
  background: var(--green-accent);
  margin-bottom: 24px;
  transition: width 0.4s ease;
}

.project-row:hover .project-row__bar {
  width: 100%;
}

.project-row__details-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--black);
  margin: 0;
}

.project-row__details {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-row__detail {
  font-size: 13px;
  line-height: 1.4;
  color: var(--black);
}

.project-row__detail dt {
  font-weight: 400;
  margin: 0;
}

.project-row__detail dd {
  margin: 0;
  color: var(--grey-muted);
}

.project-row__review {
  width: 149px;
}

.project-row--media-left .project-row__media {
  order: 1;
}

.project-row--media-left .project-row__content {
  order: 2;
}

@media (max-width: 900px) {
  .project-row,
  .project-row--media-left {
    flex-direction: column;
    min-height: 0;
  }

  .project-row__media,
  .project-row--media-left .project-row__media {
    width: 100%;
    order: 1;
    height: 320px;
    margin: 0;
  }

  .project-row__content,
  .project-row--media-left .project-row__content {
    order: 2;
    width: 100%;
    margin: 0;
    padding: 32px var(--gutter);
  }
}

/* ---------- Project detail page ---------- */

.project-detail-hero__title {
  text-align: left;
}

.project-detail-breadcrumb {
  margin-top: 24px;
}

.project-detail-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.2;
}

.project-detail-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-pale);
}

.project-detail-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--green-pale);
  opacity: 0.5;
}

.project-detail-breadcrumb a {
  color: var(--green-pale);
  transition: color 0.25s ease;
}

.project-detail-breadcrumb a:hover {
  color: var(--green-accent);
}

.project-detail-breadcrumb li[aria-current="page"] {
  color: var(--white);
  font-weight: 700;
}

.project-gallery {
  padding: 64px var(--gutter) 96px;
}

.project-gallery__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-gallery__thumbs {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.project-gallery__thumb {
  display: block;
  width: 240px;
  height: 178px;
  padding: 0;
  border: none;
  border-radius: 40px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.25s ease, width 0.25s ease, height 0.25s ease;
}

.project-gallery__thumb--large {
  width: 265px;
  height: 197px;
}

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

.project-gallery__thumb:hover,
.project-gallery__thumb.is-active {
  opacity: 1;
}

.project-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1055 / 622;
  border-radius: 40px;
  background: var(--green-pale);
}

.project-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 40px;
}

.project-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 38, 32, 0.25);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.project-gallery__nav:hover {
  background: var(--green-accent);
  color: var(--green-darker);
}

.project-gallery__nav--prev {
  left: -75px;
}

.project-gallery__nav--next {
  right: -75px;
}

@media (max-width: 700px) {
  .project-gallery__thumbs {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .project-gallery__nav {
    width: 44px;
    height: 44px;
  }

  .project-gallery__nav--prev {
    left: 12px;
  }

  .project-gallery__nav--next {
    right: 12px;
  }
}


section.team-hero.project-detail-hero .team-hero__inner {
    display: block;
    text-align: center;
}

section.team-hero.project-detail-hero .team-hero__heading-row {
    text-align: center;
    display: flex;
    justify-content: center;
}

section.team-hero.project-detail-hero .project-detail-breadcrumb {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* ---------- Thank you page ---------- */

.thank-you {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.thank-you__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green-accent);
  font-size: clamp(26px, 4vw, 38px);
  max-width: 500px;
  margin: 0 0 16px;
}

.thank-you__message {
  font-size: 20px;
  line-height: 1.5;
  color: var(--black);
  max-width: 510px;
  margin: 0 0 40px;
}

.thank-you .contact-details {
  margin-top: 72px;
  width: 100%;
  text-align: left;
}


.project-gallery__inner_div {
    max-width: 1050px;
    margin: 0 auto;
}

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--green-accent);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.25s ease, color 0.25s ease;
  z-index: 90;
  cursor: pointer;
  box-shadow: 0 8px 12px rgba(0, 70, 59, 0.2);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-dark);
  color: var(--white);
}

.back-to-top__arrow {
  width: 18px;
  height: 18px;
  transform: rotate(-45deg);
}

@media (max-width: 700px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}