:root {
  --ink: #2f2f31;
  --black: #050505;
  --paper: #f7f6f2;
  --muted: #666463;
  --line: #dedbd4;
  --orange: #ff4a12;
  --peach: #ff9a78;
  --sage: #596b5d;
  --charcoal: #414142;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--black);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1,
h2 {
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.2rem, 7.35vw, 6.9rem);
  overflow-wrap: normal;
  word-break: normal;
}

h1 span {
  display: block;
}

h1 .accent {
  color: var(--orange);
}

h2 {
  max-width: 1040px;
  font-size: clamp(2.8rem, 7vw, 7.2rem);
}

h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 760;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 8px;
  padding: 24px clamp(22px, 8vw, 120px) 12px;
  background: var(--paper);
}

.brand,
.nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 820;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
  line-height: 1;
}

.nav {
  gap: clamp(18px, 2.4vw, 38px);
  color: rgba(47, 47, 49, 0.84);
  font-size: 0.98rem;
  font-weight: 620;
}

.nav a {
  text-decoration: none;
  text-underline-offset: 5px;
}

.nav a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  margin: 0 8px;
  padding: clamp(34px, 4.8vw, 58px) clamp(22px, 8vw, 120px) clamp(54px, 6vw, 76px);
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  background: var(--paper);
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 820;
  text-decoration: none;
}

.button-primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 18px 38px rgba(255, 74, 18, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
}

.hero-art {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.hero-art span {
  position: absolute;
  display: block;
}

.art-line {
  right: -9vw;
  bottom: -34vh;
  width: min(48vw, 660px);
  aspect-ratio: 1;
  border: 1px solid rgba(47, 47, 49, 0.16);
  border-radius: 50%;
}

.art-block {
  opacity: 0.95;
}

.art-block-clay {
  right: clamp(28px, 11vw, 190px);
  bottom: clamp(42px, 8vw, 110px);
  width: clamp(58px, 7vw, 104px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
}

.art-block-ink {
  right: clamp(130px, 22vw, 310px);
  bottom: clamp(14px, 4vw, 54px);
  width: clamp(40px, 5vw, 76px);
  height: clamp(112px, 13vw, 190px);
  border-radius: 999px 999px 8px 8px;
  background: var(--charcoal);
}

.art-photo {
  opacity: 0;
}

.intro,
.section,
.contact,
.site-footer {
  margin-inline: 8px;
}

.intro {
  padding: clamp(76px, 9vw, 132px) clamp(22px, 8vw, 120px);
  color: #fff;
  background: var(--black);
}

.intro p {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 6.4rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.section {
  padding: clamp(76px, 9vw, 124px) clamp(22px, 8vw, 120px);
  background: var(--paper);
}

.section-heading {
  margin-bottom: clamp(38px, 6vw, 78px);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}

.offer-card {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: end;
  padding-top: 190px;
}

.offer-card::before,
.offer-card::after {
  position: absolute;
  content: "";
}

.offer-card::before {
  top: 0;
  left: 50%;
  width: min(54%, 210px);
  aspect-ratio: 1;
  background: var(--charcoal);
  transform: translateX(-50%);
}

.offer-card::after {
  top: 48px;
  left: 50%;
  width: min(44%, 170px);
  height: 18px;
  background: var(--paper);
  transform: translateX(-50%);
}

.offer-card:nth-child(2)::before {
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.offer-card:nth-child(2)::after {
  display: none;
}

.offer-card:nth-child(3)::before {
  width: min(48%, 190px);
  border-radius: 999px 999px 10px 10px;
}

.offer-card:nth-child(3)::after {
  top: 156px;
  width: min(62%, 240px);
  height: 16px;
  border-radius: 999px;
  background: var(--charcoal);
}

.card-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
}

.offer-card p,
.service-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 110px);
  border-radius: 28px 28px 0 0;
}

.service-list {
  display: grid;
  align-self: start;
  border-top: 1px solid var(--line);
}

.service-list article {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.app-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--black);
}

.app-band h2 {
  max-width: 1120px;
}

.app-band .eyebrow {
  color: var(--peach);
}

.art-plane {
  position: absolute;
  top: clamp(38px, 7vw, 84px);
  right: clamp(18px, 8vw, 120px);
  width: min(34vw, 440px);
  aspect-ratio: 1;
  opacity: 0.32;
  pointer-events: none;
}

.art-plane::before,
.art-plane::after,
.art-plane span {
  position: absolute;
  content: "";
}

.art-plane::before {
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.art-plane::after {
  top: 50%;
  left: 8%;
  width: 84%;
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
  transform: rotate(-20deg);
}

.art-plane span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.art-plane span:nth-child(1) {
  top: 20%;
  left: 24%;
}

.art-plane span:nth-child(2) {
  top: 62%;
  left: 58%;
}

.art-plane span:nth-child(3) {
  top: 39%;
  left: 76%;
}

.domain-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.domain-map div {
  min-height: 154px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.domain-map span,
.domain-map strong {
  display: block;
}

.domain-map span {
  color: var(--peach);
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  font-weight: 900;
}

.domain-map strong {
  margin-top: 46px;
  font-size: 0.98rem;
}

.contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(76px, 9vw, 124px) clamp(22px, 8vw, 120px);
  border-radius: 0 0 28px 28px;
  background: var(--paper);
}

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

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(22px, 8vw, 120px);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 7rem);
  }

  .art-line {
    right: -32vw;
    bottom: -20vh;
    width: 72vw;
  }

  .offer-grid,
  .section-split,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact {
    display: grid;
  }

  .domain-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    margin-inline: 0;
    padding: 18px 20px 12px;
  }

  .brand {
    font-size: 0.94rem;
  }

  .nav {
    gap: 14px;
    font-size: 0.86rem;
  }

  .hero,
  .intro,
  .section,
  .contact,
  .site-footer {
    margin-inline: 0;
  }

  .hero {
    padding: 52px 24px 76px;
    border-radius: 0 0 22px 22px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 12.2vw, 3rem);
    line-height: 0.94;
  }

  h2,
  .intro p {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-copy {
    max-width: 310px;
  }

  .hero-actions {
    display: grid;
    max-width: 320px;
  }

  .button {
    width: 100%;
  }

  .art-block-clay {
    right: 22px;
    bottom: 24px;
    width: 56px;
  }

  .art-block-ink {
    display: none;
  }

  .intro,
  .section,
  .contact {
    padding-inline: 24px;
  }

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

  .offer-card {
    min-height: 320px;
    padding-top: 178px;
  }

  .domain-map {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
