:root {
  --ink: #171714;
  --muted: #696964;
  --line: #e9e6dd;
  --paper: #fffefa;
  --soft: #f7f4ed;
  --brand: #2d214f;
  --brand-soft: #755db5;
  --brand-pale: #ede8fb;
  --violet: #9f8bd6;
  --amber: #d99d4a;
  --clay: #c9816a;
  --shadow: 0 24px 70px rgba(45, 33, 79, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 32%, rgba(117, 93, 181, 0.08), transparent 24%),
    var(--paper);
  content: "";
}

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));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(233, 230, 221, 0.85);
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.82);
  box-shadow: 0 18px 44px rgba(26, 25, 21, 0.08);
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 5vw, 82px);
  padding: 150px max(24px, calc((100vw - 1120px) / 2)) 70px;
  overflow: hidden;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 8vw, 7.7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4.3rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
}

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

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-image {
  position: absolute;
  inset: 64px -72px 30px -38px;
  width: calc(100% + 110px);
  height: calc(100% - 94px);
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(48, 43, 34, 0.11);
}

.hero-visual::after {
  position: absolute;
  inset: 64px -72px 30px -38px;
  border-radius: 36px;
  background: linear-gradient(90deg, rgba(255, 254, 250, 0.72), rgba(255, 254, 250, 0.08) 58%);
  content: "";
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  inset: 44px 16px 36px;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: breathe 7s ease-in-out infinite;
}

.process-board,
.insight-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(233, 230, 221, 0.9);
  background: rgba(255, 254, 250, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.process-board {
  top: 96px;
  right: 20px;
  width: min(430px, 92%);
  border-radius: 30px;
  padding: 18px;
  animation: float 8s ease-in-out infinite;
}

.board-header {
  display: flex;
  gap: 7px;
  padding-bottom: 18px;
}

.board-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.board-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  border-top: 1px solid var(--line);
}

.board-row b {
  font-size: 0.92rem;
}

.board-row i {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-soft), var(--amber));
  transform-origin: left;
  animation: grow 4.8s ease-in-out infinite;
}

.board-row:nth-child(3) i {
  width: 73%;
}

.board-row:nth-child(4) i {
  width: 58%;
  animation-delay: 0.4s;
}

.board-row:nth-child(5) i {
  width: 86%;
  animation-delay: 0.8s;
}

.board-row.active i {
  width: 94%;
}

.insight-card {
  display: grid;
  gap: 8px;
  min-width: 220px;
  border-radius: 24px;
  padding: 18px;
}

.insight-card span,
.tag,
time {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-card strong {
  font-size: 1.4rem;
}

.card-one {
  top: 42px;
  left: 0;
  animation: float 7s ease-in-out infinite reverse;
}

.card-two {
  right: 0;
  bottom: 72px;
  animation: float 6s ease-in-out infinite;
}

.pulse-line {
  width: 100%;
  height: 42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 52%, var(--clay) 0 5px, transparent 6px),
    radial-gradient(circle at 45% 28%, var(--amber) 0 5px, transparent 6px),
    radial-gradient(circle at 76% 66%, var(--brand-soft) 0 5px, transparent 6px),
    linear-gradient(135deg, transparent 48%, var(--line) 49% 51%, transparent 52%);
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft);
}

.progress i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-soft);
}

.problem-band,
.section,
.benefits,
.contact,
footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.problem-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 90px;
}

.problem-band p {
  max-width: 300px;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.issue-strip,
.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.issue-strip span,
.benefit-list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 12px 15px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.benefit-list i {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-pale);
  color: var(--brand-soft);
  padding: 6px;
}

.benefit-list svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.25;
}

.section {
  padding: 100px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 76px);
}

.value-grid,
.service-grid,
.story-grid,
.blog-list {
  display: grid;
  gap: 16px;
}

.value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-grid article,
.service-grid article,
.story-grid article,
.blog-list article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
}

.number {
  display: block;
  margin-bottom: 42px;
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 800;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-heading.compact {
  max-width: 610px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.steps article {
  min-height: 310px;
  padding: 24px;
  background: #fff;
}

.steps span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 70px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--brand);
  font-weight: 800;
}

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

