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

:root {
  color-scheme: light;
  --stone: #d9d1c2;
  --stone-light: #f5f1ea;
  --green: #356448;
  --green-dark: #183b2b;
  --charcoal: #202421;
  --warm: #b9824a;
  --quote: #d7c7ad;
  --white: #ffffff;
  --line: #ddd6ca;
  --shadow: 0 18px 48px rgb(32 36 33 / 14%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--stone-light);
  color: var(--charcoal);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name {
  color: var(--green-dark);
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 700;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 114px;
  padding: 28px clamp(18px, 4vw, 64px);
  background: rgb(245 241 234 / 94%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-grid;
  gap: 3px;
  align-items: center;
  flex: 0 0 auto;
  color: var(--green-dark);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-name {
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  transform: translate(-3px, -8px);
}

.brand-subtitle {
  color: var(--warm);
  font-size: clamp(0.78rem, 1.15vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a[aria-current],
.site-nav a:hover {
  background: #d7c7ad;
}

.site-nav .nav-cta {
  background: transparent;
  color: var(--warm);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current] {
  background: var(--green-dark);
  color: var(--warm);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 114px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--stone-light);
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(245 241 234 / 88%), rgb(232 223 208 / 76%));
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 7vw, 84px);
  color: var(--white);
  text-align: center;
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 {
  max-width: none;
  color: var(--green-dark);
  font-size: clamp(3rem, 8vw, 6rem);
  white-space: nowrap;
}

.hero p {
  max-width: 620px;
  margin: 0 auto 26px;
  color: var(--warm);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--warm);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  border: 2px solid var(--quote);
  background: var(--quote);
  color: var(--green-dark);
}

.button-primary:hover {
  background: #cdbc9f;
}

.hero .button {
  min-height: 58px;
  padding: 15px 26px;
  font-size: 1.08rem;
}

.button-secondary {
  background: var(--green);
  color: var(--white);
}

.button-secondary:hover {
  background: var(--green-dark);
}

.text-link {
  color: var(--green-dark);
  font-weight: 900;
}

.section {
  padding: clamp(42px, 7vw, 92px) clamp(18px, 4vw, 64px);
}

.section h2,
.section h1,
.page-hero h1,
.contact-details h2 {
  color: var(--green-dark);
}

.intro-grid,
.split-band,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.intro-grid h2,
.split-band h2,
.about-grid h2,
.services-page h1,
.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.about-grid .eyebrow {
  color: var(--warm);
}

.intro-grid p,
.split-band p,
.about-grid p,
.page-hero p,
.contact-details p {
  max-width: 680px;
  margin: 0 0 18px;
  color: #4d544f;
}

.about-grid p:not(.eyebrow) {
  color: var(--green-dark);
  font-family: inherit;
}

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

.service-list li {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-left: 4px solid var(--warm);
  background: var(--white);
  box-shadow: 0 8px 24px rgb(32 36 33 / 8%);
  font-weight: 800;
}

.services-page,
.portfolio-page {
  display: grid;
  gap: clamp(30px, 5vw, 64px);
}

.services-page .section-heading,
.portfolio-page .section-heading {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.services-page .section-heading h1,
.portfolio-page .section-heading h1 {
  margin: 0 0 14px;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.services-page .section-heading p {
  max-width: 700px;
  margin: 0 auto;
  color: #4d544f;
  font-size: 1.12rem;
}

.services-stack {
  display: grid;
  gap: clamp(34px, 6vw, 78px);
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.service-feature--reverse .service-feature__image {
  order: 2;
}

.service-feature__image {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-feature__content {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.service-feature__content h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2rem, 4.7vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.service-feature__content p:not(.eyebrow) {
  max-width: 600px;
  margin: 0;
  color: #4d544f;
  font-size: 1.08rem;
}

.split-band {
  background: var(--stone);
}

.feature-image,
.portrait-image,
.project-image {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image {
  aspect-ratio: 4 / 3;
}

.portrait-image {
  aspect-ratio: 1;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
  padding: 0;
}

.section-heading {
  margin-bottom: 28px;
}

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

.testimonial-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgb(32 36 33 / 8%);
}

.testimonial-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.testimonial-card p {
  margin: 0;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.testimonial-card footer {
  display: grid;
  gap: 2px;
  margin-top: 24px;
}

.testimonial-card strong {
  color: var(--green-dark);
}

.testimonial-card span {
  color: var(--warm);
  font-size: 0.92rem;
}

.project-card span {
  color: #626963;
  font-size: 0.92rem;
}

.page-hero {
  padding: clamp(52px, 8vw, 110px) clamp(18px, 4vw, 64px) clamp(28px, 5vw, 58px);
  background: linear-gradient(135deg, #e8dfd0, var(--stone-light));
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 720px;
}

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

.project-card {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 28vw, 390px);
  aspect-ratio: 4 / 3;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

.project-card__body {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
}

.project-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.project-card .eyebrow {
  margin: 0 0 18px;
}

.contact-section {
  padding-top: clamp(34px, 6vw, 78px);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 76px);
  align-items: start;
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgb(32 36 33 / 8%);
  padding: clamp(24px, 4vw, 42px);
}

.contact-details {
  display: grid;
  gap: 18px;
  padding: 6px 0;
}

.contact-details h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.contact-details p {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #4d544f;
}

.contact-details strong {
  color: var(--warm);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-details a {
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration-color: rgb(185 130 74 / 48%);
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 0;
}

.contact-form label {
  color: var(--green-dark);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9c0b2;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fffdf9;
  color: var(--charcoal);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgb(185 130 74 / 28%);
  border-color: var(--warm);
}

.hidden-field {
  display: none;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 64px);
  background: var(--charcoal);
  color: var(--white);
}

.site-footer p {
  margin: 4px 0 0;
  color: var(--white);
}

.footer-brand {
  align-self: center;
  margin-top: 0;
  padding-top: 0;
}

.site-footer a {
  color: var(--white);
}

.footer-contact a {
  font-size: 20px;
}

.footer-brand p {
  margin: 0;
  color: #a9ada9;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

.footer-brand strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.footer-contact {
  display: grid;
  gap: 6px;
  align-self: center;
  min-width: 0;
}

.footer-contact p {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-contact span {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-footer {
    gap: 16px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .footer-contact p {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
  }

  .hero {
    min-height: 680px;
  }

  .intro-grid,
  .split-band,
  .about-grid,
  .contact-panel,
  .service-feature,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-feature--reverse .service-feature__image {
    order: 0;
  }

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

@media (max-width: 520px) {
  .site-header {
    gap: 14px;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    margin-top: 0;
    padding-top: 0;
  }

  .footer-contact p {
    justify-content: center;
  }

  .brand {
    gap: 2px;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .brand-subtitle {
    font-size: 0.72rem;
  }

  .site-nav a {
    flex: 1 1 46%;
    justify-content: center;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    padding: 28px 18px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 16vw, 4.4rem);
    white-space: normal;
  }
}
