:root {
  color-scheme: light;
  --paper: #fbf8f4;
  --paper-deep: #f4efe9;
  --white: #fffefd;
  --ink: #292632;
  --ink-soft: #625d6c;
  --ink-faint: #817b88;
  --line: rgba(41, 38, 50, .12);
  --line-strong: rgba(41, 38, 50, .2);
  --lavender: #ded5fa;
  --lavender-soft: #eee9ff;
  --mint: #d5f2e2;
  --mint-strong: #80c9a2;
  --peach: #fbdacb;
  --butter: #faedb9;
  --sky: #d6eaf7;
  --pink: #f4dbe6;
  --purple: #655391;
  --purple-dark: #463b66;
  --max-width: 1220px;
  --shadow-sm: 0 12px 32px rgba(58, 47, 72, .08);
  --shadow-lg: 0 32px 90px rgba(58, 47, 72, .14);
  font-family: Manrope, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(222, 213, 250, .45), transparent 24rem),
    radial-gradient(circle at 91% 29%, rgba(213, 242, 226, .45), transparent 27rem),
    var(--paper);
  color: var(--ink);
  line-height: 1.65;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: .22;
  background-image: radial-gradient(rgba(41, 38, 50, .22) .6px, transparent .6px);
  background-size: 18px 18px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000, transparent 38%);
}

::selection { background: var(--lavender); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.05em; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }

.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;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  transform: translateY(-170%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  right: 0;
  left: 0;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  transition: transform 300ms ease, filter 300ms ease;
}
.nav-shell {
  display: flex;
  min-height: 70px;
  padding: .65rem .7rem .65rem 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 22px;
  background: rgba(255, 254, 253, .76);
  box-shadow: 0 10px 40px rgba(51, 44, 64, .08);
  backdrop-filter: blur(20px) saturate(145%);
}
.site-header.is-scrolled { filter: drop-shadow(0 8px 20px rgba(49, 40, 61, .1)); }
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--lavender), var(--pink));
  color: var(--purple-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
  box-shadow: inset 0 0 0 1px rgba(101, 83, 145, .12);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-size: .9rem; }
.brand-copy small { margin-top: .25rem; color: var(--ink-faint); font-size: .68rem; }
.primary-nav { display: flex; align-items: center; gap: .25rem; }
.primary-nav a {
  position: relative;
  padding: .65rem .75rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .83rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.primary-nav a:hover, .primary-nav a[aria-current="true"] { background: var(--lavender-soft); color: var(--ink); }
.primary-nav .nav-contact { margin-left: .3rem; padding: .78rem 1.1rem; background: var(--ink); color: var(--white); }
.primary-nav .nav-contact:hover { background: var(--purple-dark); color: var(--white); transform: translateY(-1px); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }

.hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 860px;
  margin: 0 auto;
  padding: 150px 0 90px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .75fr);
  gap: clamp(3rem, 7vw, 7.5rem);
}
.hero-copy { position: relative; z-index: 3; }
.eyebrow, .section-kicker {
  margin: 0 0 1.35rem;
  color: var(--purple);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: .65rem; }
