:root {
  --page: #ffffff;
  --surface: #f5f3f1;
  --ink: #000000;
  --muted: #6b6661;
  --line: rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-width: 320px;
  background: var(--page);
  overflow-x: clip;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: max(1122px, 100svh);
  background: var(--surface);
  isolation: isolate;
  overflow: hidden;
}

.brand,
.hero h1,
.copyright {
  z-index: 5;
}

.brand {
  position: absolute;
  top: 22px;
  left: 25px;
  width: 220px;
  height: 101px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 32px;
  font-weight: 600;
  line-height: 39px;
  text-align: center;
  text-decoration: none;
}

.menu-button {
  position: absolute;
  top: 64px;
  right: 112px;
  z-index: 20;
  width: 49px;
  height: 42px;
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 45px;
  height: 0;
  border-top: 3px solid var(--ink);
  transform-origin: left center;
  transition: width 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.menu-button span:nth-child(2) {
  width: 33px;
}

.menu-button.is-open span:nth-child(1) {
  transform: rotate(41deg) translate(1px, -1px);
}

.menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open span:nth-child(3) {
  transform: rotate(-41deg) translate(-2px, 1px);
}

.menu-panel {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: min(360px, calc(100vw - 48px));
  padding: 92px 32px 34px;
  display: grid;
  gap: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-panel a {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.menu-panel a:hover,
.menu-panel a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero h1 {
  position: absolute;
  top: 308px;
  left: 50%;
  width: min(658px, calc(100% - 48px));
  margin: 0;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: 64px;
  font-weight: 700;
  line-height: 77px;
  text-align: center;
}

.hero-mark {
  position: absolute;
  top: 647px;
  left: 50%;
  z-index: 2;
  width: min(1017px, calc(100% - 96px));
  height: auto;
  transform: translateX(-50%);
  user-select: none;
}

.hover-mask {
  --mask-x: 50%;
  --mask-y: 50%;
  --mask-size: 0px;
  --mask-opacity: 0;
  touch-action: pan-y;
}

.hover-mask__reveal,
.hover-mask__edge {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hover-mask__reveal {
  z-index: 3;
  opacity: var(--mask-opacity);
  contain: paint;
  will-change: opacity, mask-image, -webkit-mask-image;
  -webkit-mask-image:
    radial-gradient(circle var(--mask-size) at var(--mask-x) var(--mask-y), #000 0 42%, rgba(0, 0, 0, 0.82) 58%, transparent 76%);
  mask-image:
    radial-gradient(circle var(--mask-size) at var(--mask-x) var(--mask-y), #000 0 42%, rgba(0, 0, 0, 0.82) 58%, transparent 76%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hover-mask__image {
  position: absolute;
  top: 647px;
  left: 50%;
  width: min(1017px, calc(100% - 96px));
  aspect-ratio: 1017 / 371;
  overflow: hidden;
  transform: translateX(-50%);
  transform-origin: center;
  pointer-events: none;
}

.hover-mask__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.15) contrast(1.18) saturate(0.94);
  mix-blend-mode: multiply;
  -webkit-user-drag: none;
  user-select: none;
}

.hover-mask__edge {
  display: none;
  z-index: 4;
}

.copyright {
  position: absolute;
  right: 90px;
  bottom: 20px;
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.intro-section {
  min-height: 780px;
  padding: 91px 48px 128px;
  background: var(--page);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 17px;
}

.eyebrow span {
  width: 33px;
  border-top: 1px solid var(--ink);
}

.eyebrow p,
.section-heading p,
.approach-copy p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 30px;
}

.intro-grid {
  width: min(1350px, 100%);
  margin-top: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 92px;
}

.intro-statement h2,
.section-heading h2,
.approach-copy h2 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.08;
}

.intro-copy {
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}

.intro-copy p,
.service-item p,
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.text-link {
  display: inline-block;
  margin-top: 34px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
}

.services-section {
  min-height: 720px;
  padding: 118px 48px 130px;
  background: var(--ink);
  color: var(--page);
}

.section-heading {
  width: min(920px, 100%);
}

.section-heading h2 {
  margin-top: 26px;
}

.service-list {
  width: min(1450px, 100%);
  margin-top: 92px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.service-item {
  min-height: 255px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.service-item span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 30px;
}

.service-item h3 {
  margin: 60px 0 18px;
  color: var(--page);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

.service-item p {
  color: rgba(255, 255, 255, 0.72);
}

.approach-section {
  min-height: 670px;
  padding: 118px 48px 132px;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 110px;
  background: var(--page);
}

.approach-copy h2 {
  margin-top: 28px;
}

.approach-steps {
  display: grid;
  gap: 0;
  align-self: start;
}

.step {
  min-height: 155px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 38px;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step span {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.footer {
  min-height: 220px;
  padding: 54px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
}

.footer p,
.footer a {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.footer a {
  font-size: 24px;
  font-weight: 500;
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 7px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .menu-button span,
  .menu-panel,
  .hover-mask__reveal,
  .reveal {
    transition: none;
  }
}

@media (max-width: 1200px) {
  .hero {
    min-height: 100vh;
    min-height: max(900px, 100svh);
  }

  .brand {
    top: 22px;
    left: 32px;
  }

  .menu-button {
    top: 54px;
    right: 42px;
  }

  .hero h1 {
    top: 250px;
    font-size: 56px;
    line-height: 66px;
  }

  .hero-mark {
    top: 560px;
    width: min(900px, calc(100% - 64px));
  }

  .hover-mask__image {
    top: 560px;
    width: min(900px, calc(100% - 64px));
  }

  .copyright {
    right: 42px;
  }

  .intro-grid,
  .approach-section {
    gap: 64px;
  }
}

@media (max-width: 900px) {
  .intro-section,
  .services-section,
  .approach-section {
    padding-right: 32px;
    padding-left: 32px;
  }

  .intro-grid,
  .approach-section,
  .service-list {
    grid-template-columns: 1fr;
  }

  .intro-statement h2,
  .section-heading h2,
  .approach-copy h2 {
    font-size: 44px;
  }

  .service-list {
    gap: 32px;
  }

  .service-item {
    min-height: 0;
  }

  .service-item h3 {
    margin-top: 42px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100vh;
    min-height: max(720px, 100svh);
  }

  .brand {
    top: 24px;
    left: 20px;
    width: auto;
    height: auto;
    justify-content: flex-start;
    font-size: 28px;
    line-height: 34px;
  }

  .menu-button {
    top: 30px;
    right: 20px;
    width: 43px;
    height: 38px;
    gap: 8px;
  }

  .menu-button span {
    width: 39px;
  }

  .menu-button span:nth-child(2) {
    width: 29px;
  }

  .menu-panel {
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
    padding: 86px 24px 28px;
  }

  .hero h1 {
    top: 158px;
    width: calc(100% - 32px);
    font-size: 40px;
    line-height: 48px;
  }

  .hero-mark {
    top: 425px;
    width: min(620px, calc(100% + 132px));
  }

  .hover-mask__image {
    top: 425px;
    width: min(620px, calc(100% + 132px));
  }

  .copyright {
    right: 20px;
    bottom: 24px;
    font-size: 16px;
    line-height: 20px;
  }

  .intro-section {
    min-height: auto;
    padding: 68px 20px 88px;
  }

  .services-section,
  .approach-section {
    min-height: auto;
    padding: 84px 20px 92px;
  }

  .intro-grid {
    margin-top: 56px;
    gap: 42px;
  }

  .intro-statement h2,
  .section-heading h2,
  .approach-copy h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .intro-copy p,
  .service-item p,
  .step p {
    font-size: 18px;
    line-height: 1.55;
  }

  .service-list {
    margin-top: 64px;
  }

  .service-item h3 {
    font-size: 28px;
  }

  .step {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer {
    min-height: 180px;
    padding: 42px 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer p {
    font-size: 28px;
  }

  .footer a {
    font-size: 20px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 36px;
    line-height: 43px;
  }
}
