@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #111111;
  --paper: #f5f3ee;
  --white: #ffffff;
  --purple: #7967ff;
  --purple-light: #b7adff;
  --acid: #d7ff64;
  --line: rgba(17, 17, 17, 0.16);
  --muted: #686762;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  --radius: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 5.25rem;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, min-height 240ms ease;
}

.site-header.is-scrolled {
  min-height: 4.5rem;
  background: rgba(245, 243, 238, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.wordmark {
  justify-self: start;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.desktop-nav {
  display: flex;
  gap: 2.25rem;
  font-size: 0.84rem;
  font-weight: 500;
}

.desktop-nav a,
.header-cta,
.text-link {
  position: relative;
}

.desktop-nav a::after,
.header-cta::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.header-cta:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  font-size: 0.84rem;
  font-weight: 600;
}

.header-cta span,
.text-link span {
  margin-left: 0.35rem;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1.1fr);
  align-items: center;
  min-height: 100svh;
  padding: 8rem var(--page-pad) 4rem;
  gap: clamp(2rem, 5vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.eyebrow,
.section-index {
  margin: 0 0 2rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow span {
  width: 1.65rem;
  height: 1px;
  background: var(--ink);
}

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

h1,
h2 {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h1 {
  margin-bottom: 2rem;
  font-size: clamp(4rem, 8.2vw, 8.5rem);
}

h1 em,
h2 em,
blockquote em {
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 32rem;
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 12.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

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

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  color: var(--ink);
  background: var(--acid);
}

.text-link {
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42rem;
}

.visual-stage {
  position: relative;
  width: min(100%, 44rem);
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  border-radius: 50% 50% 4rem 4rem;
  background: var(--ink);
  box-shadow: 0 2rem 5rem rgba(50, 39, 120, 0.2);
}

.stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.orbit-one {
  top: 12%;
  left: 9%;
  width: 82%;
  height: 73%;
  transform: rotate(-18deg);
}

.orbit-two {
  top: 20%;
  left: 17%;
  width: 68%;
  height: 58%;
  border-color: rgba(183, 173, 255, 0.55);
  transform: rotate(24deg);
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  width: 48%;
  aspect-ratio: 1;
  padding: 2rem;
  color: var(--white);
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5rem rgba(121, 103, 255, 0.12), 0 0 6rem rgba(121, 103, 255, 0.55);
  transform: translate(-50%, -48%);
  animation: core-float 6s ease-in-out infinite;
}

.core::before {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  content: "";
}

.core-label,
.core-number {
  position: relative;
  z-index: 1;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.core-number {
  justify-self: end;
}

.core-line {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  margin-top: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
}

.signal {
  position: absolute;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 1rem var(--acid);
}

.signal-one {
  top: 21%;
  left: 32%;
}

.signal-two {
  top: 66%;
  right: 18%;
}

.signal-three {
  bottom: 19%;
  left: 22%;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.floating-card span {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.card-a {
  top: 14%;
  right: 2%;
  width: 8rem;
  height: 9.5rem;
  padding: 1rem;
  transform: rotate(7deg);
  animation: card-float 7s ease-in-out infinite;
}

.card-a strong {
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 400;
}

.card-b {
  bottom: 16%;
  left: 1%;
  width: 9.5rem;
  height: 6.4rem;
  padding: 1rem;
  background: var(--acid);
  transform: rotate(-6deg);
  animation: card-float 8s 1s ease-in-out infinite reverse;
}

.mini-wave {
  display: flex;
  align-items: end;
  height: 2.1rem;
  gap: 0.4rem;
}

.mini-wave i {
  display: block;
  width: 0.28rem;
  background: var(--ink);
  border-radius: 1rem;
}

.mini-wave i:nth-child(1) { height: 40%; }
.mini-wave i:nth-child(2) { height: 90%; }
.mini-wave i:nth-child(3) { height: 60%; }
.mini-wave i:nth-child(4) { height: 100%; }
.mini-wave i:nth-child(5) { height: 48%; }

.visual-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.marquee {
  overflow: hidden;
  color: var(--white);
  background: var(--purple);
  transform: rotate(-1.2deg) scale(1.01);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 1.1rem 0;
  animation: marquee 30s linear infinite;
}

.marquee span {
  padding: 0 2rem;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.75rem);
  letter-spacing: -0.03em;
}

.marquee i {
  color: var(--acid);
  font-style: normal;
}

.section {
  padding: clamp(7rem, 11vw, 11rem) var(--page-pad);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(4rem, 7vw, 7rem);
  gap: 2rem;
}

.section-heading h2,
.process h2,
.company h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
}

.section-heading h2 {
  width: min(70%, 60rem);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.expertise-card {
  min-height: 31rem;
  padding: 1.5rem clamp(1.5rem, 2.5vw, 2.5rem) 2.5rem;
  border-right: 1px solid var(--line);
  transition: color 280ms ease, background 280ms ease;
}

.expertise-card:last-child {
  border-right: 0;
}

.expertise-card:hover {
  color: var(--white);
  background: var(--ink);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-number,
.card-arrow {
  font-size: 0.72rem;
}

.card-arrow {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: color 250ms ease, background 250ms ease, transform 250ms ease;
}

.expertise-card:hover .card-arrow {
  color: var(--ink);
  background: var(--acid);
  transform: rotate(45deg);
}

.card-icon {
  position: relative;
  display: grid;
  width: 9rem;
  height: 9rem;
  margin: 4.5rem auto 4rem;
  place-items: center;
}

.icon-interactive span {
  position: absolute;
  border: 1px solid var(--purple);
  border-radius: 50%;
}

.icon-interactive span:nth-child(1) { width: 8.5rem; height: 8.5rem; }
.icon-interactive span:nth-child(2) { width: 5.5rem; height: 5.5rem; }
.icon-interactive span:nth-child(3) { width: 1.5rem; height: 1.5rem; background: var(--purple); }

.icon-content {
  grid-template-columns: repeat(2, 2.8rem);
  grid-template-rows: repeat(2, 2.8rem);
  transform: rotate(45deg);
}

.icon-content span {
  width: 2.3rem;
  height: 2.3rem;
  background: var(--purple);
  border-radius: 0.35rem;
}

.icon-content span:nth-child(2),
.icon-content span:nth-child(3) {
  background: var(--purple-light);
}

.icon-platform span:first-child {
  position: absolute;
  width: 8rem;
  height: 5rem;
  border: 1px solid var(--purple);
  border-radius: 50%;
  transform: rotate(30deg);
}

.icon-platform span:last-child {
  width: 2.2rem;
  height: 2.2rem;
  background: var(--acid);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.expertise-card h3,
.process-row h3 {
  margin-bottom: 0.8rem;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.expertise-card p {
  max-width: 21rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.expertise-card:hover p {
  color: rgba(255, 255, 255, 0.62);
}

.statement {
  position: relative;
  display: grid;
  min-height: 48rem;
  padding: 8rem var(--page-pad);
  overflow: hidden;
  place-items: center;
  color: var(--white);
  background: var(--ink);
}

.statement-content {
  position: relative;
  z-index: 2;
  width: min(100%, 70rem);
  text-align: center;
}

.section-index.light {
  color: rgba(255, 255, 255, 0.55);
}

blockquote {
  margin: 0 auto 4rem;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(2.5rem, 5.3vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.principles {
  display: flex;
  justify-content: center;
  gap: 0;
}

.principles span {
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principles span:last-child {
  border-right: 0;
}

.statement-orb {
  position: absolute;
  width: 27rem;
  height: 27rem;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
}

.orb-left {
  bottom: -12rem;
  left: -9rem;
  background: var(--purple);
  box-shadow: 0 0 8rem var(--purple);
}

.orb-right {
  top: -15rem;
  right: -12rem;
  border: 1px solid var(--purple);
  box-shadow: inset 0 0 8rem rgba(121, 103, 255, 0.4), 0 0 7rem rgba(121, 103, 255, 0.25);
}

.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(4rem, 10vw, 10rem);
}

.process-intro > p:last-child {
  max-width: 31rem;
  margin-top: 2rem;
  color: var(--muted);
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  min-height: 10rem;
  border-bottom: 1px solid var(--line);
  gap: 1.5rem;
}

.process-row > span {
  align-self: start;
  padding-top: 2rem;
  color: var(--muted);
  font-size: 0.65rem;
}

.process-row h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
}

.process-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.process-row i {
  position: relative;
  display: block;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 250ms ease, transform 250ms ease;
}

.process-row i::before,
.process-row i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
}

.process-row i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.process-row:hover i {
  background: var(--acid);
  transform: rotate(90deg);
}

.company {
  padding: 0 var(--page-pad) clamp(7rem, 11vw, 11rem);
}

.company-panel {
  position: relative;
  min-height: 40rem;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  color: var(--white);
  background: var(--purple);
  border-radius: var(--radius);
}

.company-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  min-height: 26rem;
  gap: 5rem;
}

.company h2 em {
  color: var(--acid);
}

.company-copy {
  padding-bottom: 0.7rem;
}

.company-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.company-copy p:first-child {
  color: var(--white);
  font-size: 1.15rem;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  padding: 2rem var(--page-pad) clamp(7rem, 11vw, 10rem);
  gap: 5rem;
}

.contact-details {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 0.8rem;
}

.detail-label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-details p,
.contact-details address {
  margin: 0;
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.75;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 7rem;
  padding: 1.5rem var(--page-pad);
  color: rgba(255, 255, 255, 0.55);
  background: var(--ink);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
  text-align: right;
}

.footer-wordmark {
  color: var(--white);
}

.js .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0, 1);
}

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

@keyframes core-float {
  0%, 100% { transform: translate(-50%, -48%) rotate(-2deg); }
  50% { transform: translate(-50%, -52%) rotate(2deg); }
}

@keyframes card-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.8rem; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
  }

  .hero-visual {
    min-height: 35rem;
  }

  .expertise-card {
    min-height: 29rem;
  }

  .company-layout,
  .contact {
    gap: 3rem;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    background: transparent;
    place-content: center;
    gap: 0.35rem;
  }

  .menu-toggle span {
    display: block;
    width: 1rem;
    height: 1px;
    background: currentColor;
    transition: transform 220ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(0.18rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-0.18rem) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--page-pad);
    color: var(--white);
    background: var(--ink);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease, visibility 0s linear 250ms;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .mobile-menu a {
    padding: 0.7rem 0;
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(2.4rem, 10vw, 4.5rem);
    letter-spacing: -0.06em;
  }

  .menu-open .menu-toggle {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 8rem;
  }

  .hero-copy {
    max-width: 38rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-stage {
    width: min(100%, 38rem);
  }

  .section-heading,
  .process,
  .company-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .section-heading h2 {
    width: 100%;
  }

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

  .expertise-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .expertise-card:last-child {
    border-bottom: 0;
  }

  .card-icon {
    margin: 3.5rem auto;
  }

  .process {
    display: grid;
  }

  .company-layout {
    display: grid;
    min-height: 30rem;
  }

  .company-copy {
    max-width: 32rem;
  }

  .contact {
    display: grid;
    align-items: start;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .site-footer > p:nth-child(2) {
    justify-self: end;
  }

  .site-footer p:last-child {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  :root {
    --radius: 1rem;
  }

  .site-header {
    min-height: 4.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: 7.5rem;
    padding-bottom: 5rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .visual-stage {
    border-radius: 50% 50% 2rem 2rem;
  }

  .card-a {
    top: 9%;
    right: 0;
    width: 6.2rem;
    height: 7rem;
  }

  .card-a strong {
    font-size: 1.2rem;
  }

  .card-b {
    bottom: 12%;
    width: 7.2rem;
    height: 5.2rem;
  }

  .core {
    width: 52%;
    padding: 1.25rem;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .statement {
    min-height: 40rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .principles {
    align-items: center;
    flex-direction: column;
    gap: 0.8rem;
  }

  .principles span {
    padding: 0;
    border-right: 0;
  }

  .process-row {
    grid-template-columns: 2rem 1fr;
    min-height: 9rem;
  }

  .process-row i {
    display: none;
  }

  .company-panel {
    min-height: 42rem;
  }

  .contact {
    padding-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer > p:nth-child(2),
  .site-footer p:last-child {
    grid-column: auto;
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
