:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --text: #151515;
  --muted: #6f6a62;
  --line: #ded8ce;
  --dark: #111111;
  --radius: 24px;
}

* {
  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;
  background: var(--bg);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 6vw;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(222, 216, 206, 0.8);
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.section {
  padding: 100px 6vw;
}

.hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.hero-text,
.wide-text {
  max-width: 740px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--dark);
  background: transparent;
}

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

.intro-section,
.contact-section {
  border-top: 1px solid var(--line);
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.project-image {
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: linear-gradient(135deg, #e5ded2, #bdb4a5);
  color: rgba(17, 17, 17, 0.38);
  font-size: 82px;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.project-content {
  padding: 28px;
}

.project-content p {
  color: var(--muted);
  line-height: 1.6;
}

.project-type {
  margin-bottom: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.small-text {
  font-size: 15px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  outline: none;
  font: inherit;
  background: #fbfaf7;
}

input:focus,
textarea:focus {
  border-color: var(--dark);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 34px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 900px) {
  .project-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 14px;
  }

  .section {
    padding: 80px 5vw;
  }
}

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

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 72vh;
  }
}