.status-dot {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #58ac7c;
  box-shadow: 0 0 0 5px rgba(88, 172, 124, .13);
}
.status-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(88, 172, 124, .35);
  border-radius: inherit;
  content: "";
  animation: status-pulse 2.4s ease-out infinite;
}
.hero h1 {
  max-width: 760px;
  margin-bottom: 1.65rem;
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 720;
  letter-spacing: -.075em;
}
.hero h1 em, .contact-section h2 em {
  position: relative;
  display: inline-block;
  z-index: 0;
  color: var(--purple-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.055em;
}
.hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -.08em;
  bottom: .04em;
  left: -.08em;
  height: .23em;
  border-radius: 99px;
  background: var(--lavender);
  content: "";
  transform: rotate(-1.4deg);
}
.hero-lead { max-width: 650px; margin: 0; color: var(--ink-soft); font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button {
  display: inline-flex;
  min-height: 52px;
  padding: .82rem 1.2rem;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button span[aria-hidden="true"] { transition: transform 180ms ease; }
.button:hover { transform: translateY(-3px); }
.button:hover span[aria-hidden="true"] { transform: translate(2px, -2px); }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 12px 25px rgba(41, 38, 50, .16); }
.button-primary:hover { background: var(--purple-dark); box-shadow: 0 16px 32px rgba(70, 59, 102, .22); }
.button-secondary { border-color: var(--line-strong); background: rgba(255, 255, 255, .48); color: var(--ink); }
.button-secondary:hover { border-color: rgba(101, 83, 145, .35); background: var(--white); }
.hero-proof { display: flex; margin-top: 2rem; align-items: center; flex-wrap: wrap; gap: .7rem 1rem; color: var(--ink-faint); font-size: .75rem; font-weight: 700; }
.hero-proof a { padding-bottom: 1px; border-bottom: 1px solid var(--line-strong); transition: color 180ms ease; }
.hero-proof a:hover { color: var(--purple); }
.availability { display: inline-flex; padding: .5rem .7rem; align-items: center; gap: .45rem; border: 1px solid rgba(79, 155, 112, .18); border-radius: 999px; background: rgba(213, 242, 226, .7); color: #35664a; }
.availability i { width: 6px; height: 6px; border-radius: 50%; background: #4f9b70; }

.hero-visual { position: relative; min-height: 630px; }
.portrait-halo {
  position: absolute;
  top: 7%;
  right: 0;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--lavender), var(--pink) 50%, var(--peach));
  filter: blur(1px);
  animation: halo-drift 8s ease-in-out infinite alternate;
}
.portrait-card {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 2%;
  overflow: hidden;
  width: min(92%, 470px);
  height: 570px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 240px 240px 42px 42px;
  background: var(--peach);
  box-shadow: var(--shadow-lg);
}
.portrait-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(70, 59, 102, .16), transparent 35%);
  content: "";
  pointer-events: none;
}
.portrait-card picture, .portrait-card img { width: 100%; height: 100%; }
.portrait-card img {
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(.84) contrast(.97);
  mix-blend-mode: multiply;
  transform: scale(1.02);
}
.portrait-card figcaption {
  position: absolute;
  z-index: 2;
  right: 1.4rem;
  bottom: 1.2rem;
  left: 1.4rem;
  padding: .65rem .9rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(255, 254, 253, .76);
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(14px);
}
.quality-card {
  position: absolute;
  z-index: 4;
  bottom: 5px;
  left: -8%;
  width: min(330px, 76%);
  padding: 1.05rem;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 24px;
  background: rgba(255, 254, 253, .9);
  box-shadow: 0 26px 60px rgba(53, 43, 66, .16);
  backdrop-filter: blur(18px);
  animation: card-float 5.2s ease-in-out infinite;
}
.console-topline, .console-title, .quality-card li { display: flex; align-items: center; justify-content: space-between; }
.console-topline { padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.console-topline > span { display: flex; gap: 5px; }
.console-topline i { width: 7px; height: 7px; border-radius: 50%; background: var(--peach); }
.console-topline i:nth-child(2) { background: var(--butter); }
.console-topline i:nth-child(3) { background: var(--mint-strong); }
.console-topline small { color: var(--ink-faint); font-size: .65rem; }
.console-title { margin-top: .9rem; }
.console-title > span { color: var(--ink-faint); font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.console-title strong { display: flex; align-items: center; gap: .35rem; color: #35664a; font-size: .7rem; }
.console-title strong i { width: 6px; height: 6px; border-radius: 50%; background: #4f9b70; box-shadow: 0 0 0 4px rgba(79, 155, 112, .12); }
.quality-card ul { margin: .8rem 0; padding: 0; list-style: none; }
.quality-card li { padding: .4rem 0; color: var(--ink-soft); font-size: .72rem; }
.quality-card li b { color: var(--ink); font-size: .68rem; }
.console-progress { overflow: hidden; height: 7px; border-radius: 99px; background: var(--paper-deep); }
.console-progress span { display: block; width: 82%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint-strong), var(--purple)); animation: console-breathe 3s ease-in-out infinite alternate; }
.speed-badge {
  position: absolute;
  z-index: 3;
  top: 10%;
  right: 0;
  display: flex;
  width: 132px;
  height: 132px;
  padding: 1rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(41, 38, 50, .08);
  border-radius: 50%;
  background: var(--butter);
  box-shadow: var(--shadow-sm);
  transform: rotate(7deg);
  animation: badge-rock 7s ease-in-out infinite alternate;
}
.speed-badge strong { font-size: 1.8rem; letter-spacing: -.06em; line-height: 1; }
.speed-badge span { margin-top: .35rem; color: var(--ink-soft); font-size: .65rem; font-weight: 800; line-height: 1.25; text-align: center; text-transform: uppercase; letter-spacing: .07em; }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .75; }
.hero-orb-one { top: 20%; left: -16%; width: 160px; height: 160px; background: var(--sky); animation: orb-drift 10s ease-in-out infinite alternate; }
.hero-orb-two { right: 41%; bottom: 9%; width: 90px; height: 90px; background: var(--mint); animation: orb-drift 8s ease-in-out 1s infinite alternate-reverse; }

.signal-strip { overflow: hidden; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 254, 253, .65); }
.signal-track { display: flex; width: max-content; align-items: center; animation: marquee 30s linear infinite; }
.signal-track span { padding: 0 1.7rem; color: var(--ink-soft); font-size: .73rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.signal-track i { color: var(--purple); font-style: normal; }

.section { width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto; padding: clamp(6.5rem, 10vw, 10rem) 0; }
.section-heading { display: grid; align-items: end; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .58fr); gap: clamp(2rem, 8vw, 7rem); }
.section-heading h2, .capability-heading h2, .lab-copy h2, .contact-section h2 { max-width: 760px; margin-bottom: 0; font-size: clamp(2.75rem, 5.4vw, 5.35rem); font-weight: 690; }
.section-heading > p { max-width: 480px; margin: 0 0 .4rem; color: var(--ink-soft); font-size: 1.02rem; }

