:root {
  --ink: #14213d;
  --ink-2: #263754;
  --coral: #ff5c5c;
  --coral-soft: #ff8a82;
  --cyan: #37d5d3;
  --canvas: #f7f5ef;
  --paper: #fffdf8;
  --muted: #697284;
  --line: rgba(20, 33, 61, 0.14);
  --radius: 28px;
  --shadow: 0 28px 80px rgba(20, 33, 61, 0.1);
  --scene-progress: 0;
  --word-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 30%, rgba(55, 213, 211, 0.07), transparent 26rem),
    radial-gradient(circle at 91% 62%, rgba(255, 92, 92, 0.08), transparent 30rem),
    var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.34;
  background-image: linear-gradient(rgba(20, 33, 61, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 33, 61, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(247, 245, 239, 0.76);
  box-shadow: 0 12px 44px rgba(20, 33, 61, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: box-shadow 200ms ease, background 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 239, 0.94);
  box-shadow: 0 16px 54px rgba(20, 33, 61, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-dot,
.word-dot {
  color: var(--coral);
}

nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  font-size: 0.89rem;
  font-weight: 650;
}

nav a:not(.nav-cta) {
  opacity: 0.72;
  transition: opacity 180ms ease;
}

nav a:not(.nav-cta):hover {
  opacity: 1;
}

.nav-cta {
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  color: white;
  background: var(--ink);
}

.materialization {
  position: relative;
  height: 330vh;
}

.scene-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(55, 213, 211, 0.14), transparent 22rem),
    radial-gradient(circle at 50% 72%, rgba(255, 92, 92, 0.1), transparent 24rem),
    var(--canvas);
}

.scene-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.28;
  background-image: radial-gradient(rgba(20, 33, 61, 0.14) 0.7px, transparent 0.7px);
  background-size: 19px 19px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.scene-stage::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 3;
  height: clamp(150px, 24vh, 260px);
  content: "";
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(247, 245, 239, 0) 0%,
    rgba(247, 245, 239, 0.18) 24%,
    rgba(247, 245, 239, 0.72) 66%,
    var(--canvas) 94%
  );
}

.scene-copy {
  position: absolute;
  z-index: 3;
  top: 14vh;
  left: 50%;
  width: min(90%, 620px);
  text-align: center;
  transform: translateX(-50%);
  opacity: calc(1 - var(--scene-progress) * 4);
}

.scene-copy p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.scene-copy strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 680;
  letter-spacing: -0.025em;
}

.brain-wrap {
  position: absolute;
  z-index: 2;
  top: 22vh;
  left: 50%;
  width: clamp(205px, 25vw, 315px);
  transform: translate(-50%, calc(var(--scene-progress) * -110px)) scale(calc(1 - var(--scene-progress) * 0.32));
  opacity: calc(1 - var(--scene-progress) * 1.35);
  filter: drop-shadow(0 24px 34px rgba(20, 33, 61, 0.14));
}

