@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");

:root {
  --ink: #11100f;
  --ink-soft: #333127;
  --line: rgba(51, 49, 39, 0.18);
  --line-strong: rgba(51, 49, 39, 0.3);
  --paper: #f8f7f4;
  --paper-soft: #e4e2de;
  --orange: #ccac0a;
  --blue: #ccac0a;
  --violet: #333127;
  --shadow: 0 26px 80px rgba(17, 16, 15, 0.12);
  --radius: 28px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(203, 211, 223, 0.7);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1460px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-link {
  position: relative;
  color: #1a2438;
  font-size: 0.96rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  color: white;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 11px;
  box-shadow: 0 10px 26px rgba(8, 21, 45, 0.13);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button:hover,
.button:focus-visible {
  background: #14264a;
  box-shadow: 0 14px 34px rgba(8, 21, 45, 0.2);
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button--small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.94rem;
}

.button--ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.button--specular {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(142, 157, 192, 0.38);
  background: linear-gradient(145deg, #071229, #0d1c3a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 10px 28px rgba(8, 21, 45, 0.2);
}

.button--specular::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 48%);
  border-radius: 9px;
  pointer-events: none;
}

.button__shine {
  position: absolute;
  z-index: 1;
  top: -80%;
  bottom: -80%;
  left: -50%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  filter: blur(5px);
  opacity: 0.58;
  pointer-events: none;
  transform: skewX(-22deg);
  animation: specular-sweep 4.8s ease-in-out infinite;
}

.button__fx {
  position: absolute;
  z-index: 1;
  inset: -20px;
  pointer-events: none;
}

.button__fx canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.button--specular.has-webgl-specular .button__shine {
  display: none;
}

.button__label {
  position: relative;
  z-index: 2;
}

.button--specular:hover,
.button--specular:focus-visible {
  background: linear-gradient(145deg, #0a1833, #14264a);
  border-color: rgba(214, 222, 245, 0.64);
}

.button--specular:active {
  transform: scale(0.97);
}

@keyframes specular-sweep {
  0%, 20% { left: -50%; opacity: 0; }
  30% { opacity: 0.7; }
  58% { left: 118%; opacity: 0.46; }
  66%, 100% { left: 118%; opacity: 0; }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  width: 19px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle {
  flex-direction: column;
  gap: 5px;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: visible;
  padding: clamp(76px, 9vw, 138px) 24px clamp(76px, 8vw, 118px);
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  min-width: 0;
  margin: 0 auto;
}

.mobile-title-break {
  display: inline;
}

.hero h1,
.page-hero h1 {
  max-width: 930px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 6vw, 5.35rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero-subtitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
  max-width: 920px;
  margin: 30px auto 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2.15vw, 1.55rem);
  line-height: 1.45;
}

.rotator-window {
  display: inline-flex;
  width: min(100%, 360px);
  min-height: 42px;
  flex: 0 1 360px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.split-flap-text {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #f8fafc;
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.015em;
  white-space: pre;
  user-select: none;
  font-variant-numeric: tabular-nums;
}

.split-flap-text__tile {
  position: relative;
  width: 0.69em;
  height: 1.08em;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 44%), linear-gradient(180deg, #182742, #071229);
  border-radius: 4px;
  box-shadow: 0 0.035em 0.08em rgba(255, 255, 255, 0.08) inset, 0 -0.05em 0.1em rgba(0, 0, 0, 0.38) inset, 0 0.13em 0.28em rgba(8, 21, 45, 0.2);
  perspective: 520px;
  transform-style: preserve-3d;
  isolation: isolate;
}

.split-flap-text__tile::before {
  content: "";
  position: absolute;
  z-index: 8;
  top: calc(50% - 0.5px);
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 18%, rgba(0, 0, 0, 0.64) 50%, rgba(255, 255, 255, 0.12) 82%, transparent);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.07), 0 1px 0 rgba(0, 0, 0, 0.46);
  pointer-events: none;
}

.split-flap-text__tile::after {
  content: "";
  position: absolute;
  z-index: 9;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
  pointer-events: none;
}

.split-flap-text__half,
.split-flap-text__flap {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 34%), #0b1831;
  backface-visibility: hidden;
}

.split-flap-text__half--top,
.split-flap-text__flap--front { top: 0; }

.split-flap-text__half--bottom,
.split-flap-text__flap--back {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.05), transparent 38%), #071229;
}

.split-flap-text__char {
  position: absolute;
  left: 0;
  display: flex;
  width: 100%;
  height: 200%;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  text-shadow: 0 0.025em 0 rgba(255, 255, 255, 0.16), 0 0.09em 0.16em rgba(0, 0, 0, 0.42);
}

.split-flap-text__half--top .split-flap-text__char,
.split-flap-text__flap--front .split-flap-text__char { top: 0; }

.split-flap-text__half--bottom .split-flap-text__char,
.split-flap-text__flap--back .split-flap-text__char { bottom: 0; }

.split-flap-text__flap {
  z-index: 6;
  transform-style: preserve-3d;
  will-change: transform, filter;
}

