:root {
  --green: #0c6d2b;
  --deep: #1b542c;
  --deep2: #1b542c;
  --lime: #63d679;
  --paper: #f2f0e8;
  --white: #fbfbf8;
  --ink: #17221b;
  --muted: #657169;
  --line: #d6ddd5;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 14px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--lime);
  color: var(--deep);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* Header and navigation */
.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 max(4vw, calc((100vw - 1280px) / 2));
  border-bottom: 5px solid #fff;
  background: #0c3e1b;
  color: #fff;
}

.brand {
  display: block;
  flex: 0 0 220px;
  width: 220px;
  color: var(--deep);
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.2vw, 28px);
}

.main-nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: #a8e84a;
}

.header-cta {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
  background: #a8e84a;
  color: #1b542c;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta:hover {
  background: #b9f25e;
}

.menu-toggle {
  display: none;
}

.site-header .menu-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.wrap {
  width: min(100% - 96px, 1280px);
  margin-inline: auto;
}

/* Shared text and buttons */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: #d7e1d9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 0.97;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(29px, 3.5vw, 45px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 19px;
  font-size: 13px;
  font-weight: 800;
}

.button.lime {
  background: var(--lime);
  color: var(--deep);
}

.button.green {
  background: var(--green);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #eff5ef;
  font-size: 13px;
  font-weight: 700;
}

/* Homepage hero */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  min-height: 570px;
  background: #1b542c;
  color: #fff;
}

.hero-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  padding: 64px max(4.5vw, calc((100vw - 1280px) / 2)) 62px
    max(6vw, calc((100vw - 1280px) / 2));
}

.hero-copy .eyebrow {
  color: #c9e6ce;
}

.hero-copy .eyebrow-dot {
  background: #72d64b;
}

.home-hero h1 {
  max-width: 570px;
  margin-bottom: 23px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 540px;
  margin: 0 0 26px;
  color: #d1ddd4;
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.home-hero .button.lime {
  background: #7ada4c;
  color: #10291a;
}

.home-hero .text-link {
  color: #fff;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 430px;
  margin-top: 31px;
  padding-top: 15px;
  border-top: 1px solid #ffffff35;
  color: #c9d6cc;
  font-size: 12px;
}

.hero-note b {
  color: #8ce76c;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.hero-showcase {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #1b542c;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-slide {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms ease-in-out !important;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide[hidden] {
  display: none;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 43%);
}

.hero-slide figcaption {
  position: absolute;
  z-index: 1;
  right: 38px;
  bottom: 112px;
  left: 38px;
  display: grid;
  gap: 8px;
  color: #fff;
  text-shadow: 0 2px 12px #0008;
}

.hero-slide figcaption span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-slide figcaption strong {
  max-width: 580px;
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-controls {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  padding: 12px 26px;
  background: rgba(27, 84, 44, 0.93);
  color: #fff;
}

.hero-control {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff68;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.hero-control:hover,
.hero-control:focus-visible {
  background: #ffffff18;
  outline: 2px solid #9ce27f;
  outline-offset: 2px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot {
  min-width: 35px;
  height: 35px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: transparent;
  color: #c7d2c9;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.hero-dot.is-active {
  border-color: #91da76;
  background: #91da7622;
  color: #fff;
}

.hero-dot:focus-visible {
  outline: 2px solid #9ce27f;
  outline-offset: 2px;
}

.hero-count {
  margin-left: auto;
  color: #c5d0c8;
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hero-count b {
  color: #fff;
}

/* Services photo cards */
.section {
  padding: 64px 0 68px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 29px;
}

.section-head h2 {
  max-width: 680px;
}

.section-head > p {
  max-width: 370px;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.services-section {
  padding-top: 82px;
  padding-bottom: 84px;
  border-bottom: 1px solid var(--line);
}

.services-section .section-head {
  margin-bottom: 30px;
}

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

.service-photo-card {
  position: relative;
  min-height: 320px;
  display: block;
  overflow: hidden;
  background: #1b542c;
  color: #fff;
}

.service-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.62),
    rgba(0, 0, 0, 0.04) 70%
  );
}

.service-photo-number {
  position: absolute;
  top: 18px;
  left: 19px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-photo-copy {
  position: absolute;
  right: 22px;
  bottom: 23px;
  left: 22px;
  display: grid;
  gap: 8px;
}

.service-photo-copy strong {
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.service-photo-copy > span {
  max-width: 280px;
  color: #e2e8e3;
  font-size: 12px;
  line-height: 1.5;
}

.service-photo-arrow {
  position: absolute;
  right: 20px;
  bottom: 21px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffffa3;
  border-radius: 50%;
  font-size: 16px;
}

.service-photo-card:focus-visible {
  outline: 3px solid #58b72e;
  outline-offset: 3px;
}

.other-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: #5e6a61;
  font-size: 13px;
  line-height: 1.6;
}

.other-services > span {
  color: var(--deep);
  font-weight: 800;
}

.other-services a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--green);
  font-weight: 800;
}

/* Local residential projects */
.area-section {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  color: #fff;
}

.area-section::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  content: "";
  transform: translateX(-50%);
  background: #1b542c;
}