.service-grid article {
  min-height: 220px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-grid article:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.benefits {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  align-items: end;
  gap: 60px;
  padding: 86px 0;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-grid article {
  min-height: 250px;
}

.featured-story {
  grid-column: span 2;
  background: var(--ink) !important;
}

.featured-story h3,
.featured-story p {
  color: var(--paper);
}

.featured-story .tag {
  color: var(--amber);
}

.blog-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(30px, 5vw, 78px);
  padding: 100px 0;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 15px 14px;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.83rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes grow {
  0%,
  100% {
    transform: scaleX(0.62);
  }
  50% {
    transform: scaleX(1);
  }
}

@keyframes sparkPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(-50%) scale(0.86);
  }
  50% {
    opacity: 0.95;
    transform: translateY(-50%) scale(1.18);
  }
}

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

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--soft);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

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

  .hero {
    padding-top: 132px;
  }

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

  .steps,
  .service-grid,
  .story-grid,
  .blog-list,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .featured-story {
    grid-column: auto;
  }

  .problem-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  h1 {
    font-size: 3.35rem;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .hero-image,
  .hero-visual::after {
    inset: 50px -34px 38px -24px;
    width: calc(100% + 58px);
    height: calc(100% - 88px);
  }

  .process-board {
    right: 0;
  }

  .card-one {
    left: 0;
    top: 0;
  }

  .card-two {
    bottom: 18px;
  }

  .steps article {
    min-height: 240px;
  }

  .steps span {
    margin-bottom: 40px;
  }
}

/* Brand polish pass */
.brand img {
  display: block;
  width: 120px;
  height: auto;
}

.brand-mark {
  display: none;
}

.eyebrow,
.insight-card span,
.tag,
time {
  color: var(--brand-soft);
}

.button.primary,
.nav-cta {
  background: var(--brand);
  border-color: var(--brand);
}

.orbit-ring {
  border-color: rgba(117, 93, 181, 0.24);
}

.board-row i {
  background: linear-gradient(90deg, var(--brand-soft), var(--amber));
}

.pulse-line {
  background:
    radial-gradient(circle at 18% 52%, var(--clay) 0 5px, transparent 6px),
    radial-gradient(circle at 45% 28%, var(--amber) 0 5px, transparent 6px),
    radial-gradient(circle at 76% 66%, var(--brand-soft) 0 5px, transparent 6px),
    linear-gradient(135deg, transparent 48%, var(--line) 49% 51%, transparent 52%);
}

.progress i {
  background: var(--brand-soft);
}

.magic-thread {
  position: fixed;
  top: 16vh;
  left: clamp(18px, 3.8vw, 54px);
  z-index: -1;
  width: 120px;
  height: 72vh;
  opacity: 0.42;
  pointer-events: none;
}

.magic-thread::before {
  position: absolute;
  top: 0;
  left: 28px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(117, 93, 181, 0.38), rgba(217, 157, 74, 0.24), transparent);
  transform: scaleY(var(--thread-progress, 0.18));
  transform-origin: top;
  content: "";
  filter: drop-shadow(0 0 16px rgba(117, 93, 181, 0.22));
}

.magic-thread::after {
  position: absolute;
  top: calc(var(--thread-progress, 0.18) * 100%);
  left: 19px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 254, 250, 0.95) 0 24%, rgba(117, 93, 181, 0.52) 25% 42%, transparent 43%),
    radial-gradient(circle, rgba(217, 157, 74, 0.28), transparent 68%);
  content: "";
  transform: translateY(-50%);
  animation: sparkPulse 2.4s ease-in-out infinite;
}

.values-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 76px);
}

.value-manifesto {
  display: grid;
  gap: 0;
}

.value-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(233, 230, 221, 0.62);
}

.value-row h3 {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1;
}

.value-row .number,
.service-index {
  color: var(--brand-soft);
}

.steps {
  position: relative;
  gap: 22px;
  overflow: visible;
  border: 0;
  background: transparent;
  align-items: stretch;
}

