:root {
  --color-bg: #050505;
  --color-surface: #0d0d0f;
  --color-border: #242428;
  --color-text: #f5f5f2;
  --color-muted: #a3a3a8;
  --color-accent: #69c6ff;
  --font-display: "Clash Display", "Arial Black", "Helvetica Neue", sans-serif;
  --font-body: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --page-padding: clamp(1.25rem, 5vw, 5.5rem);
  --header-height: clamp(3.5rem, 5vw, 4rem);
  color-scheme: dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-bg);
  scroll-behavior: smooth;
  scrollbar-color: var(--color-border) var(--color-bg);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
  width: 0.625rem;
}

body::-webkit-scrollbar-track {
  background: var(--color-bg);
}

body::-webkit-scrollbar-thumb {
  border: 0.1875rem solid var(--color-bg);
  border-radius: 999px;
  background: var(--color-border);
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 0.125rem solid var(--color-accent);
  outline-offset: 0.25rem;
}

section[tabindex="-1"]:focus {
  outline: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-padding);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    backdrop-filter 240ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-color: color-mix(in srgb, var(--color-border) 72%, transparent);
  background: rgb(5 5 5 / 78%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center start;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 2.75rem);
}

.site-nav a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.125rem;
  left: 0;
  height: 1px;
  background: var(--color-accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.6875rem 0.5rem;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav-toggle span + span {
  margin-top: 0.5rem;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.28125rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.28125rem) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-bg);
}

.hero__poster,
.hero__video,
.hero__overlay,
.hero__fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__poster,
.hero__video {
  object-fit: cover;
  object-position: center center;
}

.hero__poster {
  z-index: -4;
}

.hero__video {
  z-index: -3;
  opacity: 0;
  transition: opacity 400ms ease;
}

.hero__video.is-playing {
  opacity: 1;
}

.hero__overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(5 5 5 / 46%) 0%, rgb(5 5 5 / 20%) 46%, rgb(5 5 5 / 7%) 76%),
    linear-gradient(180deg, rgb(5 5 5 / 18%) 0%, transparent 34%, rgb(5 5 5 / 8%) 68%);
  pointer-events: none;
}

.hero__fade {
  z-index: -1;
  top: auto;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgb(5 5 5 / 12%) 18%, rgb(5 5 5 / 72%) 70%, var(--color-bg) 100%);
  pointer-events: none;
}

.hero__layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
  align-items: center;
  padding: calc(var(--header-height) + 5vh) var(--page-padding) 8vh;
}

.hero__content {
  width: min(46vw, 46rem);
  margin-top: 6vh;
}

.hero__title {
  width: min(64vw, 55rem);
  max-width: none;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(4.25rem, 5.25vw, 5.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 38rem;
  margin: clamp(1.5rem, 2.3vw, 2rem) 0 0;
  color: #c6c6c8;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  font-weight: 400;
  line-height: 1.58;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button--primary {
  background: var(--color-text);
  box-shadow: 0 0.75rem 2.5rem rgb(0 0 0 / 28%);
  color: var(--color-bg);
}

.button--secondary {
  border-color: rgb(245 245 242 / 22%);
  background: rgb(5 5 5 / 12%);
  color: var(--color-text);
}

.button:hover {
  transform: translateY(-1px) scale(1.015);
}

.button:hover svg {
  transform: translateX(0.1875rem);
}

.button--primary:hover {
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 38%);
}

.button--secondary:hover {
  border-color: rgb(105 198 255 / 58%);
  background: rgb(5 5 5 / 28%);
}

.light-droplets {
  position: relative;
  isolation: isolate;
  background: var(--color-bg);
}

.light-droplets__layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10rem, #000 calc(100% - 12rem), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 10rem, #000 calc(100% - 12rem), transparent);
}

.light-droplets__canvas {
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  opacity: 0.8;
  pointer-events: none;
}

.transition-statement {
  position: relative;
  z-index: 1;
  background: transparent;
}

.transition-statement__inner {
  display: flex;
  align-items: center;
  padding: clamp(5rem, 7vw, 7rem) var(--page-padding);
}

.transition-statement__title {
  width: min(100%, 15ch);
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.875rem, 4.8vw, 4.625rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}

