:root {
  --bg: #07111d;
  --bg-soft: #0d1f35;
  --surface: #edf3f7;
  --surface-muted: #c9d7e2;
  --text: #f5f8fb;
  --text-dark: #08121f;
  --muted: rgba(245, 248, 251, 0.72);
  --muted-dark: rgba(8, 18, 31, 0.65);
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(8, 18, 31, 0.12);
  --accent: #72d88d;
  --accent-soft: rgba(114, 216, 141, 0.18);
  --max-width: 1240px;
  --header-height: 84px;
  --hero-shift: 0px;
  --story-shift: 0px;
  --comparison-lift: 0px;
  --comparison-position: 56%;
  --pointer-x: 72%;
  --pointer-y: 30%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --scroll-progress: 0;
  --service-signal: 92%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(42, 88, 157, 0.28), transparent 34%),
    linear-gradient(180deg, #08101b 0%, #040912 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 90%);
  pointer-events: none;
  z-index: -2;
}

.page-noise {
  position: fixed;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4) 0.5px, transparent 0.8px),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.26) 0.5px, transparent 0.9px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 20;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 70;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress));
  background: linear-gradient(90deg, #72d88d 0%, #d7f6df 45%, #72d88d 100%);
  box-shadow: 0 0 28px rgba(114, 216, 141, 0.75);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem clamp(1.2rem, 2vw, 2rem);
  z-index: 40;
  background: linear-gradient(180deg, rgba(7, 17, 29, 0.88), rgba(7, 17, 29, 0.42), transparent);
  backdrop-filter: blur(18px);
  transition:
    padding 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  background: rgba(7, 17, 29, 0.78);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a,
.header-cta {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.header-cta {
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 6vh) clamp(1.2rem, 4vw, 3rem) 7rem;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  isolation: isolate;
  perspective: 1400px;
}

.hero-media,
.hero-sheen,
.hero-grid,
.hero-ambient {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 18, 0.88) 0%, rgba(4, 9, 18, 0.42) 46%, rgba(4, 9, 18, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 9, 18, 0.12) 0%, rgba(4, 9, 18, 0.68) 100%);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform:
    translateY(var(--hero-shift))
    scale(1.08)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y));
  transition: transform 260ms ease-out;
  transform-origin: center center;
}

.hero-sheen {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(114, 216, 141, 0.28), transparent 24%),
    radial-gradient(circle at 72% 28%, rgba(114, 216, 141, 0.22), transparent 24%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.04), transparent 45%);
  mix-blend-mode: screen;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 160px 160px;
  opacity: 0.08;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1), transparent 76%);
}

.hero-ambient {
  pointer-events: none;
}

.ambient-orb,
.hero-ring {
  position: absolute;
  border-radius: 999px;
}

.ambient-orb {
  filter: blur(36px);
  opacity: 0.34;
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.ambient-orb-a {
  top: 14%;
  right: 10%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(114, 216, 141, 0.38), transparent 68%);
}

.ambient-orb-b {
  bottom: 12%;
  left: 52%;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(94, 162, 255, 0.28), transparent 68%);
  animation-duration: 18s;
}

.hero-ring {
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.28;
  animation: ring-spin 24s linear infinite;
}

.hero-ring-a {
  top: 18%;
  right: 14%;
  width: 20rem;
  height: 20rem;
}

.hero-ring-b {
  bottom: 18%;
  right: 4%;
  width: 9rem;
  height: 9rem;
  animation-direction: reverse;
  animation-duration: 16s;
}

.hero-content {
  position: relative;
  width: min(100%, 740px);
  z-index: 1;
}

.hero-eyebrow {
  opacity: 0;
  animation: hero-fade-up 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms forwards;
}

.hero-title {
  display: grid;
  gap: 0.04em;
}

.hero-title span {
  display: block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(40px);
  animation: hero-line-rise 860ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-title span:nth-child(1) {
  animation-delay: 160ms;
}

.hero-title span:nth-child(2) {
  animation-delay: 250ms;
}

.hero-title span:nth-child(3) {
  animation-delay: 340ms;
}

.hero-title span:nth-child(4) {
  animation-delay: 430ms;
}

.hero-title span:nth-child(5) {
  animation-delay: 520ms;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1,
.section-intro h2,
.comparison-copy h3,
.cta-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.3rem, 8vw, 7.1rem);
}