.steps::before {
  position: absolute;
  top: 58px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(117, 93, 181, 0.42), rgba(217, 157, 74, 0.38), transparent);
  content: "";
  filter: drop-shadow(0 0 12px rgba(117, 93, 181, 0.18));
}

.steps article {
  position: relative;
  min-height: 270px;
  border: 1px solid rgba(233, 230, 221, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 254, 250, 0.64)),
    radial-gradient(circle at 50% 0, rgba(117, 93, 181, 0.1), transparent 42%);
  padding: 92px 22px 24px;
  box-shadow: 0 16px 42px rgba(45, 33, 79, 0.055);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.steps article:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.steps span {
  position: absolute;
  top: 35px;
  left: 22px;
  z-index: 1;
  background: var(--brand);
  color: var(--paper);
  box-shadow: 0 0 0 10px var(--paper), 0 16px 34px rgba(45, 33, 79, 0.2);
}

.steps article::before {
  position: absolute;
  top: 56px;
  right: 22px;
  left: 84px;
  height: 1px;
  background: linear-gradient(90deg, rgba(117, 93, 181, 0.42), transparent);
  content: "";
}

.steps h3 {
  font-size: 1.1rem;
  line-height: 1.2;
}

.steps p {
  margin: 0;
  font-size: 0.96rem;
}

.service-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.service-showcase::before {
  position: absolute;
  inset: 18% 6% auto;
  height: 150px;
  background: radial-gradient(ellipse at center, rgba(117, 93, 181, 0.12), transparent 68%);
  content: "";
  pointer-events: none;
}

.service-feature {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(233, 230, 221, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(237, 232, 251, 0.66), transparent 52%),
    rgba(255, 255, 255, 0.78);
  padding: 26px;
  box-shadow: 0 18px 46px rgba(45, 33, 79, 0.06);
  backdrop-filter: blur(12px);
}

.service-feature::after {
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(117, 93, 181, 0.22);
  border-radius: 50%;
  content: "";
}

.service-index {
  display: inline-flex;
  margin-bottom: 72px;
  color: var(--brand-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-feature h3 {
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.05;
}

.service-cloud {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.service-cloud a {
  border: 1px solid rgba(117, 93, 181, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 13px 16px;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(45, 33, 79, 0.05);
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-cloud a:hover {
  border-color: rgba(117, 93, 181, 0.42);
  transform: translateY(-3px);
}

.story-grid article {
  display: flex;
  position: relative;
  flex-direction: column;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.story-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-soft), var(--amber));
  content: "";
}

.story-grid article:hover,
.blog-list article:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.featured-story {
  background: var(--brand) !important;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 800;
}

.text-link::after {
  content: "->";
}

.featured-story .text-link {
  color: var(--paper);
}

.blog-list article {
  display: grid;
  min-height: 310px;
  align-content: start;
  background:
    linear-gradient(135deg, rgba(237, 232, 251, 0.7), transparent 44%),
    #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

footer img {
  width: 112px;
  height: auto;
}

[data-reveal] {
  transform: translateY(32px);
  transition: opacity 900ms ease, transform 900ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.page-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 80px;
}

.page-hero {
  margin-bottom: 70px;
}

.page-hero h1 {
  max-width: 920px;
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-card {
  scroll-margin-top: 120px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
}

.detail-card h2 {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--brand);
  font-weight: 800;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.section-cta.align-right {
  justify-content: flex-end;
}

.benefit-cta {
  width: fit-content;
}

.page-bottom-cta {
  margin-top: 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(237, 232, 251, 0.82), transparent 48%),
    #fff;
  padding: clamp(28px, 5vw, 52px);
}

.page-bottom-cta h2 {
  max-width: 720px;
}

@media (max-width: 920px) {
  .values-section,
  .value-row {
    grid-template-columns: 1fr;
  }

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

  .steps::before {
    display: none;
  }

  .steps article {
    min-height: auto;
    padding-top: 84px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 96px;
  }

  .magic-thread {
    display: none;
  }

  .service-feature {
    min-height: 240px;
  }

  .service-index {
    margin-bottom: 42px;
  }
}