.area-section .eyebrow.green {
  color: #b9ef8f;
}

.area-section .section-head h2 {
  color: #fff;
}

.area-section .section-head > p {
  color: #edf4ed;
}

/* Project gallery */
.work-section {
  padding-top: 80px;
  padding-bottom: 86px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 13px;
}

.work-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #1b542c;
  color: #fff;
}

.work-tile img,
.work-tile video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-tile::after {
  position: absolute;
  inset: 40% 0 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent);
}

.work-tile figcaption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 4px;
}

.work-tile figcaption span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.work-tile figcaption strong {
  max-width: 350px;
  font-size: 13px;
  line-height: 1.35;
}

.work-tile--photo:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.work-tile--photo:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

.work-tile--photo:nth-child(4) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-tile--video {
  background: #1b542c;
}

.work-tile--video figcaption {
  bottom: 48px;
}

.work-tile--video video {
  z-index: 0;
}

.project-gallery-page {
  padding-top: 10px;
  padding-bottom: 75px;
}

/* Shared call to action and footer */
.cta-band {
  background: #1b542c;
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-inner .eyebrow {
  margin-bottom: 8px;
  color: #d9ecdd;
}

.cta-inner h2 {
  font-size: clamp(25px, 3vw, 35px);
}

.site-footer {
  background: #1b542c;
  color: #d1dcd3;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 27px;
  padding-top: 32px;
  padding-bottom: 25px;
}

.footer-main p {
  margin: 0;
  color: #d1dcd3;
  font-size: 12px;
}

.site-footer .brand {
  flex-basis: 220px;
}

.site-footer .brand-logo {
  max-height: 75px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 13px;
  padding-bottom: 17px;
  border-top: 1px solid #ffffff22;
  color: #d1dcd3;
  font-size: 10px;
}

/* Project gallery accreditation strip */
.afi-strip {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.afi-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.afi-inner > img {
  flex: 0 0 190px;
  width: 190px;
  height: auto;
}

.afi-inner > div {
  max-width: 540px;
}

.afi-inner .eyebrow {
  margin-bottom: 7px;
}

.afi-inner h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.afi-inner > div > p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.afi-inner > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Inner pages */
.breadcrumbs {
  display: flex;
  gap: 10px;
  padding-top: 18px;
  color: #7a867e;
  font-size: 11px;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.detail-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 47px;
  padding-top: 44px;
  padding-bottom: 60px;
}

.detail-copy h1 {
  max-width: 570px;
  font-size: clamp(39px, 4.8vw, 61px);
}

.detail-copy > p:not(.eyebrow) {
  max-width: 550px;
  margin-bottom: 24px;
  color: #59665d;
  font-size: 15px;
  line-height: 1.75;
}

.detail-photo {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: #e1e5dc;
}

.detail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.detail-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  background: #fff;
  color: var(--deep);
  font-size: 11px;
  font-weight: 700;
}
.groundworks-example-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 28px 0 0;
  overflow: hidden;
  background: #e1e5dc;
}

.groundworks-example-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.groundworks-example-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 13px;
  background: #fff;
  color: var(--deep);
  font-size: 11px;
  font-weight: 700;
}

.content-band {
  padding: 62px 0;
  background: #f5f5f1;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
}

.content-grid h2 {
  max-width: 430px;
  font-size: clamp(27px, 3.4vw, 41px);
}

.content-grid p:not(.eyebrow) {
  color: #58645b;
  font-size: 14px;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  color: #314237;
  font-size: 13px;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  left: 0;
  content: "+";
  color: var(--green);
  font-weight: 800;
}

