:root {
  --ink: #161b18;
  --forest: #121815;
  --forest-2: #1c2620;
  --cream: #f3eee6;
  --cream-deep: #e6dfd3;
  --paper: #f7f4ef;
  --brass: #a78455;
  --brass-2: #c6a56d;
  --muted: #5d675f;
  --line: rgba(22, 27, 24, 0.14);
  --line-light: rgba(243, 238, 230, 0.18);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header: 110px;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: #e4d2ae; color: var(--ink); }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--cream);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header);
  padding: 0 var(--pad);
  background: rgba(14, 18, 16, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-light);
}
.logo img { height: 78px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.82);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--brass-2); }
.nav .btn { display: none; }
.more-link { margin-top: 28px; }
.page-contact { padding-top: calc(var(--header) + 64px); }
#services, #custom-homes, #barns, #remodel, #work, #homes, #remodels { scroll-margin-top: 96px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  background: transparent;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-brass {
  border-color: rgba(198, 165, 109, 0.75);
  color: var(--cream);
}
.btn-brass:hover { background: var(--brass); border-color: var(--brass); color: #16120c; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: white; }
.btn-ghost {
  border-color: rgba(243, 238, 230, 0.45);
  color: var(--cream);
}
.btn-ghost:hover { background: rgba(243, 238, 230, 0.1); }
.btn-dark { background: var(--forest); color: var(--cream); }
.btn-dark:hover { background: #2a3830; }
.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-light);
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--cream);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  background: var(--forest);
}
.hero-bg,
.band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg { z-index: 0; object-position: center 42%; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 14, 12, 0.62) 0%, rgba(10, 14, 12, 0.18) 58%, rgba(10, 14, 12, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 14, 12, 0.4) 0%, rgba(10, 14, 12, 0.05) 34%, rgba(10, 14, 12, 0.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: calc(var(--header) + 48px) 0 36px;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(3.4rem, 7.4vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 460;
}
.lede {
  max-width: 46ch;
  margin: 28px 0 0;
  font-size: 18px;
  font-weight: 300;
  color: rgba(243, 238, 230, 0.88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  background: rgba(10, 14, 12, 0.42);
  backdrop-filter: blur(8px);
}
.hero-bar a {
  padding: 22px var(--pad);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 238, 230, 0.86);
  border-right: 1px solid var(--line-light);
}
.hero-bar a:last-child { border-right: 0; }
.hero-bar a span {
  display: block;
  margin-bottom: 6px;
  color: var(--brass-2);
  font-size: 11px;
  letter-spacing: 0.2em;
}
.hero-bar a:hover { background: rgba(243, 238, 230, 0.06); color: white; }

.section { padding: clamp(72px, 10vw, 120px) 0; }
.wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head h2,
.page-hero h1,
.service h2,
.project h2,
.cta h2,
.contact-copy h1 {
  font-family: var(--serif);
  font-weight: 460;
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.section-head h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.6rem); }
.section-head p { margin: 0; color: var(--muted); max-width: 42ch; }