.split-flap-text__flap--front {
  transform-origin: center bottom;
  animation: split-flap-front 96ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

.split-flap-text__flap--back {
  transform: rotateX(90deg);
  transform-origin: center top;
  animation: split-flap-back 96ms cubic-bezier(0.23, 1, 0.32, 1) both;
}

@keyframes split-flap-front {
  from { transform: rotateX(0); filter: brightness(1.08); }
  to { transform: rotateX(-90deg); filter: brightness(0.52); }
}

@keyframes split-flap-back {
  0%, 45% { transform: rotateX(90deg); filter: brightness(0.58); }
  100% { transform: rotateX(0); filter: brightness(1); }
}

.hero .button {
  margin-top: 32px;
  min-width: 190px;
}

.system-stage {
  position: relative;
  width: calc(100% - 24px);
  min-width: 0;
  max-width: 1380px;
  margin: 26px auto 0;
  padding: 52px 0 0;
}

.cloud-orb {
  position: absolute;
  z-index: 0;
  top: -125px;
  left: 50%;
  width: min(86vw, 1120px);
  aspect-ratio: 1;
  border-radius: 45% 55% 52% 48% / 50% 44% 56% 50%;
  background:
    radial-gradient(circle at 22% 32%, rgba(90, 145, 255, 0.96), transparent 34%),
    radial-gradient(circle at 78% 58%, rgba(158, 88, 255, 0.92), transparent 38%),
    radial-gradient(circle at 48% 60%, rgba(105, 117, 255, 0.78), transparent 52%);
  background-size: 145% 145%;
  filter: blur(52px);
  opacity: 0.82;
  transform: translateX(-50%);
  transform-origin: center;
  animation: cloud-drift 18s ease-in-out infinite alternate;
  will-change: transform, border-radius, background-position;
}

.cloud-orb::before,
.cloud-orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(22px);
  mix-blend-mode: multiply;
  will-change: transform;
}

.cloud-orb::before {
  top: 12%;
  left: 8%;
  width: 58%;
  height: 54%;
  background: rgba(83, 145, 255, 0.48);
  animation: cloud-layer-one 13s ease-in-out infinite alternate;
}

.cloud-orb::after {
  right: 7%;
  bottom: 10%;
  width: 54%;
  height: 58%;
  background: rgba(152, 82, 255, 0.46);
  animation: cloud-layer-two 15s ease-in-out infinite alternate;
}

@keyframes cloud-drift {
  0% {
    border-radius: 45% 55% 52% 48% / 50% 44% 56% 50%;
    background-position: 5% 15%;
    transform: translateX(-53%) translate3d(-54px, 14px, 0) scale(0.94) rotate(-4deg);
  }
  48% {
    border-radius: 53% 47% 45% 55% / 43% 56% 44% 57%;
    background-position: 70% 42%;
    transform: translateX(-47%) translate3d(62px, -28px, 0) scale(1.07) rotate(4deg);
  }
  100% {
    border-radius: 48% 52% 58% 42% / 56% 47% 53% 44%;
    background-position: 28% 78%;
    transform: translateX(-51%) translate3d(-28px, 32px, 0) scale(1.02) rotate(-2deg);
  }
}

@keyframes cloud-layer-one {
  from { transform: translate3d(-8%, 4%, 0) scale(0.86); }
  to { transform: translate3d(48%, 18%, 0) scale(1.18); }
}

@keyframes cloud-layer-two {
  from { transform: translate3d(8%, -12%, 0) scale(1.08); }
  to { transform: translate3d(-44%, -26%, 0) scale(0.9); }
}

.system-board {
  position: relative;
  z-index: 1;
  padding: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 211, 223, 0.92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  min-width: 0;
}

.phase-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 0 24px;
}

.phase-marker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phase-marker::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: calc(100% + 22px);
  height: 1px;
  background: linear-gradient(90deg, var(--orange), rgba(243, 107, 21, 0.35));
}

.phase-marker:last-child::after {
  display: none;
}

.phase-marker span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  color: white;
  background: var(--orange);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

.phase-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  min-width: 0;
}

