:root {
  --ink: #111a1f;
  --muted: #65747a;
  --line: rgba(17, 26, 31, 0.12);
  --snow: #f7f8f4;
  --frost: #edf3f1;
  --ice: #cde8ee;
  --aurora: #8ee6cf;
  --steel: #2d4650;
  --graphite: #142126;
  --ember: #b98955;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(20, 33, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(142, 230, 207, 0.22), transparent 28rem),
    linear-gradient(180deg, var(--snow), #eef1eb 48%, var(--snow));
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ember), var(--aurora), var(--ice));
  content: "";
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(247, 248, 244, 0.8);
  box-shadow: 0 18px 50px rgba(20, 33, 38, 0.1);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition:
    top 240ms ease,
    padding 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.site-header.is-scrolled {
  top: 10px;
  padding: 7px 9px;
  background: rgba(247, 248, 244, 0.92);
  box-shadow: 0 12px 34px rgba(20, 33, 38, 0.13);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  gap: 10px;
  padding-left: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(17, 26, 31, 0.08);
  border-radius: 50%;
  color: #071315;
  background:
    radial-gradient(circle at 35% 25%, #ffffff 0 8%, transparent 9%),
    linear-gradient(135deg, var(--aurora), var(--ice));
  box-shadow: 0 0 0 7px rgba(142, 230, 207, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.brand:hover .brand-mark {
  box-shadow: 0 0 0 9px rgba(142, 230, 207, 0.13);
  transform: rotate(-4deg);
}

.sigil-stem,
.sigil-crown {
  position: absolute;
  display: block;
  width: 3px;
  height: 22px;
  background: var(--ink);
}

.sigil-stem {
  left: 13px;
  top: 8px;
}

.sigil-stem::after {
  position: absolute;
  top: 4px;
  left: 1px;
  width: 12px;
  height: 3px;
  background: var(--ink);
  content: "";
  transform: rotate(-42deg);
  transform-origin: left;
}

.sigil-crown {
  top: 8px;
  right: 12px;
}

.sigil-crown::before,
.sigil-crown::after {
  position: absolute;
  top: 0;
  width: 10px;
  height: 3px;
  background: var(--ink);
  content: "";
}

.sigil-crown::before {
  right: 0;
  transform: rotate(38deg);
  transform-origin: right;
}

.sigil-crown::after {
  left: 0;
  transform: rotate(-38deg);
  transform-origin: left;
}

.nav {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  gap: 4px;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 750;
}

.nav a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(17, 26, 31, 0.72);
  white-space: nowrap;
}

.nav a:hover,
.nav-cta {
  color: var(--ink);
  background: rgba(17, 26, 31, 0.07);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 56px;
  overflow: hidden;
  padding: 136px max(28px, calc((100vw - 1120px) / 2)) 82px;
  background:
    radial-gradient(circle at 16% 18%, rgba(205, 232, 238, 0.7), transparent 30%),
    radial-gradient(circle at 82% 26%, rgba(142, 230, 207, 0.22), transparent 28%),
    linear-gradient(135deg, #fbfcf8 0%, #edf3f1 55%, #dce6e2 100%);
}

.hero::after {
  position: absolute;
  right: -12rem;
  bottom: -18rem;
  width: 44rem;
  height: 44rem;
  border: 1px solid rgba(45, 70, 80, 0.1);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 137, 85, 0.12), transparent 62%);
  content: "";
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(17, 26, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 26, 31, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

.hero-content,
.hero-panel,
.section,
.contact,
.footer {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #476970;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::after {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: currentColor;
  content: "";
  opacity: 0.48;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.4vw, 4.05rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p,
.ai-copy p,
.contact p {
  color: var(--muted);
  font-size: clamp(1.03rem, 1.7vw, 1.22rem);
  line-height: 1.66;
}

.hero-copy {
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button::after {
  position: absolute;
  top: -50%;
  left: -45%;
  width: 34%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  content: "";
  pointer-events: none;
  transform: rotate(18deg) translateX(-220%);
  transition: transform 600ms ease;
}

.button:hover::after {
  transform: rotate(18deg) translateX(620%);
}

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

.button.primary {
  color: #071315;
  background: linear-gradient(135deg, var(--aurora), var(--ice));
  box-shadow: 0 18px 40px rgba(74, 153, 145, 0.26);
}

.button.secondary {
  border: 1px solid rgba(17, 26, 31, 0.15);
  background: rgba(255, 255, 255, 0.5);
}

.button.light {
  background: #fff;
  box-shadow: none;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.artifact {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.28)),
    radial-gradient(circle at 50% 42%, rgba(142, 230, 207, 0.34), transparent 45%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: perspective(900px) rotateX(var(--artifact-x, 0deg)) rotateY(var(--artifact-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out, box-shadow 220ms ease;
}

.artifact:hover {
  box-shadow: 0 30px 100px rgba(20, 33, 38, 0.2);
}

.artifact::before,
.artifact::after {
  position: absolute;
  width: 130%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 70, 80, 0.2), transparent);
  content: "";
}

.artifact::before {
  transform: rotate(32deg);
}

.artifact::after {
  transform: rotate(-32deg);
}

.artifact-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(45, 70, 80, 0.18);
  border-radius: 50%;
  animation: spin 22s linear infinite;
  transform-style: preserve-3d;
}

.artifact-ring::before,
.artifact-ring::after {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(142, 230, 207, 0.46);
  border-radius: 50%;
  content: "";
}

.artifact-ring::after {
  inset: -34px;
  border-color: rgba(185, 137, 85, 0.2);
}

.artifact-core {
  position: relative;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 1px solid rgba(17, 26, 31, 0.08);
  border-radius: 50%;
  color: #071315;
  background: linear-gradient(135deg, #ffffff, var(--ice));
  box-shadow: 0 0 70px rgba(142, 230, 207, 0.42);
  font-size: 2rem;
  font-weight: 900;
  transform: translateZ(46px);
  transition: box-shadow 220ms ease;
}

.artifact:hover .artifact-core {
  box-shadow: 0 0 96px rgba(142, 230, 207, 0.62);
}

.artifact-core .sigil-stem,
.artifact-core .sigil-crown {
  width: 4px;
  height: 48px;
}

.artifact-core .sigil-stem {
  top: 34px;
  left: 42px;
}

.artifact-core .sigil-stem::after {
  top: 8px;
  width: 26px;
  height: 4px;
}

.artifact-core .sigil-crown {
  top: 34px;
  right: 40px;
}

.artifact-core .sigil-crown::before,
.artifact-core .sigil-crown::after {
  width: 22px;
  height: 4px;
}

.rune {
  position: absolute;
  width: 42px;
  height: 72px;
  opacity: 0.28;
  transition: opacity 220ms ease, filter 220ms ease;
}

.artifact:hover .rune {
  opacity: 0.68;
  filter: drop-shadow(0 0 8px rgba(142, 230, 207, 0.56));
}

.rune::before,
.rune::after {
  position: absolute;
  width: 2px;
  height: 100%;
  background: var(--steel);
  content: "";
}

.rune::after {
  height: 56%;
  transform: rotate(42deg);
  transform-origin: top;
}

.rune-one {
  top: 34px;
  left: 36px;
}

.rune-two {
  right: 42px;
  bottom: 34px;
  transform: rotate(180deg);
}

.rune-three {
  right: 58px;
  top: 52px;
  transform: rotate(38deg);
}

.signal-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.signal-card {
  padding: 18px;
  border: 1px solid rgba(17, 26, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 18px 50px rgba(20, 33, 38, 0.08);
  backdrop-filter: blur(18px);
}

.signal-card.active {
  color: #f7fbf8;
  background: rgba(20, 33, 38, 0.92);
}

.signal-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--ember);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.signal-card p {
  margin: 0;
  color: inherit;
  opacity: 0.72;
  line-height: 1.5;
}

.section {
  padding: 108px max(24px, calc((100vw - 1120px) / 2));
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 58px;
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 20% 0%, rgba(142, 230, 207, 0.13), transparent 26rem),
    linear-gradient(180deg, #17282d 0%, var(--graphite) 100%);
}

.intro::before,
.intro::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 232, 238, 0.34), transparent);
  content: "";
}

.intro::before {
  top: 0;
}

.intro::after {
  bottom: 0;
}

.metric {
  min-height: 188px;
  padding: 32px;
  border: 1px solid rgba(205, 232, 238, 0.12);
  border-radius: 8px;
  color: #f8fbf8;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 58%),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}

.metric strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ice);
  font-size: 1.45rem;
}

.metric span {
  color: rgba(248, 251, 248, 0.72);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.section-heading {
  max-width: 560px;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

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

.service-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(237, 243, 241, 0.72)),
    var(--white);
  box-shadow: 0 10px 36px rgba(20, 33, 38, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(142, 230, 207, 0.23), transparent 28%),
    linear-gradient(120deg, transparent 0 44%, rgba(45, 70, 80, 0.055) 45% 46%, transparent 47% 100%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.service-card::after {
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(45, 70, 80, 0.08);
  border-radius: 50%;
  content: "";
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 44px;
  place-items: center;
  border-radius: 50%;
  color: #071315;
  background: linear-gradient(135deg, var(--aurora), var(--ice));
  font-size: 0.86rem;
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
  line-height: 1.65;
}

.ai-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 64px;
  color: #f8fbf8;
  background:
    radial-gradient(circle at 8% 50%, rgba(142, 230, 207, 0.18), transparent 35%),
    linear-gradient(135deg, #101a1f, var(--graphite));
}

.ai-band .eyebrow {
  color: var(--ice);
}

.ai-copy p,
.ai-copy li {
  color: rgba(248, 251, 248, 0.74);
}

.ai-visual {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(142, 230, 207, 0.22), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
}

.forge-map {
  position: absolute;
  inset: 46px;
  border: 1px solid rgba(205, 232, 238, 0.2);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.forge-map span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 28px rgba(142, 230, 207, 0.78);
}

.forge-map span:nth-child(1) {
  top: 8%;
  left: 48%;
}

.forge-map span:nth-child(2) {
  right: 12%;
  top: 52%;
}

.forge-map span:nth-child(3) {
  bottom: 13%;
  left: 24%;
}

.forge-map span:nth-child(4) {
  left: 13%;
  top: 34%;
}

.core {
  position: relative;
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #071315;
  background: linear-gradient(135deg, #ffffff, var(--ice));
  box-shadow: 0 0 90px rgba(142, 230, 207, 0.36);
}

.core small {
  color: rgba(17, 26, 31, 0.58);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.core span {
  font-size: 2.35rem;
  font-weight: 900;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--aurora);
  content: "+";
  font-weight: 900;
}

.process {
  background:
    radial-gradient(circle at 50% 0%, rgba(205, 232, 238, 0.48), transparent 32%),
    var(--snow);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline article {
  position: relative;
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.timeline article:hover {
  border-color: rgba(142, 230, 207, 0.62);
  box-shadow: 0 18px 48px rgba(20, 33, 38, 0.09);
  transform: translateY(-4px);
}

.timeline article::before {
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 68px;
  background: linear-gradient(90deg, var(--ember), var(--aurora));
  content: "";
}

.timeline span {
  display: block;
  margin-bottom: 16px;
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin: 0 max(24px, calc((100vw - 1120px) / 2)) 90px;
  padding: 48px;
  border-radius: 8px;
  color: #f8fbf8;
  background:
    radial-gradient(circle at 90% 20%, rgba(142, 230, 207, 0.24), transparent 34%),
    linear-gradient(135deg, #101a1f, var(--graphite));
}

.contact .eyebrow {
  color: var(--ice);
}

.contact h2 {
  margin-bottom: 12px;
}

.contact p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(248, 251, 248, 0.74);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - 1120px) / 2)) 36px;
  color: var(--muted);
  font-size: 0.95rem;
}

[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@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;
  }
}

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

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    border-radius: 24px;
  }

  .hero,
  .split,
  .ai-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    padding-top: 112px;
  }

  .signal-stack,
  .intro,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .ai-visual,
  .artifact {
    min-height: 330px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .site-header {
    width: calc(100% - 20px);
  }

  .hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: 3.05rem;
  }

  .section {
    padding-inline: 18px;
  }

  .metric,
  .service-card,
  .timeline article,
  .contact {
    padding: 22px;
  }

  .contact {
    margin-inline: 18px;
  }
}
