:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #5c6761;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #d8d4ca;
  --sage: #6c806c;
  --teal: #1e6f78;
  --clay: #a65f3d;
  --gold: #d7a744;
  --shadow: 0 18px 55px rgba(23, 32, 28, 0.14);
}

* {
  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;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 245, 239, 0.82);
  border-bottom: 1px solid rgba(216, 212, 202, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.96rem;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
  align-items: center;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 245, 239, 0.96) 0%, rgba(247, 245, 239, 0.84) 34%, rgba(247, 245, 239, 0.34) 68%, rgba(247, 245, 239, 0.08) 100%),
    linear-gradient(0deg, rgba(247, 245, 239, 0.9) 0%, rgba(247, 245, 239, 0.18) 42%);
}

.hero-content {
  width: min(650px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 70px;
}

.eyebrow,
.section-kicker,
.work-type {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(4.4rem, 13vw, 9.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.32;
}

.hero-copy {
  max-width: 560px;
  margin: 28px 0 0;
  color: #37433d;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.button,
.contact-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 0 20px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.button.primary,
.contact-form button {
  background: var(--teal);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(23, 32, 28, 0.16);
}

.button:hover,
.contact-form button:hover {
  transform: translateY(-1px);
}

.band,
.section {
  padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.intro p:last-child,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--clay);
  font-weight: 800;
}

.service-card p,
.work-list p {
  color: var(--muted);
}

.work {
  background: #e9efe8;
}

.work-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #ccd8ce;
  border-radius: 8px;
  background: #ccd8ce;
}

.work-list article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 26px;
  background: #fbfbf7;
}

.work-type {
  margin-bottom: 0;
  color: var(--clay);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  background: var(--surface);
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

label {
  display: grid;
  gap: 8px;
  color: #35413b;
  font-size: 0.95rem;
  font-weight: 720;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c8c2b8;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
.button:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(215, 167, 68, 0.4);
  outline-offset: 2px;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: #f1efe8;
  background: var(--ink);
  font-size: 0.94rem;
}

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

  .intro,
  .contact,
  .service-grid,
  .work-list article {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 245, 239, 0.96) 0%, rgba(247, 245, 239, 0.76) 60%, rgba(247, 245, 239, 0.22) 100%),
      linear-gradient(0deg, rgba(247, 245, 239, 0.94) 0%, rgba(247, 245, 239, 0.12) 48%);
  }

  .hero-content {
    width: min(570px, calc(100% - 32px));
    margin-inline: 16px;
  }

  .service-card {
    min-height: 0;
  }

  .service-icon {
    margin-bottom: 34px;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(3.7rem, 24vw, 5.8rem);
  }

  .hero-content {
    padding-top: 126px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