.system-card {
  min-width: 0;
  min-height: 310px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.is-running .system-card {
  animation: system-card-breathe 10s ease-in-out infinite;
}

.is-running .system-card:nth-child(2) { animation-delay: -3.3s; }
.is-running .system-card:nth-child(3) { animation-delay: -6.6s; }

.is-running .search-lens {
  animation: investigate-scan 12s cubic-bezier(0.64, 0, 0.36, 1) infinite;
}

.is-running .investigation-word--email {
  animation: investigation-email 12s ease-in-out infinite;
}

.is-running .investigation-word--content {
  animation: investigation-content 12s ease-in-out infinite;
}

.is-running .investigation-word--reporting {
  animation: investigation-reporting 12s ease-in-out infinite;
}

.is-running .prototype-window {
  animation: prototype-breathe 6s ease-in-out infinite;
}

.is-running .score-stack strong {
  animation: score-glow 5.4s ease-in-out infinite;
}

.is-running .score-stack strong:nth-of-type(2) { animation-delay: -1.8s; }
.is-running .score-stack strong:nth-of-type(3) { animation-delay: -3.6s; }

.is-running .status-item {
  animation: status-step 6.8s ease-in-out infinite;
}

.is-running .status-item:nth-child(2) { animation-delay: -5.1s; }
.is-running .status-item:nth-child(3) { animation-delay: -3.4s; }
.is-running .status-item:nth-child(4) { animation-delay: -1.7s; }

.is-running .chart-card {
  animation: chart-float 5.6s ease-in-out infinite;
}

@keyframes investigate-scan {
  0%, 20%, 100% { left: 23%; top: 27%; }
  30%, 52% { left: 71%; top: 48%; }
  62%, 84% { left: 38%; top: 76%; }
  92% { left: 23%; top: 27%; }
}

@keyframes system-card-breathe {
  0%, 100% { background: rgba(255, 255, 255, 0.76); box-shadow: none; }
  50% { background: rgba(255, 255, 255, 0.92); box-shadow: 0 16px 34px rgba(61, 83, 145, 0.06); }
}

@keyframes investigation-email {
  0%, 20%, 92%, 100% { color: var(--ink); opacity: 1; transform: translate(-50%, -50%) scale(1); }
  25%, 87% { color: var(--ink); opacity: 0; transform: translate(-50%, -50%) scale(0.94); }
}

@keyframes investigation-content {
  0%, 25%, 57%, 100% { color: var(--ink); opacity: 0; transform: translate(-50%, -50%) scale(0.94); }
  30%, 52% { color: var(--ink); opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes investigation-reporting {
  0%, 57%, 89%, 100% { color: var(--ink); opacity: 0; transform: translate(-50%, -50%) scale(0.94); }
  62%, 84% { color: var(--ink); opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes prototype-breathe {
  0%, 100% { transform: translateY(0); box-shadow: 0 10px 28px rgba(31, 43, 71, 0.06); }
  50% { transform: translateY(-4px); box-shadow: 0 17px 34px rgba(61, 83, 145, 0.12); }
}

@keyframes score-glow {
  0%, 100% { transform: translateY(0); opacity: 0.74; }
  45% { transform: translateY(-2px); opacity: 1; }
}

@keyframes status-step {
  0%, 18%, 100% { transform: translateX(0); color: var(--ink); }
  8% { transform: translateX(4px); color: #254885; }
}

@keyframes chart-float {
  0%, 100% { transform: translateY(0); box-shadow: none; }
  50% { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(31, 43, 71, 0.08); }
}

.system-card h2,
.system-card h3,
.section-heading,
.project-title,
.contact-panel h2,
.success-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.system-card h3 {
  font-size: 1.55rem;
}

.card-kicker {
  margin: 1px 0 22px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.workflow-node {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(31, 43, 71, 0.05);
}

.investigation-field {
  position: relative;
  height: 180px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(179, 190, 214, 0.58);
  border-radius: 16px;
  background:
    radial-gradient(circle at 22% 24%, rgba(98, 149, 255, 0.1), transparent 34%),
    radial-gradient(circle at 78% 76%, rgba(155, 108, 255, 0.09), transparent 36%),
    rgba(255, 255, 255, 0.56);
}

.investigation-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(112, 128, 166, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.34;
}

.investigation-word {
  position: absolute;
  z-index: 1;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.94);
  transition: color 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.investigation-word--email { left: 23%; top: 27%; opacity: 1; transform: translate(-50%, -50%); }
.investigation-word--content { left: 71%; top: 48%; }
.investigation-word--reporting { left: 38%; top: 76%; }

.search-lens {
  position: absolute;
  z-index: 2;
  left: 23%;
  top: 27%;
  width: 74px;
  height: 74px;
  border: 1.5px solid rgba(86, 111, 175, 0.66);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.24),
    0 12px 26px rgba(43, 61, 109, 0.12),
    0 0 28px rgba(112, 102, 255, 0.11);
  transform: translate(-50%, -50%);
  will-change: left, top;
}

.search-lens::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: inherit;
}

.search-lens::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: 2px;
  width: 32px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(86, 111, 175, 0.76), rgba(155, 108, 255, 0.7));
  box-shadow: 0 5px 12px rgba(43, 61, 109, 0.12);
  transform: rotate(45deg);
  transform-origin: left center;
}

/* Shared approval-flow nodes. */
.workflow-node {
  position: relative;
}

.prototype-window {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(31, 43, 71, 0.06);
}

.window-bar {
  display: flex;
  gap: 5px;
  padding: 10px 12px;
  background: #f7f8fb;
  border-bottom: 1px solid var(--line);
}

.window-bar i {
  width: 7px;
  height: 7px;
  background: #d8dce4;
  border-radius: 50%;
}

.window-bar i:first-child {
  background: var(--orange);
}

.prototype-body {
  display: grid;
  grid-template-columns: 1fr 92px;
  height: 188px;
  min-height: 188px;
}

.draft-copy {
  min-width: 0;
  padding: 22px 20px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.typing-report {
  width: 100%;
  height: 10.32em;
  margin: 0;
  overflow: hidden;
  color: #27334b;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.012em;
  text-align: left;
  white-space: pre;
}

.typing-report::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.08em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: var(--orange);
  animation: typing-cursor 820ms steps(1, end) infinite;
}

@keyframes typing-cursor {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

.score-stack {
  padding: 14px 10px;
  background: #fafbfc;
}

.score-stack span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.62rem;
}

.score-stack strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.score-stack strong:last-child {
  color: var(--orange);
}

.launch-layout {
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 16px;
}

.status-list {
  display: grid;
  gap: 16px;
  align-content: center;
  min-height: 190px;
  padding: 8px 0;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 500;
}

.check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--orange);
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.72rem;
}

.chart-card {
  align-self: center;
  padding: 16px 12px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.chart-card span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.67rem;
}

.chart-card strong {
  display: block;
  margin: 6px 0 14px;
  color: var(--orange);
  font-size: 1.5rem;
}

.chart-line {
  width: 100%;
  height: 70px;
  overflow: visible;
}

.chart-line path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 250;
  stroke-dashoffset: 0;
}

.chart-line path.is-drawing {
  animation: draw-line 6.4s 0.45s ease-in-out infinite;
}

@keyframes draw-line {
  0% { stroke-dashoffset: 250; }
  24%, 82% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -250; }
}

