:root {
  --paper: #f7f6f1;
  --white: #ffffff;
  --ink: #171a18;
  --muted: #6f746d;
  --line: #dad8cf;
  --steel: #66756f;
  --olive: #7b8267;
  --concrete: #e7e4dc;
  --shadow: 0 24px 70px rgba(23, 26, 24, 0.12);
  --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;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 58px);
  background: rgba(247, 246, 241, 0.88);
  border-bottom: 1px solid rgba(218, 216, 207, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1;
}

.nav {
  justify-self: center;
  display: flex;
  gap: clamp(16px, 2.6vw, 34px);
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a,
.footer a {
  transition: color 180ms ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 680;
}

.header-cta,
.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.section-grid,
.services,
.projects,
.process,
.contact,
.footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.74fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  min-height: calc(100vh - 82px);
  padding: clamp(56px, 8vw, 108px) 0 34px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 46px auto auto -34px;
  width: min(56vw, 760px);
  height: 62%;
  pointer-events: none;
  opacity: 0.48;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(24px, 6vw, 84px);
}

.location,
.section-heading span,
.about-copy > span,
.contact span {
  margin: 0 0 20px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 7vw, 7.8rem);
  font-weight: 500;
  line-height: 0.95;
}

.hero-lede {
  max-width: 610px;
  color: #3e433e;
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.68;
}

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

.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--concrete);
  box-shadow: var(--shadow);
}

.hero-visual img {
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(0.92) contrast(1.02);
}

.plan-lines {
  position: absolute;
  inset: 24px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.plan-lines::before,
.plan-lines::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
}

.plan-lines::before {
  left: 18%;
  top: 0;
  width: 1px;
  height: 100%;
}

.plan-lines::after {
  left: 0;
  bottom: 24%;
  width: 100%;
  height: 1px;
}

.visual-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  min-width: 220px;
  padding: 18px 20px;
  background: rgba(247, 246, 241, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.visual-caption strong,
.visual-caption span {
  display: block;
}

.visual-caption strong {
  margin-bottom: 3px;
}

.visual-caption span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts div {
  display: grid;
  grid-template-columns: 48px 150px 1fr;
  gap: 20px;
  padding: 24px 0;
}

.hero-facts div + div {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

.hero-facts span,
.service-index {
  color: var(--olive);
  font-family: Georgia, serif;
}

.hero-facts p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.services,
.projects,
.process,
.about,
.contact {
  padding-block: clamp(74px, 9vw, 132px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 44px;
}

h2 {
  max-width: 860px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.03;
}

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

.service-grid article {
  min-height: 310px;
  padding: 32px 30px;
}

.service-grid article + article {
  border-left: 1px solid var(--line);
}

.service-index {
  display: block;
  margin-bottom: 52px;
  font-size: 1.05rem;
}

h3 {
  margin-bottom: 16px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.service-grid p,
.project-card p,
.timeline p,
.about-copy p,
dd {
  color: var(--muted);
  line-height: 1.68;
}

.projects {
  border-top: 1px solid var(--line);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
}

.project-card {
  background: #eeece5;
}

.project-image {
  height: clamp(250px, 28vw, 380px);
  border-bottom: 1px solid rgba(23, 26, 24, 0.08);
  background:
    linear-gradient(135deg, rgba(23, 26, 24, 0.08), transparent 40%),
    linear-gradient(90deg, transparent 0 22%, rgba(255, 255, 255, 0.68) 22% 24%, transparent 24% 100%),
    linear-gradient(0deg, rgba(23, 26, 24, 0.12), rgba(23, 26, 24, 0.03)),
    var(--concrete);
}

.project-two .project-image {
  background:
    linear-gradient(90deg, transparent 0 42%, rgba(23, 26, 24, 0.18) 42% 44%, transparent 44%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.42) 0 2px, transparent 2px 34px),
    #d9ddd7;
}

.project-three .project-image {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.8) 0 6px, transparent 7px),
    linear-gradient(45deg, transparent 0 48%, rgba(23, 26, 24, 0.16) 48% 50%, transparent 50%),
    #d7d2c5;
}

.project-card p,
.project-card h3 {
  padding-inline: 22px;
}

.project-card p {
  margin: 22px 0 6px;
  font-size: 0.82rem;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-card h3 {
  padding-bottom: 26px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: phase;
  border-top: 1px solid var(--line);
}

.timeline li {
  position: relative;
  min-height: 250px;
  padding: 32px 26px 20px 0;
  border-bottom: 1px solid var(--line);
}

.timeline li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.timeline li::before {
  counter-increment: phase;
  content: "0" counter(phase);
  display: block;
  margin-bottom: 60px;
  color: var(--olive);
  font-family: Georgia, serif;
}

.timeline span {
  display: block;
  margin-bottom: 12px;
  font-size: 1.22rem;
  font-weight: 720;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.about-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--concrete);
}

.about-image img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.about-copy p {
  max-width: 660px;
  margin-top: 26px;
  font-size: 1.06rem;
}

dl {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
}

dl div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--ink);
  font-weight: 760;
}

dd {
  margin: 0;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 44px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 30px;
  background: var(--ink);
  color: var(--paper);
}

.contact-panel p {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 780;
}

.contact-panel a {
  width: fit-content;
  border-bottom: 1px solid rgba(247, 246, 241, 0.42);
}

.contact-panel small {
  margin-top: 28px;
  color: rgba(247, 246, 241, 0.66);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-header.nav-open .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: grid;
    gap: 0;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .nav a {
    padding: 14px 12px;
  }

  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 5.2rem);
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 520px;
  }

  .hero-facts,
  .section-heading,
  .service-grid,
  .project-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    grid-template-columns: 42px 1fr;
  }

  .hero-facts div p {
    grid-column: 2;
  }

  .hero-facts div + div,
  .service-grid article + article,
  .timeline li + li {
    border-left: 0;
    padding-left: 0;
  }

  .service-grid article,
  .timeline li {
    min-height: auto;
    border-top: 1px solid var(--line);
  }

  .timeline li::before {
    margin-bottom: 34px;
  }
}

@media (max-width: 560px) {
  .section-grid,
  .services,
  .projects,
  .process,
  .contact,
  .footer {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding-inline: 14px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 430px;
  }

  .visual-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .project-image {
    height: 250px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