.services {
  --tilt-perspective: 900px;
  --tilt-shadow-intensity: 35%;
  --tilt-violet-shadow-intensity: 11%;
  --spotlight-size: 23rem;
  --spotlight-intensity: 12%;
  position: relative;
  z-index: 1;
  padding: 0 var(--page-padding) clamp(4rem, 6vw, 5.5rem);
  background: transparent;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.services__header {
  display: flex;
  min-height: clamp(5.5rem, 7vw, 7rem);
  align-items: flex-end;
  padding-bottom: clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--color-border);
}

.services__header h2 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.5vw, 4.375rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(1.25rem, 2.2vw, 2rem);
  padding-top: clamp(2rem, 3vw, 2.75rem);
}

.service {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --spotlight-alpha: 0;
  --shadow-x: 0px;
  --shadow-y: 0px;
  position: relative;
  min-width: 0;
  padding: clamp(1.375rem, 1.8vw, 1.75rem);
  border-radius: 1.75rem;
  background: #f2f0f5;
  box-shadow:
    var(--shadow-x) calc(16px + var(--shadow-y)) 42px rgb(0 0 0 / var(--tilt-shadow-intensity)),
    0 10px 30px rgb(91 65 133 / var(--tilt-violet-shadow-intensity)),
    0 2px 8px rgb(0 0 0 / 12%);
  transform: perspective(var(--tilt-perspective)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.service::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle var(--spotlight-size) at var(--spotlight-x) var(--spotlight-y),
    rgb(163 120 255 / var(--spotlight-intensity)),
    transparent 68%
  );
  content: "";
  opacity: var(--spotlight-alpha);
  pointer-events: none;
}

.service > * {
  position: relative;
}

.service__heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(0.875rem, 1.3vw, 1.25rem);
}

.service__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 3.5rem;
  place-items: center;
  border: 1px solid rgb(163 120 255 / 18%);
  border-radius: 1rem;
  color: #45365f;
  background: #f7f4fc;
}

.service__icon svg {
  width: 2rem;
  height: 2rem;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  min-width: 0;
  margin: 0;
  color: #17151c;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0;
  word-spacing: 0.05em;
  line-height: 1.1;
  text-wrap: balance;
}

.service__description {
  max-width: 58ch;
  margin: clamp(0.875rem, 1.2vw, 1.125rem) 0 0;
  color: #39363e;
  font-size: clamp(0.97rem, 1.1vw, 1.0625rem);
  line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
  .service:hover {
    --tilt-shadow-intensity: 39%;
    --tilt-violet-shadow-intensity: 16%;
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .service {
    transform: none;
  }

  .service::before {
    opacity: 0;
  }
}

.projects {
  padding: 0 var(--page-padding) clamp(5rem, 7.5vw, 7.5rem);
  position: relative;
  z-index: 1;
  background: transparent;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.projects__header {
  display: flex;
  min-height: clamp(7rem, 10vw, 9rem);
  align-items: flex-end;
  padding-bottom: clamp(1.5rem, 2.25vw, 2rem);
  border-bottom: 1px solid var(--color-border);
}

.projects__header h2 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.5vw, 4.375rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(17rem, 0.5fr) minmax(0, 1.3fr);
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
  align-items: center;
  padding: clamp(4rem, 6vw, 6rem) 0;
  border-bottom: 1px solid var(--color-border);
}

.featured-project__copy {
  max-width: 31rem;
}

.featured-project h3 {
  max-width: 11ch;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.625rem, 3.45vw, 3.625rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.97;
  text-wrap: balance;
}

.featured-project__description {
  max-width: 30rem;
  margin: clamp(1.125rem, 1.75vw, 1.75rem) 0 0;
  color: #b8b8bc;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.7;
}

.project-capabilities {
  max-width: 28rem;
  margin: clamp(1.5rem, 2.25vw, 2.25rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
  list-style: none;
}

.project-capabilities li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  color: #b8b8bc;
  font-size: 0.94rem;
  line-height: 1.4;
}

.project-cta {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.project-cta:focus-visible {
  outline-color: var(--color-text);
}

.project-cta:active {
  background-color: color-mix(in srgb, var(--color-accent) 88%, black);
}

.featured-project__visual,
.project-card__visual {
  min-width: 0;
  margin: 0;
}

.featured-project__stage,
.project-card__stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: var(--color-surface);
  transition:
    border-color 260ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-project__stage {
  aspect-ratio: 16 / 9;
}

.featured-project__visual figcaption,
.project-card__visual figcaption {
  margin-top: 0.75rem;
  color: #a9a9ae;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.featured-project__image {
  display: block;
  position: absolute;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 1.5rem 3.5rem rgb(0 0 0 / 38%);
}

.featured-project__image--main {
  top: 2%;
  left: 2%;
  width: 96%;
}

.featured-project__image--detail {
  right: 4%;
  bottom: 7%;
  width: 42%;
  border: 1px solid rgb(255 255 255 / 28%);
  box-shadow: 0 1.25rem 2.5rem rgb(0 0 0 / 42%);
}

.secondary-projects {
  padding-top: clamp(4.5rem, 7vw, 7rem);
}

.secondary-projects__header {
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(1.25rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--color-border);
}

.secondary-projects__header h3 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.2vw, 3.125rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.secondary-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 3.25rem);
}

