:root {
  --ink: #1a1d22;
  --muted: #68717d;
  --line: #dce1e5;
  --paper: #fbfbf8;
  --white: #ffffff;
  --teal: #0e7c7b;
  --coral: #e4604f;
  --gold: #d7a640;
  --forest: #243f35;
  --shadow: 0 24px 70px rgba(26, 29, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.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: 18px clamp(18px, 4vw, 56px);
  background: rgba(251, 251, 248, 0.88);
  border-bottom: 1px solid rgba(220, 225, 229, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--coral);
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 112px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(251, 251, 248, 0.98) 0%, rgba(251, 251, 248, 0.88) 36%, rgba(251, 251, 248, 0.24) 74%),
    linear-gradient(0deg, rgba(251, 251, 248, 0.72) 0%, rgba(251, 251, 248, 0) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding-top: 24px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

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

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: #3d4650;
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
}

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

.button.primary:hover {
  background: var(--teal);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stats div {
  padding: clamp(22px, 4vw, 42px) clamp(18px, 4vw, 52px);
  border-right: 1px solid var(--line);
}

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

.stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section,
.feature-band,
.contact-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

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

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(26, 29, 34, 0.06);
}

.project-preview {
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 24px;
}

.project-preview span {
  display: block;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.project-preview span:nth-child(1) {
  width: 64%;
  height: 18px;
}

.project-preview span:nth-child(2) {
  width: 92%;
  height: 76px;
}

.project-preview span:nth-child(3) {
  width: 42%;
  height: 42px;
}

.preview-teal {
  background: linear-gradient(135deg, #0e7c7b, #243f35);
}

.preview-coral {
  background: linear-gradient(135deg, #e4604f, #d7a640);
}

.preview-charcoal {
  background: linear-gradient(135deg, #1a1d22, #56606c);
}

.preview-gold {
  background: linear-gradient(135deg, #d7a640, #5d744f);
}

.project-body {
  padding: 24px;
}

.tag {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-body p:not(.tag),
.feature-copy p,
.service-list p,
.process-grid p,
.contact-section p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 86px);
  background: var(--forest);
  color: var(--white);
}

.feature-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.feature-band .eyebrow {
  color: #8fe2d9;
}

.service-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-list div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.service-list p {
  color: rgba(255, 255, 255, 0.72);
}

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

.process-grid div {
  padding: 28px;
  background: var(--paper);
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--coral);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(30px, 7vw, 88px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-links a {
  border-bottom: 2px solid var(--coral);
  font-weight: 800;
}

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

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(14, 124, 123, 0.18);
  border-color: var(--teal);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 75px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav a::after {
    left: 14px;
    right: auto;
    width: 34px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(251, 251, 248, 0.98) 0%, rgba(251, 251, 248, 0.86) 50%, rgba(251, 251, 248, 0.36) 100%);
  }

  .stats,
  .project-grid,
  .process-grid,
  .feature-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .section-heading {
    display: block;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 92px 18px 38px;
    align-items: start;
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 4.1rem);
  }

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

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

  .project-preview {
    min-height: 210px;
  }
}
