:root {
  --ink: #171513;
  --muted: #706962;
  --paper: #f3efe8;
  --panel: #fffaf2;
  --line: rgba(23, 21, 19, 0.14);
  --clay: #b77a45;
  --moss: #485d4c;
  --dark: #171513;
  --shadow: 0 28px 80px rgba(23, 21, 19, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
}

a {
  color: inherit;
}

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

.topbar {
  align-items: center;
  background: rgba(243, 239, 232, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 4.5rem);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
}

.brand span {
  background: var(--ink);
  border-radius: 3px;
  color: #fff;
  display: grid;
  font-weight: 950;
  height: 42px;
  place-items: center;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
p {
  color: var(--muted);
}

.nav {
  align-items: center;
  display: flex;
  gap: 1.1rem;
  font-weight: 850;
}

.nav a {
  text-decoration: none;
}

.button,
.ghost-button {
  align-items: center;
  border-radius: 3px;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 48px;
  padding: 0.86rem 1.15rem;
  text-decoration: none;
}

.button {
  background: var(--clay);
  color: #fff;
}

.ghost-button {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.hero {
  min-height: 92vh;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 4.5rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.55fr);
  margin: 0 auto;
  max-width: 1320px;
}

.hero-copy {
  align-content: end;
  background: var(--dark);
  color: #fff;
  display: grid;
  min-height: 78vh;
  padding: clamp(1.4rem, 5vw, 4rem);
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.55;
  max-width: 680px;
}

.eyebrow {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 5.7vw, 5.6rem);
  line-height: 0.92;
  max-width: 760px;
}

.project-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0 1.35rem;
}

.project-checks span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 900;
  padding: 0.55rem 0.7rem;
}

.hero-media {
  display: grid;
  gap: 1rem;
}

.hero-media img,
.project-grid img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-media > img {
  min-height: 52vh;
}

.quote-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.15rem;
}

.quote-tile strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.04;
  margin-bottom: 0.75rem;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4.5rem);
}

.section-inner {
  margin: 0 auto;
  max-width: 1220px;
}

.split-title {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.5fr);
  margin-bottom: 1.5rem;
}

.split-title h2 {
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  line-height: 0.94;
}

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

.service-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 80px minmax(220px, 0.45fr) minmax(0, 1fr);
  padding: 1.1rem 0;
}

.service-row span {
  color: var(--clay);
  font-weight: 950;
}

.service-row h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
}

.project-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.project-grid > img {
  min-height: 520px;
}

.project-stack {
  display: grid;
  gap: 1rem;
}

.project-stack img {
  min-height: 250px;
}

.proof-band {
  background: var(--dark);
  color: #fff;
}

.proof-band p {
  color: rgba(255, 255, 255, 0.68);
}

.proof-grid,
.review-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card,
.review-card {
  background: rgba(255, 250, 242, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(23, 21, 19, 0.08);
  padding: 1.25rem;
}

.proof-band .proof-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.proof-card h3,
.review-card h3 {
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 950;
  margin-bottom: 0.55rem;
}

.cta-band {
  background: var(--clay);
  color: #fff;
}

.cta-panel {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-panel h2 {
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  line-height: 0.94;
}

.footer {
  background: var(--dark);
  color: #fff;
  padding: 1.6rem clamp(1rem, 5vw, 4.5rem);
}

.footer-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  max-width: 1220px;
}

.sticky-mobile-book {
  display: none;
}

@media (max-width: 860px) {
  body {
    padding-bottom: 82px;
  }

  .nav {
    display: none;
  }

  .hero-grid,
  .split-title,
  .service-row,
  .project-grid,
  .proof-grid,
  .review-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 68vh;
  }

  h1 {
    font-size: clamp(2.65rem, 11vw, 3.6rem);
  }

  .button,
  .ghost-button {
    width: 100%;
  }

  .sticky-mobile-book {
    background: rgba(243, 239, 232, 0.96);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: 1fr 1fr;
    left: 0;
    padding: 0.7rem;
    position: fixed;
    right: 0;
    z-index: 30;
  }

  .sticky-mobile-book .button,
  .sticky-mobile-book .ghost-button {
    min-height: 50px;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
}
