@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/montserrat-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/montserrat-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/montserrat-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-700.woff2') format('woff2');
}

:root {
  --ink: #2a2926;
  --muted: #5e5c57;
  --surface: #e9e7e2;
  --surface-alt: #ddd9d2;
  --surface-soft: #f2f0eb;
  --white: #f2f0eb;
  --pad: clamp(1rem, 3vw, 1.5rem);
  --content-max: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: transparent;
  box-shadow: none;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  height: 4rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.site-brand:hover .site-logo {
  transform: scale(1.05);
}

.site-brand-text {
  display: flex;
  flex-direction: column;
}

.site-brand-top {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: #111827;
}

.site-brand-bottom {
  margin-top: 0.25rem;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4b5563;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
}

.site-nav a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover {
  color: #4b5563;
}

.site-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #4b5563;
  cursor: pointer;
  padding: 0.25rem;
}

.site-menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Overlay header on hero: white logo + menu */
.site-header--overlay .site-brand-top,
.site-header--overlay .site-brand-bottom,
.site-header--overlay .site-nav a,
.site-header--overlay .site-menu-btn {
  color: #fff;
}

.site-header--overlay .site-brand-bottom {
  color: rgba(255, 255, 255, 0.85);
}

.site-header--overlay .site-nav a:hover {
  color: #fff;
  opacity: 0.75;
}

.site-header--overlay .site-logo {
  filter: brightness(0) invert(1);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--surface-soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-overlay[hidden] {
  display: none !important;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 700;
}

.mobile-nav a:hover {
  color: #4b5563;
}

.mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #4b5563;
  cursor: pointer;
  padding: 0.25rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  background: #1a1916;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(17, 24, 39, 0.45) 0%,
      transparent 28%
    ),
    linear-gradient(
      100deg,
      rgba(17, 24, 39, 0.78) 0%,
      rgba(17, 24, 39, 0.55) 38%,
      rgba(17, 24, 39, 0.18) 62%,
      rgba(17, 24, 39, 0.05) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) var(--pad);
}

@media (min-width: 1600px) {
  .hero-content {
    max-width: none;
    margin: 0;
    padding-left: clamp(2.5rem, 4.5vw, 5.5rem);
    padding-right: var(--pad);
  }
}

@media (min-width: 2560px) {
  .hero-content {
    padding-left: clamp(3rem, 3.5vw, 6rem);
  }
}

.hero-copy {
  max-width: 36rem;
  padding-left: 0.15rem;
  border-left: 2px solid rgba(255, 255, 255, 0.55);
  padding-left: 1.35rem;
  animation: hero-fade 0.9s ease both;
}

.hero-tagline {
  margin: 0 0 0.85rem;
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hero-title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Page sections ——— */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad);
  scroll-margin-top: 0;
  background: var(--surface-soft);
}

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

.section-title {
  margin: 0 0 2rem;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 1.875rem);
  text-align: center;
}

.section-lead {
  max-width: 42rem;
  margin: -1rem auto 2.25rem;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
}

.about-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
}

.about-eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

.about-grid img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 0;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  padding: 0.25rem 0;
}

.about-heading {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.about-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.about-points {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(42, 41, 38, 0.14);
}

.about-points li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(42, 41, 38, 0.14);
}

.about-point-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.about-point-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.projects-grid,
.services-grid {
  display: grid;
  max-width: var(--content-max);
  margin: 0 auto;
}

.projects-grid {
  gap: 1.25rem;
}

.services-grid {
  gap: 1.5rem 1.75rem;
}

#services.section {
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.project-item {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.project-item h3,
.service-item h3 {
  margin: 0.9rem 0 0.35rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.project-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.project-item img {
  width: 100%;
  height: clamp(260px, 28vw, 340px);
  object-fit: cover;
  border-radius: 0;
}

.service-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  width: 100%;
  min-width: 0;
  min-height: 0;
  box-shadow: none;
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-item:hover img {
  transform: scale(1.04);
}

.service-item .label {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 45%;
  background: linear-gradient(to top, rgba(26, 25, 22, 0.75) 0%, transparent 100%);
  color: #fff;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  text-align: left;
  padding: 1.25rem 1.1rem;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  max-width: var(--content-max);
  margin: 0 auto;
}

.expert-card {
  width: 100%;
  background: var(--surface-soft);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.expert-card img {
  width: 100%;
  height: clamp(260px, 28vw, 320px);
  object-fit: cover;
}

.expert-card-body {
  padding: 1.35rem 1.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.expert-card h3 {
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}

.expert-card .role {
  margin: 0 0 0.35rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.expert-card .quote {
  margin: 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid rgba(42, 41, 38, 0.12);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.contact-form {
  max-width: 36rem;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.65rem 1rem;
  border: 1px solid #c9c5bc;
  border-radius: 0;
  background: var(--surface-soft);
  font: inherit;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #6b6449;
  outline-offset: 1px;
}

.form-row {
  display: grid;
  gap: 0 1rem;
}

.contact-form button {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 0;
  background: #2a2926;
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease;
}

.contact-form button:hover {
  background: #4a463c;
}

.site-footer {
  background: #2a2926;
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem var(--pad);
  text-align: center;
  font-size: 0.95rem;
}

.footer-brand {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s ease;
}

.footer-brand:hover {
  opacity: 0.75;
}

@media (min-width: 768px) {
  .site-logo {
    height: 5rem;
  }

  .site-nav {
    display: flex;
  }

  .site-menu-btn {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }

  .about-grid img {
    min-height: 480px;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2rem;
  }

  .service-item {
    aspect-ratio: 16 / 10;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 2rem;
  }

  .service-item {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    height: 100svh;
    align-items: flex-end;
  }

  .hero-content {
    padding: 0 var(--pad) 1.5rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-bg img {
    /* Focus on the façade (wood + glass), not empty gravel / left trees */
    object-position: 82% 28%;
    transform: scale(1.12);
  }

  .hero-bg::after {
    background: linear-gradient(
      to top,
      rgba(17, 24, 39, 0.88) 0%,
      rgba(17, 24, 39, 0.45) 42%,
      rgba(17, 24, 39, 0.18) 100%
    );
  }
}

/* ——— Service pages ——— */
.service-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111827;
  color: #fff;
}

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

.service-hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.service-breadcrumb {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.service-breadcrumb a:hover {
  text-decoration: underline;
}

.service-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.service-lead {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
  opacity: 0.95;
}

.service-page {
  scroll-margin-top: 0;
}

.service-layout {
  display: grid;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-main h2 {
  margin: 2rem 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.service-main h2:first-child {
  margin-top: 0;
}

.service-main > p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-list li {
  margin-bottom: 0.4rem;
}

.service-steps {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.service-step {
  padding: 1.1rem 1.15rem;
  background: var(--surface-alt);
  border-left: 3px solid #1f2937;
}

.service-step-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.service-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.service-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: #111827;
  color: #fff;
}

.service-cta h2 {
  margin: 0 0 0.5rem;
  color: #fff;
}

.service-cta p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  background: #fff;
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
  background: #e5e7eb;
}

.btn-block {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  background: #111827;
  color: #fff;
}

.btn-block:hover {
  background: #374151;
  color: #fff;
}

.service-aside {
  padding: 1.5rem;
  background: var(--surface-alt);
  height: fit-content;
}

.service-aside h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.service-aside-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-aside-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.service-aside-nav a:hover {
  color: var(--ink);
}

@media (min-width: 900px) {
  .service-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }

  .service-steps {
    grid-template-columns: 1fr 1fr;
  }

  .service-aside {
    position: sticky;
    top: 110px;
  }
}
