:root {
  --ink: #242320;
  --stone: #f8f6f1;
  --sand: #ebe6dc;
  --accent: #4a604b;
  --accent-dark: #334635;
  --highlight: #984b30;
  --muted: #55524c;
  --page-width: 1300px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-space: clamp(48px, 6vw, 80px);
  --content-space: clamp(24px, 3vw, 40px);
  --grid-gap: clamp(16px, 2vw, 24px);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: "DM Sans", system-ui, sans-serif; color: var(--ink); background: var(--stone); line-height: 1.6; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3, .phone { font-family: "Source Serif 4", Georgia, serif; line-height: 1.1; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 12px max(var(--gutter), calc((100% - var(--page-width)) / 2 + var(--gutter)));
  background: rgba(248, 246, 241, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 50px; height: 50px; }
.brand-name { display: flex; flex-direction: column; gap: 4px; }
.brand-title { font-family: "Source Serif 4", Georgia, serif; font-size: 1.55rem; font-weight: 700; line-height: .9; letter-spacing: -.025em; }
.brand-subtitle { font-size: .58rem; font-weight: 700; line-height: 1; letter-spacing: .1em; text-transform: uppercase; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav nav a:not(.btn):hover { color: var(--accent); }

.btn { display: inline-block; padding: 14px 28px; border-radius: 0; background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 600; transition: background .2s, transform .2s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--highlight); margin-bottom: 16px; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--content-space); align-items: center;
  padding: var(--section-space) var(--gutter); max-width: var(--page-width); margin: auto; }
.hero-text .btn, .nav .btn { background: var(--highlight); }
.hero-text .btn:hover, .nav .btn:hover { background: #763a25; }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 700; margin-bottom: 24px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero-img { position: relative; aspect-ratio: 3464 / 3168; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
figcaption { font-size: .85rem; }
.hero-img figcaption { position: absolute; inset: auto 0 0; padding: 40px 24px 20px; color: #fff; font-weight: 500;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); text-transform: uppercase; letter-spacing: .08em; }

.section { padding: var(--section-space) var(--gutter); max-width: var(--page-width); margin: auto; }
.section h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.sub { color: var(--muted); max-width: 40em; font-size: 1.1rem; }

#services { position: relative; }
#services::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 2px;
  background: linear-gradient(to right, var(--accent) 48px, var(--sand) 48px); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); margin-top: var(--content-space); }
.card { background: #fff; padding: 28px; border-radius: 0; border-top: 4px solid var(--accent);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.2); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px -12px rgba(0,0,0,.28); }
.card h3 { font-size: 1.4rem; margin: 0 0 10px; }
.card p { color: var(--muted); }

.work { padding-top: 0; }
.work h2 { margin-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: var(--grid-gap); margin-top: var(--content-space); }
.gallery figure { position: relative; overflow: hidden; }
.gallery .tall { grid-row: span 2; }
.gallery img { transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 32px 16px 14px; color: #fff; font-weight: 500;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); }

.about { display: grid; grid-template-columns: 1fr 2fr; gap: var(--content-space); background: var(--sand); max-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--page-width)) / 2 + var(--gutter))); }
.about > div { max-width: 650px; }
.about h2 { margin-bottom: 0; }
.big { font-size: 1.8rem; margin-bottom: 20px; }
.about p + p { margin-top: 16px; }

.contact { text-align: center; padding: var(--section-space) var(--gutter); background: var(--ink); color: var(--stone); }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 16px; }
.contact .eyebrow { color: #e7b999; }
.contact .sub { margin: 0 auto; color: #e0dcd5; }
.who { margin-top: 40px; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: #e0dcd5; }
.phone { display: block; font-size: clamp(2.6rem, 8vw, 5.5rem); font-weight: 700; color: #fff; text-decoration: none; margin: 8px 0 28px; }
.phone:hover { color: #e7b999; }

footer { text-align: center; padding: 24px var(--gutter); font-size: .85rem; color: var(--muted); }

@media (min-width: 1200px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero, .about { grid-template-columns: 1fr; }
  .hero-img { max-width: 420px; aspect-ratio: .92; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .nav nav a:not(.btn) { display: none; }
}
@media (min-width: 521px) and (max-width: 820px) {
  .hero-img { max-width: none; aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .brand { gap: 8px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-title { font-size: 1.35rem; }
  .brand-subtitle { font-size: .5rem; }
  .nav .btn-sm { padding: 8px 12px; font-size: .8rem; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .gallery .tall { grid-row: span 1; }
}