.hero-copy {
  width: min(100%, 34rem);
  margin: 1.6rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  opacity: 0;
  animation: hero-fade-up 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 620ms forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  opacity: 0;
  animation: hero-fade-up 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 760ms forwards;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.24) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 420ms ease;
}

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

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(130%);
}

.button-primary {
  color: var(--text-dark);
  background: var(--accent);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 29, 0.58);
  backdrop-filter: blur(14px);
  z-index: 1;
}

.hero-rail {
  position: absolute;
  right: clamp(1.4rem, 4vw, 3rem);
  bottom: 8.2rem;
  z-index: 2;
  display: grid;
  gap: 0.6rem;
  justify-items: end;
  opacity: 0;
  animation: hero-fade-up 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 900ms forwards;
}

.hero-rail span {
  padding-bottom: 0.28rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 248, 251, 0.76);
}

.scroll-cue {
  position: absolute;
  right: clamp(1.4rem, 4vw, 3rem);
  bottom: 12.8rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 248, 251, 0.74);
  opacity: 0;
  animation: hero-fade-up 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 1020ms forwards;
}

.scroll-cue span {
  display: inline-block;
  width: 3.2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: cue-scan 2.3s linear infinite;
}

.hero-band-track {
  display: inline-flex;
  gap: 2rem;
  min-width: max-content;
  padding-left: 2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 248, 251, 0.74);
  animation: marquee 24s linear infinite;
}

.hero-band-track span {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
}

.hero-band-track span::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  position: relative;
  padding: clamp(4.8rem, 9vw, 8rem) clamp(1.2rem, 4vw, 3rem);
}

.section-services {
  background:
    linear-gradient(180deg, rgba(237, 243, 247, 0.98), rgba(226, 236, 243, 0.98)),
    var(--surface);
  color: var(--text-dark);
  overflow: clip;
}

.section-services::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 54%;
  width: 36rem;
  height: 36rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(114, 216, 141, 0.12), transparent 70%);
  pointer-events: none;
}

.section-projects {
  background:
    linear-gradient(180deg, rgba(8, 18, 31, 0.94), rgba(5, 12, 22, 1)),
    var(--bg);
  overflow: clip;
}

.section-projects::before {
  content: "";
  position: absolute;
  top: 6rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(94, 162, 255, 0.14), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.section-cta {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: end;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  border-top: 1px solid var(--line);
  overflow: clip;
}

.section-cta::before,
.section-cta::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.section-cta::before {
  top: -10rem;
  left: -2rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(114, 216, 141, 0.12), transparent 72%);
  animation: orb-drift 18s ease-in-out infinite alternate;
}

.section-cta::after {
  right: 6%;
  bottom: -6rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(94, 162, 255, 0.1), transparent 72%);
  animation: orb-drift 14s ease-in-out infinite alternate-reverse;
}

.section-intro,
.services-layout,
.project-story,
.comparison-block,
.section-cta,
.site-footer {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.section-intro {
  display: grid;
  gap: 1rem;
}

.section-intro h2 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  color: var(--text-dark);
}

.section-intro-light h2 {
  color: var(--text);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: 3.4rem;
}

.services-list {
  display: grid;
  border-top: 1px solid var(--line-dark);
}

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  width: 100%;
  padding: 1.35rem 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  transition: transform 240ms ease, color 240ms ease;
}

.service-index {
  color: rgba(8, 18, 31, 0.34);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  transition: color 240ms ease;
}

.service-name {
  position: relative;
  display: inline-block;
  font-size: clamp(1.3rem, 1.9vw, 1.85rem);
  font-weight: 700;
  line-height: 1.08;
}

.service-name::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.25rem;
  height: 2px;
  background: var(--accent);
  transition: right 220ms ease;
}

.service-item:hover .service-name::after,
.service-item:focus-visible .service-name::after,
.service-item.is-active .service-name::after {
  right: 0;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0 0 0 -1rem;
  background: linear-gradient(90deg, rgba(114, 216, 141, 0.08), transparent 42%);
  opacity: 0;
  transform: translateX(-1.2rem);
  transition: opacity 260ms ease, transform 260ms ease;
}

