:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #5a6663;
  --surface: #f5f3ee;
  --surface-strong: #e7e3da;
  --paper: #fffdfa;
  --line: #d8d2c6;
  --forest: #214c3e;
  --forest-dark: #12352d;
  --steel: #35526b;
  --clay: #b96d3c;
  --gold: #c79a3a;
  --shadow: 0 18px 55px rgba(23, 32, 31, 0.14);
  --content: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

img,
svg {
  display: block;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--content);
  min-height: 66px;
  padding: 10px 10px 10px 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 28, 27, 0.35);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  border-color: rgba(23, 32, 31, 0.1);
  background: rgba(255, 253, 250, 0.9);
  box-shadow: 0 16px 40px rgba(23, 32, 31, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.12);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 13px;
  opacity: 0.76;
}

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

.main-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a:focus-visible {
  background: #ece7dd;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 86svh;
  padding: 142px 0 92px;
  overflow: hidden;
  color: #ffffff;
}

.hero-slider,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 380ms ease, transform 650ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 21, 19, 0.84), rgba(10, 21, 19, 0.45) 45%, rgba(10, 21, 19, 0.12)),
    linear-gradient(180deg, rgba(10, 21, 19, 0.26), rgba(10, 21, 19, 0.64));
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: end;
  width: var(--content);
  max-width: 780px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c66d;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  font-size: 72px;
  font-weight: 800;
}

h2 {
  font-size: 46px;
  font-weight: 800;
}

h3 {
  font-size: 23px;
  font-weight: 800;
}

.hero-lede {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  line-height: 1.34;
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
}

.service-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: var(--forest);
  box-shadow: 0 12px 30px rgba(18, 53, 45, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--forest-dark);
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.slider-panel {
  position: absolute;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 24px;
  z-index: 3;
  display: grid;
  grid-template-columns: 42px minmax(180px, 260px) 42px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 22, 21, 0.56);
  backdrop-filter: blur(16px);
}

.slider-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

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

.slider-copy {
  min-width: 0;
}

.slider-kicker {
  display: block;
  margin-bottom: 1px;
  color: #f2c66d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.slider-copy strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.2;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: var(--content);
  margin: -34px auto 0;
  position: relative;
  z-index: 4;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 154px;
  padding: 24px;
  background: var(--paper);
}

.trust-number {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: Inter, Arial, sans-serif;
  font-size: 19px;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 108px 0 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-intro p:not(.eyebrow),
.feature-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 19px;
}

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

.service-card {
  min-height: 262px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 26px;
  color: var(--forest);
  border: 1px solid #c4d0c8;
  border-radius: 8px;
  background: #edf3ec;
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
  width: 100%;
  margin-top: 112px;
  padding: 86px max(20px, calc((100% - 1180px) / 2));
  background: var(--forest-dark);
  color: #ffffff;
}

.feature-copy {
  max-width: 560px;
}

.feature-copy .eyebrow {
  color: #f2c66d;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 48px 150px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 108px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.step span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #0f2822;
  border-radius: 8px;
  background: #f2c66d;
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
}

.step strong {
  font-family: Inter, Arial, sans-serif;
  font-size: 19px;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 36px;
  max-width: none;
  align-items: end;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
}

.project-card {
  display: flex;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.project-card:not(.project-card-large) {
  flex-direction: column;
}

.project-card-large {
  grid-row: span 2;
  flex-direction: column;
  min-height: 716px;
}

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

.project-card-large img {
  height: 430px;
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.tags span {
  padding: 6px 9px;
  border: 1px solid #c6d0c9;
  border-radius: 8px;
  color: var(--forest);
  background: #eef3ec;
  font-size: 13px;
  font-weight: 800;
}

.project-content p {
  margin: 14px 0 0;
  color: var(--muted);
}

.quote-section {
  width: var(--content);
  margin: 112px auto 0;
  padding: 58px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-section p {
  max-width: 920px;
  margin: 0;
  color: var(--forest-dark);
  font-family: Inter, Arial, sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: start;
  width: var(--content);
  margin: 0 auto;
  padding: 108px 0;
}

.contact-copy {
  max-width: 620px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  display: inline-flex;
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--gold);
  color: var(--forest-dark);
  font-family: Inter, Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(23, 32, 31, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--forest-dark);
  font-size: 15px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cfc8ba;
  border-radius: 8px;
  background: #fffdfa;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--forest);
  outline: 3px solid rgba(33, 76, 62, 0.14);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: var(--content);
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 980px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 38px;
  }

  .services-grid,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .feature-band,
  .split-intro,
  .project-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .project-card-large {
    min-height: 0;
  }

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

  .step p {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(100% - 28px, 1180px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    top: 10px;
    min-height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(260px, calc(100vw - 28px));
    padding: 8px;
    border: 1px solid rgba(23, 32, 31, 0.12);
    background: #fffdfa;
    color: var(--ink);
    box-shadow: 0 18px 46px rgba(23, 32, 31, 0.16);
  }

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

  .hero {
    min-height: 88svh;
    padding: 122px 0 116px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(10, 21, 19, 0.44), rgba(10, 21, 19, 0.78)),
      linear-gradient(90deg, rgba(10, 21, 19, 0.5), rgba(10, 21, 19, 0.2));
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-lede {
    font-size: 19px;
  }

  .slider-panel {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 40px 1fr 40px;
  }

  .trust-band {
    margin-top: 0;
  }

  .section {
    padding-top: 78px;
  }

  .services-grid {
    gap: 12px;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .feature-band {
    margin-top: 78px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .step {
    align-items: start;
    padding: 18px;
  }

  .project-card,
  .project-card-large {
    min-height: 0;
  }

  .project-card img,
  .project-card-large img {
    height: 250px;
  }

  .quote-section {
    margin-top: 78px;
    padding: 42px 0;
  }

  .quote-section p {
    font-size: 28px;
  }

  .contact-section {
    padding: 78px 0;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 440px) {
  .brand small {
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-strip span {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .contact-links a {
    font-size: 18px;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
