:root {
  --ivory: #f8f4ee;
  --linen: #f1eae1;
  --sand: #e4d8ca;
  --blush: #d8b4a4;
  --rose: #8a5a4b;
  --sage: #7b8a72;
  --espresso: #2f2620;
  --cocoa: #6b5a4e;
  --night: #241c17;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--rose);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

h1 {
  font-size: 58px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 16px;
}

figure {
  margin: 0;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}

.section {
  padding: 120px 32px;
}

.button {
  display: inline-block;
  padding: 14px 26px;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  background: var(--espresso);
  color: var(--ivory);
  font-size: 15px;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.button-ghost {
  background: transparent;
  color: var(--espresso);
}

.button:hover {
  opacity: 0.88;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 238, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(47, 38, 32, 0.08);
}

.nav-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--espresso);
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--sand);
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--espresso);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--rose);
}

.nav-links .nav-cta {
  padding: 8px 16px;
  border: 1px solid var(--espresso);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  padding: 8px 16px;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  background: transparent;
  color: var(--espresso);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  min-height: 88vh;
  background: var(--espresso);
  color: #fff;
}

.hero-img {
  grid-area: stack;
  align-self: stretch;
  width: 100%;
  height: 88vh;
  object-fit: cover;
  object-position: center 40%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 28, 23, 0.25) 0%, rgba(36, 28, 23, 0.45) 45%, rgba(36, 28, 23, 0.82) 100%);
}

.hero-content {
  grid-area: stack;
  align-self: end;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 32px;
}

.hero .eyebrow {
  color: var(--ivory);
}

.hero h1 {
  max-width: 800px;
  color: #fff;
}

.hero-lead {
  max-width: 600px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero .button {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--espresso);
}

.hero .button-ghost {
  background: transparent;
  border-color: var(--ivory);
  color: var(--ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
}

.pillar {
  padding-top: 24px;
  border-top: 1px solid var(--blush);
}

.pillar h3 {
  font-size: 22px;
}

.pillar p {
  color: var(--cocoa);
  margin-bottom: 0;
}

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

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

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

.service-card {
  padding: 32px 28px;
  background: var(--ivory);
  border: 1px solid var(--sand);
}

.service-number {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--sage);
  margin-bottom: 40px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--cocoa);
  margin-bottom: 0;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.contact {
  background: var(--night);
  color: var(--ivory);
  text-align: center;
}

.contact .wrap {
  max-width: 720px;
}

.contact h2 {
  color: var(--ivory);
}

.contact .eyebrow {
  color: var(--blush);
}

.contact p:not(.eyebrow) {
  color: rgba(248, 244, 238, 0.85);
}

.contact .hero-actions {
  justify-content: center;
}

.contact .button {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--espresso);
}

.contact .button-ghost {
  background: transparent;
  border-color: var(--ivory);
  color: var(--ivory);
}

.site-footer {
  padding: 48px 32px;
  background: #1a130f;
  color: rgba(248, 244, 238, 0.78);
  font-size: 14px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ivory);
  margin-bottom: 8px;
}

.footer-brand p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}

.footer-links a,
.footer-bottom a {
  color: inherit;
}

.footer-bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 244, 238, 0.12);
}

.footer-bottom p {
  margin-bottom: 0;
}

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

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

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 32px;
    background: var(--ivory);
    border-bottom: 1px solid var(--sand);
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .nav-links .nav-cta {
    padding: 8px 16px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 56px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .section {
    padding: 80px 24px;
  }

  .hero-img {
    height: auto;
    min-height: 80vh;
  }

  .hero-content {
    padding: 96px 24px;
  }

  .nav-inner {
    padding: 16px 24px;
  }

  .section-head {
    margin-bottom: 40px;
  }

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

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

  .site-footer {
    padding: 48px 24px;
  }
}