.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: clamp(2rem, 3vw, 3rem);
}

.project-card__stage {
  aspect-ratio: 16 / 11;
}

.project-card__image--ecommerce,
.project-card__image--nova {
  display: block;
  position: absolute;
  top: 50%;
  left: 3%;
  width: 94%;
  height: auto;
  border-radius: 0.5rem;
  transform: translateY(-50%);
}

.project-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: clamp(1.25rem, 1.75vw, 1.75rem);
}

.project-card__body h4 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 2.35vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}

.project-card__body p {
  max-width: 38rem;
  margin: 1rem 0 0.75rem;
  color: #b8b8bc;
  font-size: 1rem;
  line-height: 1.65;
}

.project-card__body .project-cta {
  align-self: flex-start;
  margin-top: auto;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  margin: 1.125rem 0 0;
  padding: 0;
  color: #a9a9ae;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
}

.project-tech li:not(:last-child)::after {
  margin: 0 0.65rem;
  color: #4d4d52;
  content: "/";
}

.process,
.about,
.contact {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.process {
  position: relative;
  z-index: 1;
  padding: clamp(4.75rem, 6.5vw, 6.5rem) var(--page-padding) clamp(4.25rem, 5.5vw, 5.5rem);
  background: transparent;
}

.process__header {
  max-width: 52rem;
  padding-bottom: clamp(1.5rem, 2.25vw, 2rem);
  border-bottom: 1px solid var(--color-border);
}

.process__header h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.625rem, 3.8vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}

.process__header p {
  max-width: 24rem;
  margin: 1rem 0 0;
  color: #b8b8bc;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.6;
}

.process-timeline {
  --process-axis-offset: 3.75rem;
  --process-timeline-start: clamp(2.5rem, 3.75vw, 3.5rem);

  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: var(--process-timeline-start) 0 0;
  list-style: none;
  overflow: visible;
}

.process-timeline::before,
.process-timeline::after {
  position: absolute;
  top: calc(var(--process-timeline-start) + var(--process-axis-offset));
  right: calc(25% - 0.3125rem);
  left: 0.3125rem;
  height: 1px;
  content: "";
}

.process-timeline::before {
  background: #343439;
}

.process-timeline::after {
  background: var(--color-accent);
  opacity: var(--process-progress-opacity, 1);
  transform: scaleX(var(--process-progress-x, 1));
  transform-origin: left center;
}

.process-step {
  --process-step-delay: 120ms;

  position: relative;
  display: grid;
  grid-template-rows: auto 0.75rem auto;
  min-width: 0;
}

.process-step:nth-child(2) {
  --process-step-delay: 280ms;
}

.process-step:nth-child(3) {
  --process-step-delay: 440ms;
}

.process-step:nth-child(4) {
  --process-step-delay: 600ms;
}

.process-step__axis {
  position: relative;
  min-width: 0;
  height: 0.75rem;
}

.process-step__number {
  display: block;
  margin-bottom: 1rem;
  color: #76767c;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.6vw, 2.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.process-step__rail {
  position: relative;
  display: block;
  height: 100%;
}

.process-step__dot {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  width: 0.625rem;
  height: 0.625rem;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0.1875rem color-mix(in srgb, var(--color-accent) 12%, transparent);
  transform: translateY(-50%);
}

.process-step__body {
  margin-top: 1.125rem;
  padding-right: clamp(1.5rem, 2.6vw, 2.75rem);
}

.process-step h3 {
  max-width: 12ch;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}