.service-item:hover,
.service-item:focus-visible,
.service-item.is-active {
  transform: translateX(0.5rem);
}

.service-item:hover::before,
.service-item:focus-visible::before,
.service-item.is-active::before {
  opacity: 1;
  transform: translateX(0);
}

.service-item:hover .service-index,
.service-item:focus-visible .service-index,
.service-item.is-active .service-index {
  color: rgba(8, 18, 31, 0.8);
}

.services-panel {
  --service-signal: 92%;
  align-self: start;
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1.8rem;
  padding-top: 0.5rem;
  padding-left: 2rem;
}

.services-panel::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(114, 216, 141, 0), rgba(114, 216, 141, 0.75), rgba(114, 216, 141, 0));
}

.panel-label,
.story-kicker {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0;
  color: rgba(245, 248, 251, 0.4);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 220ms ease, letter-spacing 220ms ease;
}

.cta-label::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(114, 216, 141, 0.9), rgba(114, 216, 141, 0.14));
  box-shadow: 0 0 16px rgba(114, 216, 141, 0.2);
  transition: width 220ms ease, opacity 220ms ease;
}

.service-detail h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 1.04;
}

.service-detail p,
.story-copy p,
.comparison-copy p,
.cta-copy p {
  margin: 0.9rem 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.service-signal {
  display: grid;
  gap: 0.7rem;
}

.service-signal-bar {
  width: 100%;
  height: 0.4rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(8, 18, 31, 0.08);
}

.service-signal-bar span {
  display: block;
  width: var(--service-signal);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), rgba(114, 216, 141, 0.45));
  box-shadow: 0 0 24px rgba(114, 216, 141, 0.32);
  transition: width 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-signal p {
  margin: 0;
  color: rgba(8, 18, 31, 0.58);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sector-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.sector-strip span {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.98rem;
  font-weight: 600;
}

.promise-list {
  display: grid;
  gap: 0.9rem;
}

.promise-list p {
  margin: 0;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line-dark);
  color: var(--muted-dark);
  line-height: 1.6;
}

.project-story {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.95fr);
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: start;
  margin-top: 3.5rem;
}

.story-image {
  margin: 0;
  min-height: 100%;
  overflow: clip;
  border-radius: 2rem;
  transform: translateY(calc(var(--story-shift) * 0.6));
  transition: transform 260ms ease, box-shadow 260ms ease;
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.24);
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  transform: scale(1.08) translateY(var(--story-shift));
  transition: transform 300ms ease;
}

.story-image:hover {
  box-shadow: 0 46px 96px rgba(0, 0, 0, 0.3);
}

.story-image:hover img {
  transform: scale(1.11) translateY(calc(var(--story-shift) - 10px));
}

.story-copy {
  align-self: center;
  max-width: 38rem;
}

.story-copy p {
  color: var(--muted);
}

.comparison-block {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.comparison-copy h3 {
  margin-top: 0.65rem;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.comparison-copy p {
  color: var(--muted);
}

.comparison {
  width: 100%;
}

.comparison-stage {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: #111c2b;
  aspect-ratio: 1 / 1.1;
  transform: translateY(var(--comparison-lift));
  transition: transform 260ms ease, box-shadow 260ms ease;
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.26);
}

.comparison-stage:hover {
  box-shadow: 0 46px 96px rgba(0, 0, 0, 0.34);
}

.comparison-base,
.comparison-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.comparison-overlay {
  position: absolute;
  inset: 0;
  width: var(--comparison-position);
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.7);
}

.comparison-overlay img {
  width: min(100vw, 740px);
  max-width: none;
}

.comparison-stage:hover .comparison-base,
.comparison-stage:hover .comparison-overlay img {
  transform: scale(1.04);
}

.comparison-handle {
  position: absolute;
  inset: 0 auto 0 var(--comparison-position);
  display: grid;
  place-items: center;
  width: 0;
  pointer-events: none;
}

.comparison-handle::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(-50%);
}

.comparison-handle span {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(7, 17, 29, 0.68);
  backdrop-filter: blur(10px);
  animation: handle-breathe 2.8s ease-in-out infinite;
}

