:root {
  --bg: #fcfbff;
  --bg-soft: #f6f2ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.7);
  --text: #171427;
  --muted: #645f7d;
  --line: rgba(122, 91, 255, 0.12);
  --line-strong: rgba(122, 91, 255, 0.22);
  --accent: #6f49ff;
  --accent-soft: rgba(111, 73, 255, 0.1);
  --accent-light: #9b7dff;
  --accent-cyan: #61c8ff;
  --accent-pink: #e8d9ff;
  --shadow: 0 24px 70px rgba(77, 48, 167, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 73, 255, 0.12), transparent 26%),
    radial-gradient(circle at right 12% top 18%, rgba(97, 200, 255, 0.1), transparent 18%),
    linear-gradient(180deg, #fdfcff 0%, #fbf9ff 55%, #ffffff 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

svg {
  width: 100%;
  height: 100%;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: clip;
}

#app {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(111, 73, 255, 0.08);
}

.topbar__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand__logo {
  width: auto;
  height: 70px;
  display: block;
}

.brand__wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand__wordmark:empty {
  display: none;
}

.topbar__nav {
  display: inline-flex;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: auto;
  justify-content: flex-end;
}

.topbar__cta {
  margin-left: 1rem;
  flex: 0 0 auto;
}

.topbar__nav a {
  transition: color 180ms ease;
}

.topbar__nav a:hover {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

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

.button--sm {
  min-height: 46px;
  padding: 0 1rem;
}

.button--lg {
  min-height: 60px;
  min-width: 220px;
  padding: 0 2rem;
  font-size: 1rem;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #8d63ff);
  box-shadow: 0 14px 32px rgba(111, 73, 255, 0.24);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(111, 73, 255, 0.16);
  color: var(--text);
}

.button--secondary:hover {
  background: #fff;
  box-shadow: 0 12px 28px rgba(111, 73, 255, 0.12);
}

.button--full {
  width: 100%;
}

.hero,
.career-hero {
  position: relative;
  padding: 2.4rem 0 2.2rem;
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(44px);
  pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite alternate;
}

.hero__glow--one {
  right: 6%;
  top: 5.5rem;
  width: 280px;
  height: 280px;
  background: rgba(111, 73, 255, 0.18);
}

.hero__glow--two {
  left: -3rem;
  bottom: 3rem;
  width: 220px;
  height: 220px;
  background: rgba(97, 200, 255, 0.14);
  animation-duration: 11s;
}

.hero__grid,
.career-hero__grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 2rem;
  align-items: center;
}

.section-heading__kicker,
.proof-item span,
.testimonial-featured__result {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-heading__kicker,
.testimonial-featured__result,
.proof-item span {
  color: var(--accent);
}

.hero h1,
.career-hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.hero h1,
.career-hero h1 {
  font-size: clamp(2.7rem, 5.8vw, 4.8rem);
  max-width: 12ch;
}

.hero__lede,
.section-heading p,
.service-card p,
.video-tab span,
.video-placeholder__meta p,
.contact-panel p,
.contact-form__note,
.career-role p,
.footer p,
.footer span,
.testimonial-slide p {
  color: var(--muted);
}

.hero__lede {
  max-width: 34rem;
  margin: 1rem 0 0;
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero__content--centered {
  max-width: 680px;
  margin: 0;
  text-align: left;
  padding: 0.6rem 0 0.5rem;
}

.hero__content--centered .hero__lede {
  max-width: 34rem;
  margin-left: 0;
  margin-right: 0;
}

.hero-headline__line {
  display: block;
}

.hero-outcomes {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.hero-outcomes__item {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.96;
  color: var(--accent);
}

.hero-outcomes__item--rotating {
  display: inline-block;
}

#rotating-phrase {
  display: inline-block;
  white-space: nowrap;
  transition: transform 320ms ease, opacity 320ms ease, filter 320ms ease;
}

#rotating-phrase.is-exiting {
  transform: translateY(-10px);
  opacity: 0;
  filter: blur(6px);
}

#rotating-phrase.is-entering {
  transform: translateY(10px);
  opacity: 0;
  filter: blur(6px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.hero__content--centered .hero__actions {
  justify-content: flex-start;
}

.service-card,
.video-showcase,
.capability-pill,
.testimonial-slider,
.contact-panel,
.contact-form,
.career-panel,
.career-role,
.company-chip,
.proof-strip__inner {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.proof-strip {
  padding: 1rem 0 2rem;
}

.proof-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-radius: 22px;
}

.proof-item {
  text-align: center;
  padding: 0.7rem;
}

.proof-item__value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.06em;
}

.section {
  padding: 5rem 0;
}

.section--compact {
  padding-top: 2rem;
}

.section--tinted {
  background: linear-gradient(180deg, rgba(111, 73, 255, 0.05), rgba(255, 255, 255, 0));
}

.section-heading {
  max-width: 40rem;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 0.75rem;
}

.section-heading p {
  margin: 0;
  line-height: 1.7;
}

.service-grid,
.career-role-grid {
  display: grid;
  gap: 1rem;
}

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

.service-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(111, 73, 255, 0.16);
}

.service-card__glow {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 73, 255, 0.2), transparent 68%);
  opacity: 0;
  transition: opacity 220ms ease;
}

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

.icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  padding: 0.8rem;
  border-radius: 16px;
  background: rgba(111, 73, 255, 0.08);
  border: 1px solid rgba(111, 73, 255, 0.1);
  color: var(--accent);
}

.icon svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.career-role h3,
.video-tab strong,
.testimonial-slide strong {
  margin: 0.85rem 0 0.35rem;
  font-size: 1.08rem;
  letter-spacing: -0.04em;
}

