:root {
  --blue: #0f00ff;
  --black: #000000;
  --white: #ffffff;
  --muted: rgb(0 0 0 / 50%);
  --rule: rgb(0 0 0 / 24%);
  --service-rule: rgb(0 0 0 / 72%);
  --orb: #fbf0d9;
  --page-gutter: clamp(1.25rem, 5.55vw, 5rem);
  --content-max: 80rem;
  --font: "Syne", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #eeeeee;
  color: var(--black);
  font-family: var(--font);
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: calc((100vw - min(100vw, 90rem)) / 2);
  background: #eeeeee;
  pointer-events: none;
  z-index: 4;
}

body::after {
  inset: 0 0 0 auto;
}

.cursor-orb {
  position: fixed;
  left: var(--orb-x, 50vw);
  top: var(--orb-y, 38vh);
  width: clamp(28rem, 69.45vw, 62.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orb);
  opacity: 0.78;
  filter: blur(400px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 120ms ease-out, top 120ms ease-out;
  z-index: 1;
}

.site-shell {
  position: relative;
  width: min(100%, 90rem);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
}

.section {
  position: relative;
  z-index: 2;
  min-height: 67.5rem;
}

.section-inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin: 0 auto;
}

.hero-inner {
  padding-top: 18.875rem;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1 {
  margin-top: 2.125rem;
  color: var(--blue);
  font-size: clamp(4.25rem, 6.95vw, 6.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.hero-copy {
  max-width: 40rem;
  margin-top: 5rem;
  font-size: 1.375rem;
  line-height: 1.5;
}

.services .section-inner {
  padding-top: 13.25rem;
}

h2 {
  font-size: clamp(3rem, 4.45vw, 4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.section-copy {
  max-width: 40rem;
  margin-top: 2.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4.6vw, 4.125rem);
  margin-top: 7.875rem;
}

.service-card {
  border-top: 1px solid var(--service-rule);
  padding-top: 2.375rem;
}

.service-card span,
.process-row span {
  color: var(--blue);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}

.service-card h3 {
  margin-top: 1.25rem;
  font-size: clamp(1.625rem, 2.25vw, 2rem);
  font-weight: 700;
  line-height: 1.12;
}

.service-card p {
  max-width: 21.25rem;
  margin-top: 2rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.process .section-inner {
  padding-top: 17.9375rem;
}

.process-list {
  margin-top: 3.5rem;
  border-top: 1px solid var(--rule);
}

.process-row {
  display: grid;
  grid-template-columns: 5rem minmax(12rem, 22.5rem) minmax(20rem, 1fr);
  gap: 3.75rem;
  align-items: center;
  min-height: 5.875rem;
  border-bottom: 1px solid var(--rule);
}

.process-row span {
  font-size: 1.25rem;
}

.process-row h3 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.12;
}

.process-row p {
  font-size: 1.125rem;
  line-height: 1.45;
}

.contact {
  min-height: 45.8125rem;
}

.contact-inner {
  padding-top: 15rem;
}

.contact h2 {
  margin-top: 1.5rem;
  font-size: clamp(3.25rem, 5.42vw, 4.875rem);
}

.contact-copy {
  max-width: 40rem;
  margin-top: 1.5rem;
  font-size: 1.375rem;
  line-height: 1.5;
}

.contact a {
  display: inline-block;
  margin-top: 2rem;
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

@media (max-width: 1024px) {
  .cursor-orb {
    width: clamp(24rem, 86vw, 48rem);
  }

  .section {
    min-height: auto;
    padding-block: 10rem;
  }

  .hero {
    min-height: 52rem;
  }

  .hero-inner,
  .services .section-inner,
  .process .section-inner,
  .contact-inner {
    padding-top: 0;
  }

  .hero-copy {
    margin-top: 4rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-top: 5rem;
  }

  .service-card p {
    max-width: 42rem;
  }

  .process-list {
    margin-top: 3rem;
  }

  .process-row {
    grid-template-columns: 4rem minmax(11rem, 16rem) 1fr;
    gap: 2rem;
  }

  .contact {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  body::before,
  body::after {
    display: none;
  }

  .cursor-orb {
    width: 28rem;
    opacity: 0.72;
  }

  .site-shell {
    width: 100%;
  }

  .section {
    padding-block: 6rem;
  }

  .hero {
    min-height: 43rem;
  }

  .eyebrow {
    font-size: 0.75rem;
  }

  h1 {
    margin-top: 1.5rem;
    font-size: 2.5rem;
  }

  h2 {
    font-size: clamp(2.4rem, 12vw, 3.35rem);
  }

  .hero-copy,
  .section-copy,
  .contact-copy {
    max-width: none;
    font-size: 1.0625rem;
  }

  .hero-copy {
    margin-top: 3rem;
  }

  .section-copy {
    margin-top: 1.75rem;
  }

  .service-grid {
    margin-top: 4rem;
  }

  .service-card {
    padding-top: 1.5rem;
  }

  .service-card span,
  .process-row span {
    font-size: 1rem;
  }

  .service-card h3,
  .process-row h3 {
    font-size: 1.65rem;
  }

  .service-card p,
  .process-row p {
    font-size: 1rem;
  }

  .process-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: start;
    padding-block: 1.5rem;
  }

  .contact-inner {
    padding-top: 5rem;
  }

  .contact a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (pointer: coarse) {
  .cursor-orb {
    position: absolute;
    left: 50%;
    top: 32rem;
    transition: none;
  }
}

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

  .cursor-orb {
    transition: none;
  }
}
