:root {
  --bg: #f5fbff;
  --bg-edge: #e7f4ff;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --panel-blue: rgba(227, 243, 255, 0.9);
  --text: #102745;
  --muted: rgba(16, 39, 69, 0.68);
  --line: rgba(86, 150, 211, 0.16);
  --line-strong: rgba(86, 150, 211, 0.28);
  --accent: #36a3ff;
  --accent-strong: #187bff;
  --accent-soft: rgba(54, 163, 255, 0.12);
  --shadow: 0 26px 65px rgba(40, 111, 167, 0.12);
  --shadow-soft: 0 12px 30px rgba(40, 111, 167, 0.08);
  --radius: 28px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(54, 163, 255, 0.14), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(159, 223, 255, 0.58), transparent 30%),
    linear-gradient(180deg, #fbfeff 0%, #f1f9ff 38%, #edf7ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(96, 167, 227, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 167, 227, 0.05) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.96), transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -10% 14% auto;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 193, 255, 0.2), rgba(104, 193, 255, 0));
  filter: blur(40px);
  z-index: -2;
  pointer-events: none;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.62;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(86, 150, 211, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #7dd1ff, #187bff);
  box-shadow: 0 0 20px rgba(24, 123, 255, 0.28);
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-copy strong {
  font-family: "Syne", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.55rem;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(86, 150, 211, 0.12);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav a {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav-cta {
  padding: 0.76rem 1rem;
  border: 1px solid rgba(86, 150, 211, 0.16);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

main {
  position: relative;
}

.section-shell {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin: 0 auto;
}

.page-hero {
  position: relative;
  padding: 4.6rem 0 2.6rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 -4vw;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(228, 244, 255, 0.82)),
    rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(86, 150, 211, 0.14);
  box-shadow: var(--shadow);
  z-index: -1;
}

.page-title {
  margin: 0;
  max-width: 11ch;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.05rem, 4.3vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.page-body {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 0 2.1rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 -4vw;
  border-radius: 40px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(221, 241, 255, 0.9) 52%, rgba(203, 234, 255, 0.88)),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(86, 150, 211, 0.16);
  box-shadow: var(--shadow);
  z-index: -1;
}

.hero-copy {
  max-width: 33rem;
  padding-left: 0.4rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(16, 39, 69, 0.5);
}

.hero-title,
.section-heading h2,
.intro-panel h2,
.quote-wall h2,
.contact-card h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  letter-spacing: -0.045em;
}

.hero-title {
  max-width: 8.8ch;
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  line-height: 0.98;
}

.hero-title span {
  display: block;
  color: var(--accent-strong);
}

.hero-body {
  max-width: 27rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.45rem;
}

.button {
  padding: 0.86rem 1.12rem;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #4ab0ff, #187bff);
  box-shadow: 0 18px 36px rgba(24, 123, 255, 0.22);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(86, 150, 211, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.4rem 0 0;
  padding: 0;
}

.hero-metrics div {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(86, 150, 211, 0.18);
}

.hero-metrics dt {
  font-family: "Syne", sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  perspective: 1800px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 68%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 163, 255, 0.22), rgba(54, 163, 255, 0));
  filter: blur(34px);
}

.hero-grid-plane {
  position: absolute;
  inset: 12% 6%;
  border-radius: 36px;
  background:
    linear-gradient(rgba(110, 176, 233, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 176, 233, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  border: 1px solid rgba(86, 150, 211, 0.14);
  transform: rotateX(72deg) translateY(14%);
  opacity: 0.95;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), transparent 90%);
}

.hero-stage {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 0.9;
  transform-style: preserve-3d;
  animation: stageFloat 7s ease-in-out infinite;
}

.hero-beam {
  position: absolute;
  inset: 20% 16% 18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(54, 163, 255, 0.18), rgba(54, 163, 255, 0) 70%);
  filter: blur(24px);
  transform: translateZ(-120px);
}

.hero-panel {
  position: absolute;
  border-radius: var(--radius);
  border: 1px solid rgba(86, 150, 211, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(230, 245, 255, 0.84)),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-panel-main {
  inset: 14% 8% 13% 11%;
  padding: 1.35rem;
  transform: translateZ(46px) rotateX(3deg);
}

.hero-panel-side {
  width: 205px;
  padding: 0.84rem 0.84rem 0.92rem;
}

.hero-panel-top {
  top: 6%;
  right: 3%;
  transform: rotateY(-20deg) rotateX(7deg) translateZ(78px);
}

.hero-panel-bottom {
  bottom: 4%;
  left: 1%;
  transform: rotateY(20deg) rotateX(-4deg) translateZ(74px);
}

.hero-panel-label {
  margin: 0 0 0.8rem;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(16, 39, 69, 0.46);
}

.hero-panel h3 {
  margin: 0;
  max-width: 12ch;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.hero-chip-row span {
  padding: 0.4rem 0.64rem;
  border-radius: 999px;
  border: 1px solid rgba(86, 150, 211, 0.16);
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-line-set {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.hero-line-set div {
  padding-top: 0.72rem;
  border-top: 1px solid rgba(86, 150, 211, 0.14);
}

.hero-line-set span {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(16, 39, 69, 0.5);
}

.hero-line-set strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-mini-metric {
  display: grid;
  gap: 0.16rem;
  margin-bottom: 0.78rem;
}

.hero-mini-metric strong {
  font-family: "Syne", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.hero-mini-metric span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero-bar {
  height: 7px;
  margin-top: 0.62rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(54, 163, 255, 0.12);
}

.hero-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8fd4ff, #187bff);
}

.hero-bar-fill-high {
  width: 88%;
}

.hero-bar-fill-mid {
  width: 64%;
}

.hero-stack-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stack-list li {
  padding: 0.56rem 0;
  border-top: 1px solid rgba(86, 150, 211, 0.12);
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-stack-list li:first-child {
  border-top: 0;
}

.intro-grid,
.testimonials,
.contact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
  padding: 2.6rem 0 0;
}

.intro-panel,
.quote-wall {
  padding: 1.2rem 0 1rem;
}

.intro-panel h2,
.section-heading h2,
.quote-wall h2,
.contact-card h2 {
  max-width: 12ch;
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  line-height: 1.04;
}

.intro-list {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

.section-heading {
  padding: 4.2rem 0 1.6rem;
}

.section-heading h2 {
  max-width: 12ch;
}

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

.contact-grid {
  padding-bottom: 2rem;
}

.service-block,
.showcase-item,
.contact-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(86, 150, 211, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 247, 255, 0.86)),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.service-block {
  min-height: 288px;
  padding: 1.45rem;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-block::before,
.showcase-item::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 163, 255, 0.14), rgba(54, 163, 255, 0));
  pointer-events: none;
}

.service-block:hover {
  border-color: rgba(24, 123, 255, 0.24);
  box-shadow: 0 32px 76px rgba(40, 111, 167, 0.16);
}

.service-index,
.process-step span,
.showcase-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(16, 39, 69, 0.56);
}

.service-block h3,
.process-step h3,
.showcase-item h3 {
  margin: 0.76rem 0 0.58rem;
  font-family: "Syne", sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.service-block p,
.process-step p,
.showcase-item p,
.quote-note,
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.62;
}

.service-block ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.84rem;
}

.service-block li {
  padding-top: 0.6rem;
  border-top: 1px solid rgba(86, 150, 211, 0.12);
}

.service-block li + li {
  margin-top: 0.58rem;
}

.process-rail {
  position: relative;
  display: grid;
  gap: 0.9rem;
}

.process-rail::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(86, 150, 211, 0.16);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.1rem 1.1rem 0;
  border-top: 0;
}

