:root {
  --ink: #111027;
  --muted: #65637a;
  --violet: #2c2475;
  --violet-2: #5e50c8;
  --lavender: #efedff;
  --green: #dff5e9;
  --line: #dedde8;
  --paper: #f7f8fb;
  --white: #ffffff;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 40; transform: translateY(-150%); padding: 10px 14px; color: white; background: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(16, 20, 38, .08);
  backdrop-filter: blur(18px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; }
.brand img { width: 44px; height: 30px; display: block; }
.brand span { padding-left: 10px; color: var(--violet); border-left: 1px solid var(--line); font-size: .82rem; font-weight: 800; }
.nav { display: flex; justify-content: center; gap: 26px; color: var(--muted); font-size: .875rem; font-weight: 700; }
.nav a, .header-contact { transition: color .2s ease; }
.nav a:hover, .header-contact:hover { color: var(--violet); }
.header-contact { justify-self: end; font-size: .88rem; font-weight: 700; }
.menu-button, .mobile-nav { display: none; }

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
  padding-block: 64px;
}
.eyebrow { margin: 0 0 20px; color: var(--violet-2); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; max-width: 760px; font-size: clamp(3.1rem, 5.5vw, 5.35rem); line-height: .98; letter-spacing: -.065em; }
.hero-text { max-width: 680px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 40px; }
.button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 700; }
.button-primary { color: white; background: var(--violet); transition: transform .2s ease, background .2s ease; }
.button-primary:hover { background: #3a3190; transform: translateY(-2px); }
.text-link { font-weight: 700; border-bottom: 1px solid var(--ink); }

.ecosystem { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; margin-inline: auto; border: 1px solid var(--line); border-radius: 50%; background: radial-gradient(circle, transparent 0 18%, #f2f0ff 18.5% 19%, transparent 19.5% 49%, #e8e5ff 49.5% 50%, transparent 50.5%); }
.ecosystem::before { content: ""; position: absolute; inset: 20%; border: 1px dashed #c7c2ec; border-radius: 50%; animation: rotate 35s linear infinite; }
.ecosystem-core { position: absolute; inset: 36%; z-index: 2; display: grid; place-content: center; text-align: center; }
.ecosystem-core img { display: block; width: 76px; height: auto; }
.orbit { position: absolute; z-index: 3; left: var(--orbit-x); top: var(--orbit-y); width: 124px; height: 48px; display: flex; align-items: center; justify-content: center; padding: 8px 15px; border: 1px solid rgba(44,36,117,.13); border-radius: 999px; background: rgba(255,255,255,.98); box-shadow: 0 10px 28px rgba(24,20,63,.065); font-size: .78rem; font-weight: 800; line-height: 1; text-align: center; transform: translate(-50%, -50%); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.orbit img { display: block; width: auto; height: auto; margin: 0; object-fit: contain; object-position: center; }
.orbit-1 img { width: 84px; }
.orbit-2 img { width: 88px; }
.orbit-3 img { width: 92px; }
.orbit-wordmark { gap: 0; color: #2c2475; font-size: .92rem; letter-spacing: -.025em; }
.orbit-wordmark-long { font-size: .84rem; }
.orbit-wordmark strong { font-weight: 800; }
.orbit-wordmark span { font-weight: 400; }
.orbit-others { color: var(--muted); font-weight: 700; letter-spacing: 0; }
.others-mobile { display: none; }
.orbit:hover { transform: translate(-50%, -50%) scale(1.04); border-color: rgba(44,36,117,.34); box-shadow: 0 12px 30px rgba(24,20,63,.1); }
.orbit-1 { --orbit-x: 50%; --orbit-y: 5%; }
.orbit-2 { --orbit-x: 91%; --orbit-y: 29%; }
.orbit-3 { --orbit-x: 91%; --orbit-y: 70%; }
.orbit-4 { --orbit-x: 72%; --orbit-y: 95%; }
.orbit-5 { --orbit-x: 9%; --orbit-y: 70%; }
.orbit-6 { --orbit-x: 9%; --orbit-y: 29%; }
.orbit-7 { --orbit-x: 28%; --orbit-y: 95%; }
@keyframes rotate { to { transform: rotate(360deg); } }

.projects { padding-block: 96px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; align-items: end; margin-bottom: 52px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.03; letter-spacing: -.055em; }
.section-heading > p:last-child { margin: 0 0 8px; color: var(--muted); font-size: 1.05rem; }
.project-list { border-top: 1px solid var(--line); }
.project-card { display: grid; grid-template-columns: 60px 1fr 140px 30px; gap: 24px; align-items: center; min-height: 148px; padding: 24px 8px; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.project-card:hover { padding-inline: 24px; background: white; }
.project-number { align-self: start; padding-top: 8px; color: var(--violet-2); font-size: .75rem; font-weight: 800; }
.project-card h3 { margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -.045em; }
.project-card p { max-width: 650px; margin: 0; color: var(--muted); }
.project-logo { width: 250px; height: 58px; display: flex; align-items: center; margin-bottom: 9px; }
.project-logo img { display: block; width: auto; max-width: 250px; height: auto; max-height: 54px; object-fit: contain; object-position: left center; }
.project-wordmark { height: 58px; display: flex; align-items: center; margin-bottom: 9px; color: #2c2475; font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1; letter-spacing: -.045em; }
.project-wordmark strong { font-weight: 800; }
.project-wordmark span { font-weight: 400; }
.project-category { justify-self: start; padding: 7px 12px; border-radius: 999px; background: var(--lavender); color: var(--violet); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.arrow { justify-self: end; font-size: 1.3rem; }

.approach { padding-block: 96px; color: white; background: var(--violet); }
.approach .eyebrow { color: #b9b1ff; }
.approach .section-heading > p:last-child { color: #c9c6df; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.approach-item { min-height: 310px; padding: 34px 34px 34px 0; border-right: 1px solid rgba(255,255,255,.2); }
.approach-item + .approach-item { padding-left: 34px; }
.approach-item:last-child { border-right: 0; }
.approach-item > span { color: #a9a0f8; font-size: .75rem; font-weight: 800; }
.approach-item h3 { margin: 80px 0 14px; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.035em; }
.approach-item p { margin: 0; color: #c9c6df; }
.model-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); overflow: hidden; }
.model-strip > span { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 28px; font-size: 2rem; font-weight: 800; }
.model-strip > span + span { border-left: 1px solid rgba(255,255,255,.25); }
.model-strip small { color: #c9c6df; font-size: .75rem; font-weight: 600; }

.contact { padding-block: 96px; }
.contact-panel { padding: clamp(36px, 7vw, 88px); background: var(--green); border-radius: 30px; }
.contact-panel h2 { max-width: 900px; }
.contact-panel > a { display: inline-flex; gap: 12px; align-items: center; margin-top: 46px; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 800; border-bottom: 2px solid var(--ink); }
.site-footer { min-height: 112px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px 28px; padding: 34px 32px; color: var(--muted); border-top: 1px solid var(--line); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.footer-brand img { display: block; width: 56px; height: auto; }
.site-footer p { max-width: 780px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px; }
.footer-links a, .footer-links span { color: var(--muted); font-size: .8rem; font-weight: 800; }
.footer-links a:hover { color: var(--violet); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .ecosystem::before { animation: none; } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav, .header-contact { display: none; }
  .menu-button { display: grid; width: 40px; height: 40px; place-content: center; gap: 7px; border: 0; background: transparent; }
  .menu-button span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .mobile-nav { position: absolute; top: 58px; left: 0; right: 0; padding: 18px 24px 28px; background: white; border-bottom: 1px solid var(--line); }
  .mobile-nav.open { display: grid; gap: 18px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 54px; }
  .ecosystem { max-width: 430px; margin-top: 12px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-item, .approach-item + .approach-item { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .approach-item h3 { margin-top: 42px; }
}

@media (max-width: 640px) {
  .section-shell { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 68px; padding: 14px 28px; }
  .mobile-nav { top: 68px; }
  .eyebrow { margin-bottom: 12px; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.35rem); }
  h2 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero { padding-block: 30px 34px; gap: 16px; }
  .hero-text { margin-top: 20px; font-size: .98rem; line-height: 1.55; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions { gap: 18px; margin-top: 28px; }
  .ecosystem { width: min(82vw, 310px); margin-top: 0; }
  .ecosystem-core img { width: 66px; }
  .orbit { width: 102px; height: 40px; padding: 6px 10px; font-size: .68rem; }
  .orbit-1 img { width: 72px; }
  .orbit-2 img { width: 76px; }
  .orbit-3 img { width: 78px; }
  .orbit-wordmark { font-size: .8rem; }
  .orbit-wordmark-long { font-size: .75rem; }
  .orbit-others { width: 114px; }
  .others-desktop { display: none; }
  .others-mobile { display: grid; gap: 2px; place-items: center; }
  .others-mobile strong { color: var(--violet); font-size: .68rem; line-height: 1; }
  .others-mobile small { color: var(--muted); font-size: .56rem; font-weight: 600; line-height: 1; white-space: nowrap; }
  .projects, .contact { padding-block: 40px; }
  .approach { padding-block: 44px; }
  .section-heading { gap: 14px; margin-bottom: 30px; }
  .project-card { grid-template-columns: 34px 1fr 22px; gap: 12px; padding-block: 20px; }
  .project-category { display: none; }
  .project-card p { font-size: .9rem; }
  .project-logo { width: 210px; height: 48px; margin-bottom: 3px; }
  .project-logo img { max-width: 210px; max-height: 44px; }
  .project-wordmark { height: 48px; margin-bottom: 3px; font-size: 2rem; }
  .approach-item h3 { margin-top: 22px; }
  .model-strip { margin-top: 24px; }
  .model-strip > span { padding: 20px; }
  .contact-panel { padding: 28px 24px; border-radius: 20px; }
  .contact-panel > a { margin-top: 28px; }
  .model-strip { grid-template-columns: 1fr; }
  .model-strip > span + span { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .site-footer { grid-template-columns: auto 1fr; align-items: start; gap: 14px 18px; padding: 28px 32px; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}