.impact-section { padding-bottom: 3rem; }
.impact-grid { display: grid; margin-top: 4rem; grid-template-columns: 1.1fr 1.1fr .8fr .8fr; gap: 1rem; }
.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid rgba(41, 38, 50, .07);
  border-radius: 30px;
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.metric-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-sm); }
.metric-lilac { background: var(--lavender); }
.metric-mint { background: var(--mint); }
.metric-peach { background: var(--peach); }
.metric-sky { background: var(--sky); }
.metric-label { display: inline-flex; padding: .4rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .5); color: var(--ink-soft); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.metric-card strong { display: block; margin-top: 4.2rem; font-size: clamp(2.7rem, 4vw, 4.5rem); letter-spacing: -.075em; line-height: .94; }
.metric-card strong small { font-size: .28em; font-weight: 750; letter-spacing: 0; }
.metric-card p { max-width: 240px; margin: 1rem 0 0; color: var(--ink-soft); font-size: .85rem; line-height: 1.55; }
.metric-dots { position: absolute; right: 1.4rem; bottom: 1.5rem; display: flex; align-items: end; gap: 5px; }
.metric-dots i { width: 6px; border-radius: 99px; background: rgba(101, 83, 145, .46); animation: dot-wave 1.7s ease-in-out infinite alternate; }
.metric-dots i:nth-child(1), .metric-dots i:nth-child(7) { height: 8px; }
.metric-dots i:nth-child(2), .metric-dots i:nth-child(6) { height: 15px; animation-delay: .1s; }
.metric-dots i:nth-child(3), .metric-dots i:nth-child(5) { height: 25px; animation-delay: .2s; }
.metric-dots i:nth-child(4) { height: 38px; animation-delay: .3s; }
.metric-line { position: absolute; right: 1.8rem; bottom: 1.8rem; left: 1.8rem; height: 28px; border-bottom: 1px dashed rgba(41, 38, 50, .18); transform: skewY(-5deg); }
.metric-line span { display: block; width: 94%; height: 2px; margin-top: 18px; border-radius: 99px; background: var(--purple); transform-origin: left; animation: line-grow 2.8s ease-in-out infinite alternate; }

