:root {
  --paper: #f3f0eb;
  --ink: #151411;
  --muted: #665f56;
  --line: #d8d0c4;
  --accent: #6d35e8;
  --sand: #e8e0d6;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

.shell {
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(21 20 17 / 0.58);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
}

.nav-logo {
  width: 124px;
  height: auto;
}

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

.nav-links a:hover,
.nav-cta:hover {
  color: #d8cfc4;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 4px;
  padding: 0 20px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-cta {
  border: 1px solid rgb(255 255 255 / 0.45);
}

.hero {
  position: relative;
  display: flex;
  min-height: 84vh;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: 120px 0 64px;
}

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

.hero > img {
  object-fit: cover;
}

.hero-overlay {
  background: rgb(0 0 0 / 0.48);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 44px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow-light,
.eyebrow-muted {
  color: #d8cfc4;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 8vw, 7.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: 1.55rem;
  line-height: 1.12;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgb(255 255 255 / 0.86);
  font-size: 1.2rem;
  line-height: 1.65;
  font-weight: 700;
}

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

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

.button-outline-light {
  border: 1px solid rgb(255 255 255 / 0.55);
  color: var(--white);
}

.button-outline-dark {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.button-outline-dark:hover {
  background: var(--ink);
  color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  border-left: 1px solid rgb(255 255 255 / 0.35);
  padding-left: 34px;
}

.hero-stats dt {
  font-size: 2.65rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgb(255 255 255 / 0.76);
  font-size: 0.93rem;
  line-height: 1.45;
}

.section {
  padding: 100px 0;
}

.about-grid,
.section-intro,
.feature-grid,
.process-grid,
.contact-grid {
  display: grid;
  gap: 48px;
}

.about-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.copy-block {
  color: #4f4942;
  font-size: 1.12rem;
  line-height: 1.8;
}

.copy-block p:last-child,
.feature-panel p:last-child,
.contact-section p:last-child {
  margin-bottom: 0;
}

.feature-band {
  background: var(--white);
  padding: 80px 0;
}

.feature-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.feature-grid > img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 8px;
  object-fit: cover;
}

.feature-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 52px;
  background: var(--ink);
  color: var(--white);
  padding: 42px;
}

.feature-panel p {
  color: rgb(255 255 255 / 0.76);
  line-height: 1.75;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.capability-grid div {
  border-top: 1px solid rgb(255 255 255 / 0.24);
  padding-top: 16px;
}

.capability-grid strong,
.capability-grid span {
  display: block;
}

.capability-grid strong {
  font-size: 1.25rem;
}

.capability-grid span {
  margin-top: 6px;
  color: rgb(255 255 255 / 0.62);
  font-size: 0.9rem;
  line-height: 1.45;
}

.section-intro {
  grid-template-columns: 0.7fr 1fr;
  align-items: end;
}

.section-intro p {
  max-width: 760px;
  color: #4f4942;
  font-size: 1.1rem;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.service-grid article,
.process-cards article {
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  font-weight: 800;
  line-height: 1.45;
}

.service-grid article {
  border: 1px solid var(--line);
}

.process-band {
  background: var(--sand);
}

.process-grid {
  grid-template-columns: 0.8fr 1.2fr;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.process-cards p {
  margin: 18px 0 0;
  color: #4f4942;
  font-weight: 400;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 22px;
  font-size: 1.25rem;
  font-weight: 800;
}

.steps span {
  display: block;
  margin-bottom: 22px;
  color: #d8cfc4;
  font-size: 0.9rem;
  font-weight: 600;
}

.portfolio-section {
  background: var(--white);
}

.portfolio-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.portfolio-head h2 {
  max-width: 760px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.project {
  overflow: hidden;
  border: 1px solid #ddd5ca;
  border-radius: 8px;
  background: #f7f4ef;
}

.project-featured {
  grid-column: span 2;
}

.project img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-featured img {
  aspect-ratio: 16 / 9;
}

.project:hover img {
  transform: scale(1.03);
}

.project div {
  padding: 22px;
}

.project p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.project span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.contact-section p {
  max-width: 570px;
  color: rgb(255 255 255 / 0.72);
  font-size: 1.1rem;
  line-height: 1.75;
}

.contact-links {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.contact-links a:hover {
  color: #d8cfc4;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 32px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.lead-form .full,
.form-actions {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfc6bb;
  border-radius: 4px;
  background: #fbfaf7;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(109 53 232 / 0.14);
  outline: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions button,
.form-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 20px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.form-actions button {
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.form-actions a {
  border: 1px solid var(--ink);
}

.footer {
  background: var(--white);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer img {
  width: 180px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-bottom: 48px;
  }

  .hero-content,
  .about-grid,
  .section-intro,
  .feature-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    border-top: 1px solid rgb(255 255 255 / 0.35);
    border-left: 0;
    padding-top: 28px;
    padding-left: 0;
  }

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

  .project-featured {
    grid-column: auto;
  }

  .portfolio-head {
    align-items: stretch;
    flex-direction: column;
  }

  .button-outline-dark {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 40px, 1280px);
  }

  .nav-logo {
    width: 122px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 16px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-text {
    font-size: 1.05rem;
  }

  .hero-actions,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .feature-panel,
  .lead-form {
    padding: 24px;
  }

  .capability-grid,
  .process-cards,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-form .full,
  .form-actions {
    grid-column: auto;
  }

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