:root {
  color-scheme: dark;
  --ink: #11110f;
  --paper: #f3efe8;
  --muted: #aaa69f;
  --gold: #d6b77a;
  --green: #25d366;
  --line: rgba(243, 239, 232, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

header {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.nav {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  text-decoration: none;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .13em;
}
.brand span { color: var(--gold); }
.nav-link {
  color: var(--paper);
  font-size: .84rem;
  text-decoration: none;
}
.nav-link:hover { color: var(--gold); }

.hero {
  min-height: 760px;
  min-height: min(900px, 100svh);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12,12,11,.83) 0%, rgba(12,12,11,.46) 52%, rgba(12,12,11,.12) 100%),
    linear-gradient(0deg, rgba(12,12,11,.7), transparent 55%),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=2200&q=88") center 42% / cover;
}
.hero-content { padding-top: 150px; padding-bottom: 110px; max-width: 760px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; }
h1 {
  max-width: 750px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.7rem);
  line-height: .99;
  letter-spacing: -.045em;
}
h1 em { color: var(--gold); font-weight: 500; }
.hero-copy { max-width: 480px; color: #e2ddd4; font-size: 1.06rem; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 32px; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--green);
  color: #07150b;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { background: #45df7c; transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; fill: currentColor; }
.button-outline { border-color: rgba(243,239,232,.55); background: transparent; color: var(--paper); }
.button-outline:hover { background: rgba(255,255,255,.1); }
.hero-note { margin: 17px 0 0; color: rgba(243,239,232,.7); font-size: .78rem; }

.intro { padding: 105px 0; }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.intro h2, .section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.intro-copy { color: var(--muted); font-size: 1.03rem; line-height: 1.9; }
.intro-copy p { margin-bottom: 20px; }

.work { padding: 88px 0 112px; background: #191916; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
.section-heading p { max-width: 330px; margin: 0 0 5px; color: var(--muted); line-height: 1.7; }
.gallery { display: grid; grid-template-columns: 1.15fr .85fr 1fr; grid-template-rows: 240px 240px; gap: 15px; }
.gallery figure { position: relative; overflow: hidden; margin: 0; background: #282722; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s ease; }
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 38px 20px 17px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.23rem;
}

.services { padding: 100px 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-top: 1px solid var(--line); }
.service { padding: 28px 28px 0 0; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--line); }
.service-number { color: var(--gold); font-size: .76rem; letter-spacing: .15em; }
.service h3 { margin: 20px 0 10px; font-size: 1.65rem; }
.service p { max-width: 300px; margin: 0; color: var(--muted); line-height: 1.75; }

.contact {
  padding: 94px 0;
  text-align: center;
  background:
    linear-gradient(rgba(18,18,16,.85), rgba(18,18,16,.9)),
    url("https://images.unsplash.com/photo-1537633552985-df8429e8048b?auto=format&fit=crop&w=1800&q=80") center 50% / cover;
}
.contact h2 { max-width: 700px; margin: 12px auto 16px; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.05; }
.contact p { color: #c7c1b6; }
.contact .actions { justify-content: center; }
footer { padding: 25px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--paper); }

@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, 560px); }
  .nav { min-height: 70px; }
  .nav-link { font-size: .76rem; }
  .hero { min-height: 790px; min-height: 92svh; background-position: 58% center; }
  .hero-content { padding-top: 130px; padding-bottom: 78px; }
  h1 { font-size: clamp(3.25rem, 14vw, 5.2rem); }
  .intro, .services { padding: 75px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 15px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 190px 190px; gap: 10px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:nth-child(4) { grid-column: auto; }
  .gallery figcaption { padding: 34px 12px 12px; font-size: 1.05rem; }
  .work { padding: 72px 0 80px; }
  .service-grid { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .service h3 { margin-top: 12px; }
  .contact { padding: 78px 0; }
  .footer-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