.video-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 30px;
}

.video-tabs {
  display: grid;
  gap: 0.8rem;
}

.video-tab {
  text-align: left;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid rgba(111, 73, 255, 0.1);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.video-tab:hover,
.video-tab.is-active {
  transform: translateX(4px);
  border-color: rgba(111, 73, 255, 0.24);
  background: rgba(247, 243, 255, 0.92);
}

.video-tab strong {
  display: block;
  margin: 0 0 0.35rem;
}

.video-panels {
  position: relative;
}

.video-panel {
  display: none;
}

.video-panel.is-active {
  display: block;
}

.video-panel__frame {
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(111, 73, 255, 0.12);
  background: linear-gradient(180deg, rgba(244, 239, 255, 0.95), rgba(255, 255, 255, 0.88));
}

.video-panel__frame iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.video-placeholder {
  height: 100%;
  min-height: 420px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(111, 73, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f3ff 100%);
}

.video-placeholder__surface {
  position: relative;
  height: 100%;
  min-height: 396px;
  border-radius: 24px;
  border: 1px solid rgba(111, 73, 255, 0.1);
  background:
    linear-gradient(rgba(111, 73, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 73, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 240, 255, 0.86));
  background-size: 38px 38px, 38px 38px, auto;
  overflow: hidden;
}

.video-placeholder__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(111, 73, 255, 0.09);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-placeholder__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(111, 73, 255, 0.96), rgba(97, 200, 255, 0.86));
  box-shadow: 0 22px 48px rgba(111, 73, 255, 0.24);
}

.video-placeholder__play span {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
}

.video-placeholder__meta {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(111, 73, 255, 0.1);
}

.video-placeholder__meta strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.video-placeholder__meta p {
  margin: 0.35rem 0 0;
}

.capability-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.capability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
}

.capability-pill .icon {
  width: 44px;
  height: 44px;
}

.capability-pill span {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.testimonial-slider {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.testimonial-slider__viewport {
  overflow: hidden;
}

.testimonial-slider__track {
  display: flex;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-slide span,
.contact-panel span,
.career-role__meta span {
  color: var(--muted);
}

.testimonial-slide {
  min-width: 100%;
  min-height: 240px;
  padding: 1.4rem;
  border-radius: 22px;
  background: rgba(250, 247, 255, 0.9);
  border: 1px solid rgba(111, 73, 255, 0.08);
}

.testimonial-slide p {
  margin: 0.55rem 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.testimonial-slider__controls {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.testimonial-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(111, 73, 255, 0.18);
  cursor: pointer;
}

.testimonial-dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(111, 73, 255, 0.12);
}

.company-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.company-marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marqueeReverse 22s linear infinite;
}

.company-chip {
  min-width: 220px;
  min-height: 108px;
  padding: 1rem;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.company-chip img {
  width: 100%;
  max-width: 130px;
  height: 52px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.8);
}

.company-chip span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

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

.career-role,
.contact-panel,
.contact-form,
.career-panel {
  padding: 1.35rem;
  border-radius: 24px;
}

.contact-grid {
  gap: 1.2rem;
}

.contact-panel {
  margin-top: 1.6rem;
}

.contact-panel a {
  display: inline-block;
  margin: 0.35rem 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field span {
  font-size: 0.95rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(111, 73, 255, 0.12);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8a84a3;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(111, 73, 255, 0.28);
  box-shadow: 0 0 0 4px rgba(111, 73, 255, 0.1);
}

.form-field input {
  min-height: 54px;
}

.form-field textarea {
  min-height: 168px;
  resize: vertical;
}

.contact-form__note {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 0.92rem;
}

.career-panel,
.career-role {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 243, 255, 0.8));
}

.career-role__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.career-role__meta span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(111, 73, 255, 0.08);
}

.career-reasons,
.bullet-list {
  display: grid;
  gap: 0.9rem;
}

.bullet {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.bullet span {
  width: 10px;
  height: 10px;
  margin-top: 0.48rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  flex: 0 0 auto;
}

.bullet p {
  margin: 0;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.footer {
  margin-top: auto;
  padding: 1.5rem 0 2rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(111, 73, 255, 0.1);
}

.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(111, 73, 255, 0.12);
  background: rgba(255, 255, 255, 0.74);
  color: var(--accent);
}

.footer__socials a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer strong {
  display: inline-block;
  margin-bottom: 0.35rem;
}

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

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

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 170ms;
}

.reveal-delay-3 {
  transition-delay: 250ms;
}

@keyframes floatGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -14px, 0) scale(1.08);
  }
}

@keyframes floatCard {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@keyframes pulseHalo {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@keyframes marqueeReverse {
  from {
    transform: translateX(calc(-50% - 0.5rem));
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .career-hero__grid,
  .contact-grid,
  .video-showcase {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .topbar__nav {
    display: none;
  }

  .topbar__cta {
    margin-left: auto;
  }

  .proof-strip__inner,
  .service-grid,
  .career-role-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }
 
  .video-panel__frame,
  .video-placeholder {
    min-height: 360px;
  }

}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .topbar__inner {
    min-height: 74px;
  }

  .button,
  .hero__actions .button {
    width: 100%;
  }

  .topbar__cta {
    width: auto;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero,
  .career-hero,
  .section {
    padding-top: 4.3rem;
    padding-bottom: 3.8rem;
  }

  .hero__content--centered {
    max-width: 100%;
    padding-top: 1rem;
  }

  .company-chip {
    width: 280px;
    min-width: 280px;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__meta,
  .footer__socials {
    align-items: flex-start;
    justify-content: flex-start;
  }
}