.approval-flow {
  display: grid;
  grid-template-columns: minmax(250px, 1.8fr) repeat(5, minmax(86px, 0.62fr));
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.approval-copy {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.person-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.person-icon::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 17px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.person-icon::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 7px;
  left: 10px;
  height: 15px;
  border: 1.5px solid var(--ink);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.approval-copy strong {
  display: block;
  font-size: 0.9rem;
}

.approval-copy p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.workflow-node {
  position: relative;
  flex-direction: column;
  min-height: 76px;
  text-align: center;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.workflow-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  width: 15px;
  border-top: 1px dashed #8590a2;
}

.workflow-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.workflow-node span:last-child {
  font-size: 0.68rem;
  font-weight: 500;
}

.is-running .workflow-node {
  animation: node-pulse 6.6s ease-in-out infinite;
}

.is-running .workflow-node:nth-child(3) { animation-delay: 1.15s; }
.is-running .workflow-node:nth-child(4) { animation-delay: 2.3s; }
.is-running .workflow-node:nth-child(5) { animation-delay: 3.45s; }
.is-running .workflow-node:nth-child(6) { animation-delay: 4.6s; }

@keyframes node-pulse {
  0%, 12%, 100% {
    border-color: var(--line-strong);
    box-shadow: 0 8px 22px rgba(31, 43, 71, 0.05);
    transform: translateY(0) scale(1);
  }
  5% {
    border-color: var(--orange);
    box-shadow: 0 14px 28px rgba(243, 107, 21, 0.18);
    transform: translateY(-7px) scale(1.04);
  }
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(92px, 11vw, 160px) 24px;
}

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

.section--soft {
  background: transparent;
  border: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  gap: 9vw;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading {
  font-size: clamp(2.9rem, 5.8vw, 5.9rem);
  line-height: 0.96;
}

.section-intro {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.capability-section {
  padding-top: clamp(70px, 8vw, 112px);
  padding-bottom: clamp(92px, 11vw, 152px);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.capability-copy {
  position: relative;
  z-index: 2;
}

.capability-copy .section-heading {
  max-width: 560px;
  font-size: clamp(3.5rem, 6.5vw, 6.7rem);
  line-height: 0.9;
}

.capability-copy > p {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
}

.capability-hint {
  display: block;
  max-width: 460px;
  margin-top: 22px;
  color: #768097;
  font-size: 0.8rem;
}

.capability-experience {
  position: relative;
  min-width: 0;
  min-height: 610px;
  overflow: hidden;
  background: rgba(248, 250, 254, 0.68);
  border: 1px solid rgba(203, 211, 223, 0.82);
  border-radius: 30px;
  box-shadow: 0 28px 90px rgba(29, 43, 83, 0.11);
  isolation: isolate;
}

.capability-experience::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: inherit;
  pointer-events: none;
}

.capability-aurora {
  position: absolute;
  z-index: -1;
  top: 5%;
  left: 9%;
  width: 82%;
  aspect-ratio: 1.3;
  background:
    radial-gradient(circle at 28% 38%, rgba(86, 145, 255, 0.6), transparent 42%),
    radial-gradient(circle at 70% 56%, rgba(156, 92, 255, 0.58), transparent 45%),
    radial-gradient(circle at 50% 48%, rgba(231, 238, 255, 0.82), transparent 64%);
  border-radius: 42% 58% 48% 52% / 54% 42% 58% 46%;
  filter: blur(44px);
  opacity: 0.72;
  animation: capability-aurora-drift 17s ease-in-out infinite alternate;
  will-change: transform, border-radius;
}

@keyframes capability-aurora-drift {
  0% { border-radius: 42% 58% 48% 52% / 54% 42% 58% 46%; transform: translate3d(-7%, -4%, 0) scale(0.92) rotate(-4deg); }
  52% { border-radius: 57% 43% 55% 45% / 46% 58% 42% 54%; transform: translate3d(8%, 5%, 0) scale(1.08) rotate(5deg); }
  100% { border-radius: 48% 52% 43% 57% / 59% 45% 55% 41%; transform: translate3d(-2%, 9%, 0) scale(1) rotate(-2deg); }
}

.capability-root,
.capability-fallback,
.capability-canvas {
  position: absolute;
  inset: 0;
}

.capability-root {
  z-index: 2;
}

.capability-canvas {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  min-height: 100%;
}

.capability-viewport {
  min-height: 390px;
  touch-action: pan-y;
}

.capability-viewport canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

.capability-fallback {
  z-index: 0;
  opacity: 1;
  transition: opacity 320ms ease;
}

.is-three-ready .capability-fallback {
  opacity: 0;
}

.capability-controls {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 22px 12px;
}

.capability-control {
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(203, 211, 223, 0.88);
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.capability-control:hover,
.capability-control:focus-visible {
  color: var(--ink);
  background: white;
  border-color: #aab6cc;
  outline: none;
  transform: translateY(-2px);
}

.capability-control[aria-pressed="true"] {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.capability-readout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  min-height: 102px;
  margin: 0 22px 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(203, 211, 223, 0.88);
  border-radius: 15px;
  backdrop-filter: blur(12px);
}

.capability-readout span {
  grid-row: 1 / 3;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 0.95;
}

.capability-readout strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}

.capability-readout p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.has-three-error .capability-root {
  display: none;
}

#how-i-work .section-head {
  display: block;
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

#how-i-work .section-heading {
  font-size: clamp(4rem, 8vw, 7.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

#how-i-work .section-intro {
  max-width: 650px;
  margin: 24px auto 0;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.6;
}

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

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

.work-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.work-step {
  position: relative;
  min-height: 320px;
  padding: 38px 34px 34px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.work-step::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -92px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(105, 147, 255, 0.22), rgba(159, 105, 255, 0.05) 58%, transparent 70%);
  border-radius: 50%;
}

.step-number {
  position: absolute;
  z-index: 0;
  top: -24px;
  right: 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(9rem, 15vw, 12rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.08em;
  opacity: 0.055;
  pointer-events: none;
}

.work-step h3 {
  position: relative;
  z-index: 1;
  margin: 86px 0 16px;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
}

.work-step p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
}

.value-section__head {
  align-items: start;
}

.value-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 22px;
  align-items: stretch;
}

.roi-model {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 62px);
  color: #e4e2de;
  background: #11100f;
  border-radius: 26px;
}

.roi-model::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(204, 172, 10, 0.46), rgba(204, 172, 10, 0.08) 48%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.value-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: #ccac0a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.roi-equation {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 38px 0 0;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
}

.roi-equation strong {
  font-family: var(--serif);
  font-weight: 400;
}

.roi-equation i {
  color: #ccac0a;
  font-style: normal;
}

