:root {
  --bg: #dfded9ff;
  --ink: #1c1c1c;
  --ink-soft: #3a3a38;
  --line: #8f8e82;
  --accent: #26786a;
  --dark: #262626;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */
.site-header {
  padding: 2px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.logo-mark {
  display: block;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 34px;
  letter-spacing: .5px;
}

.logo-word {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
}

.nav a:hover {
  opacity: .65;
}

.btn-outline {
  border: 1px solid var(--ink);
  padding: 11px 22px;
  font-weight: 500;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
  opacity: 1 !important;
}

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  /* padding pulled back by margin: a 44px touch target, no extra layout */
  padding: 14px 10px;
  margin: -14px -10px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-box {
  display: block;
  width: 24px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 5px;
}

/* bars morph into an X while the panel is open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 18px 0 6px;
  font-size: 13px;
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

/* chevron separator before every item except the first */
.breadcrumb li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
  transform: rotate(-45deg);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Page title ---------- */
.page-head {
  padding: 6px 0 0;
}

.page-title {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -1.4px;
  color: var(--ink);
}

/* short accent rule under the title */
.page-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 18px;
  background: var(--accent);
}

/* ---------- Contact section ---------- */
.contact {
  padding: 60px 0 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 80px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-title {
  margin: 0 0 22px;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.5px;
  color: #6e923a;
}

.contact-lead {
  margin: 0 0 14px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.contact-cue {
  margin: 0 0 40px;
  font-size: 15px;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Form ---------- */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
}

.field {
  display: flex;
  flex-direction: column;
}

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

.field label {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
}

.field label em {
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 2px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

/* let grid/flex items shrink below their intrinsic width — an <input> defaults
   to size="20" (~177px), which otherwise forces the form wider than the phone */
.contact-main,
.contact-aside,
.contact-form,
.field {
  min-width: 0;
}

.field input,
.field textarea {
  min-width: 0;
  max-width: 100%;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a3a294;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.btn-submit {
  grid-column: 1 / -1;
  margin-top: 6px;
  border: 0;
  background: var(--dark);
  color: #fff;
  padding: 17px 24px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-submit:hover {
  background: #000;
}

/* ---------- Right column ---------- */
.contact-aside {
  display: flex;
  flex-direction: column;
}

.contact-visual {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  background: linear-gradient(105deg, #9fb0ae 0%, #b7c4c0 38%, #7f8f8c 39%, #55605e 100%);
}

.contact-details {
  margin-top: 36px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.contact-details > * {
  min-width: 0;
}

/* the email is one long unbreakable token — let it wrap rather than
   push the whole column past the edge of a narrow screen */
.line-strong,
.address {
  overflow-wrap: anywhere;
}

/* sized to match .address below, so the whole block reads as one column */
.line-strong {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 10px;
}

a.line-strong:hover {
  color: var(--accent);
}

.address {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.5;
  font-style: normal;
  color: var(--ink-soft);
}

.socials {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  padding-top: 4px;
}

.socials a {
  color: var(--ink);
  display: inline-flex;
}

.socials a:hover {
  color: var(--accent);
}

.socials svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.btn-accent {
  display: inline-block;
  margin-top: 34px;
  align-self: flex-start;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  padding: 18px 34px;
  font-size: 17px;
  font-weight: 600;
}

.btn-accent:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- Split section (image + text side by side) ---------- */
.split {
  padding: 80px 0;
}

.split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

/* put the image on the right instead */
.split--reverse .split-media {
  order: 2;
}

.split-media {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: linear-gradient(105deg, #9fb0ae 0%, #b7c4c0 38%, #7f8f8c 39%, #55605e 100%);
}

.split-title {
  margin: 0 0 22px;
  font-size: clamp(20px, 2.2vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.5px;
  color: #6e923a;
}

.split-body p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 500;
}

.split-body p:last-of-type {
  margin-bottom: 0;
}

.split-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.split-stats strong {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.split-stats span {
  font-size: 14px;
  color: var(--ink-soft);
}

.split .btn-accent {
  margin-top: 34px;
}

/* ---------- Accordion (mission / vision / values) ---------- */
.accordion-section {
  padding: 20px 0 90px;
}

.accordion-head {
  max-width: 640px;
  margin: 0 0 40px;
}

.accordion-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.5px;
  color: #6e923a;
}

.accordion-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item>summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

/* hide the default disclosure triangle */
.accordion-item>summary::-webkit-details-marker {
  display: none;
}

.accordion-item>summary::marker {
  content: "";
}

.accordion-item>summary:hover {
  color: #6e923a;
}

.accordion-item>summary:focus-visible {
  outline: 2px solid #6e923a;
  outline-offset: 4px;
}

/* plus / minus indicator */
.accordion-icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #6e923a;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .25s ease;
}

.accordion-icon::before {
  width: 20px;
  height: 2px;
}

.accordion-icon::after {
  width: 2px;
  height: 20px;
}

.accordion-item[open] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  padding: 0 4px 30px;
  max-width: 900px;
}

.accordion-panel p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.accordion-panel p:last-child {
  margin-bottom: 0;
}

.accordion-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 40px;
}

.accordion-panel li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.accordion-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 9px;
  height: 9px;
  background: #6e923a;
}

.accordion-panel li strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Service sections ---------- */
.svc {
  padding: 60px 0;
}

.svc .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

/* image on the right instead of the left */
.svc--reverse .svc-media {
  order: 2;
}

.svc-media {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  background: linear-gradient(140deg, #a8a49c 0%, #8d8981 45%, #6f6c66 100%);
}

.svc-title {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: var(--ink);
}

/* indents the second line, as in the reference layout */
.svc-title .line-2 {
  display: block;
  padding-left: 1.5ch;
}

.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr);
  gap: 36px;
  margin-top: 52px;
  align-items: start;
}

/* decorative outline shape */
.svc-ornament {
  width: 100%;
  height: auto;
  max-height: 230px;
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
  opacity: .55;
}

.svc-text p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.svc-text p:last-of-type {
  margin-bottom: 0;
}

.svc-quote {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.svc-quote svg {
  width: 30px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform .25s ease;
}

.svc-quote:hover svg {
  transform: translateX(6px);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #e6e4da;
  margin-top: 40px;
  padding: 150px 0 44px;
  /* angled top edge: beige page background shows through the cut */
  clip-path: polygon(0 92px, 100% 0, 100% 100%, 0 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 46px;
  align-items: start;
}

.footer-brand {
  grid-column: 1;
  grid-row: 1;
  /* light plate so the logo reads in its own colours, as it does in the header */
  display: inline-block;
  width: max-content;
  background: var(--bg);
  padding: 10px 14px;
  border-radius: 6px;
}

/* the wordmark keeps the same colours as the header logo */
.footer-brand img {
  display: block;
}

.footer-cta {
  grid-column: 4;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-self: end;
  width: min(220px, 100%);
}

.footer-btn {
  display: block;
  border: 1px solid #e6e4da;
  color: #fff;
  text-decoration: none;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.footer-btn:hover {
  background: #e6e4da;
  color: var(--dark);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-socials a {
  display: inline-flex;
  transition: transform .2s ease, filter .2s ease;
}

/* icons carry their own brand colours, so lift them instead of recolouring */
.footer-socials a:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
}

.footer-col {
  grid-row: 2;
}

.footer-col h2 {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: #6e923a;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a {
  color: #ddd9cd;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: #fff;
}

.footer-address {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.55;
  font-style: normal;
  color: #ddd9cd;
}

.footer-legal {
  margin: 56px 0 0;
  text-align: right;
  font-size: 12px;
  color: #6e923a;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .wrap {
    padding: 0 24px;
  }

  .nav {
    gap: 26px;
  }

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

  .footer-brand,
  .footer-cta,
  .footer-col {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-cta {
    align-items: flex-start;
    justify-self: start;
    width: auto;
  }

  .footer-btn {
    display: inline-block;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
    z-index: 60;
  }

  .nav-toggle {
    display: block;
  }

  /* the desktop bar becomes a panel that drops from under the header */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 24px 20px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .14);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 15px 2px;
    font-size: 15px;
    border-bottom: 1px solid rgba(143, 142, 130, .35);
  }

  .nav .btn-outline {
    margin-top: 16px;
    padding: 14px 22px;
    text-align: center;
    border: 1px solid var(--ink);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-aside {
    order: -1;
  }

  .contact-visual {
    height: 260px;
  }

  .split {
    padding: 50px 0;
  }

  .split .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .split-media {
    height: 280px;
  }

  .split-stats {
    gap: 28px;
  }

  .accordion-section {
    padding: 10px 0 60px;
  }

  .accordion-panel ul {
    grid-template-columns: 1fr;
  }

  .svc {
    padding: 40px 0;
  }

  .svc .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .svc--reverse .svc-media {
    order: 0;
  }

  .svc-media {
    height: 300px;
  }

  .svc-title .line-2 {
    padding-left: 0;
  }

  .svc-detail {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .svc-ornament {
    max-height: 150px;
  }
}

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

  .field--full,
  .btn-submit {
    grid-column: 1;
  }

  .contact-details {
    flex-direction: column;
  }

  .site-footer {
    padding: 90px 0 36px;
    clip-path: polygon(0 46px, 100% 0, 100% 100%, 0 100%);
  }

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

  .footer-legal {
    text-align: left;
  }
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.slides {
  display: grid;
  /* scales with the viewport instead of a hard 400px */
  height: clamp(340px, 42vw, 460px);
}

.slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

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

.slide-media--1 {
  background: linear-gradient(105deg, #9fb0ae 0%, #b7c4c0 38%, #7f8f8c 39%, #55605e 100%);
}

.slide-media--2 {
  background: linear-gradient(105deg, #8a9a84 0%, #aab89f 38%, #6f7d69 39%, #4a544a 100%);
}

.slide-media--3 {
  background: linear-gradient(105deg, #a6a49a 0%, #c2bfb2 38%, #86847a 39%, #5a584f 100%);
}

.slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(20, 20, 20, .94) 0%,
      rgba(20, 20, 20, .88) 26%,
      rgba(20, 20, 20, .70) 48%,
      rgba(20, 20, 20, .34) 72%,
      rgba(20, 20, 20, .12) 100%),
    linear-gradient(180deg,
      rgba(20, 20, 20, .28) 0%,
      rgba(20, 20, 20, 0) 42%,
      rgba(20, 20, 20, .30) 100%);
}

.slide-inner {
  position: relative;
  width: 100%;
  padding: 32px 40px;
  color: #fff;
}

.slide.is-active .slide-inner>* {
  animation: slide-rise .7s ease both;
}

.slide.is-active .slide-title {
  animation-delay: .08s;
}

.slide.is-active .slide-text {
  animation-delay: .16s;
}

.slide.is-active .btn-accent {
  animation-delay: .24s;
}

@keyframes slide-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.slide .eyebrow {
  margin-bottom: 10px;
  color: #d6ded9;
}

.slide-title {
  margin: 0 0 14px;
  max-width: 20ch;
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
}

.slide .btn-accent {
  margin-top: 0;
  padding: 12px 26px;
  font-size: 14px;
  border-color: rgba(255, 255, 255, .75);
  color: #fff;
}

.slide .btn-accent:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.slide-text {
  margin: 0 0 20px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.6;
  color: #e6e6e2;
}

/* Arrows */
.slider-arrows {
  position: absolute;
  right: 40px;
  bottom: 86px;
  display: flex;
  gap: 12px;
}

.slider-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(28, 28, 28, .28);
  color: #fff;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}

.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.slider-arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Dots */
.slider-dots {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.slider-dots button:hover {
  background: rgba(255, 255, 255, .55);
}

.slider-dots button.is-active {
  background: #fff;
  transform: scale(1.25);
}

.slider-dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .slide-inner {
    padding: 28px 24px;
  }

  /* narrow screens: text spans the full width, so shade evenly */
  .slide-shade {
    background: linear-gradient(90deg,
        rgba(20, 20, 20, .92) 0%,
        rgba(20, 20, 20, .82) 60%,
        rgba(20, 20, 20, .68) 100%);
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
  }

  .slider-arrows {
    right: 20px;
    bottom: 24px;
    gap: 10px;
  }

  .slider-dots {
    right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    transition: none;
  }

  .slide.is-active .slide-inner>* {
    animation: none;
  }
}

/* Intro split — dark heading, larger display type */
.split--intro .split-title {
  font-size: clamp(25px, 2.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
}

/* ---------- Services preview ---------- */
.services-preview {
  padding: 150px 0;
  background: #5d7e2f;
  /* angled top and bottom, parallel to the footer's angled top edge */
  clip-path: polygon(0 92px, 100% 0, 100% calc(100% - 92px), 0 100%);
}

.services-head {
  max-width: 620px;
  margin: 0 0 46px;
}

.services-head .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.services-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.5px;
  color: #fff;
}

.services-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .86);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 26px;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}

.service-card:hover {
  background: #e9e8e3;
  transform: translateY(-6px);
}

.service-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.service-media {
  display: block;
  width: 100%;
  height: 150px;
  margin-bottom: 24px;
  object-fit: cover;
  background: linear-gradient(140deg, #b9a892 0%, #8d7a63 55%, #5d5142 100%);
}

.service-media--2 {
  background: linear-gradient(140deg, #c2b49c 0%, #9a8a70 55%, #675a48 100%);
}

.service-media--3 {
  background: linear-gradient(140deg, #a9a196 0%, #837c70 55%, #55504a 100%);
}

.service-media--4 {
  background: linear-gradient(140deg, #bfae95 0%, #94826a 55%, #625443 100%);
}

.service-media--5 {
  background: linear-gradient(140deg, #b1a794 0%, #8a7f6b 55%, #5a5245 100%);
}

.service-num {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
}

.service-card h3 {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.3px;
  text-transform: uppercase;
  color: #2b2b2b;
}

.services-all {
  margin-top: 46px;
  border-color: #fff;
  color: #fff;
}

.services-all:hover {
  background: #fff;
  color: var(--accent);
}

/* Keep the cards on one line; scroll the row on small screens */
@media (max-width: 860px) {
  .services-preview {
    padding: 100px 0;
    clip-path: polygon(0 46px, 100% 0, 100% calc(100% - 46px), 0 100%);
  }

  .services-grid {
    grid-auto-flow: column;
    grid-auto-columns: 200px;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .service-card {
    scroll-snap-align: start;
  }

  .service-media {
    height: 120px;
  }
}

/* ---------- Diaspora split ---------- */
.split--diaspora .split-title {
  color: var(--ink);
}

.split--diaspora .split-title .line-2 {
  display: block;
  padding-left: 0;
  color: #6e923a;
}

.diaspora-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.diaspora-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.diaspora-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  background: #6e923a;
}

.diaspora-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* Let the image match the full height of the taller text column */
.split--diaspora .wrap {
  /* image column sized against the list */
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: stretch;
}

.split--diaspora .split-media {
  height: 100%;
  min-height: 370px;
}

@media (max-width: 860px) {

  /* single column — back to a fixed banner height */
  .split--diaspora .wrap {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .split--diaspora .split-media {
    height: 280px;
  }
}

/* Read-more toggle for the diaspora list */
.diaspora-list.is-collapsed .is-extra {
  display: none;
}

.diaspora-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
}

.diaspora-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.diaspora-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.diaspora-toggle:hover {
  text-decoration: underline;
}

.diaspora-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .split--diaspora .split-media {
    min-height: 0;
  }
}

/* ---------- Our approach (process) ---------- */
.approach {
  padding: 90px 0;
}

.approach-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.approach-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.5px;
  color: #6e923a;
}

.approach-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.approach-step {
  position: relative;
}

/* connector running from each marker across to the next */
.approach-step::before {
  content: "";
  position: absolute;
  left: 48px;
  right: -24px;
  top: 23px;
  height: 2px;
  background: rgba(110, 146, 58, .32);
}

.approach-step:last-child::before {
  display: none;
}

.approach-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #6e923a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
}

.approach-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.approach-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* keep the row horizontal on small screens by scrolling it */
@media (max-width: 860px) {
  .approach {
    padding: 60px 0;
  }

  .approach-steps {
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .approach-step {
    scroll-snap-align: start;
  }
}
/* ---------- Projects preview (home) ---------- */
.projects-preview {
  padding: 90px 0 30px;
}

.projects-head {
  max-width: 640px;
  margin: 0 auto 46px;
  text-align: center;
}

.projects-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.5px;
  color: #6e923a;
}

.projects-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

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

.project-tile {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(140deg, #b9a892 0%, #8d7a63 55%, #5d5142 100%);
}

/* the lead tile takes two columns and two rows */
.project-tile--wide {
  grid-column: span 2;
  grid-row: span 2;
  height: auto;
}

.project-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 18, .82) 0%, rgba(20, 20, 18, .28) 42%, rgba(20, 20, 18, 0) 68%);
}

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

.project-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.project-tile-cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.2px;
}

.project-tile--wide .project-tile-cap {
  font-size: 20px;
}

.project-tile-stage {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #b9d98f;
}

.projects-all {
  display: block;
  width: max-content;
  margin: 46px auto 0;
}

@media (max-width: 860px) {
  .projects-preview {
    padding: 60px 0 20px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .project-tile {
    height: 170px;
  }

  .project-tile--wide {
    grid-column: span 2;
    grid-row: auto;
    height: 230px;
  }

  .project-tile--wide .project-tile-cap {
    font-size: 17px;
  }
}

@media (max-width: 520px) {
  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-tile,
  .project-tile--wide {
    grid-column: auto;
    height: 200px;
  }
}

/* ---------- Projects page ---------- */
.projects-intro {
  padding: 30px 0 0;
}

.projects-intro .eyebrow {
  margin-bottom: 10px;
}

.projects-intro p {
  max-width: 780px;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.projects-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.projects-stats strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.projects-stats span {
  font-size: 13px;
  color: var(--ink-soft);
}

.gallery-section {
  padding: 44px 0 20px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.gallery-filter {
  padding: 11px 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.gallery-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.gallery-filter.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.gallery-filter:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gallery-count {
  margin: 0 0 26px;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-item {
  margin: 0;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: linear-gradient(140deg, #b9a892 0%, #8d7a63 55%, #5d5142 100%);
  transition: transform .55s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(to top, rgba(20, 20, 18, .86) 0%, rgba(20, 20, 18, .25) 60%, rgba(20, 20, 18, 0) 100%);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gallery-body {
  position: absolute;
  left: 18px;
  right: 52px;
  bottom: 16px;
  z-index: 1;
}

.gallery-stage {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #b9d98f;
}

.gallery-caption {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.2px;
  color: #fff;
}

.gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  transition: background .2s ease, color .2s ease;
}

.gallery-card:hover .gallery-zoom {
  background: #fff;
  color: var(--ink);
}

.gallery-zoom svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.projects-cta {
  padding: 70px 0 20px;
  text-align: center;
}

.projects-cta-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.5px;
  color: #6e923a;
}

.projects-cta p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.projects-cta .btn-accent {
  display: inline-block;
  align-self: auto;
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gallery-card img {
    height: 200px;
  }

  .projects-stats {
    gap: 28px;
  }

  .gallery-filter {
    padding: 9px 15px;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-card img {
    height: 230px;
  }
}

/* ---------- Lightbox (projects page) ---------- */
body.has-lightbox {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 26px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 15, .965);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  justify-self: center;
  max-width: 100%;
}

.lightbox-figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  margin: 0 auto;
  object-fit: contain;
  background: #26262b;
}

.lightbox-cap {
  display: block;
  padding: 16px 4px 0;
  text-align: center;
  color: #e6e4da;
}

.lightbox-stage {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #b9d98f;
}

.lightbox-text {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.lightbox-count {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(230, 228, 218, .62);
}

.lightbox-btn {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .4);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.lightbox-btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.lightbox-btn:focus-visible {
  outline: 2px solid #b9d98f;
  outline-offset: 3px;
}

.lightbox-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
}

@media (max-width: 780px) {
  .lightbox {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }

  /* float the arrows over the image instead of beside it */
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16, 16, 15, .55);
  }

  .lightbox-nav--prev {
    left: 10px;
  }

  .lightbox-nav--next {
    right: 10px;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 210px);
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

/* ---------- Contact form: status banner + honeypot ---------- */
.form-status {
  margin: 0 0 28px;
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  background: rgba(38, 120, 106, 0.08);
  font-size: 15px;
  line-height: 1.55;
}

.form-status--bad {
  border-left-color: #a4362c;
  background: rgba(164, 54, 44, 0.08);
}

/* Bot bait: off-screen rather than display:none, which some bots skip. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