.comparison-handle span::before,
.comparison-handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-top: 2px solid white;
  border-right: 2px solid white;
}

.comparison-handle span::before {
  left: 0.9rem;
  transform: translateY(-50%) rotate(-135deg);
}

.comparison-handle span::after {
  right: 0.9rem;
  transform: translateY(-50%) rotate(45deg);
}

.comparison-tags {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  display: flex;
  justify-content: space-between;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-range {
  width: 100%;
  margin-top: 1rem;
  appearance: none;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.18));
  border-radius: 999px;
}

.comparison-range::-webkit-slider-thumb {
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  cursor: ew-resize;
}

.comparison-range::-moz-range-thumb {
  width: 1.15rem;
  height: 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  cursor: ew-resize;
}

.cta-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 13ch;
}

.cta-copy p:last-child {
  color: var(--muted);
  max-width: 42rem;
}

.cta-links {
  display: grid;
  gap: 1rem;
}

.cta-links a {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 220ms ease, border-color 220ms ease;
}

.cta-links strong {
  font-size: clamp(1.1rem, 1.9vw, 1.55rem);
  font-weight: 700;
}

.cta-links a:hover,
.cta-links a:focus-visible {
  transform: translateX(0.4rem);
  border-color: rgba(114, 216, 141, 0.44);
}

.cta-links a:hover .cta-label,
.cta-links a:focus-visible .cta-label {
  color: rgba(245, 248, 251, 0.68);
  letter-spacing: 0.24em;
}

.cta-links a:hover .cta-label::before,
.cta-links a:focus-visible .cta-label::before {
  width: 3.2rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  padding: 1.6rem clamp(1.2rem, 4vw, 3rem) 2.3rem;
  color: rgba(245, 248, 251, 0.6);
  font-size: 0.92rem;
}

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

.reveal.is-visible {
  animation: section-rise 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes section-rise {
  from {
    opacity: 0.01;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-line-rise {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cue-scan {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(130%);
  }
}

@keyframes orb-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(1.6rem, -1.4rem, 0) scale(1.08);
  }
}

@keyframes ring-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes handle-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(114, 216, 141, 0.18);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 14px rgba(114, 216, 141, 0);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 4.5rem);
  }

  .hero-rail,
  .scroll-cue {
    display: none;
  }

  .section-cta,
  .services-layout,
  .project-story,
  .comparison-block {
    grid-template-columns: 1fr;
  }

  .services-panel {
    position: static;
    padding-left: 0;
  }

  .services-panel::before {
    display: none;
  }

  .story-image img {
    min-height: 420px;
  }

  .cta-copy h2,
  .section-intro h2 {
    max-width: 15ch;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 0.6rem;
    padding-inline: 1rem;
  }

  .brand {
    font-size: 0.78rem;
  }

  .header-cta {
    padding: 0.72rem 1rem;
  }

  .hero {
    padding-inline: 1rem;
    padding-bottom: 5.6rem;
  }

  .hero-title {
    gap: 0.1rem;
  }

  .hero h1 {
    max-width: 9.8ch;
    font-size: clamp(2.75rem, 15vw, 4.3rem);
  }

  .hero-copy {
    max-width: 28rem;
    font-size: 1rem;
  }

  .scroll-progress {
    height: 2px;
  }

  .section,
  .site-footer {
    padding-inline: 1rem;
  }

  .service-item {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .comparison-stage {
    aspect-ratio: 1 / 1.08;
    border-radius: 1.4rem;
  }

  .comparison-handle span {
    width: 3rem;
    height: 3rem;
  }

  .ambient-orb-a {
    width: 11rem;
    height: 11rem;
  }

  .ambient-orb-b {
    width: 14rem;
    height: 14rem;
    left: auto;
    right: -2rem;
    bottom: 16%;
  }

  .cta-links strong {
    overflow-wrap: anywhere;
  }
}

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

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

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

  .hero-eyebrow,
  .hero-title span,
  .hero-copy,
  .hero-actions,
  .hero-rail,
  .scroll-cue {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none !important;
  }

  .scroll-progress,
  .page-noise {
    display: none;
  }
}
