:root {
  --ink: #1b1b1b;
  --muted: #696969;
  --paper: #ffffff;
  --soft: #f5f2ed;
  --charcoal: #202326;
  --gold: #c59b57;
  --gold-dark: #9d7439;
  --line: rgba(27, 27, 27, 0.12);
  --shadow: 0 24px 60px rgba(12, 13, 15, 0.16);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 14px clamp(20px, 5vw, 70px);
  color: white;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand {
  text-decoration: none;
}

.brand-mark {
  display: inline-block;
  color: currentColor;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 15px;
  font-weight: 700;
}

.primary-nav a {
  text-decoration: none;
}

.primary-nav a:hover,
.text-link:hover,
.service-grid a:hover {
  color: var(--gold-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.08);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 86px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    url("assets/images/hero-homestead.jpeg") center / cover,
    #141414;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  width: min(980px, calc(100% - 40px));
  padding: 90px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow {
  color: white;
  text-transform: none;
  font-size: clamp(24px, 4vw, 44px);
}

.eyebrow span {
  color: var(--gold);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 9vw, 108px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 28px;
  border: 0;
  border-radius: 2px;
  color: white;
  background: var(--gold);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.section-pad {
  padding: clamp(70px, 9vw, 120px) 0;
}

.awards {
  text-align: center;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  margin-top: 44px;
}

.award-grid img {
  max-height: 175px;
  margin: 0 auto;
  object-fit: contain;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 660px;
}

.split-image {
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)),
    url("assets/images/our-story-living.jpg") center / cover;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 8vw, 100px);
  background: var(--soft);
}

.split-copy p,
.project-copy p,
.cta p,
.intro,
.feature-list p,
.service-grid p {
  color: var(--muted);
}

.text-link,
.service-grid a {
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: none;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.why-copy {
  align-self: center;
}

.why-copy > p {
  margin-bottom: 22px;
}

.why-copy .feature-list + p {
  margin-top: 22px;
  margin-bottom: 0;
}

.why-images {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.why-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center center;
}

.why-image:first-child {
  height: 250px;
}

.why-image-secondary {
  height: 250px;
}

.why-image-tertiary {
  grid-column: 1 / -1;
  height: 280px;
}

.feature-list article,
.service-grid article,
.contact-form {
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 12px 34px rgba(12, 13, 15, 0.06);
}

.feature-list article {
  padding: 22px;
}

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

.project-copy {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.project-image-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.project-image-grid img {
  width: 100%;
  height: 314px;
  object-fit: cover;
  object-position: center center;
}

.project-image-grid img:nth-child(1),
.project-image-grid img:nth-child(2) {
  grid-column: span 3;
  height: 340px;
}

.project-image-grid img:nth-child(n+3) {
  grid-column: span 2;
}

.project-action {
  margin-top: 34px;
  text-align: center;
}

.gallery-page {
  background: var(--paper);
}

.gallery-page .container > .section-label,
.gallery-page h2,
.gallery-page .intro {
  text-align: center;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.photo-gallery-grid figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.photo-gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.photo-gallery-grid figure:hover img {
  transform: scale(1.035);
}

.photo-gallery-grid figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 14px;
  color: white;
  background: rgba(12, 13, 15, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.photo-gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-gallery-feature img {
  min-height: 742px;
}

.photo-gallery-wide {
  grid-column: span 2;
}

.live-gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-flow: dense;
}

.live-gallery-grid figure {
  min-height: 260px;
}

.live-gallery-grid img {
  min-height: 260px;
}

.live-gallery-grid figure:nth-child(12n + 1),
.live-gallery-grid figure:nth-child(12n + 8) {
  grid-column: span 2;
  grid-row: span 2;
}

.live-gallery-grid figure:nth-child(12n + 1) img,
.live-gallery-grid figure:nth-child(12n + 8) img {
  min-height: 542px;
}

.services {
  background: var(--soft);
}

.services .container > .section-label,
.services h2,
.services .intro {
  text-align: center;
}

.intro {
  max-width: 920px;
  margin: 0 auto 42px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-grid article {
  min-height: 420px;
  padding: 30px;
}

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

.faq .container > .section-label,
.faq h2 {
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.faq-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 12px 34px rgba(12, 13, 15, 0.06);
}

.faq-grid p {
  color: var(--muted);
}

.faq-grid a {
  color: var(--gold-dark);
  font-weight: 800;
  text-decoration: none;
}

.service-page-hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 120px 0 70px;
  color: white;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.42)),
    var(--service-hero-image, url("assets/images/original-layout/IMG_1483.jpeg")) center / cover;
}

.service-page-hero .container {
  position: relative;
}

.service-page-hero p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: clamp(18px, 2vw, 23px);
}