.roi-arrow {
  position: relative;
  z-index: 1;
  margin: 26px 0 18px;
  color: #ccac0a;
  font-size: 2rem;
}

.roi-result {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 0 42px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.roi-model small {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 580px;
  color: rgba(228, 226, 222, 0.65);
  font-size: 0.92rem;
  line-height: 1.6;
}

.quick-wins {
  display: grid;
  gap: 14px;
}

.quick-wins article {
  position: relative;
  min-height: 148px;
  padding: 28px 30px 26px 92px;
  background: rgba(248, 247, 244, 0.92);
  border: 1px solid rgba(51, 49, 39, 0.18);
  border-radius: 20px;
}

.quick-wins span {
  position: absolute;
  top: 26px;
  left: 28px;
  color: #ccac0a;
  font-family: var(--serif);
  font-size: 2rem;
}

.quick-wins h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.quick-wins p {
  margin: 0;
  color: var(--ink-soft);
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
}

.specialty {
  min-height: 240px;
  padding: 38px 36px;
  border-bottom: 1px solid var(--line-strong);
}

.specialty:nth-child(odd) {
  border-right: 1px solid var(--line-strong);
}

.specialty-index {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.5rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  opacity: 0.2;
}

.specialty h3 {
  margin: 28px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
}

.specialty p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
}

.projects {
  display: grid;
  gap: 22px;
}

.project-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 360px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.project-content {
  padding: 46px;
}

.project-type {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-title {
  margin-top: 48px;
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  line-height: 0.97;
}

.project-content p {
  max-width: 490px;
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.project-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  background: linear-gradient(140deg, #edf4ff, #f0eaff);
  isolation: isolate;
}

.project-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle at 32% 30%, rgba(75, 137, 255, 0.82), rgba(151, 89, 255, 0.62), transparent 70%);
  border-radius: 42% 58% 55% 45% / 55% 45% 55% 45%;
  filter: blur(26px);
  animation: project-aurora-one 15s ease-in-out infinite alternate;
  will-change: transform, border-radius;
}

.project-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(176, 104, 255, 0.56), rgba(108, 137, 255, 0.26) 54%, transparent 72%);
  border-radius: 58% 42% 45% 55% / 48% 56% 44% 52%;
  filter: blur(24px);
  animation: project-aurora-two 18s ease-in-out infinite alternate;
  will-change: transform, border-radius;
}

@keyframes project-aurora-one {
  0% { transform: translate3d(-34%, -18%, 0) scale(0.82) rotate(-8deg); }
  48% { transform: translate3d(36%, 12%, 0) scale(1.12) rotate(9deg); }
  100% { transform: translate3d(-5%, 34%, 0) scale(0.94) rotate(-3deg); }
}

@keyframes project-aurora-two {
  0% { transform: translate3d(42%, 30%, 0) scale(1.08); }
  52% { transform: translate3d(-44%, -22%, 0) scale(0.82); }
  100% { transform: translate3d(18%, -38%, 0) scale(1); }
}

.project-window {
  position: relative;
  z-index: 1;
  width: min(76%, 410px);
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(32, 43, 83, 0.18);
  transform: rotate(-2deg);
}

.project-window--sentiment {
  transform: rotate(2deg);
}

