/*
 *= require_tree .
 *= require_self
 */

:root {
  --background: #f7f7f2;
  --foreground: #111111;
  --muted: #686868;
  --accent: #c7ff36;
  --dark: #111111;
  --border: rgba(17, 17, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;

  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;

  padding: 24px clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--border);
  background: rgba(247, 247, 242, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.navigation {
  display: flex;
  gap: 32px;
}

.navigation a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.navigation a:hover {
  color: var(--foreground);
}

.section {
  display: flex;
  min-height: 80vh;
  align-items: center;
  padding: 120px clamp(24px, 8vw, 140px);
  scroll-margin-top: 80px;
}

.content {
  width: min(100%, 1200px);
  margin-inline: auto;
}

.hero-section {
  min-height: 100vh;
  padding-top: 160px;
}

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

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

h1 {
  max-width: 1000px;
  margin-bottom: 28px;
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h2 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero-description,
.section .content > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid var(--foreground);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-secondary {
  background: transparent;
}

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

.section-dark .eyebrow,
.section-dark .service-card p {
  color: #a5a5a5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 60px;
  background: #333333;
  border: 1px solid #333333;
}

.service-card {
  min-height: 320px;
  padding: 34px;
  background: var(--dark);
}

.service-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.service-card h3 {
  margin-top: 100px;
  font-size: 28px;
}

.service-card p {
  line-height: 1.7;
}

.contact-section {
  min-height: 70vh;
}

.site-footer {
  padding: 30px clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .site-header {
    padding-block: 20px;
  }

  .navigation {
    gap: 16px;
  }

  .navigation a:nth-child(2),
  .navigation a:nth-child(3) {
    display: none;
  }

  .section {
    min-height: auto;
    padding-block: 100px;
  }

  .hero-section {
    min-height: 100vh;
  }

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

  .service-card {
    min-height: 240px;
  }

  .service-card h3 {
    margin-top: 60px;
  }
}