.service-detail {
  background: var(--paper);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.service-detail-copy p,
.service-points p {
  color: var(--muted);
}

.service-points {
  display: grid;
  gap: 22px;
}

.service-points article {
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 12px 34px rgba(12, 13, 15, 0.06);
}

.service-process {
  background: var(--soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: white;
  background: var(--gold);
  font-weight: 800;
}

.cta {
  padding: clamp(70px, 9vw, 120px) 0;
  color: white;
  background:
    linear-gradient(rgba(12, 13, 15, 0.82), rgba(12, 13, 15, 0.82)),
    url("assets/images/IMG_3143-scaled-1.jpeg") center / cover fixed;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.contact-grid h3 {
  margin: 30px 0 12px;
  color: var(--gold);
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 2px;
}

.contact-list strong {
  color: var(--gold);
  font-size: 14px;
  text-transform: uppercase;
}

.contact-list a {
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(26px, 5vw, 44px);
  color: var(--ink);
}

.contact-form h3 {
  margin-bottom: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 15px;
  font: inherit;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--gold-dark);
  font-weight: 700;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 46px 0;
}

.footer-brand {
  color: white;
}

.footer-grid p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.footer-grid a {
  text-decoration: none;
}

.copyright {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink);
  }

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

  .primary-nav a {
    padding: 13px 12px;
  }

  .award-grid,
  .service-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .two-col,
  .service-detail-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .split-image {
    min-height: 420px;
  }

  .why-image {
    height: 260px;
  }

  .why-image:first-child {
    height: 260px;
  }

  .why-image-secondary {
    height: 260px;
  }

  .why-image-tertiary {
    grid-column: 1 / -1;
    height: 260px;
  }

  .project-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .photo-gallery-feature,
  .photo-gallery-wide {
    grid-column: span 2;
  }

  .photo-gallery-feature img {
    min-height: 520px;
  }

  .live-gallery-grid figure:nth-child(12n + 1),
  .live-gallery-grid figure:nth-child(12n + 8) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .live-gallery-grid figure:nth-child(12n + 1) img,
  .live-gallery-grid figure:nth-child(12n + 8) img {
    min-height: 360px;
  }

  .project-image-grid img,
  .project-image-grid img:nth-child(1),
  .project-image-grid img:nth-child(2),
  .project-image-grid img:nth-child(n+3) {
    grid-column: span 1;
    height: 300px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
    padding: 12px 18px;
  }

  .brand-mark {
    max-width: 230px;
    font-size: 22px;
  }

  .hero {
    min-height: 100vh;
    padding-top: 74px;
  }

  .hero-content {
    padding: 70px 0;
  }

  .award-grid,
  .service-grid,
  .faq-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .award-grid img {
    max-height: 165px;
  }

  .split-image {
    min-height: 340px;
  }

  .why-image {
    height: 260px;
  }

  .why-image:first-child {
    height: 260px;
  }

  .why-image-secondary {
    height: 200px;
  }

  .why-image-tertiary {
    grid-column: 1 / -1;
    height: 200px;
  }

  .project-image-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery-grid,
  .photo-gallery-feature,
  .photo-gallery-wide {
    grid-template-columns: 1fr;
    grid-column: span 1;
  }

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

  .live-gallery-grid figure:nth-child(12n + 1),
  .live-gallery-grid figure:nth-child(12n + 8) {
    grid-column: span 1;
  }

  .live-gallery-grid figure:nth-child(12n + 1) img,
  .live-gallery-grid figure:nth-child(12n + 8) img {
    min-height: 320px;
  }

  .project-image-grid img,
  .project-image-grid img:nth-child(1),
  .project-image-grid img:nth-child(2),
  .project-image-grid img:nth-child(n+3) {
    grid-column: span 1;
    height: 280px;
  }

  .footer-grid nav {
    flex-direction: column;
  }
}