.expertise-section { padding-top: 8rem; }
.expertise-grid { display: grid; margin-top: 4rem; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.expertise-card {
  min-height: 390px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid rgba(41, 38, 50, .07);
  border-radius: 34px;
  transition: transform 280ms cubic-bezier(.2, .8, .2, 1), box-shadow 280ms ease;
}
.expertise-card:hover { transform: translateY(-8px) rotate(-.35deg); box-shadow: var(--shadow-sm); }
.expertise-card:nth-child(even):hover { transform: translateY(-8px) rotate(.35deg); }
.lavender-card { background: var(--lavender-soft); }
.mint-card { background: var(--mint); }
.peach-card { background: var(--peach); }
.butter-card { background: var(--butter); }
.sky-card { background: var(--sky); }
.pink-card { background: var(--pink); }
.card-top { display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); font-size: .76rem; font-weight: 850; }
.card-top i { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; }
.expertise-card h3 { max-width: 430px; margin: 5.4rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.expertise-card p { max-width: 540px; margin-bottom: 1.6rem; color: var(--ink-soft); }
.expertise-card ul, .tag-list { display: flex; margin: 0; padding: 0; flex-wrap: wrap; gap: .45rem; list-style: none; }
.expertise-card li, .tag-list li { padding: .45rem .7rem; border: 1px solid rgba(41, 38, 50, .12); border-radius: 999px; color: var(--ink-soft); font-size: .7rem; font-weight: 750; }

.lab-section { position: relative; overflow: hidden; background: var(--purple-dark); color: var(--white); }
.lab-section::before { position: absolute; top: -220px; right: -100px; width: 560px; height: 560px; border-radius: 50%; background: rgba(222, 213, 250, .12); content: ""; filter: blur(4px); }
.lab-inner { position: relative; display: grid; align-items: center; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); }
.lab-copy .section-kicker { color: var(--butter); }
.lab-copy h2 { margin-bottom: 1.5rem; }
.lab-copy > p:not(.section-kicker):not(.lab-note) { max-width: 500px; color: rgba(255, 254, 253, .7); font-size: 1.05rem; }
.lab-button { margin-top: 1.2rem; border: 0; background: var(--mint); color: var(--ink); }
.lab-button:hover { background: #e4f8ed; box-shadow: 0 14px 35px rgba(12, 8, 20, .2); }
.lab-button:disabled { cursor: progress; opacity: .72; transform: none; }
.play-mark { display: grid; width: 23px; height: 23px; padding-left: 2px; place-items: center; border-radius: 50%; background: rgba(41, 38, 50, .1); font-size: .58rem; }
.lab-note { margin: .8rem 0 0; color: rgba(255, 254, 253, .47); font-size: .7rem; }
.lab-console { position: relative; overflow: hidden; padding: clamp(1.1rem, 2.8vw, 2rem); border: 1px solid rgba(255, 255, 255, .16); border-radius: 34px; background: rgba(26, 22, 38, .66); box-shadow: 0 35px 80px rgba(13, 9, 22, .25); backdrop-filter: blur(16px); }
.lab-console::after { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); content: ""; }
.lab-console-head, .lab-console-head > div, .suite-state, .progress-label, .pipeline li, .lab-result { display: flex; align-items: center; }
.lab-console-head { justify-content: space-between; }
.lab-console-head > div { gap: .75rem; }
.terminal-mark { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: var(--lavender); color: var(--purple-dark); font-size: .68rem; font-weight: 900; }
.lab-console-head p { display: flex; margin: 0; flex-direction: column; line-height: 1.2; }
.lab-console-head strong { font-size: .85rem; }
.lab-console-head small { margin-top: .25rem; color: rgba(255, 255, 255, .46); font-size: .67rem; }
.suite-state { gap: .45rem; color: var(--butter); font-size: .72rem; }
.suite-state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(250, 237, 185, .09); }
.lab-console[data-run-state="running"] .suite-state { color: var(--sky); }
.lab-console[data-run-state="complete"] .suite-state { color: #9be0b9; }
.progress-wrap { margin: 2rem 0 1.35rem; }
.progress-label { margin-bottom: .55rem; justify-content: space-between; color: rgba(255, 255, 255, .52); font-size: .68rem; }
.progress-label b { color: var(--white); }
.progress-track { overflow: hidden; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .09); }
.progress-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lavender), var(--mint), var(--butter)); transition: width 420ms cubic-bezier(.2, .8, .2, 1); }
.progress-track[data-progress="25"] .progress-fill { width: 25%; }
.progress-track[data-progress="50"] .progress-fill { width: 50%; }
.progress-track[data-progress="75"] .progress-fill { width: 75%; }
.progress-track[data-progress="100"] .progress-fill { width: 100%; }
.pipeline { margin: 0; padding: 0; list-style: none; }
.pipeline li { position: relative; min-height: 72px; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.09); gap: .85rem; }
.pipeline li:last-child { border-bottom: 0; }
.stage-index { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; color: rgba(255,255,255,.45); font-size: .62rem; font-weight: 850; transition: background 220ms ease, color 220ms ease, transform 220ms ease; }
.pipeline li > div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.pipeline li strong { font-size: .82rem; }
.pipeline li small { margin-top: .15rem; overflow: hidden; color: rgba(255,255,255,.43); font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.pipeline li > b { color: rgba(255,255,255,.34); font-size: .68rem; transition: color 220ms ease; }
.pipeline li[data-state="running"] .stage-index { background: var(--sky); color: var(--ink); transform: scale(1.08); animation: stage-pulse 1s ease-in-out infinite; }
.pipeline li[data-state="running"] > b { color: var(--sky); }
.pipeline li[data-state="passed"] .stage-index { background: var(--mint); color: var(--ink); }
.pipeline li[data-state="passed"] > b { color: #9be0b9; }
.lab-result { margin-top: 1rem; padding: .9rem; gap: .75rem; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.05); }
.result-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.35); font-weight: 900; transition: background 240ms ease, color 240ms ease, transform 240ms ease; }
.lab-result p { display: flex; min-width: 0; margin: 0; flex: 1; flex-direction: column; line-height: 1.22; }
.lab-result span { color: rgba(255,255,255,.42); font-size: .62rem; text-transform: uppercase; letter-spacing: .07em; }
.lab-result strong { margin-top: .2rem; font-size: .78rem; }
.result-time { color: rgba(255,255,255,.42); font-size: .68rem; }
.lab-console[data-run-state="complete"] .result-icon { background: var(--mint); color: var(--ink); transform: rotate(-6deg) scale(1.05); }