.process-step p {
  max-width: 22rem;
  margin: 0.7rem 0 0;
  color: #ababaf;
  font-size: clamp(0.95rem, 1.05vw, 1rem);
  line-height: 1.65;
}

.about {
  position: relative;
  z-index: 1;
  padding: clamp(5.75rem, 8.5vw, 8.5rem) var(--page-padding);
  border-top: 1px solid var(--color-border);
  background: rgb(10 10 12 / 72%);
}

@media (min-width: 52.0625rem) {
  .about {
    padding-bottom: clamp(3.25rem, 5vw, 5.25rem);
  }
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  column-gap: clamp(3rem, 6.5vw, 6.5rem);
}

.about__heading h2 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.5vw, 4.375rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.about__mark {
  width: 3.75rem;
  height: 2px;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--color-accent);
}

.about__content {
  max-width: 42rem;
}

.about__content h3 {
  max-width: 26ch;
  margin: 0 0 clamp(1.5rem, 2.5vw, 2rem);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.55vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.16;
  text-wrap: balance;
}

.about__content p {
  max-width: 60ch;
  margin: 0;
  color: #dedee0;
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.about__content p + p {
  margin-top: 1rem;
  color: #b8b8bc;
}

.about__facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(3.5rem, 5vw, 5rem) 0 0;
  border-top: 1px solid #333338;
  border-bottom: 1px solid #333338;
}

.about__facts > div {
  min-width: 0;
  padding: 1.25rem clamp(1rem, 2vw, 1.75rem) 1.4rem 0;
}

.about__facts > div:not(:first-child) {
  padding-left: clamp(1rem, 2vw, 1.75rem);
}

.about__facts > div:not(:last-child) {
  border-right: 1px solid #333338;
}

.about__facts dt {
  color: #a3a3a8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.about__facts dd {
  margin: 0.6rem 0 0;
  color: #dedee0;
  font-size: 1rem;
  line-height: 1.45;
}

.contact {
  padding: clamp(5.75rem, 8.5vw, 8.5rem) var(--page-padding);
  background: #070709;
}

.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: clamp(3rem, 6.5vw, 6.5rem);
  align-items: end;
}

.contact__copy h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.5vw, 4.375rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-wrap: balance;
}

.contact__copy p {
  max-width: 34rem;
  margin: clamp(1.25rem, 2vw, 2rem) 0 0;
  color: #b8b8bc;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.65;
}

.contact__actions {
  display: grid;
  width: 100%;
  max-width: 30rem;
  justify-self: end;
  gap: 0.9rem;
}

