:root {
  color-scheme: light;
  --ink: #171713;
  --muted: #696a63;
  --paper: #f6f3ec;
  --chalk: #fffdf7;
  --line: rgba(23, 23, 19, 0.14);
  --forest: #31534a;
  --clay: #a85f3a;
  --blue: #91b7ce;
  --shadow: 0 24px 80px rgba(23, 23, 19, 0.16);
}

* {
  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;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--chalk);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-header.is-elevated {
  background: rgba(246, 243, 236, 0.94);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.site-header.static-header {
  position: sticky;
  background: rgba(246, 243, 236, 0.96);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  opacity: 0.64;
  font-size: 11px;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  font-size: 14px;
}

nav a,
.header-cta {
  opacity: 0.88;
}

nav a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta {
  padding: 11px 16px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.clean-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 7vw, 110px);
  align-items: center;
  padding-top: clamp(70px, 9vw, 120px);
  background:
    linear-gradient(90deg, rgba(246, 243, 236, 0.94), rgba(246, 243, 236, 0.76)),
    radial-gradient(circle at 82% 20%, rgba(145, 183, 206, 0.34), transparent 32%),
    linear-gradient(135deg, var(--paper), #e7ded1);
}

.clean-hero-copy {
  max-width: 760px;
}

.clean-hero h1 {
  color: var(--ink);
}

.clean-hero p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.42;
}

.muted-button {
  color: var(--ink);
  border-color: rgba(23, 23, 19, 0.34);
}

.material-board {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: 220px 160px 220px;
  gap: 12px;
  min-height: 620px;
}

.sample {
  display: block;
  border: 1px solid rgba(23, 23, 19, 0.12);
  box-shadow: 0 20px 70px rgba(23, 23, 19, 0.1);
}

.sample.stone {
  grid-row: span 2;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.34), transparent 35%),
    repeating-linear-gradient(100deg, #b7aa96 0 10px, #c9bca7 10px 18px, #998c79 18px 20px);
}

.sample.plaster {
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(135deg, #e4ded4, #cfc4b4);
}

.sample.timber {
  grid-row: span 2;
  background:
    repeating-linear-gradient(90deg, #896345 0 16px, #a47a54 16px 30px, #6e4f38 30px 34px);
}

.sample.graphite {
  background: linear-gradient(135deg, #171713, #31534a);
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  filter: saturate(0.92) contrast(0.96);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 23, 19, 0.82), rgba(23, 23, 19, 0.22) 56%, rgba(23, 23, 19, 0.5)),
    linear-gradient(0deg, rgba(23, 23, 19, 0.62), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(840px, calc(100% - 36px));
  margin: 0 0 clamp(48px, 9vw, 110px) clamp(18px, 6vw, 86px);
  color: var(--chalk);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c29d;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 9vw, 132px);
  line-height: 0.92;
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  font-weight: 500;
}

h3 {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 253, 247, 0.82);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.36;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-weight: 750;
  line-height: 1;
}

.button.primary {
  background: var(--ink);
  color: var(--chalk);
  border-color: var(--ink);
}

.hero .button.primary {
  background: var(--chalk);
  color: var(--ink);
  border-color: var(--chalk);
}

.button.ghost {
  color: var(--chalk);
}

.button.full {
  width: 100%;
}

.hero-proof {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(18px, 5vw, 70px);
  z-index: 3;
  display: grid;
  gap: 4px;
  width: min(210px, calc(100% - 36px));
  padding: 18px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
}

.hero-proof span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-proof strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 0.95;
}

section {
  padding: clamp(64px, 9vw, 130px) clamp(18px, 5vw, 72px);
}

.section-band {
  background: var(--chalk);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) repeat(2, minmax(220px, 0.7fr));
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.intro-grid p,
.section-heading p,
.method-copy p,
.contact p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.62;
}

.projects {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(260px, 0.72fr);
  gap: clamp(24px, 6vw, 90px);
  margin-bottom: clamp(34px, 5vw, 72px);
  align-items: end;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.section-heading.compact {
  display: block;
  max-width: 850px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, 32vw);
  gap: 14px;
}

.project-tile {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--ink);
}

.project-tile.large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-tile.tall {
  grid-row: span 2;
}

.project-tile.wide {
  grid-column: span 2;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background: linear-gradient(0deg, rgba(23, 23, 19, 0.78), transparent);
}

.project-tile div {
  position: absolute;
  z-index: 2;
  inset: auto 20px 18px;
  color: var(--chalk);
}

.project-tile span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 253, 247, 0.68);
  font-size: 12px;
  text-transform: uppercase;
}

.project-tile h3 {
  margin: 0;
  max-width: 560px;
}

.project-tile:hover img {
  transform: scale(1.035);
}

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

.service-list article {
  display: grid;
  grid-template-columns: 80px minmax(240px, 0.55fr) minmax(260px, 1fr);
  gap: clamp(18px, 4vw, 60px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.service-list span {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.service-list h3 {
  margin: 0;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.method {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 110px);
}

.method-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  counter-increment: step;
  position: relative;
  padding: 30px 0 30px 74px;
  border-bottom: 1px solid var(--line);
}

.timeline li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 28px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.timeline span {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 520px);
  gap: clamp(28px, 7vw, 110px);
  background: var(--forest);
  color: var(--chalk);
}

.contact .section-kicker {
  color: #f0c29d;
}

.contact p {
  color: rgba(255, 253, 247, 0.72);
}

.contact-panel {
  background: var(--chalk);
  color: var(--ink);
  padding: clamp(22px, 4vw, 42px);
}

.contact-row {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-row strong {
  font-size: clamp(18px, 2vw, 24px);
  overflow-wrap: anywhere;
}

.contact-panel .button {
  margin-top: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 253, 247, 0.7);
  font-size: 13px;
}

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

  nav {
    display: none;
  }

  .hero-proof {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 18px 18px;
    align-self: end;
  }

  .intro-grid,
  .section-heading,
  .clean-hero,
  .method,
  .contact {
    grid-template-columns: 1fr;
  }

  .material-board {
    min-height: auto;
    grid-template-rows: repeat(2, 150px);
  }

  .method-copy {
    position: static;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(240px, 58vw);
  }

  .service-list article {
    grid-template-columns: 58px 1fr;
  }

  .service-list p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding: 12px 14px;
    gap: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

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

  .clean-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .material-board {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 120px;
  }

  .sample.stone,
  .sample.timber {
    grid-row: span 1;
  }

  .hero-content {
    width: calc(100% - 28px);
    max-width: 330px;
    margin: 0 14px 30px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 46px);
    line-height: 0.98;
  }

  .hero-copy {
    font-size: 18px;
    max-width: 320px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .project-grid {
    display: block;
  }

  .project-tile,
  .project-tile.large,
  .project-tile.tall,
  .project-tile.wide {
    height: min(118vw, 520px);
    margin-bottom: 12px;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-list p {
    grid-column: auto;
  }

  .timeline li {
    padding-left: 54px;
  }

  .site-footer {
    display: grid;
  }
}
