:root {
  --ink: #202522;
  --muted: #626b64;
  --paper: #f8f5ee;
  --paper-strong: #fffdf8;
  --line: #d7d0c3;
  --pine: #2f5d50;
  --clay: #9b5138;
  --brass: #c99a4b;
  --shadow: 0 18px 60px rgba(24, 28, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #fffdf8;
  background: linear-gradient(180deg, rgba(17, 20, 18, 0.78), rgba(17, 20, 18, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-name {
  color: #fffdf8;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-service {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 253, 248, 0.28);
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 0.92rem;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid rgba(255, 253, 248, 0.38);
  background: rgba(255, 253, 248, 0.12);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  color: #fffdf8;
  background: #171916;
}

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

.hero-image {
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(11, 13, 12, 0.88) 0%, rgba(11, 13, 12, 0.55) 34%, rgba(11, 13, 12, 0.08) 72%),
    linear-gradient(0deg, rgba(11, 13, 12, 0.62), rgba(11, 13, 12, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  padding: clamp(128px, 22vh, 210px) 0 210px clamp(20px, 5vw, 64px);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 720px;
  margin-top: 16px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

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

.button {
  border: 0;
  padding: 0 22px;
  cursor: pointer;
  font: inherit;
}

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

.button.primary:hover {
  background: #87442f;
}

.button.secondary {
  color: #fffdf8;
  border: 1px solid rgba(255, 253, 248, 0.42);
  background: rgba(255, 253, 248, 0.1);
}

.hero-stats {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 5vw, 64px);
  bottom: 28px;
  left: clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 253, 248, 0.24);
  background: rgba(17, 20, 18, 0.38);
  backdrop-filter: blur(14px);
}

.hero-stats div {
  min-height: 96px;
  padding: 20px;
  border-right: 1px solid rgba(255, 253, 248, 0.18);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  font-size: 1.22rem;
}

.hero-stats span {
  display: block;
  max-width: 240px;
  margin-top: 4px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.92rem;
}

.section {
  padding: clamp(72px, 10vw, 124px) clamp(20px, 5vw, 64px);
}

.intro,
.fit,
.contact {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
}

.intro {
  background: var(--paper-strong);
}

.intro-copy h2,
.section-heading h2,
.fit h2,
.contact h2 {
  max-width: 940px;
  font-size: clamp(2rem, 5vw, 4.25rem);
}

.intro-copy p,
.contact-copy p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.section-heading.compact {
  margin-bottom: 46px;
}

.services {
  background: #ece7dc;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.service-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.64);
}

.service-number {
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 850;
}

.service-card h3,
.process-list h3 {
  margin: 42px 0 12px;
  font-size: 1.25rem;
}

.service-card p,
.process-list p,
.fit-grid p {
  margin: 0;
  color: var(--muted);
}

.process {
  background: var(--paper-strong);
}

.process-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper-strong);
}

.process-list span {
  color: var(--pine);
  font-weight: 850;
}

.process-list h3 {
  margin-top: 0;
}

.fit {
  background: var(--pine);
  color: #fffdf8;
}

.fit .section-label {
  color: #f1c978;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fit-grid p {
  min-height: 132px;
  padding: 24px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  color: rgba(255, 253, 248, 0.82);
  background: rgba(255, 253, 248, 0.07);
}

.contact {
  align-items: start;
  background: #eee8db;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 2px solid var(--brass);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #394139;
  font-size: 0.9rem;
  font-weight: 780;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c8c0b1;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(47, 93, 80, 0.22);
  border-color: var(--pine);
}

.form-button {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255, 253, 248, 0.78);
  background: #171916;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

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

  .nav-links {
    display: none;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: auto;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.16);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

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

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    padding-top: 14px;
  }

  .brand-service {
    display: none;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 96svh;
  }

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

  .hero-content {
    width: min(100% - 32px, 760px);
    padding: 110px 0 292px 16px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 16vw, 4.5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .hero-stats {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .section {
    padding: 64px 16px;
  }

  .service-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .fit-grid p {
    min-height: auto;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer {
    flex-direction: column;
  }
}
