:root {
  color-scheme: light;
  --ink: #151515;
  --charcoal: #0e0f0e;
  --paper: #f7f3ea;
  --paper-deep: #ece2d0;
  --gold: #c59a44;
  --sage: #667461;
  --blue: #263f56;
  --muted: #6d675f;
  --line: rgba(21, 21, 21, 0.16);
  --light-line: rgba(247, 243, 234, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  color: var(--paper);
  background: linear-gradient(to bottom, rgba(14, 15, 14, 0.82), rgba(14, 15, 14, 0));
}

.brand {
  width: clamp(112px, 14vw, 178px);
}

.brand img,
.contact-logo {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 30px);
  font-size: 0.88rem;
  color: rgba(247, 243, 234, 0.86);
}

.nav-links a {
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--gold);
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--paper);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 64% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 15, 14, 0.94), rgba(14, 15, 14, 0.72) 40%, rgba(14, 15, 14, 0.18)),
    linear-gradient(0deg, rgba(14, 15, 14, 0.72), rgba(14, 15, 14, 0.02) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(650px, calc(100% - 36px));
  margin: 0 auto 0 clamp(18px, 24vw, 31vw);
  padding: 170px 0 9vh;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 640px;
  font-size: clamp(3rem, 5.7vw, 6rem);
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.5vw, 4.7rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(247, 243, 234, 0.86);
  font-size: clamp(1.06rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 700;
}

.button-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--charcoal);
}

.button-secondary {
  color: var(--paper);
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 4vw, 48px);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-dark {
  background: var(--charcoal);
  color: var(--paper);
}

.section-heading,
.gallery-grid,
.service-list,
.about,
.contact {
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) 1fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(34px, 6vw, 70px);
}

.section-logo {
  width: min(148px, 42vw);
  margin: 0 0 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(230px, 26vw);
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--blue);
}

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

.gallery-tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 14, 0.05), rgba(14, 15, 14, 0.66));
}

.gallery-item span {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.045);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--light-line);
}

.service-list article {
  padding: clamp(24px, 4vw, 44px) clamp(18px, 3vw, 32px);
  border-right: 1px solid var(--light-line);
}

.service-list article:last-child {
  border-right: 0;
}

.service-list p,
.about-copy p {
  margin: 16px 0 0;
  color: rgba(247, 243, 234, 0.72);
  font-size: 1rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding-left: clamp(24px, 4vw, 64px);
}

.about-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.about-image {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  background: var(--sage);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: end;
  padding-left: clamp(24px, 4vw, 64px);
}

.contact-logo {
  max-width: 180px;
  margin-bottom: 44px;
}

.contact-details {
  display: grid;
  gap: 14px;
  color: rgba(247, 243, 234, 0.82);
  font-style: normal;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.contact-details a {
  width: fit-content;
  border-bottom: 1px solid rgba(197, 154, 68, 0.55);
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--gold);
}

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

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 8px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(14, 15, 14, 0.86), rgba(14, 15, 14, 0.34)),
      linear-gradient(0deg, rgba(14, 15, 14, 0.84), rgba(14, 15, 14, 0.08) 48%);
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }

  .section-heading,
  .about,
  .contact {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(220px, 42vw);
  }

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

  .service-list article {
    border-right: 0;
    border-bottom: 1px solid var(--light-line);
  }

  .service-list article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    padding: 16px 18px;
  }

  .brand {
    width: 112px;
  }

  .nav-links {
    max-width: 176px;
    font-size: 0.8rem;
    gap: 8px 14px;
  }

  .hero-content {
    width: calc(100% - 36px);
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(260px, 70vw);
  }

  .gallery-wide,
  .gallery-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .section {
    padding-top: 66px;
    padding-bottom: 66px;
  }
}