.process-step > div {
  padding: 1rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(86, 150, 211, 0.16);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.process-step span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(86, 150, 211, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.showcase {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1rem;
}

.showcase-item {
  min-height: 270px;
  padding: 1.45rem;
  overflow: hidden;
}

.showcase-item:nth-child(2)::before {
  background: radial-gradient(circle, rgba(123, 192, 255, 0.16), rgba(123, 192, 255, 0));
}

.showcase-item:nth-child(3)::before {
  background: radial-gradient(circle, rgba(84, 230, 211, 0.12), rgba(84, 230, 211, 0));
}

.showcase-item span {
  display: inline-block;
  margin-top: 1rem;
  padding-top: 0.82rem;
  border-top: 1px solid rgba(86, 150, 211, 0.14);
  color: var(--text);
  font-size: 0.82rem;
}

.quote-wall {
  padding: 1.5rem 1.6rem;
  border-radius: 30px;
  border: 1px solid rgba(86, 150, 211, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(230, 245, 255, 0.84)),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.quote-wall blockquote {
  margin: 1.2rem 0 0.8rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.08rem, 1.9vw, 1.68rem);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.rating-strip {
  display: grid;
  gap: 0.9rem;
  align-content: end;
  padding: 0.2rem 0;
}

.rating-strip div {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(86, 150, 211, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.rating-strip strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.48rem;
}

.rating-strip span {
  color: var(--muted);
  font-size: 0.82rem;
}

.contact {
  padding: 2rem 0 6rem;
}

.contact-card {
  grid-column: 1 / -1;
  padding: 2rem;
  overflow: hidden;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2.5rem;
  color: rgba(16, 39, 69, 0.6);
  font-size: 0.82rem;
}

.site-footer strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes stageFloat {
  0%,
  100% {
    transform: rotateX(6deg) rotateY(-7deg) translateY(0);
  }
  50% {
    transform: rotateX(1deg) rotateY(4deg) translateY(-8px);
  }
}

@media (max-width: 1040px) {
  .hero,
  .intro-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 1.5rem;
    padding-top: 1rem;
  }

  .hero::before,
  .page-hero::before {
    inset: 0 -2vw;
  }

  .hero-visual {
    order: -1;
    min-height: 390px;
  }

  .hero-stage {
    width: min(100%, 480px);
  }

  .service-columns,
  .showcase,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0.4rem;
  }

  .section-shell {
    width: min(var(--max-width), calc(100% - 1.25rem));
  }

  .hero {
    min-height: auto;
    gap: 1rem;
    padding-bottom: 0.8rem;
  }

  .hero::before,
  .page-hero::before {
    inset: 0;
  }

  .hero-metrics,
  .hero-line-set {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 290px;
  }

  .hero-stage {
    width: min(100%, 340px);
  }

  .hero-grid-plane {
    inset: 14% 2%;
  }

  .hero-panel-main {
    inset: 17% 4% 15%;
    padding: 0.95rem;
  }

  .hero-panel-side {
    width: 132px;
    padding: 0.6rem;
  }

  .process-step {
    grid-template-columns: 64px 1fr;
  }

  .process-step > div,
  .contact-card,
  .quote-wall {
    padding: 1.2rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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