:root {
  --ink: #171512;
  --muted: #6f675d;
  --paper: #f6f1e8;
  --surface: #fffaf2;
  --line: rgba(23, 21, 18, 0.13);
  --accent: #a86f49;
  --accent-soft: #d8b58b;
  --forest: #3f5a4d;
  --charcoal: #1d1f1b;
  --smoke: #e7ded1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon,
.stat-icon,
.card-icon,
.step-icon {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.icon {
  width: 1.05rem;
  height: 1.05rem;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 56px);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 72px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(18, 18, 16, 0.34);
  font-weight: 700;
  letter-spacing: 0;
  backdrop-filter: blur(12px);
}

.brand-mark {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 2.1;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.6vw, 34px);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(18, 18, 16, 0.32);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 72px) 36px;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.92) 0%, rgba(24, 22, 18, 0.72) 40%, rgba(28, 27, 23, 0.2) 76%),
    linear-gradient(0deg, rgba(17, 16, 13, 0.58), rgba(17, 16, 13, 0.05) 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding-bottom: 86px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero .eyebrow {
  color: var(--accent-soft);
}

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

h1,
h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 6.1vw, 5.9rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--ink);
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
  color: #171511;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 940px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(216, 181, 139, 0.24);
}

.hero-stats div {
  position: relative;
  min-height: 112px;
  padding: 20px;
  background: rgba(18, 18, 16, 0.62);
  backdrop-filter: blur(12px);
}

.stat-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  color: var(--accent-soft);
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Lora", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

.intro-grid,
.section-heading,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro-copy,
.section-heading > p,
.project-item p,
.service-card p,
.process-step p,
.contact-panel {
  color: var(--muted);
}

.signature-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.signature-board div {
  display: grid;
  gap: 12px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.72);
  color: var(--forest);
  font-weight: 700;
}

.signature-board .icon {
  width: 24px;
  height: 24px;
}

.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.service-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fffdf8 0%, #f8f0e4 100%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 111, 73, 0.42);
  box-shadow: 0 20px 48px rgba(22, 21, 20, 0.08);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 56px;
}

.card-icon {
  width: 34px;
  height: 34px;
  color: var(--forest);
}

.card-top span {
  color: var(--forest);
  font-weight: 700;
}

.process {
  background:
    linear-gradient(90deg, rgba(22, 21, 20, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(22, 21, 20, 0.06) 1px, transparent 1px),
    var(--smoke);
  background-size: 42px 42px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-step {
  min-height: 280px;
  padding: 28px;
  background: rgba(255, 250, 242, 0.93);
}

.step-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 42px;
  color: var(--accent);
}

.process-step span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--forest);
  font-weight: 700;
}

.projects {
  background: var(--charcoal);
  color: #fff;
}

.projects .section-kicker {
  color: var(--accent-soft);
}

.projects h2,
.projects h3 {
  color: #fff;
}

.project-list {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.project-item {
  display: grid;
  grid-template-columns: minmax(140px, 0.25fr) minmax(0, 0.95fr) minmax(260px, 0.8fr);
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.project-meta {
  color: var(--accent-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.project-item p {
  color: rgba(255, 255, 255, 0.68);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.material-notes {
  padding-top: 0;
  background: var(--charcoal);
}

.material-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(28px, 5vw, 54px);
  background: linear-gradient(135deg, #fffaf2 0%, #efe2d2 100%);
}

.material-card h2 {
  max-width: 860px;
}

.material-list {
  display: grid;
  gap: 14px;
  align-content: center;
}

.material-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.swatch {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(22, 21, 20, 0.12);
}

.swatch.concrete {
  background: #9b9890;
}

.swatch.timber {
  background: #a76f47;
}

.swatch.stone {
  background: #cbc5b9;
}

.swatch.green {
  background: var(--forest);
}

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

.contact-panel {
  display: grid;
  gap: 14px;
  padding-top: 10px;
  font-size: 1.05rem;
}

.contact-panel a,
.contact-panel p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.contact-panel a {
  color: var(--ink);
  font-weight: 700;
}

.contact-panel .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-cta {
  justify-content: space-between;
  width: min(100%, 360px);
  min-height: 56px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff !important;
}

.contact-cta .icon {
  color: var(--accent-soft);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    max-width: 260px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 10px 12px;
    gap: 10px 16px;
  }

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

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 16, 13, 0.92), rgba(21, 20, 17, 0.52)),
      linear-gradient(0deg, rgba(17, 16, 13, 0.7), rgba(17, 16, 13, 0.08) 58%);
  }

  .hero-content {
    padding-bottom: 42px;
  }

  .hero-stats,
  .intro-grid,
  .section-heading,
  .contact,
  .service-grid,
  .process-grid,
  .project-item,
  .material-card {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 92px;
  }

  .service-card {
    min-height: 220px;
  }

  .card-top {
    margin-bottom: 28px;
  }

  .signature-board {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 220px;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: absolute;
    padding: 16px;
  }

  .brand {
    width: 66px;
    height: 42px;
  }

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

  .nav {
    max-width: 278px;
    font-size: 0.78rem;
  }

  .hero {
    padding: 120px 16px 24px;
  }

  h1 {
    font-size: 2.68rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 2.35rem;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .button {
    width: 100%;
  }
}