.contact-action {
  display: flex;
  width: 100%;
  min-height: 5.5rem;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.contact-action--primary {
  background: #ececed;
  color: #111114;
}

.contact-action--secondary {
  border-color: #36363b;
  background: #0d0d10;
  color: var(--color-text);
}

.contact-action svg {
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.contact-action__whatsapp-icon {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
}

.contact-action .contact-action__arrow {
  width: 1.15rem;
  height: 1.15rem;
  margin-left: auto;
  stroke-width: 1.65;
  transition: transform 200ms ease;
}

.contact-action__copy {
  display: grid;
  min-width: 0;
  gap: 0.28rem;
}

.contact-action__copy strong {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.contact-action__copy small {
  color: #48484c;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.35;
}

.contact-action--secondary .contact-action__copy small {
  color: #b1b1b6;
}

.contact-action--primary:active:hover,
.contact-action--primary:active {
  background: #dedee0;
}

.contact-action--secondary:active:hover,
.contact-action--secondary:active {
  border-color: #68686e;
  background: #1b1b1e;
}

.site-footer {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem var(--page-padding);
  border-top: 1px solid #29292e;
  background: #070709;
}

.site-footer__brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.site-footer__destinations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.2;
  list-style: none;
}

.site-footer__destinations a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #adadb1;
  text-decoration-color: transparent;
  text-underline-offset: 0.3em;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}

.site-footer__destinations small {
  color: #89898f;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer__destinations a:active {
  color: var(--color-text);
}

@media (hover: hover) and (pointer: fine) {
  .project-cta:hover:not(:active) {
    background-color: color-mix(in srgb, var(--color-accent) 88%, white);
  }

  .contact-action--primary:hover {
    background: #f5f5f4;
  }

  .contact-action--secondary:hover {
    border-color: #56565c;
    background: #151518;
  }

  .contact-action:hover .contact-action__arrow {
    transform: translate(0.15rem, -0.15rem);
  }

  .site-footer__destinations a:hover {
    color: var(--color-text);
    text-decoration-color: currentColor;
  }

  .featured-project__visual:hover .featured-project__stage,
  .project-card:hover .project-card__stage {
    border-color: color-mix(in srgb, var(--color-accent) 44%, var(--color-border));
  }

  .project-card:hover .project-card__stage {
    transform: translateY(-0.1875rem) scale(1.01);
  }

}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__title,
  .js .hero__subtitle,
  .js .hero__actions {
    opacity: 0;
    transform: translateY(1rem);
  }

  .js.is-ready .hero__title,
  .js.is-ready .hero__subtitle,
  .js.is-ready .hero__actions {
    animation: hero-reveal 680ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .js.is-ready .hero__subtitle {
    animation-delay: 150ms;
  }

  .js.is-ready .hero__actions {
    animation-delay: 300ms;
  }

  @keyframes hero-reveal {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .js.reveal-enabled [data-reveal] {
    transition:
      opacity 840ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 840ms cubic-bezier(0.22, 1, 0.36, 1),
      clip-path 960ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 840ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js.reveal-enabled [data-reveal]:not(.is-visible) {
    opacity: 0;
  }

  .js.reveal-enabled [data-reveal="statement"]:not(.is-visible) {
    clip-path: inset(0 0 100% 0);
    transform: translateY(1.75rem);
  }

  .js.reveal-enabled [data-reveal="statement"] {
    transition-duration: 960ms, 960ms, 1000ms, 960ms;
  }

  .js.reveal-enabled [data-reveal="copy"]:not(.is-visible) {
    opacity: 1;
  }

  .js.reveal-enabled [data-reveal="copy"] > * {
    transition:
      opacity 780ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 840ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js.reveal-enabled [data-reveal="copy"]:not(.is-visible) > * {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  .js.reveal-enabled [data-reveal="copy"].is-visible > * {
    opacity: 1;
    transform: translateY(0);
  }

  .js.reveal-enabled [data-reveal="copy"] > :nth-child(2) {
    transition-delay: 140ms;
  }

  .js.reveal-enabled [data-reveal="copy"] > :nth-child(3) {
    transition-delay: 280ms;
  }

  .js.reveal-enabled [data-reveal="visual"]:not(.is-visible) {
    filter: blur(0.35rem);
    transform: translateY(1.5rem) scale(0.985);
  }

  .js.reveal-enabled [data-reveal="visual"] {
    transition-duration: 920ms;
  }

  .js.reveal-enabled [data-reveal="project"]:not(.is-visible) {
    transform: translateY(1.5rem);
  }

  .js.reveal-enabled [data-reveal="project"] {
    transition-duration: 860ms;
  }

  .js.reveal-enabled .project-card:nth-child(2) {
    transition-delay: 140ms;
  }

  .js.reveal-enabled [data-reveal="timeline"] {
    opacity: 1;
    overflow: visible;
  }

  .js.reveal-enabled [data-reveal="timeline"] .process-step__number,
  .js.reveal-enabled [data-reveal="timeline"] .process-step h3,
  .js.reveal-enabled [data-reveal="timeline"] .process-step p {
    transition:
      opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--process-step-delay);
  }

  .js.reveal-enabled [data-reveal="timeline"] .process-step p {
    transition-delay: calc(var(--process-step-delay) + 100ms);
  }

  .js.reveal-enabled [data-reveal="timeline"]:not(.is-visible) .process-step__number,
  .js.reveal-enabled [data-reveal="timeline"]:not(.is-visible) .process-step h3,
  .js.reveal-enabled [data-reveal="timeline"]:not(.is-visible) .process-step p {
    opacity: 0;
    transform: translateY(1.125rem);
  }

  .js.reveal-enabled [data-reveal="timeline"].is-visible .process-step__number,
  .js.reveal-enabled [data-reveal="timeline"].is-visible .process-step h3,
  .js.reveal-enabled [data-reveal="timeline"].is-visible .process-step p {
    opacity: 1;
    transform: translateY(0);
  }

  .js.reveal-enabled [data-reveal].is-visible {
    opacity: 1;
    clip-path: inset(0);
    filter: blur(0);
    transform: translateY(0) scale(1);
  }

  .js.reveal-enabled [data-reveal="timeline"].is-visible {
    clip-path: none;
  }

}

.js.reveal-enabled .contact__actions > .contact-action {
  transition-property: opacity, transform, background-color, border-color;
  transition-duration: 780ms, 840ms, 200ms, 200ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1), cubic-bezier(0.22, 1, 0.36, 1), ease, ease;
}

@media (max-width: 60rem) {
  .contact__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .contact__actions {
    max-width: 34rem;
    justify-self: start;
  }
}

@media (max-width: 64rem) {
  .hero__content {
    width: min(58vw, 39rem);
  }

  .hero__title {
    font-size: clamp(3.5rem, 6.25vw, 4rem);
  }

  .featured-project {
    grid-template-columns: minmax(15rem, 0.56fr) minmax(0, 1.24fr);
    gap: clamp(2.5rem, 4vw, 3.5rem);
  }

  .featured-project h3 {
    font-size: clamp(2.25rem, 4.1vw, 3.25rem);
  }

  .process-step__body {
    padding-right: 1.25rem;
  }

  .about__layout {
    column-gap: clamp(2.5rem, 5vw, 4rem);
  }

  .contact__layout {
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

@media (max-width: 52rem) {
  .about__layout {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2.5rem;
  }

  .about__content {
    max-width: 42rem;
  }

  .about__facts {
    margin-top: 0.75rem;
  }
}

@media (max-width: 56rem) {
  .featured-project {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 47.99rem) {
  :root {
    --header-height: 3.75rem;
  }

  .site-header {
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-left: max(1.25rem, env(safe-area-inset-left));
  }

  .js .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) - 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0.25rem max(1.25rem, env(safe-area-inset-right)) 1rem max(1.25rem, env(safe-area-inset-left));
    border-bottom: 1px solid var(--color-border);
    background: rgb(5 5 5 / 94%);
  }

  .js .site-nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgb(36 36 40 / 65%);
    font-size: 0.95rem;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__poster,
  .hero__video {
    object-position: 58% center;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgb(5 5 5 / 48%) 0%, rgb(5 5 5 / 18%) 78%),
      linear-gradient(180deg, rgb(5 5 5 / 16%) 0%, transparent 28%, rgb(5 5 5 / 20%) 68%);
  }

  .hero__fade {
    height: 44%;
  }

  .hero__layout {
    min-height: 100svh;
    align-items: flex-end;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: max(12vh, 5.75rem);
  }

  .hero__content {
    width: 100%;
    max-width: 34rem;
    margin-top: 0;
  }

  .hero__title {
    width: 100%;
    max-width: 13ch;
    font-size: clamp(2.5rem, 11.5vw, 3rem);
    line-height: 0.99;
  }

  .desktop-break {
    display: none;
  }

  .hero__subtitle {
    max-width: 31rem;
    margin-top: 1.25rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero__actions {
    flex-wrap: wrap;
    margin-top: 1.75rem;
  }

  .button {
    min-height: 3.125rem;
  }

  .transition-statement__inner {
    padding-top: clamp(4rem, 13vw, 5rem);
    padding-bottom: clamp(4rem, 13vw, 5rem);
  }

  .transition-statement__title {
    width: min(100%, 13ch);
    font-size: clamp(2.5rem, 10vw, 3.4rem);
    line-height: 0.98;
  }

  .services {
    padding-bottom: 4.5rem;
  }

  .services__header {
    min-height: 6rem;
    padding-bottom: 1.25rem;
  }

  .services__header h2 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .services__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 1.5rem;
    padding-top: 2rem;
  }

  .service {
    padding: clamp(1.375rem, 5vw, 1.75rem);
    border-radius: 1.5rem;
  }

  .service h3 {
    font-size: clamp(1.4rem, 5.5vw, 1.75rem);
  }

  .service__description {
    font-size: 1rem;
  }

  .projects {
    padding-bottom: 5rem;
  }

  .projects__header {
    min-height: 7rem;
    padding-bottom: 1.25rem;
  }

  .projects__header h2 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .featured-project {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: 3.75rem 0;
  }

  .featured-project__copy {
    max-width: 36rem;
  }

  .featured-project h3 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10vw, 3.2rem);
    line-height: 0.98;
  }

  .featured-project__description {
    margin-top: 1rem;
    font-size: 1.0625rem;
    line-height: 1.68;
  }

  .project-capabilities {
    margin-top: 1.5rem;
  }

  .project-capabilities li {
    font-size: 0.98rem;
  }

  .secondary-projects {
    padding-top: 4rem;
  }

  .secondary-projects__header {
    padding-bottom: 1.25rem;
  }

  .secondary-projects__header h3 {
    font-size: clamp(2.25rem, 9.5vw, 3rem);
  }

  .secondary-projects__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .project-card {
    padding-top: 2rem;
  }

  .project-card__body h4 {
    font-size: clamp(2rem, 8.5vw, 2.65rem);
  }

  .project-card__body p {
    font-size: 1.0625rem;
    line-height: 1.65;
  }

  .process {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  .process__header {
    padding-bottom: 1.75rem;
  }

  .process__header h2 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .process__header p {
    margin-top: 0.85rem;
    font-size: 1.0625rem;
  }

  .process-timeline {
    --process-timeline-start: 2.25rem;

    display: block;
    padding-top: var(--process-timeline-start);
    overflow: visible;
  }

  .process-timeline::before,
  .process-timeline::after {
    display: none;
  }

  .process-step {
    --process-step-delay: 120ms;

    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0 0.75rem;
    padding-bottom: 2rem;
  }

  .process-step:nth-child(2) {
    --process-step-delay: 300ms;
  }

  .process-step:nth-child(3) {
    --process-step-delay: 480ms;
  }

  .process-step:nth-child(4) {
    --process-step-delay: 660ms;
  }

  .process-step::before,
  .process-step::after {
    position: absolute;
    top: 0.65rem;
    bottom: -0.65rem;
    left: 0.296875rem;
    width: 1px;
    content: "";
  }

  .process-step::before {
    background: #343439;
  }

  .process-step::after {
    background: var(--color-accent);
    opacity: var(--process-segment-opacity, 1);
    transform: scaleY(var(--process-segment-progress, 1));
    transform-origin: center top;
  }

  .process-step:last-child {
    padding-bottom: 0;
  }

  .process-step:last-child::before,
  .process-step:last-child::after {
    display: none;
  }

  .process-step__axis {
    grid-row: 1 / 3;
    grid-column: 1;
    min-height: 100%;
    height: 100%;
  }

  .process-step__number {
    grid-row: 1;
    grid-column: 2;
    margin: 0 0 0.6rem;
    font-size: 1.25rem;
    line-height: 1;
  }

  .process-step__rail {
    height: 100%;
  }

  .process-step__dot {
    top: 0.65rem;
    left: 0;
  }

  .process-step__body {
    grid-row: 2;
    grid-column: 2;
    margin-top: 0;
    padding: 0;
  }

  .process-step h3 {
    max-width: 13ch;
    font-size: clamp(1.625rem, 7vw, 2rem);
    line-height: 1.04;
  }

  .process-step p {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .about,
  .contact {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .about__heading h2,
  .contact__copy h2 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .about__mark {
    width: 3.25rem;
    margin-top: 1.25rem;
  }

  .about__content h3 {
    font-size: clamp(1.65rem, 6.8vw, 2rem);
  }

  .about__facts {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
  }

  .about__facts > div {
    padding: 1rem 0;
  }

  .about__facts > div:not(:first-child) {
    padding-left: 0;
  }

  .about__facts > div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #333338;
  }

  .contact__copy h2 {
    max-width: 10ch;
  }

  .contact__copy p {
    font-size: 1.0625rem;
  }

  .contact__actions {
    gap: 0.75rem;
  }

  .contact-action {
    min-height: 5.25rem;
    padding: 1rem 1.1rem;
  }

  .site-footer {
    gap: 1rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }

  .site-footer__destinations {
    gap: clamp(0.75rem, 3vw, 1.25rem);
  }

}

@media (max-width: 40rem) {
  .featured-project__stage {
    display: grid;
    aspect-ratio: auto;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .featured-project__image {
    position: static;
    width: 100%;
    box-shadow: none;
  }
}

@media (max-width: 25rem) {
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 22rem) {
  .contact-action {
    min-height: 6rem;
  }
}

@media (hover: none) {
  .button:hover {
    transform: none;
  }

  .button:hover svg {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .process-step__number {
    color: #e8e8e6;
  }
}