.services { background: var(--cream); }
.service {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 1.18fr;
  min-height: 620px;
  border-top: 1px solid var(--line);
}
.service:nth-child(even) { grid-template-columns: 1.18fr minmax(280px, 0.82fr); }
.service:nth-child(even) .service-copy { order: 2; }
.service-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
}
.num {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--brass);
}
.service h2 { margin: 0 0 18px; font-size: clamp(2.4rem, 4vw, 3.8rem); max-width: 12ch; }
.service p { margin: 0; color: #3c463f; max-width: 46ch; }
.service .text-link { margin-top: 28px; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.text-link::after { content: "→"; }
.text-link:hover { color: var(--brass); }
.service-visual { position: relative; min-height: 420px; overflow: hidden; background: #d9d2c6; }
.service-visual img,
.project-visual img,
.shot img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-visual img { position: absolute; inset: 0; transition: transform 0.8s ease; }
.service:hover .service-visual img { transform: scale(1.04); }

.pause {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: var(--forest);
}
.pause .band-bg { object-position: center 60%; }
.pause-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,12,.15), rgba(10,14,12,.72));
}
.pause-inner { position: relative; z-index: 1; padding-bottom: 56px; }
.pause h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.projects { background: var(--paper); }
.project {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 28px 0 64px;
}
.project + .project { border-top: 1px solid var(--line); padding-top: 64px; }
.project.reverse { grid-template-columns: 1.1fr 0.9fr; }
.project.reverse .project-copy { order: 2; }
.kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.project h2 { margin: 0 0 22px; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  letter-spacing: 0.01em;
}
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.project-visual { min-height: 420px; overflow: hidden; background: #ddd6cb; }
.project-visual img { height: 520px; object-position: center 42%; }
.project-visual img.focus-top { object-position: center 22%; }

.trio {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.trio a { display: block; min-height: 280px; overflow: hidden; background: #ddd6cb; }
.trio img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.7s ease; }
.trio a:hover img { transform: scale(1.04); }

.quote {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(80px, 12vw, 140px) 0;
}
.quote blockquote { margin: 0; max-width: 920px; }
.quote p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(1.85rem, 3.6vw, 3.15rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.quote footer { margin-top: 28px; font-style: normal; }
.quote cite { font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; }
.quote footer span { display: block; margin-top: 4px; color: var(--brass-2); font-size: 14px; }

.cta {
  position: relative;
  color: var(--cream);
  min-height: 460px;
  display: flex;
  align-items: center;
  background: var(--forest);
}
.cta .band-bg { object-position: center 40%; }
.cta-shade { position: absolute; inset: 0; background: rgba(12, 16, 14, 0.62); }
.cta-inner { position: relative; z-index: 1; padding: 80px 0; }
.cta h2 { margin: 0 0 16px; font-size: clamp(2.8rem, 6vw, 5.2rem); max-width: 12ch; }
.cta p { margin: 0 0 28px; max-width: 46ch; color: rgba(243,238,230,.86); font-weight: 300; }

.site-footer {
  background: #0d1210;
  color: rgba(243, 238, 230, 0.78);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}
.site-footer .logo img { height: 87px; }
.tagline {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.site-footer h3 {
  margin: 8px 0 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-2);
  font-weight: 500;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: white; }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  font-size: 13px;
  color: rgba(243, 238, 230, 0.5);
}

.page-hero {
  padding: calc(var(--header) + 72px) 0 28px;
  background:
    radial-gradient(900px 320px at 90% -10%, rgba(167, 132, 85, 0.18), transparent 60%),
    var(--forest);
  color: var(--cream);
}
.page-hero h1 { margin: 0; font-size: clamp(3.2rem, 7vw, 6.4rem); max-width: 12ch; }
.page-hero p { max-width: 48ch; color: rgba(243,238,230,.8); font-weight: 300; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.filter {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}
.filter[aria-pressed="true"],
.filter:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  grid-auto-rows: 210px;
  gap: 12px;
}
.shot { margin: 0; min-height: 0; }
.shot-wide { grid-column: span 2; }
.shot-tall { grid-row: span 2; }
.shot-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #ddd6cb;
  overflow: hidden;
}
.shot img { transition: transform 0.6s ease; }
.shot-btn:hover img,
.shot-btn:focus-visible img { transform: scale(1.05); }
.shot-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.shot.is-hidden { display: none; }

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 64px;
}
.case article {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: var(--cream);
  background: #1b1b1b;
}
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case div {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(transparent, rgba(8,10,9,.82));
}
.case h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 460; font-size: 2.4rem; letter-spacing: -0.03em; }
.case p { margin: 0; color: rgba(243,238,230,.84); }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.portrait { background: #ddd6cb; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; }
.about-grid blockquote { margin: 0; }
.about-grid blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.frame { margin-top: 72px; position: relative; min-height: 520px; overflow: hidden; background: #ccc; }
.frame img { width: 100%; height: 620px; object-fit: cover; }
.frame figcaption {
  position: absolute;
  left: var(--pad);
  bottom: 28px;
  margin: 0;
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 72px; }
.pillars article { padding: 28px 24px; background: var(--cream); border-top: 2px solid var(--brass); }
.pillars h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 1.8rem; font-weight: 460; letter-spacing: -0.02em; }
.pillars p { margin: 0; color: var(--muted); }

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.contact-copy h1 { margin: 0 0 16px; font-size: clamp(3.2rem, 6vw, 5.6rem); }
.contact-copy > p { max-width: 40ch; color: #3d4741; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}
.contact-list a { font-size: 1.35rem; }
.contact-list a:hover { color: var(--brass); }

.form {
  background: white;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
}
.form h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 460; font-size: 2rem; }
.form .hint { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(22, 27, 24, 0.28);
  border-radius: 0;
  padding: 10px 0;
  outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--brass); }
.form .btn { width: 100%; }
.form-note {
  margin: 14px 0 0;
  color: #2d5a3d;
  font-size: 15px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 10, 9, 0.92);
  display: grid;
  place-items: center;
  padding: 32px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 92vw); max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { color: var(--cream); text-align: center; margin-top: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--cream);
  font-size: 22px;
}

body.nav-open { overflow: hidden; }
body.no-scroll { overflow: hidden; }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    margin: 0;
    padding: 28px var(--pad) 40px;
    background: #101614;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 22px; letter-spacing: 0.12em; }
  .nav .btn { display: inline-flex; }
  .section-head,
  .service,
  .service:nth-child(even),
  .project,
  .project.reverse,
  .about-grid,
  .contact-layout,
  .footer-grid,
  .case,
  .trio,
  .hero-bar,
  .pillars {
    grid-template-columns: 1fr;
  }
  .service:nth-child(even) .service-copy,
  .project.reverse .project-copy { order: 0; }
  .service-visual { min-height: 320px; }
  .project-visual img,
  .trio img,
  .frame img { height: 320px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .shot-tall { grid-row: span 2; }
  .legal { flex-direction: column; }
}

@media (max-width: 640px) {
  .hero h1 { max-width: none; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .shot-wide, .shot-tall { grid-column: auto; grid-row: auto; }
  .hero-bar a { padding: 16px var(--pad); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-visual img,
  .shot img,
  .trio img { transition: none; }
}