.work-section { padding-bottom: 5rem; }
.case-grid { margin-top: 4rem; }
.case-card { display: grid; padding: 3rem 0; align-items: start; border-top: 1px solid var(--line-strong); grid-template-columns: .28fr 1fr .32fr; gap: clamp(1.5rem, 5vw, 5rem); }
.case-card:last-child { border-bottom: 1px solid var(--line-strong); }
.case-number { display: flex; flex-direction: column; color: var(--purple); font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; }
.case-number span { margin-top: .35rem; color: var(--ink-faint); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.case-main { max-width: 720px; }
.case-eyebrow { margin-bottom: .8rem; color: var(--ink-faint); font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.case-main h3 { margin-bottom: 1rem; font-size: clamp(2rem, 3.4vw, 3.6rem); }
.case-main > p:not(.case-eyebrow) { color: var(--ink-soft); }
.tag-list { margin-top: 1.4rem; }
.case-impact { padding: 1.5rem; border-radius: 26px; background: var(--lavender); transform: rotate(1.5deg); }
.case-impact > span { color: var(--ink-soft); font-size: .66rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.case-impact strong { display: block; margin: 1.8rem 0 .6rem; font-size: 3rem; letter-spacing: -.07em; }
.case-impact p { margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.case-symbol { position: relative; display: grid; min-height: 190px; padding: 1.4rem; place-items: center; border-radius: 26px; background: var(--mint); transform: rotate(-1deg); }
.case-symbol span, .case-symbol b { position: absolute; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.case-symbol span { top: 1.2rem; left: 1.2rem; color: var(--ink-soft); }
.case-symbol b { right: 1.2rem; bottom: 1.2rem; }
.case-symbol i { display: grid; width: 78px; height: 78px; place-items: center; border: 1px solid rgba(41,38,50,.16); border-radius: 50%; font-size: 2.3rem; font-style: normal; }
.shield-symbol { background: var(--peach); transform: rotate(1deg); }
.confidentiality-note { max-width: 740px; margin: 2rem 0 0 auto; color: var(--ink-faint); font-size: .75rem; }

.capability-section { background: var(--paper-deep); }
.capability-inner { display: grid; align-items: start; grid-template-columns: .64fr 1.36fr; gap: clamp(3rem, 8vw, 8rem); }
.capability-heading { position: sticky; top: 130px; }
.capability-heading h2 { font-size: clamp(2.6rem, 4.8vw, 4.6rem); }
.skill-cloud { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .7rem; }
.skill-cloud span { display: inline-flex; min-height: 68px; padding: 1rem 1.3rem; align-items: center; justify-content: center; border: 1px solid rgba(41,38,50,.06); border-radius: 22px; font-weight: 800; transition: transform 240ms ease, box-shadow 240ms ease; }
.skill-cloud span:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--shadow-sm); }
.skill-xl { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.skill-lg { font-size: clamp(1.15rem, 2vw, 1.65rem); }
.skill-md { font-size: 1rem; }
.skill-sm { font-size: .8rem; }

.timeline { position: relative; margin-top: 4rem; }
.timeline::before { position: absolute; top: 1.7rem; bottom: 1.7rem; left: 10px; width: 1px; background: var(--line-strong); content: ""; }
.timeline article { position: relative; display: grid; min-height: 180px; padding: 0 0 3.2rem 3.5rem; grid-template-columns: .34fr 1fr; gap: 2rem; }
.timeline-marker { position: absolute; z-index: 2; top: .15rem; left: 0; display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid var(--purple); border-radius: 50%; background: var(--paper); }
.timeline-marker span { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.timeline-period { margin: .15rem 0 0; color: var(--purple); font-size: .73rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.timeline-copy > span { color: var(--ink-faint); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.timeline-copy h3 { margin: .55rem 0 .7rem; font-size: clamp(1.6rem, 2.4vw, 2.25rem); }
.timeline-copy p { max-width: 720px; margin: 0; color: var(--ink-soft); }

.contact-section { position: relative; overflow: hidden; margin-bottom: 2rem; padding: clamp(3.2rem, 7vw, 6rem); border: 1px solid rgba(255,255,255,.58); border-radius: 46px; background: linear-gradient(135deg, var(--lavender), var(--pink) 58%, var(--peach)); box-shadow: var(--shadow-sm); }
.contact-section .section-kicker { color: var(--purple-dark); }
.contact-section h2 { max-width: 930px; }
.contact-section > p:not(.section-kicker):not(.cv-note) { max-width: 650px; margin-top: 1.5rem; color: var(--ink-soft); font-size: 1.02rem; }
.contact-actions { position: relative; z-index: 2; display: flex; margin-top: 2.6rem; align-items: center; justify-content: space-between; gap: 2rem; }
.button-dark { background: var(--ink); color: var(--white); box-shadow: 0 14px 28px rgba(41,38,50,.17); }
.button-dark:hover { background: var(--purple-dark); }
.contact-links { display: flex; gap: 1.2rem; }
.contact-links a { padding-bottom: .2rem; border-bottom: 1px solid rgba(41,38,50,.25); font-size: .8rem; font-weight: 850; }
.cv-note { position: relative; z-index: 2; margin: 2rem 0 0; color: var(--ink-faint); font-size: .7rem; }
.contact-orb { position: absolute; right: -100px; bottom: -210px; width: 480px; height: 480px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 40px rgba(255,255,255,.09), inset 0 0 0 80px rgba(255,255,255,.07); }

footer { display: flex; width: min(calc(100% - 2rem), var(--max-width)); min-height: 130px; margin: 0 auto; align-items: center; justify-content: space-between; color: var(--ink-faint); font-size: .75rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 850; }
.footer-brand span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--lavender); font-size: .55rem; }
.scroll-top { position: fixed; z-index: 80; right: 1.2rem; bottom: 1.2rem; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(41,38,50,.88); color: var(--white); box-shadow: var(--shadow-sm); opacity: 0; cursor: pointer; pointer-events: none; transform: translateY(10px); transition: opacity 180ms ease, transform 180ms ease; backdrop-filter: blur(12px); }
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1); }
.js [data-reveal="scale"] { transform: translateY(18px) scale(.97); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.expertise-grid [data-reveal]:nth-child(2) { transition-delay: 90ms; }
.expertise-grid [data-reveal]:nth-child(3) { transition-delay: 180ms; }
.expertise-grid [data-reveal]:nth-child(4) { transition-delay: 270ms; }

@keyframes status-pulse { 0% { opacity: .8; transform: scale(.7); } 75%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes halo-drift { to { transform: translate(-12px, 18px) scale(1.035); } }
@keyframes card-float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-10px) rotate(.4deg); } }
@keyframes badge-rock { to { transform: translateY(12px) rotate(-2deg); } }
@keyframes orb-drift { to { transform: translate(28px, 24px) scale(1.08); } }
@keyframes console-breathe { to { width: 98%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dot-wave { to { height: 13px; opacity: .6; } }
@keyframes line-grow { from { transform: scaleX(.18); } to { transform: scaleX(1); } }
@keyframes stage-pulse { 50% { box-shadow: 0 0 0 7px rgba(214, 234, 247, .1); } }

@media (max-width: 1080px) {
  .primary-nav a { padding-right: .55rem; padding-left: .55rem; }
  .primary-nav a:nth-child(4) { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(380px, .72fr); gap: 3rem; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-card { min-height: 280px; }
  .lab-inner { gap: 3rem; }
}

@media (max-width: 840px) {
  html { scroll-padding-top: 92px; }
  .site-header { top: 10px; width: min(calc(100% - 1.2rem), var(--max-width)); }
  .nav-shell { min-height: 62px; border-radius: 19px; }
  .menu-toggle { display: flex; padding: .7rem; align-items: center; gap: .55rem; }
  .menu-toggle i, .menu-toggle i::before { display: block; width: 18px; height: 1.5px; background: currentColor; content: ""; transition: transform 180ms ease; }
  .menu-toggle i::before { transform: translateY(5px); }
  .menu-toggle[aria-expanded="true"] i { transform: translateY(2px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::before { transform: rotate(-90deg); }
  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    overflow: hidden;
    padding: .65rem;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 20px;
    background: rgba(255,254,253,.96);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(20px);
  }
  .primary-nav[data-open="true"] { opacity: 1; pointer-events: auto; transform: none; }
  .primary-nav a, .primary-nav a:nth-child(4) { display: flex; padding: .9rem 1rem; justify-content: space-between; }
  .primary-nav .nav-contact { margin: .35rem 0 0; }
  .hero { min-height: auto; padding-top: 125px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero h1 { max-width: 780px; font-size: clamp(4rem, 12vw, 6.5rem); }
  .hero-visual { width: min(100%, 610px); min-height: 660px; margin: 0 auto; }
  .portrait-card { right: 8%; }
  .quality-card { left: 0; }
  .speed-badge { right: 0; }
  .section-heading, .lab-inner, .capability-inner { grid-template-columns: 1fr; }
  .section-heading { align-items: start; gap: 1.5rem; }
  .section-heading > p { max-width: 640px; }
  .lab-copy { max-width: 650px; }
  .capability-heading { position: static; }
  .case-card { grid-template-columns: .22fr 1fr; }
  .case-impact, .case-symbol { grid-column: 2; width: min(100%, 280px); min-height: 150px; }
}

@media (max-width: 620px) {
  .brand-copy { display: none; }
  .hero { width: min(calc(100% - 1.25rem), var(--max-width)); padding: 118px 0 68px; }
  .hero h1 { font-size: clamp(3.45rem, 17vw, 5.4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { align-items: flex-start; }
  .availability { flex-basis: 100%; width: max-content; }
  .hero-visual { min-height: 545px; }
  .portrait-card { right: 4%; width: 92%; height: 470px; border-radius: 220px 220px 32px 32px; }
  .portrait-card figcaption { right: 1rem; bottom: 1rem; left: 1rem; }
  .portrait-halo { top: 4%; right: 0; }
  .quality-card { bottom: 0; left: 0; width: 82%; }
  .speed-badge { top: 4%; right: -2%; width: 105px; height: 105px; }
  .speed-badge strong { font-size: 1.45rem; }
  .section { width: min(calc(100% - 1.25rem), var(--max-width)); padding: 5.8rem 0; }
  .section-heading h2, .capability-heading h2, .lab-copy h2, .contact-section h2 { font-size: clamp(2.65rem, 13vw, 4.25rem); }
  .impact-grid, .expertise-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 260px; }
  .expertise-card { min-height: 340px; padding: 1.6rem; }
  .expertise-card h3 { margin-top: 4rem; }
  .lab-section .section { width: min(calc(100% - 1.25rem), var(--max-width)); }
  .lab-console { border-radius: 26px; }
  .lab-console-head { align-items: flex-start; }
  .pipeline li { gap: .65rem; }
  .case-card { padding: 2.4rem 0; grid-template-columns: 1fr; gap: 1.2rem; }
  .case-number { flex-direction: row; align-items: baseline; gap: .6rem; }
  .case-number span { margin: 0; }
  .case-impact, .case-symbol { grid-column: 1; }
  .timeline article { padding-left: 2.7rem; grid-template-columns: 1fr; gap: .75rem; }
  .contact-section { width: min(calc(100% - 1.25rem), var(--max-width)); padding: 3rem 1.4rem; border-radius: 32px; }
  .contact-actions, footer { align-items: flex-start; flex-direction: column; }
  .contact-links { flex-wrap: wrap; }
  footer { padding: 2rem 0; justify-content: center; gap: .65rem; }
  .scroll-top { right: .8rem; bottom: .8rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 3.18rem; }
  .hero-visual { min-height: 510px; }
  .portrait-card { height: 430px; }
  .quality-card { width: 90%; }
  .speed-badge { width: 92px; height: 92px; }
  .speed-badge span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal], .js [data-reveal="scale"] { opacity: 1; transform: none; }
  .signal-track { transform: none; }
}