.brain-outline,
.brain-fold {
  stroke: var(--ink);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brain-fold {
  stroke-width: 6;
  opacity: 0.7;
}

.brain-nodes circle {
  fill: var(--coral);
  stroke: var(--canvas);
  stroke-width: 4;
  animation: node-pulse 2.4s ease-in-out infinite;
}

.brain-nodes circle:nth-child(2n) {
  fill: var(--cyan);
  animation-delay: 0.5s;
}

@keyframes node-pulse {
  50% {
    r: 9px;
    opacity: 0.72;
  }
}

.signal-map {
  position: absolute;
  z-index: 1;
  top: 37vh;
  left: 50%;
  width: min(46vw, 440px);
  height: 66vh;
  min-height: 470px;
  overflow: visible;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
}

.signal-ghost,
.signal-path,
.signal-branches path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-ghost {
  stroke: rgba(20, 33, 61, 0.08);
  stroke-width: 9;
}

.signal-path {
  stroke: url(#signalGradient);
  stroke-width: 9;
  filter: url(#glow);
}

.signal-branches {
  opacity: calc(var(--scene-progress) * 1.25);
}

.signal-branches path {
  stroke: rgba(20, 33, 61, 0.28);
  stroke-width: 4;
  stroke-dasharray: 5 13;
}

.signal-branches circle {
  fill: var(--coral);
}

.signal-spark {
  fill: white;
  stroke: var(--coral);
  stroke-width: 5;
}

.materialized-word {
  position: absolute;
  z-index: 4;
  top: 68%;
  left: 50%;
  display: flex;
  align-items: baseline;
  color: var(--ink);
  font-size: clamp(3.5rem, 9vw, 8.6rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.85;
  white-space: nowrap;
  transform: translate(-50%, calc(70px - var(--word-progress) * 70px)) scale(calc(0.82 + var(--word-progress) * 0.18));
  opacity: var(--word-progress);
  filter: blur(calc((1 - var(--word-progress)) * 12px));
}

.word-dot {
  transform: translateY(-0.02em);
}

.scene-result {
  position: absolute;
  z-index: 5;
  top: 84%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translate(-50%, 18px);
  opacity: calc(var(--word-progress) * 1.15 - 0.15);
}

.scene-result i {
  width: 24px;
  height: 1px;
  background: var(--coral);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 50%;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(20, 33, 61, 0.35);
  border-radius: 999px;
  transform: translateX(-50%);
  opacity: calc(1 - var(--scene-progress) * 8);
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: var(--coral);
  transform: translateX(-50%);
  animation: scroll-cue 1.7s ease-in-out infinite;
}

@keyframes scroll-cue {
  65% {
    transform: translate(-50%, 16px);
    opacity: 0;
  }
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.statement {
  display: grid;
  min-height: 90vh;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: 9rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.statement h1,
.section-heading h2,
.timeline h2,
.fit-copy h2,
.contact-copy h2 {
  margin: 1rem 0 1.4rem;
  font-size: clamp(3.2rem, 6.2vw, 6.1rem);
  font-weight: 770;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.motion-word {
  display: inline-block;
  transform-origin: center bottom;
  animation: word-drift 4.4s cubic-bezier(0.45, 0, 0.25, 1) infinite alternate;
  will-change: transform;
}

.motion-word-late {
  animation-delay: -2.2s;
}

@keyframes word-drift {
  0%,
  18% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  82%,
  100% {
    transform: translate3d(0, -0.09em, 0) rotate(-0.45deg);
  }
}

.statement-copy > p {
  max-width: 610px;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.14rem;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 14px;
  font-weight: 760;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 15px 32px rgba(20, 33, 61, 0.2);
}

.button-primary:hover {
  background: #1c2d50;
  box-shadow: 0 20px 40px rgba(20, 33, 61, 0.26);
}

.statement-orbit {
  position: relative;
  width: min(100%, 490px);
  aspect-ratio: 1;
  max-width: 490px;
  margin-inline: auto;
}

.orbit {
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(20, 33, 61, 0.25);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}

.orbit-two {
  inset: 23%;
  border-style: solid;
  border-color: rgba(255, 92, 92, 0.28);
  animation-direction: reverse;
  animation-duration: 16s;
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 6px solid var(--canvas);
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-sizing: content-box;
}

.orbit::before {
  top: 5%;
  left: 18%;
}

.orbit::after {
  right: 8%;
  bottom: 14%;
  background: var(--coral);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.orbit-center {
  position: absolute;
  inset: 36%;
  display: grid;
  border-radius: 34%;
  place-items: center;
  background: var(--ink);
  box-shadow: 0 25px 60px rgba(20, 33, 61, 0.25);
  transform: rotate(12deg);
}

.orbit-center span {
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
}

.orbit-label {
  position: absolute;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 25px rgba(20, 33, 61, 0.08);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  backdrop-filter: blur(8px);
  will-change: transform;
}

.orbit-label-a {
  top: 8%;
  right: 13%;
  animation: label-float-a 5.8s ease-in-out infinite alternate;
}

.orbit-label-b {
  top: 53%;
  left: 0;
  animation: label-float-b 6.4s ease-in-out -1.7s infinite alternate;
}

.orbit-label-c {
  right: 8%;
  bottom: 8%;
  animation: label-float-c 5.2s ease-in-out -2.4s infinite alternate;
}

@keyframes label-float-a {
  0% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  100% {
    transform: translate3d(-24px, 16px, 0) rotate(2deg);
  }
}

@keyframes label-float-b {
  0% {
    transform: translate3d(0, 0, 0) rotate(1deg);
  }

  100% {
    transform: translate3d(22px, -18px, 0) rotate(-2deg);
  }
}

@keyframes label-float-c {
  0% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  100% {
    transform: translate3d(-20px, -17px, 0) rotate(2deg);
  }
}

.services {
  padding-block: 7rem 10rem;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 4rem;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-swipe-hint {
  display: none;
}

.service-card {
  position: relative;
  min-height: 320px;
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  border-color: rgba(255, 92, 92, 0.48);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-card:nth-child(2),
.service-card:nth-child(3) {
  background: rgba(20, 33, 61, 0.04);
}

.service-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 0 3rem;
  border-radius: 22px;
  color: white;
  background: var(--ink);
  font-size: 1.8rem;
  place-items: center;
}

.service-card:nth-child(2) .service-icon,
.service-card:nth-child(4) .service-icon {
  color: var(--ink);
  background: var(--coral);
}

.service-card h3,
.method-step h3 {
  margin: 0 0 0.65rem;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.service-card p,
.method-step p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
}

.method {
  color: white;
  background: var(--ink);
  border-radius: 50px 50px 0 0;
}

.method-inner {
  padding-block: 8rem 9rem;
}

.section-heading.light h2 {
  max-width: 970px;
}

.method-track {
  position: relative;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.method-current {
  position: absolute;
  top: -4px;
  right: 0;
  left: 0;
  z-index: 0;
  height: 8px;
  overflow: hidden;
  pointer-events: none;
}

.method-current::after {
  position: absolute;
  top: 2px;
  left: 0;
  width: 19%;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(55, 213, 211, 0.7) 24%,
    #dfffff 48%,
    #ffffff 53%,
    var(--coral) 72%,
    transparent 100%
  );
  box-shadow:
    0 0 7px rgba(55, 213, 211, 0.9),
    0 0 14px rgba(255, 92, 92, 0.7),
    0 0 24px rgba(255, 255, 255, 0.45);
  transform: translateX(-110%);
  animation: electric-current 2.8s linear infinite;
}

@keyframes electric-current {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(635%);
  }
}

@keyframes electric-current-mobile {
  from {
    transform: translateY(-115%);
  }

  to {
    transform: translateY(635%);
  }
}

.method-step {
  position: relative;
  z-index: 1;
  padding: 2.25rem 1.6rem 1rem 0;
}

.method-step::before {
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  content: "";
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(255, 92, 92, 0.12);
}

.method-step p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

.timeline {
  display: grid;
  min-height: 90vh;
  align-items: center;
  gap: 5rem;
  padding-block: 9rem;
  grid-template-columns: 0.9fr 1.1fr;
}

.timeline h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.timeline h2 strong {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.timeline-intro > p {
  max-width: 560px;
  color: var(--muted);
}

.timeline-visual {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.75);
  box-shadow: var(--shadow);
}

.weeks,
.timeline-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.weeks span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
}

.timeline-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.timeline-line::before {
  position: absolute;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 10px;
  content: "";
  background: linear-gradient(90deg, var(--coral), var(--cyan), var(--ink));
}

.timeline-line i {
  position: relative;
  width: 16px;
  height: 16px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

.timeline-phases {
  gap: 1rem;
}

.timeline-phases div {
  display: flex;
  flex-direction: column;
}

.timeline-phases b {
  font-size: 0.93rem;
}

.timeline-phases span {
  color: var(--muted);
  font-size: 0.76rem;
}

.fit-section {
  position: relative;
  padding-block: 8rem;
  border-radius: 56px 56px 0 0;
  background: linear-gradient(180deg, #ff7773 0%, var(--coral) 150px, var(--coral) 100%);
  box-shadow: 0 -28px 70px rgba(255, 92, 92, 0.14);
}

.fit-grid {
  display: grid;
  align-items: start;
  gap: 5rem;
  grid-template-columns: 0.85fr 1.15fr;
}

.fit-copy h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
}

.fit-list {
  display: grid;
  gap: 0.75rem;
}

.fit-option {
  display: grid;
  width: 100%;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(20, 33, 61, 0.25);
  border-radius: 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.14);
  text-align: left;
  grid-template-columns: 38px 1fr;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.fit-option:hover,
.fit-option:focus-visible {
  border-color: rgba(20, 33, 61, 0.65);
  outline: none;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.1);
  transform: translateX(7px);
}

.fit-option[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 0 15px 34px rgba(20, 33, 61, 0.15);
  transform: translateX(7px);
}

.fit-option > span {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-weight: 800;
  place-items: center;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.fit-option[aria-pressed="true"] > span {
  color: var(--ink);
  background: var(--cyan);
  transform: scale(1.08);
}

.fit-option p {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 650;
}

.fit-contact-pop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.8rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 21px;
  color: white;
  background: var(--ink);
  box-shadow: 0 24px 55px rgba(20, 33, 61, 0.2);
}

.fit-contact-pop strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.fit-contact-pop p {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 500;
}

.fit-contact-button {
  position: relative;
  isolation: isolate;
  min-width: 150px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 0;
  color: var(--ink);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(55, 213, 211, 0.16),
    0 0 20px rgba(55, 213, 211, 0.18),
    0 0 28px rgba(255, 92, 92, 0.25);
  animation: electric-button-pulse 2.2s ease-in-out infinite;
}

.fit-contact-button:hover {
  box-shadow:
    0 0 0 2px rgba(55, 213, 211, 0.6),
    0 0 25px rgba(55, 213, 211, 0.45),
    0 0 42px rgba(255, 92, 92, 0.5);
}

.fit-contact-button > span {
  position: relative;
  z-index: 2;
}

.fit-contact-button::before {
  position: absolute;
  inset: -190%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: conic-gradient(
    transparent 0deg 205deg,
    rgba(55, 213, 211, 0.9) 232deg,
    #ffffff 254deg,
    var(--coral) 278deg,
    transparent 306deg 360deg
  );
  animation: electric-border-rotate 2.2s linear infinite;
}

.fit-contact-button::after {
  position: absolute;
  inset: 2px;
  z-index: 1;
  border-radius: 12px;
  content: "";
  background: var(--coral);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.1);
  transition: background 180ms ease;
}

.fit-contact-button:hover::after {
  background: #ff7974;
}

@keyframes electric-border-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes electric-button-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(55, 213, 211, 0.16),
      0 0 16px rgba(55, 213, 211, 0.14),
      0 0 24px rgba(255, 92, 92, 0.2);
  }

  50% {
    box-shadow:
      0 0 0 2px rgba(55, 213, 211, 0.38),
      0 0 25px rgba(55, 213, 211, 0.32),
      0 0 38px rgba(255, 92, 92, 0.36);
  }
}


.contact-section {
  padding-block: 9rem;
  color: white;
  background: #0f1a31;
}

.contact-grid {
  display: grid;
  align-items: start;
  gap: clamp(4rem, 8vw, 8rem);
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-copy {
  position: sticky;
  top: 130px;
}

.contact-copy h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.62);
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.87rem;
}

.contact-note b {
  color: white;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(55, 213, 211, 0.13);
}

.idea-form {
  padding: clamp(1.35rem, 4vw, 2.8rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.idea-form label {
  display: block;
  margin-bottom: 1rem;
}

.idea-form label > span {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
}

.idea-form input,
.idea-form textarea,
.idea-form select {
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  outline: none;
  color: white;
  background: rgba(255, 255, 255, 0.07);
  transition: border 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.idea-form textarea {
  resize: vertical;
}

.idea-form input::placeholder,
.idea-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.idea-form select option {
  color: var(--ink);
}

.idea-form input:focus,
.idea-form textarea:focus,
.idea-form select:focus {
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(55, 213, 211, 0.12);
}

.idea-form .field-error {
  border-color: var(--coral);
}

.form-submit {
  width: 100%;
  margin-top: 0.35rem;
  color: var(--ink);
  background: var(--coral);
  box-shadow: none;
}

.form-submit:hover {
  background: #ff7470;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-privacy {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.7rem;
  text-align: center;
}

.idea-form .form-consent {
  display: grid;
  align-items: start;
  gap: 0.7rem;
  margin: 1rem 0 0;
  grid-template-columns: 18px 1fr;
}

.idea-form .form-consent input {
  width: 18px;
  min-height: 18px;
  margin: 0.12rem 0 0;
  accent-color: var(--coral);
}

.idea-form .form-consent > span {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.45;
}

.form-consent a {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgba(255, 92, 92, 0.7);
  text-underline-offset: 3px;
}

.form-consent input.field-error {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(55, 213, 211, 0.35);
  border-radius: 12px;
  color: #b6fffb;
  background: rgba(55, 213, 211, 0.08);
  font-size: 0.85rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-color: rgba(255, 92, 92, 0.5);
  color: #ffd7d7;
  background: rgba(255, 92, 92, 0.1);
}

.form-submit-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
}

.work-preview-section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--canvas);
}

.work-preview-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(20, 33, 61, 0.14);
  border-radius: clamp(28px, 4vw, 46px);
  background: white;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.work-preview-visual {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  color: var(--ink);
  background: var(--cyan);
}

.work-preview-browser {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--canvas);
  transform: rotate(-2deg);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.work-preview-browser-bar {
  display: flex;
  gap: 0.45rem;
  padding: 1rem 1.15rem;
  border-bottom: 2px solid var(--ink);
}

.work-preview-browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.work-preview-browser-bar i:nth-child(2) {
  background: var(--ink);
}

.work-preview-browser-bar i:nth-child(3) {
  background: white;
}

.work-preview-sites {
  display: grid;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.work-preview-sites > span {
  padding-block: 1rem;
  border-bottom: 1px solid rgba(20, 33, 61, 0.18);
  font-family: "Sora", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.5rem, 3.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.065em;
}

.work-preview-sites > span:last-child {
  border-bottom: 0;
}

.work-preview-sites span span,
.work-preview-copy h2 span {
  color: var(--coral);
}

.work-preview-current {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20%;
  width: 2px;
  background: white;
  opacity: 0.7;
  transition: left 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.work-preview-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(2.2rem, 6vw, 5.5rem);
  color: white;
  background: var(--ink);
}

.work-preview-copy h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.work-preview-copy p {
  max-width: 520px;
  margin: 1.6rem 0 2rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.work-preview-button {
  color: var(--ink);
  background: var(--coral);
}

.work-preview-button:hover {
  color: var(--ink);
  background: white;
}

.work-preview-card:hover .work-preview-browser {
  transform: rotate(0deg) translateY(-8px);
}

.work-preview-card:hover .work-preview-current {
  left: 78%;
}

footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem max(20px, calc((100% - 1180px) / 2));
  color: white;
  background: #0f1a31;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.83rem;
}

.footer-brand > span {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.footer-brand p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.45);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: white;
}

.reveal {
  transform: translateY(38px);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.projects-page {
  background:
    radial-gradient(circle at 78% 16%, rgba(55, 213, 211, 0.1), transparent 24rem),
    var(--canvas);
}

.projects-main {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 190px);
  margin: 0 auto;
  padding: clamp(10rem, 17vw, 14rem) 0 clamp(7rem, 12vw, 10rem);
}

.projects-intro {
  max-width: 940px;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.projects-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(4.2rem, 10vw, 8.5rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.projects-intro em {
  color: var(--coral);
  font-style: normal;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.project-card {
  display: block;
  color: var(--ink);
  border-radius: clamp(24px, 3vw, 38px);
  outline: 3px solid transparent;
  outline-offset: 5px;
  transition: outline-color 180ms ease;
}

.project-card:nth-child(3n) {
  grid-column: 1 / -1;
}

.project-preview {
  position: relative;
  display: grid;
  min-height: clamp(260px, 33vw, 410px);
  align-items: end;
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border: 1px solid rgba(20, 33, 61, 0.14);
  border-radius: inherit;
  background: var(--ink);
  isolation: isolate;
}

.project-preview::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38%;
  z-index: -1;
  width: 2px;
  content: "";
  background: currentColor;
  opacity: 0.16;
  transform: skewX(-20deg);
  transition: left 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.project-name {
  position: relative;
  z-index: 2;
  color: white;
  font-family: "Sora", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.07em;
  overflow-wrap: anywhere;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.project-name span {
  color: var(--coral);
}

.project-arrow {
  position: absolute;
  top: clamp(1.3rem, 3vw, 2.4rem);
  right: clamp(1.3rem, 3vw, 2.4rem);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  font-family: "Sora", "Segoe UI", Arial, sans-serif;
  font-size: 1.2rem;
  font-style: normal;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.project-card-coral .project-preview {
  color: rgba(255, 255, 255, 0.8);
  background: var(--coral);
}

.project-card-coral .project-name span {
  color: var(--ink);
}

.project-card-cyan .project-preview {
  color: rgba(20, 33, 61, 0.7);
  background: var(--cyan);
}

.project-card-cyan .project-name {
  color: var(--ink);
}

.project-card-ink .project-preview {
  color: rgba(255, 255, 255, 0.72);
}

.project-card-canvas .project-preview {
  color: rgba(20, 33, 61, 0.58);
  background: var(--canvas);
}

.project-card-canvas .project-name {
  color: var(--ink);
}

.project-card:hover .project-preview::before {
  left: 72%;
}

.project-card:hover .project-name {
  transform: translateY(-8px);
}

.project-card:hover .project-arrow,
.project-card:focus-visible .project-arrow {
  color: var(--ink);
  background: white;
  transform: rotate(8deg);
}

.project-card:focus-visible {
  outline-color: var(--cyan);
}

@media (max-width: 900px) {
  nav > a:not(.nav-cta) {
    display: none;
  }

  .statement,
  .timeline,
  .fit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .statement {
    gap: 1rem;
    padding-block: 7rem;
  }

  .statement-orbit {
    width: min(100%, 430px);
  }

  .method-track {
    gap: 0;
    border-top: 0;
    grid-template-columns: 1fr;
  }

  .method-step {
    min-height: 180px;
    padding: 2.1rem 0 2.7rem 3.2rem;
    border-top: 0;
  }

  .method-track::before {
    position: absolute;
    top: 2.45rem;
    bottom: 3.35rem;
    left: 6px;
    width: 1px;
    content: "";
    background: rgba(255, 255, 255, 0.18);
  }

  .method-current {
    inset: 2.45rem auto 3.35rem 2px;
    width: 9px;
    height: auto;
  }

  .method-current::after {
    top: 0;
    left: 3px;
    width: 3px;
    height: 19%;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(55, 213, 211, 0.7) 24%,
      #dfffff 48%,
      #ffffff 53%,
      var(--coral) 72%,
      transparent 100%
    );
    transform: translateY(-115%);
    animation-name: electric-current-mobile;
    animation-duration: 3.4s;
  }

  .method-step::before {
    top: 2.15rem;
    left: 1px;
  }

  .method-step::after {
    position: absolute;
    top: 2.48rem;
    left: 12px;
    width: 23px;
    height: 1px;
    content: "";
    background: rgba(255, 255, 255, 0.18);
  }

  .contact-copy {
    position: static;
  }

  .work-preview-card {
    grid-template-columns: 1fr;
  }

  .work-preview-visual {
    min-height: 390px;
  }
}

@media (min-width: 901px) {
  .statement {
    min-height: 0;
    padding-block: 6rem 4.5rem;
  }

  .services {
    padding-block: 4.5rem 7rem;
  }

  .section-heading {
    margin-bottom: 3rem;
  }

  .method-inner {
    padding-block: 6.5rem 7rem;
  }

  .timeline {
    min-height: 0;
    padding-block: 6.5rem;
  }

  .fit-section {
    padding-block: 6.5rem;
  }

  .contact-section {
    padding-block: 7rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    min-height: 58px;
    padding: 8px 8px 8px 12px;
  }

  .brand img {
    width: 35px;
    height: 35px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .nav-cta {
    padding: 0.6rem 0.8rem;
    font-size: 0.78rem;
  }

  .materialization {
    height: 300vh;
  }

  .scene-stage {
    min-height: 620px;
  }

  .brain-wrap {
    top: 24vh;
    width: 205px;
  }

  .signal-map {
    top: 38vh;
    width: 78vw;
    height: 59vh;
  }

  .materialized-word {
    top: 71%;
    font-size: clamp(3.15rem, 16vw, 5.2rem);
  }

  .scene-result {
    top: 82%;
    gap: 0.42rem;
    font-size: 0.58rem;
  }

  .scene-result i {
    width: 10px;
  }

  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .statement,
  .services,
  .timeline,
  .method-inner,
  .contact-section,
  .fit-section {
    padding-block: 6rem;
  }

  .fit-section {
    border-radius: 34px 34px 0 0;
    background: linear-gradient(180deg, #ff7773 0%, var(--coral) 110px, var(--coral) 100%);
  }

  .statement h1,
  .section-heading h2,
  .timeline h2,
  .fit-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.75rem, 13vw, 4.25rem);
  }

  .service-grid,
  .method-track,
  .form-row {
    grid-template-columns: 1fr;
  }

  .work-preview-section {
    padding-block: 3.5rem;
  }

  .work-preview-visual {
    min-height: 310px;
    padding: 1.25rem;
  }

  .work-preview-browser {
    border-radius: 18px;
  }

  .work-preview-copy {
    padding: 2.3rem 1.4rem 2.6rem;
  }

  .work-preview-copy h2 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .work-preview-button {
    width: 100%;
  }

  .service-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    margin: -1.8rem 0 1rem;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
  }

  .service-swipe-hint i {
    display: inline-block;
    color: var(--coral);
    font-size: 1.2rem;
    font-style: normal;
    animation: swipe-arrow 1.35s ease-in-out infinite;
  }

  @keyframes swipe-arrow {
    0%,
    100% {
      transform: translateX(-5px);
      opacity: 0.45;
    }

    50% {
      transform: translateX(7px);
      opacity: 1;
    }
  }

  .service-grid {
    display: flex;
    width: calc(100% + 14px);
    margin-right: -14px;
    padding: 10px 14vw 28px 2px;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-padding-inline: 2px 14vw;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .service-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 min(82vw, 370px);
    min-height: 390px;
    scroll-snap-align: center;
    opacity: 0.52;
    filter: saturate(0.6);
    transform: scale(0.94);
    transform-origin: center;
    transition:
      opacity 320ms ease,
      filter 320ms ease,
      transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1),
      border-color 320ms ease,
      background 320ms ease,
      box-shadow 320ms ease;
  }

  .service-card:hover {
    transform: scale(0.94);
  }

  .service-card.is-active {
    border-color: rgba(255, 92, 92, 0.72);
    background: rgba(255, 253, 248, 0.98);
    box-shadow:
      0 24px 55px rgba(20, 33, 61, 0.15),
      0 0 0 5px rgba(255, 92, 92, 0.075),
      0 0 48px rgba(255, 92, 92, 0.11);
    opacity: 1;
    filter: saturate(1);
    transform: scale(1);
  }

  .service-card.is-active .service-icon {
    box-shadow: 0 14px 30px rgba(20, 33, 61, 0.2);
    transform: translateY(-3px) rotate(-2deg);
  }

  .service-icon {
    transition: transform 360ms ease, box-shadow 360ms ease;
  }

  .service-card {
    min-height: 390px;
  }

  .weeks span:nth-child(2),
  .weeks span:nth-child(3) {
    visibility: hidden;
  }

  .timeline-visual {
    padding: 1.35rem;
  }

  .fit-contact-pop {
    align-items: stretch;
    flex-direction: column;
  }

  .fit-contact-button {
    width: 100%;
  }

  .timeline-phases {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.4rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 3rem 20px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .projects-main {
    width: min(100% - 28px, 1180px);
    padding-top: 8.5rem;
  }

  .projects-intro h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .project-preview {
    min-height: 300px;
  }

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

  .project-card:nth-child(3n) {
    grid-column: auto;
  }

  .project-card-long-name .project-name {
    font-size: clamp(1.4rem, 7vw, 3.4rem);
    white-space: nowrap;
  }

  .project-name {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }
}

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

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

  .reveal {
    transform: none;
    opacity: 1;
  }
}
