:root {
  --ink: #17211b;
  --muted: #5c665f;
  --paper: #fbfaf5;
  --panel: #ffffff;
  --field: #f1efe7;
  --pine: #244735;
  --moss: #6f7f45;
  --clay: #b96f43;
  --stone: #d8d2c2;
  --line: #ded8c8;
  --shadow: 0 24px 80px rgba(25, 31, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 245, 0.82);
  border-bottom: 1px solid rgba(222, 216, 200, 0.76);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand strong {
  color: var(--pine);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--pine);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.button-primary {
  color: #fff;
  background: var(--pine);
}

.button-primary:hover,
.header-cta:hover {
  background: #183326;
}

.button-secondary {
  color: var(--pine);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(36, 71, 53, 0.24);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94vh;
  padding: 148px clamp(18px, 6vw, 80px) 54px;
  overflow: hidden;
  isolation: isolate;
}

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

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

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 16, 11, 0.88), rgba(9, 16, 11, 0.58) 42%, rgba(9, 16, 11, 0.14)),
    linear-gradient(0deg, rgba(9, 16, 11, 0.62), transparent 46%);
}

.hero-content {
  width: min(720px, 100%);
  color: #fff;
}

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

.hero .eyebrow {
  color: #efb17a;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 820px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

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

.hero-card {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 420px;
}

.hero-card span {
  padding: 10px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-weight: 800;
  font-size: 0.86rem;
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 6vw, 80px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: var(--paper);
}

.intro > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.biography {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: #f4efe6;
}

.bio-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.bio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bio-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.bio-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bio-card img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
}

.bio-card strong,
.bio-card span {
  display: block;
}

.bio-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-bottom: 34px;
}

.services {
  background: #eef1e8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-grid article,
.process-row > div,
.review-grid blockquote,
.quote-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(28, 35, 28, 0.06);
}

.service-grid article {
  min-height: 260px;
  padding: 24px;
}

.service-grid p,
.process-row p,
.review-grid p,
.coverage p,
.contact p {
  color: var(--muted);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  color: #fff;
  background: var(--moss);
  border-radius: 50%;
  font-weight: 900;
}

.process {
  background: var(--pine);
  color: #fff;
}

.process .eyebrow {
  color: #e3b077;
}

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

.process-row > div {
  padding: 24px;
  color: var(--ink);
}

.process-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  color: #fff;
  background: var(--clay);
  border-radius: 50%;
  font-weight: 900;
}

.work-heading {
  max-width: none;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: end;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filters button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--pine);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.filters button.active {
  color: #fff;
  background: var(--pine);
  border-color: var(--pine);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery figure {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery figure.feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 674px;
}

.gallery figure[hidden] {
  display: none;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.coverage {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 1fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  background: #e8dfd2;
}

.coverage-copy h2 {
  margin-bottom: 22px;
  line-height: 1.08;
}

.coverage-copy p {
  max-width: 660px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
}

.area-list span {
  min-width: 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(36, 71, 53, 0.16);
  border-radius: 999px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.reviews {
  background: var(--paper);
}

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

.review-grid blockquote {
  margin: 0;
  padding: 28px;
}

.review-grid blockquote::before {
  content: "★★★★★";
  display: block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 0.9rem;
}

.review-grid cite {
  color: var(--pine);
  font-style: normal;
  font-weight: 900;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(280px, 1fr);
  gap: clamp(24px, 5vw, 68px);
  color: #fff;
  background: #263026;
}

.quote-band .eyebrow {
  color: #e3b077;
}

.quote-band ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-band li {
  padding-left: 24px;
  position: relative;
}

.quote-band li::before {
  position: absolute;
  left: 0;
  content: "+";
  color: #e3b077;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

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

.contact-methods a {
  color: var(--pine);
  font-weight: 900;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.bot-field {
  display: none;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--pine);
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.quote-form textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 6vw, 80px);
  color: rgba(255, 255, 255, 0.78);
  background: #121914;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(9, 16, 11, 0.86), rgba(9, 16, 11, 0.54)),
    url("assets/gallery/IMG_0614.JPEG") center / cover;
}

.thanks {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: clamp(28px, 7vw, 90px);
  color: #fff;
}

.thanks section {
  max-width: 720px;
}

.thanks p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

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

  .work-heading,
  .intro,
  .biography,
  .coverage,
  .quote-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .filters {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .site-nav.open a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 90vh;
    padding-top: 126px;
  }

  .hero-card {
    position: static;
    margin-top: 34px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(9, 16, 11, 0.9), rgba(9, 16, 11, 0.5)),
      linear-gradient(0deg, rgba(9, 16, 11, 0.66), transparent 50%);
  }

  .service-grid,
  .process-row,
  .review-grid,
  .gallery,
  .area-list {
    grid-template-columns: 1fr;
  }

  .gallery figure,
  .gallery figure.feature {
    grid-column: auto;
    grid-row: auto;
    min-height: 380px;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 460px) {
  .brand strong {
    max-width: 150px;
    white-space: normal;
    line-height: 1.05;
  }

  h1 {
    font-size: 2.8rem;
  }

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

  .gallery figure,
  .gallery figure.feature {
    min-height: 320px;
  }
}
