html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f3f0;
  color: #141414;
  font-family: 'Instrument Sans', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #141414;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #141414;
  border-bottom: 1px solid #2a2927;
}

.header-inner {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 28px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  font-size: 15px;
}

.nav-link {
  color: #f4f3f0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-link:hover {
  color: #c8f53c;
}

.btn {
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-light {
  background: #f4f3f0;
  color: #141414;
  padding: 11px 18px;
  border-radius: 999px;
}

.btn-light:hover {
  background: #c8f53c;
  color: #141414;
}

/* Hero */
.hero {
  position: relative;
  background: #141414;
  color: #f4f3f0;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.55) 0%, rgba(20, 20, 20, 0.35) 45%, rgba(20, 20, 20, 0.85) 100%);
}

.hero-inner {
  position: relative;
  padding-top: clamp(64px, 9vw, 140px);
  padding-bottom: clamp(36px, 5vw, 64px);
  min-height: min(80vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(30px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 15ch;
  text-wrap: balance;
}

.hero-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  margin-top: clamp(24px, 4vw, 48px);
  align-items: end;
}

.hero-text {
  margin: 0;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.45;
  color: #e4e2dc;
  max-width: 34ch;
  text-wrap: pretty;
}

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

.btn-accent {
  background: #c8f53c;
  color: #141414;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
}

.btn-accent:hover {
  background: #f4f3f0;
  color: #141414;
}

.btn-outline {
  color: #f4f3f0;
  border: 1px solid #f4f3f0;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
}

.btn-outline:hover {
  background: #f4f3f0;
  color: #141414;
}

/* Services */
.services {
  padding-top: clamp(72px, 10vw, 140px);
  padding-bottom: clamp(72px, 10vw, 140px);
}

.services-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
  margin-bottom: 48px;
  align-items: end;
}

.section-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.services-count {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b6963;
  justify-self: end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  border-top: 1px solid #141414;
}

.service-card {
  padding: 28px 24px 36px 0;
  border-bottom: 1px solid #dcdad4;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 180px;
  transition: background 0.15s ease;
}

.service-card:hover {
  background: #ebe9e4;
}

.service-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #141414;
  background: #c8f53c;
  padding: 3px 7px;
  border-radius: 3px;
  align-self: flex-start;
}

.service-title {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-wrap: balance;
}

/* Contact */
.contact {
  background: #141414;
  color: #f4f3f0;
  margin-top: auto;
}

.contact .wrap {
  padding-top: clamp(72px, 10vw, 130px);
  padding-bottom: 40px;
}

.eyebrow {
  margin: 0 0 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9c9a94;
}

.contact-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(30px, 5vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 16ch;
}

.contact-email {
  display: inline-block;
  margin-top: 36px;
  color: #c8f53c;
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  border-bottom: 2px solid #c8f53c;
  padding-bottom: 4px;
}

.contact-email:hover {
  color: #f4f3f0;
  border-color: #f4f3f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px;
  margin-top: clamp(64px, 8vw, 110px);
  padding-top: 32px;
  border-top: 1px solid #3a3936;
  font-size: 15px;
  line-height: 1.6;
  color: #c9c7c1;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
}

.footer-logo img {
  height: 40px;
  display: block;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-name {
  color: #f4f3f0;
  font-weight: 500;
}
