:root {
  --ink: #14213d;
  --paper: #f7f3eb;
  --orange: #f77f00;
  --yellow: #fcbf49;
  --blue: #dbe8f2;
  --white: #ffffff;
  --line: rgba(20, 33, 61, 0.16);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header,
main,
footer {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 700;
}

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

.site-nav .nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 600px;
  color: #4c556b;
  font-size: 1.1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(20, 33, 61, 0.14);
}

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

.button-secondary {
  background: transparent;
}

.hero-art {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 50% 50% 18px 18px;
  background: var(--blue);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(20, 33, 61, 0.22);
  border-radius: 50%;
}

.orbit-large {
  width: 410px;
  height: 410px;
  top: 75px;
  left: 55px;
}

.orbit-small {
  width: 260px;
  height: 260px;
  top: 150px;
  left: 130px;
}

.art-card {
  position: absolute;
  top: 90px;
  left: 50px;
  width: 180px;
  padding: 24px;
  background: var(--yellow);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(-5deg);
}

.art-card p {
  margin: 18px 0 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.art-card-secondary {
  top: auto;
  right: 45px;
  bottom: 55px;
  left: auto;
  background: var(--orange);
  color: var(--white);
  transform: rotate(6deg);
}

.art-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.art-dot {
  position: absolute;
  top: 58px;
  right: 70px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
}

.section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.section-heading h2 {
  max-width: 760px;
}

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

.service-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.service-card:nth-child(2) {
  background: var(--yellow);
}

.service-card:nth-child(3) {
  background: var(--blue);
}

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

.service-card p {
  margin-bottom: 0;
  color: #4c556b;
}

.service-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about-copy {
  padding-top: 42px;
  color: #4c556b;
  font-size: 1.1rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 55px 0 0;
}

.stats div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.stats dt {
  color: var(--ink);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.stats dd {
  margin: 4px 0 0;
  font-size: 0.85rem;
}

.contact {
  width: 100%;
  padding-inline: clamp(28px, 8vw, 110px);
  border: 0;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
}

.contact h2 {
  max-width: 760px;
}

.contact > p:not(.eyebrow) {
  max-width: 560px;
  color: #bac3d4;
}

.button-light {
  margin-top: 22px;
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

footer {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #5f687b;
  font-size: 0.82rem;
}

footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    z-index: 10;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 40px rgba(20, 33, 61, 0.14);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 80px 0;
  }

  .hero-art {
    min-height: 410px;
  }

  .section-heading,
  .about {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .about-copy {
    padding-top: 0;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, var(--max-width));
  }

  h1 {
    font-size: 3.5rem;
  }

  .hero-art {
    min-height: 350px;
  }

  .art-card {
    left: 25px;
    width: 150px;
  }

  .art-card-secondary {
    right: 25px;
    left: auto;
  }

  .section {
    padding: 80px 0;
  }

  .contact {
    padding-inline: 28px;
  }

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