.project-window--dashboard {
  width: min(84%, 450px);
  padding: 18px;
  transform: rotate(1.5deg);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.dashboard-header span,
.dashboard-header strong {
  display: block;
}

.dashboard-header span,
.dashboard-kpis span,
.dashboard-grid > div > span {
  color: var(--ink-soft);
  font-size: 0.58rem;
}

.dashboard-header strong {
  margin-top: 2px;
  font-size: 0.88rem;
}

.dashboard-header i {
  padding: 5px 8px;
  color: #4b56ad;
  background: #eef0ff;
  border-radius: 999px;
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 700;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.dashboard-kpis > div {
  padding: 10px;
  background: #f6f8fc;
  border: 1px solid #edf0f5;
  border-radius: 9px;
}

.dashboard-kpis span,
.dashboard-kpis strong {
  display: block;
}

.dashboard-kpis strong {
  margin-top: 3px;
  font-size: 0.72rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 9px;
}

.dashboard-grid > div {
  min-height: 122px;
  padding: 11px;
  background: rgba(248, 250, 253, 0.9);
  border: 1px solid #edf0f5;
  border-radius: 10px;
}

.trend-columns {
  display: flex;
  height: 84px;
  align-items: end;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 4px 0;
  background: repeating-linear-gradient(to bottom, transparent 0 22px, #e7ebf2 22px 23px);
}

.trend-columns i {
  width: 100%;
  height: var(--bar);
  background: linear-gradient(180deg, var(--violet), var(--blue));
  border-radius: 4px 4px 2px 2px;
  transform-origin: bottom;
}

.dashboard-sources > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 7px;
  align-items: center;
  margin-top: 13px;
}

.dashboard-sources em {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.53rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-sources div > i {
  height: 6px;
  overflow: hidden;
  background: #e6eaf1;
  border-radius: 999px;
}

.dashboard-sources b {
  display: block;
  width: var(--fill);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  border-radius: inherit;
  transform-origin: left;
}

[data-reveal].is-visible .project-window--dashboard {
  animation: dashboard-float 7s ease-in-out infinite;
}

[data-reveal].is-visible .trend-columns i,
[data-reveal].is-visible .dashboard-sources b {
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(0.22, 0.72, 0.16, 1);
  animation-fill-mode: both;
}

[data-reveal].is-visible .trend-columns i { animation-name: dashboard-grow-y; }
[data-reveal].is-visible .dashboard-sources b { animation-name: dashboard-grow-x; }

[data-reveal].is-visible .trend-columns i:nth-child(2) { animation-delay: 0.08s; }
[data-reveal].is-visible .trend-columns i:nth-child(3) { animation-delay: 0.16s; }
[data-reveal].is-visible .trend-columns i:nth-child(4) { animation-delay: 0.24s; }
[data-reveal].is-visible .trend-columns i:nth-child(5) { animation-delay: 0.32s; }
[data-reveal].is-visible .trend-columns i:nth-child(6) { animation-delay: 0.4s; }

@keyframes dashboard-float {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(-0.2deg) translateY(-7px); }
}

@keyframes dashboard-grow-y {
  from { transform: scaleY(0.08); opacity: 0.2; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes dashboard-grow-x {
  from { transform: scaleX(0.08); opacity: 0.2; }
  to { transform: scaleX(1); opacity: 1; }
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.metric {
  padding: 13px;
  background: #f6f8fb;
  border-radius: 10px;
}

.metric span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.62rem;
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 1.1rem;
}

.bar-list {
  display: grid;
  gap: 12px;
}

.bar {
  height: 10px;
  overflow: hidden;
  background: #e8ecf3;
  border-radius: 999px;
}

.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  border-radius: inherit;
}

.sentiment-ring {
  display: grid;
  width: 160px;
  height: 160px;
  margin: 10px auto 24px;
  place-items: center;
  background: conic-gradient(#55c89b 0 58%, #7f8cff 58% 82%, #e8ecf3 82%);
  border-radius: 50%;
}

.sentiment-ring::before {
  content: "";
  width: 116px;
  height: 116px;
  background: white;
  border-radius: 50%;
}

.sentiment-ring strong {
  position: absolute;
  font-size: 1.8rem;
}

.cta-section {
  padding: clamp(84px, 10vw, 140px) 24px;
  text-align: center;
}

.cta-card {
  position: relative;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: clamp(54px, 8vw, 104px) 24px;
  overflow: hidden;
  color: white;
  background: var(--ink);
  border-radius: 28px;
}

.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
}

.cta-card::before {
  top: -220px;
  left: -100px;
  background: rgba(85, 145, 255, 0.55);
}

.cta-card::after {
  right: -90px;
  bottom: -240px;
  background: rgba(159, 94, 255, 0.55);
}

.cta-card h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.cta-card p {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 24px auto 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.cta-card .button {
  position: relative;
  z-index: 1;
  color: var(--ink);
  background: white;
  border-color: white;
}

.site-footer {
  display: flex;
  width: min(1460px, calc(100% - 48px));
  min-height: 100px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.page-hero {
  padding: clamp(76px, 10vw, 130px) 24px 58px;
  text-align: center;
}

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

.page-hero p {
  max-width: 660px;
  margin: 26px auto 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 32px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 110px;
}

.contact-aside,
.contact-panel {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.contact-aside {
  align-self: start;
  background: var(--ink);
  color: white;
}

.contact-aside h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
}

.contact-aside p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-aside a {
  color: white;
}

.contact-panel {
  background: white;
  box-shadow: var(--shadow);
}

.contact-panel h2,
.success-panel h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1;
}

.contact-panel h2 + .contact-form {
  margin-top: 32px;
}

.form-intro {
  margin: 12px 0 32px;
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-grid--two {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field label span {
  color: #737d90;
  font-weight: 400;
}

.field label .required-mark {
  color: #d92d20;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input {
  min-height: 52px;
  padding: 0 14px;
}

.field textarea {
  min-height: 146px;
  padding: 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(98, 149, 255, 0.14);
}

.field__error {
  display: none;
  color: #b42318;
  font-size: 0.78rem;
}

.field.is-invalid .field__error,
.consent.is-invalid + .consent-error {
  display: block;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #d92d20;
}

.field--honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
}

.consent-error {
  display: none;
  margin: 8px 0 0 30px;
  color: #b42318;
  font-size: 0.78rem;
}

.contact-form .button {
  width: 100%;
  margin-top: 24px;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.fine-print {
  margin: 10px 0 0;
  color: #707a8c;
  font-size: 0.75rem;
}

.success-panel {
  padding: 28px 0;
  outline: none;
}

.success-panel p {
  max-width: 520px;
  color: var(--ink-soft);
}

.privacy-main {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 120px;
}

.privacy-main h1 {
  margin: 0 0 38px;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 400;
  line-height: 0.98;
}

.privacy-main h2 {
  margin: 42px 0 10px;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
}

.privacy-main p,
.privacy-main li {
  color: var(--ink-soft);
}

@media (max-width: 1120px) {
  .work-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-board {
    padding: 26px;
  }

  .phase-cards {
    gap: 14px;
  }

  .system-card {
    padding: 20px;
  }

  .approval-flow {
    grid-template-columns: minmax(230px, 1.6fr) repeat(5, minmax(74px, 0.6fr));
    gap: 8px;
  }

  .workflow-node:not(:last-child)::after {
    width: 9px;
  }
}

@media (max-width: 920px) {
  .phase-cards,
  .work-steps {
    grid-template-columns: 1fr;
  }

  .phase-track {
    display: none;
  }

  .system-card {
    min-height: 0;
  }

  .approval-flow {
    grid-template-columns: repeat(5, 1fr);
  }

  .approval-copy {
    grid-column: 1 / -1;
  }

  .section-head,
  .project-card,
  .contact-layout,
  .value-layout {
    grid-template-columns: 1fr;
  }

  .capability-layout {
    grid-template-columns: 1fr;
  }

  .capability-copy {
    max-width: 760px;
    text-align: center;
  }

  .capability-copy .section-heading,
  .capability-copy > p,
  .capability-hint {
    margin-right: auto;
    margin-left: auto;
  }

  .capability-experience {
    min-height: 590px;
  }

  .project-card:nth-child(even) .project-visual {
    order: 2;
  }

  .contact-aside {
    display: none;
  }
}

@media (max-width: 840px) {
  .nav-shell {
    width: calc(100% - 32px);
    max-width: 1460px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px 20px 26px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(8, 21, 45, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link,
  .site-nav .button {
    width: 100%;
    padding: 16px 8px;
  }

  .site-nav .button {
    margin-top: 10px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.035em;
  }

  .system-stage {
    width: 100%;
    max-width: 100%;
  }

  .system-board {
    padding: 18px;
    border-radius: 20px;
  }

  .cloud-orb {
    top: -40px;
    width: 120vw;
  }

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

  .specialty:nth-child(odd) {
    border-right: 0;
  }

  .project-content {
    padding: 34px 28px;
  }

  .project-title {
    margin-top: 30px;
  }

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

@media (max-width: 640px) {
  .hero {
    width: 100%;
    max-width: 100vw;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    max-width: calc(100vw - 32px);
    font-size: clamp(2.3rem, 9.7vw, 2.6rem);
  }

  .mobile-title-break {
    display: block;
  }

  .hero-subtitle {
    width: 100%;
    max-width: 290px;
    font-size: 1.03rem;
    overflow-wrap: anywhere;
  }

  .rotator-window {
    display: flex;
    width: min(260px, 100%);
    max-width: 100%;
    flex-basis: min(260px, 100%);
    margin: 0 auto;
  }

  .split-flap-text {
    gap: 2px;
    font-size: clamp(1rem, 5.2vw, 1.25rem);
  }

  .subtitle-copy,
  .subtitle-copy--tail {
    flex-basis: 100%;
  }

  .system-stage {
    padding-top: 28px;
  }

  .system-board {
    padding: 14px;
  }

  .system-card {
    padding: 18px;
  }

  .investigation-field {
    width: min(100%, 300px);
    margin-right: auto;
    margin-left: auto;
  }

  .launch-layout {
    grid-template-columns: 1fr;
  }

  .chart-card {
    width: min(100%, 260px);
  }

  .approval-flow {
    grid-template-columns: 1fr;
  }

  .approval-copy {
    grid-column: auto;
  }

  .workflow-node:not(:last-child)::after {
    top: 100%;
    left: 50%;
    width: 1px;
    height: 15px;
    border-top: 0;
    border-left: 1px dashed #8590a2;
  }

  .section,
  .cta-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section-head {
    gap: 24px;
    margin-bottom: 38px;
  }

  .capability-section {
    padding-top: 64px;
  }

  .capability-copy .section-heading {
    font-size: clamp(3.2rem, 15vw, 4.6rem);
  }

  .capability-hint {
    display: none;
  }

  .capability-experience {
    min-height: 620px;
    border-radius: 22px;
  }

  .capability-viewport {
    min-height: 360px;
  }

  .capability-controls {
    grid-template-columns: repeat(2, 1fr);
    padding-right: 14px;
    padding-left: 14px;
  }

  .capability-readout {
    margin-right: 14px;
    margin-bottom: 14px;
    margin-left: 14px;
    padding: 16px;
  }

  .work-step {
    min-height: 260px;
  }

  .specialty {
    padding: 30px 6px;
  }

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

  .form-grid--two {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 28px 20px;
  }

  .site-footer {
    width: min(100% - 36px, 1460px);
    flex-direction: column;
    justify-content: center;
    padding: 26px 0;
    text-align: center;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Lithic brand system */
body {
  background:
    radial-gradient(circle at 14% 8%, rgba(204, 172, 10, 0.08), transparent 30%),
    linear-gradient(180deg, #f8f7f4 0%, #e4e2de 46%, #f8f7f4 100%);
  background-attachment: fixed;
}

.site-header {
  background: rgba(228, 226, 222, 0.88);
  border-bottom-color: rgba(51, 49, 39, 0.16);
}

.brand {
  display: inline-flex;
  width: clamp(150px, 15vw, 205px);
  height: 42px;
  align-items: center;
}

.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-link { color: var(--ink); }

.button,
.button--specular {
  color: #e4e2de;
  background: linear-gradient(145deg, #11100f, #333127);
  border-color: rgba(204, 172, 10, 0.5);
  box-shadow: inset 0 1px 0 rgba(228, 226, 222, 0.12), 0 12px 30px rgba(17, 16, 15, 0.18);
}

.button:hover,
.button:focus-visible,
.button--specular:hover,
.button--specular:focus-visible {
  color: #11100f;
  background: #ccac0a;
  border-color: #ccac0a;
  box-shadow: 0 14px 34px rgba(51, 49, 39, 0.22);
}

.hero h1 { max-width: 1050px; }

.hero-subtitle {
  display: block;
  max-width: 780px;
}

.cloud-orb {
  background:
    radial-gradient(circle at 22% 32%, rgba(204, 172, 10, 0.72), transparent 34%),
    radial-gradient(circle at 78% 58%, rgba(51, 49, 39, 0.48), transparent 40%),
    radial-gradient(circle at 48% 60%, rgba(228, 226, 222, 0.94), transparent 54%);
  opacity: 0.74;
}

.cloud-orb::before {
  background: rgba(204, 172, 10, 0.34);
  mix-blend-mode: multiply;
}

.cloud-orb::after {
  background: rgba(51, 49, 39, 0.22);
  mix-blend-mode: multiply;
}

.system-board,
.system-card,
.approval-copy,
.workflow-node {
  background: rgba(248, 247, 244, 0.88);
  border-color: rgba(51, 49, 39, 0.18);
}

.system-board { box-shadow: 0 26px 80px rgba(17, 16, 15, 0.13); }
.phase-marker::after { background: linear-gradient(90deg, #ccac0a, rgba(204, 172, 10, 0.32)); }
.phase-marker span { color: #11100f; }

.investigation-field {
  border-color: rgba(51, 49, 39, 0.2);
  background:
    radial-gradient(circle at 22% 24%, rgba(204, 172, 10, 0.1), transparent 34%),
    radial-gradient(circle at 78% 76%, rgba(51, 49, 39, 0.07), transparent 36%),
    rgba(228, 226, 222, 0.34);
}

.investigation-field::before { background-image: radial-gradient(circle, rgba(51, 49, 39, 0.16) 1px, transparent 1px); }
.search-lens { border-color: rgba(204, 172, 10, 0.78); box-shadow: inset 0 0 0 6px rgba(228, 226, 222, 0.32), 0 12px 26px rgba(51, 49, 39, 0.12), 0 0 28px rgba(204, 172, 10, 0.14); }
.search-lens::after { background: linear-gradient(90deg, #333127, #ccac0a); }
.prototype-window,
.chart-card { border-color: rgba(51, 49, 39, 0.2); box-shadow: 0 12px 28px rgba(17, 16, 15, 0.07); }
.window-bar,
.score-stack { background: rgba(228, 226, 222, 0.46); }
.score-stack strong:last-child,
.chart-card strong { color: #a48800; }

.section,
.section--soft { background: transparent; border: 0; }

.capability-experience {
  background: rgba(228, 226, 222, 0.5);
  border-color: rgba(51, 49, 39, 0.2);
  box-shadow: 0 28px 90px rgba(17, 16, 15, 0.13);
}

.capability-aurora {
  background:
    radial-gradient(circle at 28% 38%, rgba(204, 172, 10, 0.58), transparent 42%),
    radial-gradient(circle at 70% 56%, rgba(51, 49, 39, 0.32), transparent 45%),
    radial-gradient(circle at 50% 48%, rgba(228, 226, 222, 0.92), transparent 64%);
}

.capability-hint { color: rgba(51, 49, 39, 0.7); }

.fallback-mountain {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(74%, 410px);
  aspect-ratio: 1.6;
  transform: translate(-50%, -50%) perspective(900px) rotateX(4deg) rotateY(-7deg);
}

.fallback-peak {
  position: absolute;
  inset: 8% 2% 10%;
  display: block;
  background: linear-gradient(145deg, #333127 0%, #11100f 58%, #242219 100%);
  clip-path: polygon(0 100%, 20% 72%, 50% 0, 63% 30%, 100% 100%);
  filter: drop-shadow(18px 24px 24px rgba(17, 16, 15, 0.16));
}

.fallback-route {
  position: absolute;
  z-index: 2;
  top: 28%;
  left: 45%;
  width: 44%;
  height: 48%;
  border-right: 3px solid #ccac0a;
  border-bottom: 3px solid #ccac0a;
  filter: drop-shadow(0 0 7px rgba(204, 172, 10, 0.9));
  transform: skewX(-34deg) rotate(22deg);
}

.fallback-point {
  position: absolute;
  z-index: 3;
  width: 10px;
  height: 10px;
  background: #ccac0a;
  border: 2px solid #e4e2de;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(204, 172, 10, 0.9);
}

.fallback-point--one { top: 25%; left: 44%; }
.fallback-point--two { top: 45%; left: 38%; }
.fallback-point--three { top: 60%; left: 58%; }
.fallback-point--four { top: 78%; left: 80%; }

.capability-control {
  background: rgba(248, 247, 244, 0.76);
  border-color: rgba(51, 49, 39, 0.24);
}

.capability-control:hover,
.capability-control:focus-visible { background: #e4e2de; border-color: #ccac0a; }
.capability-control[aria-pressed="true"] { color: #11100f; background: #ccac0a; border-color: #ccac0a; }

.capability-readout,
.work-step,
.project-card,
.project-window,
.contact-panel { background: rgba(248, 247, 244, 0.92); border-color: rgba(51, 49, 39, 0.18); }
.capability-readout span,
.project-type { color: #8d7706; }
.work-step::after { background: radial-gradient(circle, rgba(204, 172, 10, 0.18), rgba(51, 49, 39, 0.04) 58%, transparent 70%); }

.project-visual { background: linear-gradient(140deg, #e4e2de, #f8f7f4); }
.project-visual::before { background: radial-gradient(circle at 32% 30%, rgba(204, 172, 10, 0.68), rgba(51, 49, 39, 0.28), transparent 70%); }
.project-visual::after { background: radial-gradient(circle, rgba(51, 49, 39, 0.28), rgba(204, 172, 10, 0.2) 54%, transparent 72%); }
.dashboard-header i { color: #11100f; background: rgba(204, 172, 10, 0.22); }
.dashboard-kpis > div,
.dashboard-grid > div,
.metric { background: rgba(228, 226, 222, 0.56); border-color: rgba(51, 49, 39, 0.1); }
.trend-columns { background: repeating-linear-gradient(to bottom, transparent 0 22px, rgba(51, 49, 39, 0.12) 22px 23px); }
.trend-columns i,
.dashboard-sources b,
.bar i { background: linear-gradient(180deg, #ccac0a, #333127); }
.bar,
.dashboard-sources div > i { background: rgba(51, 49, 39, 0.13); }

.cta-card,
.contact-aside { background: #11100f; }
.cta-card::before { background: rgba(204, 172, 10, 0.5); }
.cta-card::after { background: rgba(228, 226, 222, 0.2); }
.cta-card .button { color: #11100f; background: #ccac0a; border-color: #ccac0a; }
.cta-card .button:hover,
.cta-card .button:focus-visible { color: #11100f; background: #e4e2de; border-color: #e4e2de; }

.field input,
.field textarea { background: #f8f7f4; }
.field input:focus,
.field textarea:focus { border-color: #ccac0a; box-shadow: 0 0 0 4px rgba(204, 172, 10, 0.16); }

@media (max-width: 840px) {
  .brand { width: 148px; height: 38px; }
  .fallback-mountain { width: min(82%, 350px); }
}
