.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;

  padding:
    clamp(8.5rem, 14vh, 10.5rem)
    var(--page-gutter)
    2rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 51%;

  width: 1px;
  height: 100%;

  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(17, 24, 39, 0.07) 18%,
    rgba(17, 24, 39, 0.07) 84%,
    transparent 100%
  );

  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;

  width: min(100%, var(--container));
  min-height: calc(100svh - clamp(10.5rem, 18vh, 13rem));

  margin-inline: auto;

  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(30rem, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 8rem);
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 52rem;
}

.hero__eyebrow {
  margin: 0 0 clamp(1.8rem, 4vh, 3.3rem);

  display: flex;
  align-items: center;
  gap: 0.8rem;

  color: var(--color-muted);

  font-size: clamp(0.65rem, 0.7vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;

  opacity: 0;
  animation: reveal-up 700ms 80ms forwards;
}

.hero__eyebrow span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero__title {
  max-width: 12.3ch;
  margin: 0;

  font-size: clamp(3.2rem, 5.35vw, 6.1rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;

  text-wrap: balance;

  opacity: 0;
  animation: reveal-up 900ms 160ms forwards;
}

.hero__title-accent {
  position: relative;
  display: inline-block;
}

.hero__stroke {
  position: absolute;
  right: 0;
  bottom: -0.15em;
  left: 0;

  width: 100%;
  height: 0.19em;

  overflow: visible;
}

.hero__stroke path {
  fill: none;
  stroke: var(--color-accent);
  stroke-linecap: round;
  stroke-width: 5;

  stroke-dasharray: 550;
  stroke-dashoffset: 550;

  animation: draw-line 850ms 850ms forwards;
}

.hero__lead {
  max-width: 39rem;
  margin: clamp(2rem, 4.5vh, 3rem) 0 0;

  color: var(--color-muted);

  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 1.65;

  opacity: 0;
  animation: reveal-up 850ms 330ms forwards;
}

.hero__actions {
  margin-top: clamp(2rem, 4.5vh, 3rem);

  display: flex;
  align-items: center;
  gap: 1.9rem;

  opacity: 0;
  animation: reveal-up 850ms 450ms forwards;
}

/* Visual */

.hero-visual {
  --parallax-x: 0px;
  --parallax-y: 0px;

  position: relative;
  width: min(100%, 36rem);
  aspect-ratio: 0.84;
  justify-self: end;

  transform:
    translate3d(var(--parallax-x), var(--parallax-y), 0)
    rotate(0.001deg);

  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);

  opacity: 0;
  animation: visual-reveal 1100ms 300ms forwards;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 2% 4% 8%;

  border: 1px solid var(--color-border);
  border-radius: 2.4rem;

  background:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);

  background-size: 42px 42px;

  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

.hero-visual__halo {
  position: absolute;
  top: 16%;
  left: 18%;

  width: 67%;
  aspect-ratio: 1;
  border-radius: 50%;

  background: rgba(25, 179, 148, 0.11);
  filter: blur(45px);
}

.hero-visual__label {
  position: absolute;
  z-index: 5;

  display: flex;
  align-items: center;
  gap: 0.7rem;

  color: var(--color-muted);

  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-visual__label span {
  color: var(--color-graphite);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hero-visual__label--top {
  top: 6%;
  left: 16%;
}

/* Chaos */

.chaos-cluster {
  position: absolute;
  top: 13%;
  left: 9%;

  width: 82%;
  height: 32%;
}

.chaos-card {
  position: absolute;
  z-index: 4;

  display: flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.72rem 0.95rem;

  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 0.72rem;

  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);

  box-shadow: 0 6px 30px rgba(17, 24, 39, 0.05);

  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.chaos-card--one {
  top: 18%;
  left: 0;
  transform: rotate(-6deg);
}

.chaos-card--two {
  top: 6%;
  right: 4%;
  transform: rotate(4deg);
}

.chaos-card--three {
  right: 21%;
  bottom: 4%;
  transform: rotate(-2deg);
}

.chaos-card--three span {
  display: grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;

  border-radius: 50%;
  background: rgba(17, 24, 39, 0.07);

  font-size: 0.6rem;
}

.chaos-card__dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.chaos-node {
  position: absolute;
  z-index: 3;

  width: 0.48rem;
  height: 0.48rem;

  border: 1px solid var(--color-graphite);
  border-radius: 50%;
  background: var(--color-background);
}

.chaos-node--one {
  top: 15%;
  left: 44%;
}

.chaos-node--two {
  right: 3%;
  bottom: 29%;
}

.chaos-node--three {
  bottom: 2%;
  left: 21%;
}

.chaos-lines {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
}

.chaos-lines path {
  fill: none;
  stroke: rgba(17, 24, 39, 0.18);
  stroke-width: 1;
  stroke-dasharray: 4 5;
}

/* Process */

.process-axis {
  position: absolute;
  z-index: 5;

  top: 43%;
  left: 49%;

  width: 1px;
  height: 30%;

  background: rgba(17, 24, 39, 0.13);
}

.process-axis__line {
  position: absolute;
  top: 0;
  left: 0;

  width: 1px;
  height: 0;

  background: var(--color-accent);

  animation: grow-axis 900ms 1s forwards;
}

.process-step {
  position: absolute;
  left: 0;

  display: grid;
  grid-template-columns: 1.7rem auto;
  align-items: center;
  gap: 0.5rem;

  transform: translateX(-0.25rem);

  white-space: nowrap;

  opacity: 0;
  animation: step-reveal 550ms forwards;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 0;

  width: 0.55rem;
  height: 0.55rem;

  border: 2px solid var(--color-background);
  border-radius: 50%;
  background: var(--color-accent);

  transform: translateX(-50%);
}

.process-step span {
  grid-column: 1;
  margin-left: 0.7rem;

  color: var(--color-muted);

  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.process-step strong {
  grid-column: 2;

  font-size: 0.65rem;
  font-weight: 600;
}

.process-step--one {
  top: 3%;
  animation-delay: 1.1s;
}

.process-step--two {
  top: 46%;
  animation-delay: 1.3s;
}

.process-step--three {
  top: 89%;
  animation-delay: 1.5s;
}

/* Solution */

.solution-card {
  position: absolute;
  z-index: 6;

  right: 4%;
  bottom: 5%;

  width: 67%;
  min-height: 28%;

  overflow: hidden;

  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 1.45rem;

  background: var(--color-graphite);
  color: #fff;

  box-shadow: var(--shadow-soft);

  transform-origin: bottom right;
}

.solution-card::after {
  content: "";
  position: absolute;
  top: -35%;
  right: -20%;

  width: 52%;
  aspect-ratio: 1;

  border-radius: 50%;
  background: var(--color-accent);
  filter: blur(55px);

  opacity: 0.25;
}

.solution-card__top {
  position: relative;
  z-index: 2;

  min-height: 3.2rem;
  padding-inline: 1.15rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.55);

  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.solution-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  letter-spacing: 0;
  text-transform: none;
}

.solution-card__status i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--color-accent);

  box-shadow: 0 0 0 4px rgba(25, 179, 148, 0.12);
}

.solution-card__content {
  position: relative;
  z-index: 2;

  min-height: 9rem;
  padding: 1.3rem 1.25rem 1.5rem;
}

.solution-card__index {
  color: rgba(255, 255, 255, 0.42);

  font-size: 0.5rem;
  font-weight: 500;
}

.solution-card p {
  margin: 0.65rem 0 0;

  font-size: clamp(1.55rem, 2.35vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.solution-card p strong {
  display: block;
  color: var(--color-accent);
  font-weight: 600;
}

.solution-card__grid {
  position: absolute;
  right: 1rem;
  bottom: 1rem;

  display: grid;
  grid-template-columns: repeat(3, 0.26rem);
  gap: 0.3rem;
}

.solution-card__grid span {
  width: 0.26rem;
  height: 0.26rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.solution-card__grid span:last-child {
  background: var(--color-accent);
}

.hero-visual__coordinate {
  position: absolute;

  color: rgba(17, 24, 39, 0.4);

  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual__coordinate--left {
  bottom: 4%;
  left: 6%;

  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-visual__coordinate--right {
  top: 46%;
  right: -5%;

  transform: rotate(90deg);
}

/* Hero footer */

.hero__footer {
  position: relative;
  z-index: 3;

  width: min(100%, var(--container));
  margin: clamp(1rem, 3vh, 2rem) auto 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--color-muted);

  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll i {
  width: 2.8rem;
  height: 1px;
  overflow: hidden;

  background: rgba(17, 24, 39, 0.15);
}

.hero__scroll i::after {
  content: "";
  display: block;

  width: 50%;
  height: 100%;

  background: var(--color-graphite);

  animation: scroll-line 1.8s ease-in-out infinite;
}

/* Animations */

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes visual-reveal {
  from {
    opacity: 0;
    transform: translate3d(20px, 22px, 0) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes grow-axis {
  to {
    height: 100%;
  }
}

@keyframes step-reveal {
  from {
    opacity: 0;
    transform: translate(-0.25rem, 8px);
  }

  to {
    opacity: 1;
    transform: translate(-0.25rem, 0);
  }
}

@keyframes scroll-line {
  0% {
    transform: translateX(-100%);
  }

  50%,
  100% {
    transform: translateX(200%);
  }
}

/* Responsive */

@media (max-width: 1120px) {
  .hero::before {
    display: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.78fr);
    gap: 2.5rem;
  }

  .hero__title {
    font-size: clamp(3.2rem, 5.7vw, 5.3rem);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .hero__inner {
    min-height: auto;

    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

  .hero__content {
    max-width: 48rem;
  }

  .hero__title {
    max-width: 11.5ch;
    font-size: clamp(3.7rem, 9vw, 6rem);
  }

  .hero__lead {
    max-width: 35rem;
  }

  .hero-visual {
    width: min(100%, 34rem);
    justify-self: center;
  }

  .hero__footer {
    margin-top: 3rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 1.4rem;
  }

  .hero__eyebrow {
    margin-bottom: 1.6rem;

    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .hero__title {
    max-width: 100%;

    font-size: clamp(2.8rem, 13vw, 4.2rem);
    line-height: 1;
  }

  .hero__lead {
    margin-top: 1.7rem;

    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero__actions {
    margin-top: 1.8rem;

    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .button {
    width: 100%;
    justify-content: space-between;
  }

  .text-link {
    margin-left: 0.25rem;
  }

  .hero-visual {
    width: min(108%, 31rem);
    margin-inline: -4%;
  }

  .hero__footer {
    margin-top: 2.2rem;
  }

  .hero__footer > span:first-child {
    display: none;
  }

  .hero__footer {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__eyebrow,
  .hero__title,
  .hero__lead,
  .hero__actions,
  .hero-visual,
  .process-step {
    opacity: 1;
  }

  .hero__stroke path {
    stroke-dashoffset: 0;
  }

  .process-axis__line {
    height: 100%;
  }
}

/* =========================================================
   SERVICES
   ========================================================= */

.services {
  position: relative;
  overflow: hidden;
  padding:
    clamp(7rem, 12vw, 11rem)
    var(--page-gutter)
    clamp(7rem, 11vw, 10rem);

  background: var(--color-surface);
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;

  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  height: 1px;

  background: var(--color-border);
  transform: translateX(-50%);
}

.services__inner {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.services__header {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 8rem);

  margin-bottom: clamp(5rem, 9vw, 9rem);
}

.services__eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;

  padding-top: 0.8rem;

  color: var(--color-muted);

  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services__eyebrow span {
  width: 0.48rem;
  height: 0.48rem;
  margin-top: 0.22rem;

  border-radius: 50%;
  background: var(--color-accent);
}

.services__heading {
  max-width: 62rem;
}

.services__heading h2 {
  max-width: 13ch;
  margin: 0;

  font-size: clamp(3rem, 5.1vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.services__heading h2 span {
  display: block;
  color: var(--color-muted);
}

.services__heading p {
  max-width: 39rem;
  margin: clamp(2rem, 4vw, 3.4rem) 0 0;

  color: var(--color-muted);

  font-size: clamp(1rem, 1.25vw, 1.15rem);
  letter-spacing: -0.025em;
  line-height: 1.7;
}

/* List */

.services__list {
  border-top: 1px solid var(--color-border);
}

.service {
  position: relative;

  min-height: 35rem;
  padding: clamp(3.5rem, 6vw, 6rem) 0;

  display: grid;
  grid-template-columns:
    minmax(4rem, 0.15fr)
    minmax(20rem, 0.85fr)
    minmax(22rem, 0.95fr);

  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);

  border-bottom: 1px solid var(--color-border);
}

.service__number {
  align-self: start;

  color: rgba(17, 24, 39, 0.35);

  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.service__content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.service__meta {
  margin-bottom: 1.7rem;

  display: flex;
  align-items: center;
  gap: 1rem;

  color: var(--color-muted);

  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.service__status::before {
  content: "";

  width: 0.4rem;
  height: 0.4rem;

  border-radius: 50%;
  background: var(--color-accent);
}

.service h3 {
  max-width: 15ch;
  margin: 0;

  font-size: clamp(2rem, 3.1vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.service__content > p {
  max-width: 38rem;
  margin: 1.8rem 0 0;

  color: var(--color-muted);

  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  letter-spacing: -0.02em;
  line-height: 1.7;
}

.service__content > .service__secondary {
  margin-top: 1rem;
}

.service__tags {
  margin: 2.3rem 0 0;
  padding: 0;

  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;

  list-style: none;
}

.service__tags li {
  padding: 0.65rem 0.9rem;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-round);

  background: rgba(247, 247, 243, 0.45);

  color: rgba(17, 24, 39, 0.72);

  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

/* Visual generic */

.service__visual {
  position: relative;

  width: min(100%, 31rem);
  aspect-ratio: 1.16;

  justify-self: end;

  border-radius: 2rem;

  background:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    var(--color-background);

  background-size: 38px 38px;

  overflow: hidden;
}

.service__visual::after {
  content: "";

  position: absolute;
  width: 46%;
  aspect-ratio: 1;

  border-radius: 50%;

  background: rgba(25, 179, 148, 0.12);
  filter: blur(48px);

  pointer-events: none;
}

.visual-caption {
  position: absolute;
  right: 1.1rem;
  bottom: 0.9rem;

  color: rgba(17, 24, 39, 0.32);

  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* Service alternating */

.service--systems,
.service--consulting {
  grid-template-columns:
    minmax(4rem, 0.15fr)
    minmax(22rem, 0.95fr)
    minmax(20rem, 0.85fr);
}

.service--systems .service__visual,
.service--consulting .service__visual {
  grid-column: 2;
  justify-self: start;
}

.service--systems .service__content,
.service--consulting .service__content {
  grid-column: 3;
}

/* Interface */

.service__visual--interface {
  padding: 3rem;
}

.service__visual--interface::after {
  top: -10%;
  right: -8%;
}

.interface-window {
  position: absolute;
  inset: 13% 8% 14% 8%;

  overflow: hidden;

  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 1rem;

  background: rgba(255, 255, 255, 0.88);

  box-shadow:
    0 24px 65px rgba(17, 24, 39, 0.08),
    0 6px 20px rgba(17, 24, 39, 0.04);

  transform: rotate(2deg);
  transition: transform var(--transition-medium);
}

.service:hover .interface-window {
  transform: rotate(0deg) translateY(-4px);
}

.interface-window__bar {
  height: 2.6rem;
  padding-inline: 0.9rem;

  display: flex;
  align-items: center;
  gap: 0.35rem;

  border-bottom: 1px solid var(--color-border);
}

.interface-window__bar span {
  width: 0.42rem;
  height: 0.42rem;

  border-radius: 50%;
  background: rgba(17, 24, 39, 0.18);
}

.interface-window__body {
  padding: 1rem;
}

.interface-window__nav {
  width: 36%;
  height: 0.38rem;

  margin-bottom: 1.7rem;

  border-radius: var(--radius-round);
  background: rgba(17, 24, 39, 0.1);
}

.interface-window__hero {
  min-height: 8.6rem;
  padding: 1.2rem;

  position: relative;

  border-radius: 0.75rem;

  background: var(--color-graphite);
}

.interface-window__hero span {
  display: block;

  height: 0.38rem;
  margin-bottom: 0.55rem;

  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.78);
}

.interface-window__hero span:first-child {
  width: 65%;
}

.interface-window__hero span:nth-child(2) {
  width: 42%;
}

.interface-window__hero i {
  position: absolute;
  right: 1rem;
  bottom: 1rem;

  width: 2.2rem;
  height: 2.2rem;

  border-radius: 50%;
  background: var(--color-accent);
}

.interface-window__cards {
  margin-top: 0.8rem;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.interface-window__cards span {
  min-height: 3rem;

  border: 1px solid var(--color-border);
  border-radius: 0.55rem;

  background: var(--color-surface);
}

/* Dashboard */

.service__visual--dashboard::after {
  right: -5%;
  bottom: -8%;
}

.dashboard {
  position: absolute;
  inset: 12% 8% 13% 8%;

  display: grid;
  grid-template-columns: 4.2rem 1fr;

  overflow: hidden;

  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 1rem;

  background: rgba(255, 255, 255, 0.9);

  box-shadow: 0 25px 60px rgba(17, 24, 39, 0.07);

  transform: rotate(-1.5deg);
  transition: transform var(--transition-medium);
}

.service:hover .dashboard {
  transform: rotate(0deg) translateY(-4px);
}

.dashboard__sidebar {
  padding-top: 3rem;

  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.9rem;

  background: var(--color-graphite);
}

.dashboard__sidebar span {
  width: 1.15rem;
  height: 1.15rem;

  border-radius: 0.35rem;

  background: rgba(255, 255, 255, 0.15);
}

.dashboard__sidebar span:first-child {
  background: var(--color-accent);
}

.dashboard__main {
  padding: 1rem;
}

.dashboard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard__top span {
  width: 38%;
  height: 0.36rem;

  border-radius: var(--radius-round);
  background: rgba(17, 24, 39, 0.12);
}

.dashboard__top i {
  width: 1.65rem;
  height: 1.65rem;

  border-radius: 50%;
  background: rgba(17, 24, 39, 0.08);
}

.dashboard__metrics {
  margin-top: 1.35rem;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.dashboard__metrics div {
  padding: 0.85rem;

  border: 1px solid var(--color-border);
  border-radius: 0.65rem;
}

.dashboard__metrics small {
  display: block;

  color: var(--color-muted);

  font-size: 0.47rem;
  text-transform: uppercase;
}

.dashboard__metrics strong {
  display: block;

  margin-top: 0.25rem;

  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.dashboard__chart {
  height: 8rem;
  margin-top: 1rem;
  padding: 0.75rem;

  display: flex;
  align-items: flex-end;
  gap: 0.5rem;

  border: 1px solid var(--color-border);
  border-radius: 0.65rem;
}

.dashboard__chart span {
  flex: 1;
  height: var(--h);

  border-radius: 0.25rem 0.25rem 0 0;

  background: rgba(17, 24, 39, 0.11);
}

.dashboard__chart span:nth-child(4),
.dashboard__chart span:nth-child(6) {
  background: var(--color-accent);
}

/* Flow */

.service__visual--flow::after {
  top: 25%;
  left: 35%;
}

.flow {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__node {
  position: absolute;
  z-index: 3;

  min-width: 7.2rem;
  padding: 0.85rem 1rem;

  border: 1px solid var(--color-border);
  border-radius: 0.75rem;

  background: rgba(255, 255, 255, 0.92);

  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.flow__node small {
  display: block;

  color: var(--color-muted);

  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.flow__node strong {
  display: block;

  margin-top: 0.22rem;

  font-size: 0.75rem;
  font-weight: 600;
}

.flow__node--start {
  top: 18%;
  left: 9%;
}

.flow__node--rule {
  top: 43%;
  left: 38%;

  border-color: rgba(25, 179, 148, 0.45);
}

.flow__node--rule::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;

  width: 65%;
  aspect-ratio: 1;

  border-radius: 50%;

  background: rgba(25, 179, 148, 0.14);
  filter: blur(25px);

  transform: translate(-50%, -50%);
  z-index: -1;
}

.flow__node--result {
  right: 8%;
  bottom: 17%;

  background: var(--color-graphite);
  color: #fff;
}

.flow__node--result small {
  color: rgba(255, 255, 255, 0.5);
}

.flow__node--result strong {
  color: var(--color-accent);
}

.flow__line {
  position: absolute;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      rgba(17, 24, 39, 0.14),
      var(--color-accent),
      rgba(17, 24, 39, 0.14)
    );
}

.flow__line span {
  position: absolute;
  top: 50%;

  width: 0.4rem;
  height: 0.4rem;

  border-radius: 50%;
  background: var(--color-accent);

  transform: translateY(-50%);

  animation: service-flow 3s ease-in-out infinite;
}

.flow__line--one {
  top: 38%;
  left: 28%;

  width: 31%;

  transform: rotate(25deg);
}

.flow__line--two {
  top: 61%;
  left: 54%;

  width: 29%;

  transform: rotate(23deg);
}

.flow__line--two span {
  animation-delay: 1.5s;
}

/* Decision */

.service__visual--decision::after {
  top: 18%;
  right: 15%;
}

.decision-map {
  position: absolute;
  inset: 0;
}

.decision-map svg {
  position: absolute;
  inset: 15% 8%;

  width: 84%;
  height: 70%;
}

.decision-map__path {
  fill: none;
  stroke-width: 1.3;
}

.decision-map__path--muted {
  stroke: rgba(17, 24, 39, 0.12);
  stroke-dasharray: 5 5;
}

.decision-map__path--active {
  stroke: var(--color-accent);
  stroke-width: 2;
}

.decision-map__origin {
  position: absolute;
  top: 50%;
  left: 10%;

  width: 0.75rem;
  height: 0.75rem;

  border: 2px solid var(--color-surface);
  border-radius: 50%;

  background: var(--color-graphite);

  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.15);

  transform: translateY(-50%);
  z-index: 4;
}

.decision-map__point {
  position: absolute;

  width: 0.5rem;
  height: 0.5rem;

  border-radius: 50%;
  background: rgba(17, 24, 39, 0.3);
}

.decision-map__point--a {
  top: 23%;
  left: 46%;
}

.decision-map__point--b {
  bottom: 23%;
  left: 46%;
}

.decision-map__solution {
  position: absolute;
  top: 50%;
  right: 8%;

  min-width: 8rem;
  padding: 0.9rem 1rem;

  border-radius: 0.8rem;

  background: var(--color-graphite);
  color: #fff;

  transform: translateY(-50%);
  z-index: 4;
}

.decision-map__solution small {
  display: block;

  color: rgba(255, 255, 255, 0.48);

  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.decision-map__solution strong {
  display: block;

  margin-top: 0.3rem;

  color: var(--color-accent);

  font-size: 0.75rem;
  font-weight: 600;
}

/* Footer */

.services__footer {
  padding-top: clamp(4rem, 7vw, 7rem);

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.services__footer p {
  max-width: 39rem;
  margin: 0;

  color: var(--color-muted);

  font-size: clamp(1.35rem, 2.2vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.services__footer p strong {
  color: var(--color-graphite);
  font-weight: 500;
}

/* Animations */

@keyframes service-flow {
  0% {
    left: 0;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Responsive */

@media (max-width: 1050px) {
  .services__header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service,
  .service--systems,
  .service--consulting {
    grid-template-columns: 3rem 1fr;
    gap: 2rem 2.5rem;
  }

  .service__number {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .service__content,
  .service--systems .service__content,
  .service--consulting .service__content {
    grid-column: 2;
    grid-row: 1;
  }

  .service__visual,
  .service--systems .service__visual,
  .service--consulting .service__visual {
    grid-column: 2;
    grid-row: 2;

    width: min(100%, 35rem);

    justify-self: start;
  }
}

@media (max-width: 680px) {
  .works__list {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .project--offset {
    margin-top: 0;
  }

  .services {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .services__header {
    margin-bottom: 4.5rem;
  }

  .services__heading h2 {
    max-width: 100%;

    font-size: clamp(2.7rem, 12vw, 4rem);
    line-height: 1;
  }

  .services__heading p {
    margin-top: 1.8rem;

    font-size: 0.95rem;
    line-height: 1.65;
  }

  .service,
  .service--systems,
  .service--consulting {
    min-height: auto;
    padding: 4rem 0;

    grid-template-columns: 1fr;
    gap: 2.3rem;
  }

  .service__number,
  .service__content,
  .service__visual,
  .service--systems .service__content,
  .service--systems .service__visual,
  .service--consulting .service__content,
  .service--consulting .service__visual {
    grid-column: 1;
    grid-row: auto;
  }

  .service__number {
    margin-bottom: -0.7rem;
  }

  .service h3 {
    max-width: 100%;

    font-size: clamp(2rem, 9vw, 3rem);
  }

  .service__visual,
  .service--systems .service__visual,
  .service--consulting .service__visual {
    width: 100%;
    justify-self: stretch;

    border-radius: 1.4rem;
  }

  .service__tags {
    margin-top: 1.8rem;
  }

  .service__tags li {
    padding: 0.58rem 0.75rem;

    font-size: 0.62rem;
  }

  .services__footer {
    padding-top: 4.5rem;

    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .services__footer p {
    font-size: clamp(1.35rem, 6.5vw, 1.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow__line span {
    animation: none;
  }

  .service:hover .interface-window,
  .service:hover .dashboard {
    transform: none;
  }
}

@media (max-width: 1050px) {
  .service__number {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .service__content,
  .service--systems .service__content,
  .service--consulting .service__content {
    grid-column: 2;
    grid-row: 1;
  }

  .service__visual,
  .service--systems .service__visual,
  .service--consulting .service__visual {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 680px) {
  .service__number {
    grid-column: 1;
    grid-row: 1;
  }

  .service__content,
  .service--systems .service__content,
  .service--consulting .service__content {
    grid-column: 1;
    grid-row: 2;
  }

  .service__visual,
  .service--systems .service__visual,
  .service--consulting .service__visual {
    grid-column: 1;
    grid-row: 3;
  }
}

/* =========================================================
   WORKS
   ========================================================= */

.works {
  position: relative;
  overflow: hidden;

  padding:
    clamp(7rem, 12vw, 11rem)
    var(--page-gutter)
    clamp(7rem, 12vw, 11rem);

  background: var(--color-background);
}

.works__inner {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.works__header {
  margin-bottom: clamp(5rem, 10vw, 9rem);

  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
}

.works__eyebrow {
  padding-top: 0.8rem;

  display: flex;
  align-items: flex-start;
  gap: 0.75rem;

  color: var(--color-muted);

  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.works__eyebrow span {
  width: 0.48rem;
  height: 0.48rem;
  margin-top: 0.22rem;

  flex: 0 0 auto;

  border-radius: 50%;
  background: var(--color-accent);
}

.works__heading h2 {
  max-width: 11ch;
  margin: 0;

  font-size: clamp(3.2rem, 5.4vw, 6.3rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.works__heading p {
  max-width: 38rem;
  margin: clamp(2rem, 4vw, 3.3rem) 0 0;

  color: var(--color-muted);

  font-size: clamp(1rem, 1.2vw, 1.1rem);
  letter-spacing: -0.025em;
  line-height: 1.7;
}

/* Projects */

.works__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:
    clamp(4.5rem, 7vw, 7rem)
    clamp(2rem, 4vw, 4rem);
}

.project {
  width: 100%;
}

.project--offset {
  width: 100%;
  align-self: auto;
  margin-top: clamp(3rem, 5vw, 5rem);
}

.project__topline {
  margin-bottom: 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  color: rgba(17, 24, 39, 0.42);

  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project__media {
  position: relative;
  display: block;

  transition: transform var(--transition-medium);
}

.project-browser {
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 1.15rem;

  background: var(--color-surface);

  box-shadow:
    0 35px 90px rgba(17, 24, 39, 0.07),
    0 8px 30px rgba(17, 24, 39, 0.035);

  transition:
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project__media:hover .project-browser {
  transform: translateY(-7px);

  box-shadow:
    0 48px 110px rgba(17, 24, 39, 0.11),
    0 12px 34px rgba(17, 24, 39, 0.05);
}

.project-browser__bar {
  position: relative;

  min-height: 3.6rem;
  padding-inline: 1.2rem;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  border-bottom: 1px solid var(--color-border);

  background: rgba(255, 255, 255, 0.95);
}

.project-browser__controls {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.project-browser__controls span {
  width: 0.48rem;
  height: 0.48rem;

  border-radius: 50%;
  background: rgba(17, 24, 39, 0.15);
}

.project-browser__controls span:last-child {
  background: var(--color-accent);
}

.project-browser__url {
  color: rgba(17, 24, 39, 0.46);

  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.project-browser__index {
  justify-self: end;

  color: rgba(17, 24, 39, 0.32);

  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* Placeholder */

.project-placeholder {
  position: relative;

  aspect-ratio: 16 / 10;
  overflow: hidden;

  display: grid;
  place-items: center;

  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(25, 179, 148, 0.18),
      transparent 30%
    ),
    var(--color-surface);
}

.project-placeholder--dark {
  background:
    radial-gradient(
      circle at 25% 75%,
      rgba(25, 179, 148, 0.27),
      transparent 30%
    ),
    var(--color-graphite);

  color: #fff;
}

.project-placeholder--system {
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(25, 179, 148, 0.14),
      transparent 26%
    ),
    #eef0ed;
}

.project-placeholder__grid {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(17, 24, 39, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(17, 24, 39, 0.045) 1px,
      transparent 1px
    );

  background-size: 44px 44px;

  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #000 15%,
      #000 85%,
      transparent
    );
}

.project-placeholder--dark .project-placeholder__grid {
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px
    );

  background-size: 44px 44px;
}

.project-placeholder__content {
  position: relative;
  z-index: 2;

  text-align: center;

  transition:
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project__media:hover .project-placeholder__content {
  transform: scale(1.025);
}

.project-placeholder__content > span {
  display: block;

  margin-bottom: 1rem;

  color: var(--color-accent);

  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.project-placeholder__content strong {
  display: block;

  font-size: clamp(2.2rem, 5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}

.project-placeholder__content small {
  display: block;

  margin-top: 1rem;

  color: var(--color-muted);

  font-size: 0.62rem;
  font-weight: 500;
}

.project-placeholder--dark .project-placeholder__content small {
  color: rgba(255, 255, 255, 0.45);
}

/* Project footer */

.project__footer {
  padding-top: 1.6rem;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.project__footer h3 {
  margin: 0;

  font-size: clamp(1.55rem, 2.4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.project__footer p {
  margin: 0.5rem 0 0;

  color: var(--color-muted);

  font-size: 0.75rem;
  font-weight: 500;
}

.project__link {
  position: relative;

  padding-bottom: 0.5rem;

  display: inline-flex;
  align-items: center;
  gap: 0.7rem;

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.project__link::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 1px;

  background: var(--color-graphite);

  transform: scaleX(0.18);
  transform-origin: left;

  transition: transform var(--transition-medium);
}

.project__link:hover::after {
  transform: scaleX(1);
}

.project__link span {
  transition: transform var(--transition-medium);
}

.project__link:hover span {
  transform: rotate(45deg);
}

/* Responsive */

@media (max-width: 900px) {
  .works__header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .project--offset {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .works {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .works__header {
    margin-bottom: 4.5rem;
  }

  .works__heading h2 {
    max-width: 100%;

    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .works__heading p {
    margin-top: 1.8rem;

    font-size: 0.95rem;
  }

  .works__list {
    gap: 6rem;
  }

  .project,
  .project--offset {
    width: 100%;
  }

  .project__topline span:last-child {
    display: none;
  }

  .project-browser {
    border-radius: 0.85rem;
  }

  .project-browser__bar {
    min-height: 3rem;
    padding-inline: 0.85rem;
  }

  .project-browser__url {
    max-width: 11rem;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .project-placeholder {
    aspect-ratio: 4 / 3;
  }

  .project-placeholder__content strong {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .project__footer {
    padding-top: 1.3rem;

    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .project__footer h3 {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-browser,
  .project-placeholder__content,
  .project__link span {
    transition: none;
  }

  .project__media:hover .project-browser,
  .project__media:hover .project-placeholder__content {
    transform: none;
  }
}

/* =========================================================
   HOW I WORK
   ========================================================= */

.workflow {
  position: relative;
  overflow: hidden;

  padding:
    clamp(7rem, 12vw, 11rem)
    var(--page-gutter)
    clamp(8rem, 13vw, 12rem);

  background: var(--color-graphite);
  color: #fff;
}

.workflow::before {
  content: "";

  position: absolute;
  top: -18rem;
  left: -16rem;

  width: 38rem;
  aspect-ratio: 1;

  border-radius: 50%;

  background: rgba(25, 179, 148, 0.07);
  filter: blur(90px);

  pointer-events: none;
}

.workflow::after {
  content: "";

  position: absolute;
  right: -12rem;
  bottom: 10%;

  width: 30rem;
  aspect-ratio: 1;

  border-radius: 50%;

  background: rgba(25, 179, 148, 0.045);
  filter: blur(90px);

  pointer-events: none;
}

.workflow__inner {
  position: relative;
  z-index: 2;

  width: min(100%, var(--container));
  margin-inline: auto;

  display: grid;
  grid-template-columns: minmax(20rem, 0.85fr) minmax(28rem, 1.15fr);
  gap: clamp(5rem, 10vw, 11rem);
}

.workflow__intro {
  position: sticky;
  top: 5rem;

  height: fit-content;
}

.workflow__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);

  color: rgba(255, 255, 255, 0.48);

  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.workflow__eyebrow span {
  width: 0.48rem;
  height: 0.48rem;

  border-radius: 50%;
  background: var(--color-accent);

  box-shadow: 0 0 0 5px rgba(25, 179, 148, 0.08);
}

.workflow__intro h2 {
  max-width: 8.4ch;
  margin: 0;

  font-size: clamp(3.3rem, 5.3vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.workflow__intro h2 span {
  display: block;
  color: var(--color-accent);
}

.workflow__lead {
  max-width: 32rem;

  margin: clamp(2.3rem, 4vw, 3.5rem) 0 0;

  color: rgba(255, 255, 255, 0.56);

  font-size: clamp(1rem, 1.25vw, 1.15rem);
  letter-spacing: -0.025em;
  line-height: 1.7;
}

.workflow__signature {
  margin-top: clamp(3rem, 6vw, 5.5rem);

  display: flex;
  align-items: center;
  gap: 0.75rem;

  color: rgba(255, 255, 255, 0.27);

  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.workflow__signature i {
  width: 3rem;
  height: 1px;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.12),
    var(--color-accent)
  );
}

/* Journey */

.workflow__journey {
  position: relative;

  padding-left: clamp(3rem, 6vw, 5.5rem);
}

.workflow__rail {
  position: absolute;
  top: 0;
  bottom: 4rem;
  left: 0.45rem;

  width: 1px;
}

.workflow__rail-base,
.workflow__rail-progress {
  position: absolute;
  inset: 0;

  display: block;
}

.workflow__rail-base {
  background: rgba(255, 255, 255, 0.13);
}

.workflow__rail-progress {
  background: linear-gradient(
    to bottom,
    var(--color-accent),
    rgba(25, 179, 148, 0.7)
  );

  transform: scaleY(0);
  transform-origin: top;

  transition:
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow.is-visible .workflow__rail-progress {
  transform: scaleY(1);
}

/* Items */

.workflow-item {
  position: relative;

  min-height: 18rem;
  padding: 0 0 clamp(5rem, 8vw, 8rem);

  opacity: 0.42;

  transform: translateY(22px);

  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.workflow-item--last {
  padding-bottom: 3rem;
}

.workflow-item__node {
  position: absolute;

  top: 0.55rem;
  left: calc(clamp(3rem, 6vw, 5.5rem) * -1 - 0.45rem);

  width: 0.95rem;
  height: 0.95rem;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;

  background: var(--color-graphite);

  transform: translateX(-50%);

  transition:
    border-color 500ms ease,
    box-shadow 500ms ease;
}

.workflow-item__node span {
  width: 0.32rem;
  height: 0.32rem;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);

  transition:
    background 500ms ease,
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-item.is-active .workflow-item__node {
  border-color: rgba(25, 179, 148, 0.6);

  box-shadow:
    0 0 0 6px rgba(25, 179, 148, 0.06),
    0 0 28px rgba(25, 179, 148, 0.18);
}

.workflow-item.is-active .workflow-item__node span {
  background: var(--color-accent);
  transform: scale(1.2);
}

.workflow-item__content {
  max-width: 40rem;
}

.workflow-item__meta {
  margin-bottom: 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  color: rgba(255, 255, 255, 0.35);

  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-item__meta small {
  font: inherit;
  color: rgba(25, 179, 148, 0.7);
}

.workflow-item h3 {
  max-width: 14ch;
  margin: 0;

  font-size: clamp(2rem, 3vw, 3.45rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.workflow-item p {
  max-width: 36rem;

  margin: 1.5rem 0 0;

  color: rgba(255, 255, 255, 0.54);

  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  letter-spacing: -0.02em;
  line-height: 1.75;
}

/* Channels */

.workflow-item__channels {
  margin-top: 2rem;

  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.workflow-item__channels span {
  padding: 0.55rem 0.75rem;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-round);

  color: rgba(255, 255, 255, 0.55);

  font-size: 0.6rem;
  font-weight: 500;
}

/* Problem solving signal */

.workflow-item__signal {
  margin-top: 2rem;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;

  color: rgba(255, 255, 255, 0.42);

  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.workflow-item__signal > span:first-child {
  width: 0.4rem;
  height: 0.4rem;

  border-radius: 50%;
  background: var(--color-accent);

  box-shadow: 0 0 0 4px rgba(25, 179, 148, 0.08);
}

.workflow-item__signal i {
  color: rgba(25, 179, 148, 0.6);
  font-style: normal;
}

/* Growth */

.workflow-item__growth {
  height: 3rem;
  margin-top: 2rem;

  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
}

.workflow-item__growth span {
  width: 2.5rem;

  border-radius: 0.2rem 0.2rem 0 0;

  background: rgba(255, 255, 255, 0.08);

  transform-origin: bottom;

  transition:
    height 900ms cubic-bezier(0.16, 1, 0.3, 1),
    background 900ms ease;
}

.workflow-item__growth span:nth-child(1) {
  height: 20%;
}

.workflow-item__growth span:nth-child(2) {
  height: 36%;
}

.workflow-item__growth span:nth-child(3) {
  height: 57%;
}

.workflow-item__growth span:nth-child(4) {
  height: 82%;
}

.workflow-item.is-active .workflow-item__growth span:nth-child(4) {
  background: var(--color-accent);
}

/* Continuation */

.workflow__continuation {
  position: relative;

  margin-top: 1.5rem;

  display: flex;
  align-items: center;
  gap: 0.8rem;

  color: rgba(255, 255, 255, 0.26);

  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow__continuation > span {
  width: 0.45rem;
  height: 0.45rem;

  border-radius: 50%;

  background: var(--color-accent);

  box-shadow:
    0 0 0 5px rgba(25, 179, 148, 0.06),
    0 0 20px rgba(25, 179, 148, 0.12);
}

/* Responsive */

@media (max-width: 960px) {
  .workflow__inner {
    grid-template-columns: 1fr;
    gap: 6rem;
  }

  .workflow__intro {
    position: static;
  }

  .workflow__intro h2 {
    max-width: 9ch;
  }

  .workflow__lead {
    max-width: 38rem;
  }

  .workflow__journey {
    max-width: 44rem;
  }
}

@media (max-width: 680px) {
  .workflow {
    padding-top: 6rem;
    padding-bottom: 7rem;
  }

  .workflow__inner {
    gap: 4.5rem;
  }

  .workflow__intro h2 {
    max-width: 100%;

    font-size: clamp(3rem, 13vw, 4.3rem);
  }

  .workflow__lead {
    margin-top: 2rem;

    font-size: 0.96rem;
  }

  .workflow__signature {
    margin-top: 3rem;
  }

  .workflow__journey {
    padding-left: 2.4rem;
  }

  .workflow__rail {
    left: 0.35rem;
  }

  .workflow-item {
    min-height: auto;
    padding-bottom: 5rem;
  }

  .workflow-item__node {
    left: calc(-2.4rem - 0.35rem);
  }

  .workflow-item h3 {
    max-width: 100%;

    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .workflow-item p {
    font-size: 0.94rem;
  }

  .workflow-item__meta {
    margin-bottom: 1.2rem;
  }

  .workflow-item__channels {
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow__rail-progress {
    transform: scaleY(1);
    transition: none;
  }

  .workflow-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .workflow-item__node,
  .workflow-item__node span,
  .workflow-item__growth span {
    transition: none;
  }
}

/* =========================================================
   ABOUT
   ========================================================= */

.about {
  position: relative;
  overflow: hidden;

  padding:
    clamp(7rem, 12vw, 11rem)
    var(--page-gutter)
    clamp(7rem, 12vw, 11rem);

  background: var(--color-background);
}

.about::before {
  content: "";

  position: absolute;
  top: -8rem;
  right: -10rem;

  width: 30rem;
  aspect-ratio: 1;

  border-radius: 50%;

  background: rgba(25, 179, 148, 0.08);
  filter: blur(80px);

  pointer-events: none;
}

.about__inner {
  position: relative;
  z-index: 2;

  width: min(100%, var(--container));
  margin-inline: auto;
}

.about__eyebrow {
  margin-bottom: clamp(3.5rem, 7vw, 6rem);

  display: flex;
  align-items: center;
  gap: 0.75rem;

  color: var(--color-muted);

  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about__eyebrow span {
  width: 0.48rem;
  height: 0.48rem;

  border-radius: 50%;
  background: var(--color-accent);
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(24rem, 0.88fr) minmax(30rem, 1.12fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: start;
}

/* Visual */

.about__visual {
  position: relative;
}

.about-photo {
  position: relative;

  aspect-ratio: 0.82;
  overflow: hidden;

  border-radius: 1.8rem;

  background:
    radial-gradient(
      circle at 70% 20%,
      rgba(25, 179, 148, 0.18),
      transparent 30%
    ),
    #e9ebe7;

  box-shadow:
    0 35px 90px rgba(17, 24, 39, 0.08),
    0 8px 28px rgba(17, 24, 39, 0.04);
}

.about-photo::after {
  content: "";

  position: absolute;
  inset: 0;

  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: inherit;

  pointer-events: none;
}

.about-photo__grid {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(17, 24, 39, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(17, 24, 39, 0.045) 1px,
      transparent 1px
    );

  background-size: 46px 46px;

  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #000 14%,
      #000 86%,
      transparent
    );
}



.about__caption {
  margin-top: 1rem;

  color: rgba(17, 24, 39, 0.42);

  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Content */

.about__content {
  padding-top: clamp(1rem, 4vw, 3rem);
}

.about__intro {
  margin: 0 0 1.6rem;

  color: var(--color-muted);

  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.about__content h2 {
  max-width: 12ch;
  margin: 0;

  font-size: clamp(3rem, 5.1vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.about__content h2 span {
  display: block;
  color: var(--color-muted);
}

.about__copy {
  max-width: 41rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);

  display: grid;
  gap: 1.3rem;
}

.about__copy p {
  margin: 0;

  color: var(--color-muted);

  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  letter-spacing: -0.02em;
  line-height: 1.75;
}

.about__themes {
  margin-top: clamp(2.7rem, 5vw, 4rem);

  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about__themes span {
  padding: 0.65rem 0.9rem;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-round);

  background: rgba(255, 255, 255, 0.55);

  color: rgba(17, 24, 39, 0.7);

  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

/* Responsive */

@media (max-width: 980px) {
  .about__layout {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

  .about__visual {
    width: min(100%, 36rem);
  }

  .about__content {
    max-width: 48rem;
    padding-top: 0;
  }

  .about__content h2 {
    max-width: 11ch;
  }
}

@media (max-width: 680px) {
  .about {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .about__eyebrow {
    margin-bottom: 3.5rem;
  }

  .about__layout {
    gap: 3.5rem;
  }

  .about__visual {
    width: 100%;
  }

  .about-photo {
    border-radius: 1.3rem;
  }

  .about__content h2 {
    max-width: 100%;

    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .about__copy {
    margin-top: 2rem;
  }

  .about__copy p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .about__themes {
    margin-top: 2.3rem;
  }
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  position: relative;
  overflow: hidden;

  padding:
    clamp(7rem, 12vw, 11rem)
    var(--page-gutter)
    clamp(3rem, 5vw, 4rem);

  background: var(--color-graphite);
  color: #fff;
}

.contact::before {
  content: "";

  position: absolute;
  top: -18rem;
  right: -14rem;

  width: 42rem;
  aspect-ratio: 1;

  border-radius: 50%;

  background: rgba(25, 179, 148, 0.16);
  filter: blur(110px);

  pointer-events: none;
}

.contact::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 54px 54px;

  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #000 20%,
      #000 100%
    );

  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 2;

  width: min(100%, var(--container));
  margin-inline: auto;
}

.contact__status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;

  margin-bottom: clamp(4rem, 8vw, 7rem);

  color: rgba(255, 255, 255, 0.48);

  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__status span {
  width: 0.48rem;
  height: 0.48rem;

  border-radius: 50%;
  background: var(--color-accent);

  box-shadow:
    0 0 0 6px rgba(25, 179, 148, 0.08),
    0 0 22px rgba(25, 179, 148, 0.22);
}

.contact__content {
  max-width: 68rem;
}

.contact__eyebrow {
  margin: 0 0 2rem;

  color: rgba(255, 255, 255, 0.4);

  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact__content h2 {
  max-width: 12ch;
  margin: 0;

  font-size: clamp(3.4rem, 6vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.contact__content h2 span {
  display: block;
  color: var(--color-accent);
}

.contact__lead {
  max-width: 42rem;

  margin: clamp(2.4rem, 4vw, 3.5rem) 0 0;

  color: rgba(255, 255, 255, 0.56);

  font-size: clamp(1rem, 1.25vw, 1.15rem);
  letter-spacing: -0.025em;
  line-height: 1.7;
}

.contact__actions {
  margin-top: clamp(3rem, 5vw, 4.5rem);

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.contact__primary {
  min-height: 4.4rem;
  padding: 0.55rem 0.6rem 0.55rem 1.6rem;

  display: inline-flex;
  align-items: center;
  gap: 1.8rem;

  border-radius: var(--radius-round);

  background: var(--color-accent);
  color: var(--color-graphite);

  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.025em;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.contact__primary i {
  width: 3.1rem;
  height: 3.1rem;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--color-graphite);
  color: #fff;

  font-style: normal;
  font-size: 1rem;

  transition: transform var(--transition-medium);
}

.contact__primary:hover {
  transform: translateY(-3px);

  box-shadow:
    0 18px 40px rgba(25, 179, 148, 0.18);
}

.contact__primary:hover i {
  transform: rotate(45deg);
}

.contact__secondary {
  position: relative;

  padding-bottom: 0.55rem;

  display: inline-flex;
  align-items: center;
  gap: 0.75rem;

  color: rgba(255, 255, 255, 0.8);

  font-size: 0.85rem;
  font-weight: 600;
}

.contact__secondary::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 1px;

  background: rgba(255, 255, 255, 0.4);

  transform: scaleX(0.18);
  transform-origin: left;

  transition: transform var(--transition-medium);
}

.contact__secondary:hover::after {
  transform: scaleX(1);
}

/* Footer */

.contact__footer {
  margin-top: clamp(7rem, 12vw, 11rem);
  padding-top: 2rem;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact__social a {
  position: relative;

  color: rgba(255, 255, 255, 0.5);

  font-size: 0.68rem;
  font-weight: 500;

  transition: color var(--transition-fast);
}

.contact__social a:hover {
  color: #fff;
}

.contact__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;

  color: rgba(255, 255, 255, 0.28);

  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Responsive */

@media (max-width: 760px) {
  .contact {
    padding-top: 6rem;
  }

  .contact__status {
    margin-bottom: 4rem;
  }

  .contact__content h2 {
    max-width: 100%;

    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .contact__lead {
    font-size: 0.96rem;
  }

  .contact__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
  }

  .contact__primary {
    width: 100%;
    justify-content: space-between;
  }

  .contact__footer {
    margin-top: 6rem;

    align-items: flex-start;
    flex-direction: column;
    gap: 2rem;
  }

  .contact__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

.about-photo__image {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center 24%;
  transform: scale(1.22);
  transform-origin: center center;
}





.project-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: center top;

  transition:
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project__media:hover .project-image img {
  transform: scale(1.015);
}

@media (prefers-reduced-motion: reduce) {
  .project-image img {
    transition: none;
  }

  .project__media:hover .project-image img {
    transform: none;
  }
}


/* =========================================================
   FINAL ADJUSTMENTS — HERO + ABOUT
   ========================================================= */

/* Hero: asegurar que 03 / Construir quede visible antes del output */

.process-axis {
  top: 42%;
  height: 22%;
}

.process-step--one {
  top: 0%;
}

.process-step--two {
  top: 45%;
}

.process-step--three {
  top: 82%;
}

/* Sobre mí — trabajo remoto / alcance internacional */

.about__remote {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;

  border-top: 1px solid var(--color-border);
}

.about__remote-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;

  color: var(--color-muted);

  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about__remote-label > span {
  width: 0.45rem;
  height: 0.45rem;

  border-radius: 50%;

  background: var(--color-accent);

  box-shadow:
    0 0 0 5px rgba(25, 179, 148, 0.08);
}

.about__countries {
  margin-top: 1.15rem;

  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about__countries > span {
  min-height: 2.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.5rem;

  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-round);

  background: rgba(255, 255, 255, 0.5);

  color: rgba(17, 24, 39, 0.72);

  font-size: 0.68rem;
  font-weight: 500;
}

.about__countries i {
  width: 1.55rem;
  height: 1.55rem;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--color-graphite);
  color: #fff;

  font-style: normal;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 680px) {
  .about__remote {
    margin-top: 2.3rem;
  }

  .about__countries {
    gap: 0.45rem;
  }

  .about__countries > span {
    font-size: 0.64rem;
  }
}

/* =========================================================
   ACCESSIBILITY — CONTRAST
   ========================================================= */

.service__number,
.project__topline,
.project-browser__url,
.project-browser__index {
  color: var(--color-muted);
}