.fine-print {
  margin-top: 18px;
  color: #728078 !important;
  font-size: 11px !important;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.related-links a {
  display: flex;
  justify-content: space-between;
  padding: 16px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.related-links a + a {
  padding-left: 17px;
  border-left: 1px solid var(--line);
}

.related-links a:hover {
  color: var(--green);
}

.related-links span {
  color: var(--green);
}

.page-intro {
  padding-top: 50px;
  padding-bottom: 35px;
}

.page-intro h1 {
  max-width: 800px;
}

.page-intro > p:last-child {
  max-width: 700px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

/* Services directory */
.service-directory {
  padding-bottom: 72px;
}

.directory-row {
  display: grid;
  grid-template-columns: 50px 1fr 25px;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.directory-row:last-child {
  border-bottom: 1px solid var(--line);
}

.directory-row > span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.directory-row h2 {
  margin: 0 0 6px;
  font-size: 19px;
}

.directory-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.directory-row b {
  color: var(--green);
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 65px;
  padding-top: 50px;
  padding-bottom: 75px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact-note {
  margin-top: 26px;
  padding-left: 15px;
  border-left: 3px solid var(--green);
  font-size: 12px;
  font-weight: 700;
}

.enquiry-form {
  padding: 29px;
  background: var(--paper);
}

.form-title {
  margin-bottom: 4px;
  font-size: 21px;
  font-weight: 800;
}

.form-preview {
  margin-bottom: 21px;
  color: #7c5b18;
  font-size: 11px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.field label {
  font-size: 11px;
  font-weight: 800;
}

.field label b {
  color: var(--green);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 43px;
  padding: 10px 11px;
  border: 1px solid #cdd5ce;
  border-radius: 0;
  outline-color: var(--green);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

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

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.small-note {
  margin: 14px 0 0;
  color: #738077;
  font-size: 10px;
  line-height: 1.55;
}

/* Fixed social and contact links */
.side-actions {
  position: fixed;
  z-index: 1000;
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateY(-50%);
}

.side-action {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  width: 68px;
  height: 68px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 5px 16px rgb(0 0 0 / 18%);
  cursor: pointer;
  transition: width 260ms ease !important;
}

.side-action:hover,
.side-action:focus-visible {
  width: 230px;
}

.side-action__icon {
  display: grid;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  place-items: center;
  line-height: 0;
}

.side-action__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.side-action__label {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 0 16px 0 20px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease !important;
}

.side-action:hover .side-action__label,
.side-action:focus-visible .side-action__label {
  opacity: 1;
  transform: translateX(0);
}

.side-action--facebook {
  background: #1877f2;
}

.side-action--facebook .side-action__icon svg {
  fill: currentColor;
}

.side-action--instagram {
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
}

.side-action--instagram .side-action__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side-action--instagram .side-action__icon svg circle:last-child {
  fill: currentColor;
  stroke: none;
}

.side-action--google {
  background: #fff;
  color: #30343b;
}

.side-action__icon--google img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.side-action--email {
  background: #303a35;
}

.side-action--email .side-action__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.side-action:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid #fff;
  outline-offset: -4px;
}

/* Responsive layout */
@media (min-width: 1200px) {
  .site-header {
    min-height: 120px;
  }

  .site-header .brand {
    flex: 0 0 300px;
    width: 300px;
  }

  .site-header .brand-logo {
    max-height: 112px;
  }
}

@media (max-width: 1050px) {
  .site-header {
    gap: 19px;
    padding-right: 25px;
    padding-left: 25px;
  }

  .brand,
  .site-footer .brand {
    flex-basis: 175px;
    width: 175px;
  }

  .main-nav {
    gap: 14px;
  }

  .wrap {
    width: calc(100% - 60px);
  }

  .hero-copy {
    padding-left: 5vw;
  }

  .footer-main,
  .footer-bottom {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (max-width: 900px) {
  .brand,
  .site-footer .brand {
    flex-basis: 180px;
    width: 180px;
  }

  .main-nav {
    gap: 13px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .header-cta {
    padding: 0 11px;
    font-size: 11px;
  }

  .home-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .hero-copy {
    padding-right: 4vw;
  }

  .hero-showcase {
    min-height: 520px;
  }

  .service-photo-card {
    min-height: 285px;
  }

  .work-grid {
    grid-auto-rows: 160px;
  }

  .afi-inner > div {
    max-width: 540px;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 13px 23px;
  }

  .brand,
  .site-footer .brand {
    flex: 1 1 170px;
    width: 170px;
  }

  .menu-toggle {
    min-height: 41px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
  }

  .menu-lines {
    width: 16px;
    height: 2px;
    background: currentColor;
    box-shadow:
      0 5px currentColor,
      0 -5px currentColor;
  }

  .menu-label {
    font-size: 11px;
    font-weight: 700;
  }

  .main-nav {
    display: none;
    order: 4;
    flex-basis: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 13px 0 5px;
    border-top: 1px solid #ffffff24;
  }

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

  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 52px 30px 40px;
  }

  .home-hero h1 {
    max-width: 650px;
  }

  .hero-showcase {
    min-height: 420px;
  }

  .hero-slide figcaption {
    bottom: 104px;
    left: 25px;
  }

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

  .service-photo-card {
    min-height: 300px;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }

  .work-tile--photo:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .work-tile--photo:nth-child(4) {
    grid-column: span 1;
  }

  .detail-hero,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 29px;
  }

  .detail-photo,
  .detail-photo img {
    min-height: 320px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-main {
    flex-wrap: wrap;
  }

  .afi-inner {
    flex-wrap: wrap;
  }

  .afi-inner > div {
    flex: 1 1 55%;
  }

  .afi-inner > a {
    margin-left: 218px;
  }

  .side-actions {
    top: auto;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    flex-direction: row;
    gap: 8px;
    transform: none;
  }

  .side-action,
  .side-action:hover,
  .side-action:focus-visible {
    width: 52px;
    height: 52px;
  }

  .side-action {
    flex-direction: row;
    border-radius: 50%;
  }

  .side-action__icon {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .side-action__label {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 9px;
    padding: 10px 15px;
  }

  .brand,
  .site-footer .brand {
    flex: 0 0 145px;
    width: 145px;
  }

  .brand-logo {
    max-height: 56px;
  }

  .site-header .menu-toggle {
    min-height: 37px;
    padding: 0 9px;
  }

  .site-header .menu-label {
    font-size: 10px;
  }

  .site-header .header-cta {
    min-height: 37px;
    margin-left: auto;
    padding: 0 8px;
    font-size: 10px;
  }

  .home-hero h1 {
    font-size: 43px;
  }

  .hero-copy {
    padding: 42px 20px 33px;
  }

  .hero-intro {
    font-size: 14px;
  }

  .hero-actions {
    gap: 15px;
  }

  .hero-showcase {
    min-height: 320px;
  }

  .hero-slide figcaption {
    right: 17px;
    bottom: 91px;
    left: 17px;
  }

  .hero-slide figcaption strong {
    font-size: 24px;
  }

  .hero-controls {
    gap: 8px;
    min-height: 66px;
    padding: 8px 11px;
  }

  .hero-control {
    width: 35px;
    height: 35px;
  }

  .hero-dots {
    gap: 2px;
  }

  .hero-dot {
    min-width: 30px;
    height: 32px;
    padding: 0 5px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 50px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head h2 {
    font-size: 33px;
  }

  .services-section,
  .work-section {
    padding-top: 52px;
    padding-bottom: 55px;
  }

  .service-photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-photo-card {
    min-height: 280px;
  }

  .service-photo-copy {
    right: 55px;
    bottom: 19px;
    left: 18px;
  }

  .service-photo-copy strong {
    font-size: 22px;
  }

  .service-photo-arrow {
    right: 14px;
    bottom: 18px;
  }

  .other-services {
    align-items: flex-start;
    flex-direction: column;
  }

  .other-services a {
    margin-left: 0;
  }

  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 175px;
    gap: 9px;
  }

  .work-tile--photo:first-child,
  .work-tile--photo:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .work-tile figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .work-tile--video figcaption {
    bottom: 43px;
  }

  .work-tile figcaption strong {
    font-size: 11px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 27px;
    padding-bottom: 27px;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 26px 19px 20px;
  }

  .footer-main .brand {
    flex: none;
  }

  .footer-nav {
    margin-left: 0;
    gap: 13px 19px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 9px;
    padding: 12px 19px 15px;
    font-size: 9px;
  }

  .afi-strip {
    padding: 27px 0;
  }

  .afi-inner {
    gap: 15px;
  }

  .afi-inner > img {
    flex-basis: 150px;
    width: 150px;
  }

  .afi-inner > div {
    flex: 1 1 100%;
  }

  .afi-inner h2 {
    font-size: 18px;
  }

  .afi-inner > a {
    margin-left: 0;
  }

  .project-gallery-page {
    padding-top: 0;
    padding-bottom: 52px;
  }

  .detail-hero {
    padding-top: 31px;
    padding-bottom: 42px;
  }

  .detail-copy h1,
  .page-intro h1 {
    font-size: 42px;
  }

  .content-band {
    padding: 42px 0;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .related-links a + a {
    padding-left: 17px;
    border-left: 0;
  }

  .page-intro {
    padding-top: 37px;
    padding-bottom: 27px;
  }

  .contact-layout {
    padding-top: 35px;
    padding-bottom: 48px;
  }

  .enquiry-form {
    padding: 19px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 380px) {
  .brand,
  .site-footer .brand {
    flex-basis: 125px;
    width: 125px;
  }

  .site-header .header-cta {
    font-size: 9px;
  }

  .hero-count {
    font-size: 9px;
  }

  .hero-controls {
    gap: 5px;
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .side-action,
  .side-action__label {
    transition: none !important;
  }
}
/* Highlight the service row being hovered or keyboard-focused */
.directory-row {
  transition:
    background-color 180ms ease,
    padding-left 180ms ease;
}

.directory-row:hover,
.directory-row:focus-visible {
  padding-left: 12px;
  background: #e6f2e6;
}

.directory-row:focus-visible {
  outline: 2px solid #0c6d2b;
  outline-offset: 2px;
}

/* Highlight each footer link individually */
.footer-nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 2px;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  background: #a8e84a;
  color: #173a2a;
}
/* Subtle hover and keyboard-focus animation for service links */
.service-photo-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-photo-card img {
  transition: transform 350ms ease;
}

.service-photo-arrow {
  transition: transform 180ms ease;
}

.service-photo-card:hover,
.service-photo-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(7, 29, 20, 0.18);
}

.service-photo-card:hover img,
.service-photo-card:focus-visible img {
  transform: scale(1.03);
}

.service-photo-card:hover .service-photo-arrow,
.service-photo-card:focus-visible .service-photo-arrow {
  transform: translate(3px, -3px);
}

@media (prefers-reduced-motion: reduce) {
  .service-photo-card,
  .service-photo-card img,
  .service-photo-arrow {
    transition: none;
  }
}
.work-tile--link {
  display: block;
  color: #fff;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.work-tile--link:hover,
.work-tile--link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.work-tile--link img {
  transition: transform 400ms ease;
}

.work-tile--link:hover img,
.work-tile--link:focus-visible img {
  transform: scale(1.035);
}

.work-tile__caption {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 4px;
}

.work-tile__location {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.work-tile__caption strong {
  max-width: 350px;
  font-size: 13px;
  line-height: 1.35;
}

.work-tile--link:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .work-tile__caption {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .work-tile__caption strong {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-tile--link,
  .work-tile--link img {
    transition: none;
  }

  .work-tile--link:hover,
  .work-tile--link:focus-visible {
    transform: none;
  }

  .work-tile--link:hover img,
  .work-tile--link:focus-visible img {
    transform: none;
  }
}
.related-project-section {
  margin-top: 32px;
}

.related-project-section .related-links {
  margin-top: 22px;
}

/* Project detail pages */
.project-detail {
  padding-top: 22px;
  padding-bottom: 78px;
}

.project-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}

.project-breadcrumbs a {
  color: var(--green);
  font-weight: 700;
}

.project-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.project-heading h1 {
  max-width: 640px;
  margin-bottom: 0;
  font-size: clamp(42px, 5.5vw, 68px);
}

.project-summary {
  max-width: 620px;
  margin-bottom: 4px;
  color: #5e6a61;
  font-size: 16px;
  line-height: 1.7;
}

.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 34px;
}

.project-facts span {
  padding: 9px 12px;
  background: #edf1eb;
  color: var(--deep);
  font-size: 11px;
  font-weight: 700;
}

.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-photo {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #e8ece7;
}

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

.project-photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  background: #071d14e8;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.project-story {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
  margin-top: 55px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.project-story h2 {
  margin-top: 0;
  font-size: clamp(26px, 3vw, 36px);
}

.project-story p {
  margin: 0 0 15px;
  color: #5e6a61;
  font-size: 15px;
  line-height: 1.75;
}

.project-story p:last-child {
  margin-bottom: 0;
}

.project-next-links {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.project-next-links a {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 780px) {
  .project-heading,
  .project-story {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .project-detail {
    padding-top: 15px;
    padding-bottom: 54px;
  }

  .project-heading h1 {
    font-size: 42px;
  }

  .project-summary {
    font-size: 14px;
  }

  .project-photo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-story {
    margin-top: 38px;
    padding-top: 26px;
  }

  .project-next-links {
    flex-direction: column;
    margin-top: 35px;
  }
}
.project-photo--feature {
  aspect-ratio: 16 / 9;
  max-height: 720px;
}
/* Cabin build photos: optional, low-emphasis disclosure */
.cabin-stages {
  padding-top: 0;
  padding-bottom: 24px;
}

.cabin-stages details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cabin-stages summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.cabin-stages summary::after {
  content: "+";
  color: var(--green);
  font-size: 16px;
  font-weight: 500;
}

.cabin-stages details[open] summary::after {
  content: "−";
}

.cabin-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 8px 0 20px;
}

.cabin-stage {
  min-width: 0;
  margin: 0;
  background: transparent;
}

.cabin-stage__image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f5f5f1;
}

.cabin-stage__image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cabin-stage__caption {
  padding: 9px 0 0;
}

.cabin-stage__step {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cabin-stage__caption h2 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.3;
}

.cabin-stage__caption p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .cabin-stage-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cabin-stage__image {
    height: 220px;
  }
}

/* Danbury project before-and-after comparison */
.danbury-before-after {
  padding-top: 0;
  padding-bottom: 30px;
}

.before-after-content {
  padding: 8px 0 20px;
}

.danbury-before-after h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(27px, 3.4vw, 41px);
}

.before-after-intro {
  max-width: 680px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.before-after-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
  background: #e8e8e2;
  user-select: none;
  touch-action: pan-y;
}

.before-after-image,
.before-after-image-wrap {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.before-after-image {
  object-fit: cover;
  object-position: center;
}

.before-after-image--after {
  z-index: 0;
}

.before-after-image-wrap--before {
  z-index: 1;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--before-after-position, 50%)) 0 0);
}

.before-after-divider {
  position: absolute;
  z-index: 2;
  inset-block: 0;
  left: var(--before-after-position, 50%);
  display: grid;
  width: 2px;
  place-items: center;
  transform: translateX(-50%);
  background: #fff;
  pointer-events: none;
}

.before-after-divider span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-size: 19px;
  line-height: 1;
}

.before-after-labels {
  position: absolute;
  z-index: 2;
  inset-inline: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.before-after-labels span {
  padding: 7px 10px;
  background: rgba(7, 29, 20, 0.86);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.before-after-range {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  touch-action: pan-y;
}

.before-after-range.is-dragging {
  cursor: grabbing;
}

.before-after-range::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}

.before-after-range::-moz-range-track {
  height: 100%;
  background: transparent;
}

.before-after-range::-webkit-slider-thumb {
  width: 46px;
  height: 46px;
  margin-top: 0;
  appearance: none;
  border: 0;
  background: transparent;
}

.before-after-range::-moz-range-thumb {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
}

.before-after-range:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: -4px;
}

.before-after-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
/* Single supporting image inside optional project photo disclosures */
.project-photo-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1000px;
}
/* Our Work gallery: square feature tiles with aligned smaller projects */
.project-gallery-page .work-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: calc((min(100vw - 96px, 1280px) - 39px) / 4);
  gap: 13px;
}

.project-gallery-page .work-grid > .work-tile {
  grid-column: auto;
  grid-row: auto;
}

.project-gallery-page .work-grid > .work-tile--photo:first-child,
.project-gallery-page .work-grid > .work-tile--photo:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 780px) {
  .project-gallery-page .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: calc((min(100vw - 96px, 1280px) - 13px) / 2);
  }
}
/* Quiet honeypot field to filter basic automated spam */
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.enquiry-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}
/* Privacy notice page */
.privacy-content {
  max-width: 850px;
  margin: 0 auto;
}

.privacy-content h1 {
  margin-bottom: 14px;
}

.privacy-content h2 {
  margin: 34px 0 10px;
  font-size: clamp(21px, 2.2vw, 28px);
}

.privacy-content p,
.privacy-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.privacy-content ul {
  padding-left: 22px;
}

.privacy-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-content a:hover,
.privacy-content a:focus-visible {
  color: var(--deep);
}

.privacy-lead {
  max-width: 730px;
  font-size: 17px !important;
}

.privacy-updated {
  font-size: 12px !important;
}
