:root {
  --ink: #18231c;
  --cream: #f4f0e6;
  --paper: #fffdf7;
  --lime: #c9f55c;
  --coral: #ff7657;
  --purple: #7467f0;
  --line: rgba(24, 35, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a:not(.nav-cta):hover,
footer a:hover,
.text-link:hover {
  opacity: 0.6;
}

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

.nav-cta:hover {
  color: var(--paper);
  background: var(--ink);
}

.hero {
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  padding: 80px 0 100px;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 {
  margin-bottom: 30px;
  font-size: clamp(4.2rem, 9.5vw, 8.2rem);
}

.hero-intro {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button-primary:hover {
  box-shadow: 5px 5px 0 var(--coral);
  transform: translate(-2px, -2px);
}

.hero-art {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 48% 48% 12% 48%;
  background: var(--lime);
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-one {
  top: 74px;
  right: 60px;
  width: 220px;
  height: 220px;
  background: var(--coral);
  box-shadow: -60px 95px 0 var(--purple);
}

.orb-two {
  bottom: -30px;
  left: -10px;
  width: 180px;
  height: 180px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.orbit {
  position: absolute;
  inset: 104px 44px auto auto;
  width: 270px;
  height: 200px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.spark {
  position: absolute;
  font-size: 2.5rem;
}

.spark-one {
  top: 48px;
  left: 54px;
}

.spark-two {
  right: 34px;
  bottom: 38px;
  color: var(--paper);
}

.art-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  width: 220px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--ink);
  background: var(--paper);
  transform: rotate(3deg);
}

.art-card span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.art-card strong {
  margin-top: 5px;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
}

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

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  margin-bottom: 70px;
}

.section-heading h2,
.about h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.services article {
  min-height: 290px;
  padding: 34px;
  background: var(--paper);
}

.services article:nth-child(2) {
  background: var(--lime);
}

.service-number {
  font-size: 0.8rem;
  font-weight: 700;
}

.services h3 {
  margin: 86px 0 16px;
  font-size: 1.7rem;
}

.services p {
  margin: 0;
}

.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.about h2 {
  grid-column: 2;
}

.about > p:last-child {
  grid-column: 2;
  max-width: 650px;
  margin: 20px 0 0;
  font-size: 1.15rem;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .site-header {
    min-height: 76px;
  }

  nav > a:not(.nav-cta) {
    display: none;
  }

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

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

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

  .section-heading h2,
  .about h2,
  .about > p:last-child {
    grid-column: 1;
  }

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

  .services article {
    min-height: 240px;
  }

  .services h3 {
    margin-top: 60px;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .orb-one {
    right: 36px;
    width: 170px;
    height: 170px;
  }

  .orbit {
    right: 16px;
    width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
