:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #1a1d23;
  --text-muted: #5a616e;
  --border: #e7e9ed;
  --accent: #1d2433;
  --accent-2: #3a4a6b;
  --max-width: 1120px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}


body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  row-gap: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  gap: 32px;
}

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

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

/* Sections */
section {
  padding: 96px 0;
}

#about,
#what-we-do,
#contact {
  scroll-margin-top: 88px;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0;
}

/* Hero */
.hero {
  padding: 140px 0 110px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-2);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 780px;
}

.hero .tagline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0;
}

/* About */
.about {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 24px;
  max-width: 700px;
}

.about p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 16px;
  max-width: 700px;
}

.about p:last-child {
  margin-bottom: 0;
}

/* What we do */
.services h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 24, 34, 0.06);
  border-color: #d9dce2;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

/* Contact */
.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 16px;
}

.contact p.lead {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-item a,
.contact-item span {
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-item a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-item a:hover {
  border-color: var(--text);
}

/* Footer */
.site-footer {
  padding: 56px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-legal p {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-legal p.company-name {
  color: var(--text);
  font-weight: 600;
}

.footer-bottom {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Reveal-on-scroll animation (progressive enhancement: content stays
   visible by default so it never depends on JavaScript running) */
html.js-anim .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 860px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .site-nav {
    gap: 16px;
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding: 100px 0 72px;
  }

  .contact-details {
    gap: 24px;
  }

  #about,
  #what-we-do,
  #contact {
    scroll-margin-top: 112px;
  }
}
