:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.16);
  --glass: rgba(255,255,255,.06);
  --radius: 24px;
  --spectrum: #ff2d78, #ff9f0a, #ffe14d, #30d158, #0ab4ff, #5e5ce6, #bf5af2, #ff2d78;
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* spectrum of moving lights */
body::before, body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none; border-radius: 50%;
}
body::before {
  width: 95vmax; height: 95vmax; right: -38vmax; top: -22vmax;
  background: conic-gradient(from 0deg, var(--spectrum));
  filter: blur(110px); opacity: .75;
  animation: spin 20s linear infinite, drift 11s ease-in-out infinite alternate;
}
body::after {
  width: 55vmax; height: 55vmax; left: -20vmax; bottom: -30vmax;
  background: radial-gradient(circle, #5e5ce6, #bf5af2 40%, transparent 70%);
  filter: blur(90px); opacity: .45;
  animation: drift2 13s ease-in-out infinite alternate;
}
@keyframes spin { to { rotate: 360deg; } }
@keyframes drift { 0% { translate: 0 0; scale: 1; } 50% { translate: -14vw 10vh; scale: 1.15; } 100% { translate: -4vw 28vh; scale: .9; } }
@keyframes drift2 { to { translate: 40vw -20vh; scale: 1.3; } }

a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.mono { font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-weight: 300; line-height: 1.04; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -.02em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
p { color: var(--muted); }
.lucide { width: 1.1em; height: 1.1em; stroke-width: 1.75; flex-shrink: 0; }

/* liquid glass: frosted body, chromatic edges, a spectrum light looping the rim */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.card, .pillar, .founder, .cta, .band, .b-insights, .carousel-nav button {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.02) 45%, rgba(255,255,255,.06));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 3px 0 8px -4px rgba(255,45,120,.45),
    inset -3px 0 8px -4px rgba(10,180,255,.45),
    inset 0 -3px 10px -6px rgba(255,225,77,.35),
    0 30px 60px -30px rgba(0,0,0,.7);
}
.card::after, .pillar::after, .founder::after, .cta::after, .b-insights::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 62%, var(--spectrum), transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; animation: loop 7s linear infinite;
}
.card.active::after, .card:hover::after, .pillar:hover::after, .founder:hover::after { opacity: 1; }
@keyframes loop { to { --a: 360deg; } }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; border-bottom: 1px solid rgba(255,255,255,.55); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.4rem; font-weight: 600; letter-spacing: -.03em; }
.brand img { width: 28px; height: 28px; }
nav { display: flex; align-items: center; gap: 22px; }
nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .2s; }
nav a:not(.btn):hover, nav a[aria-current] { color: var(--fg); }

/* buttons (pill + arrow) */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  font: inherit; font-weight: 500; font-size: 1.05rem; letter-spacing: -.01em;
  background: #fff; color: #000; border: 1.5px solid #fff; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn .lucide { transition: transform .2s; }
.btn:hover .lucide { transform: translateX(3px); }
.btn.ghost { background: transparent; color: #fff; }
.btn.ghost:hover { background: #fff; color: #000; }
.btn.sm { padding: 8px 16px; font-size: .95rem; }

/* hero */
.hero { padding: clamp(56px, 8vw, 96px) 0 40px; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; margin: 24px 0 36px; color: #fff; }

/* home: one screen, no page scroll; wheel/swipe drives the carousel (main.js) */
.home { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.home main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.home .hero { padding: clamp(24px, 5vh, 64px) 0 clamp(16px, 3vh, 32px); }
.home h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); margin-top: 12px; }
.home .hero p.lead { font-size: 1rem; margin: 14px 0 0; }
.home .stage { flex: 1; min-height: 0; display: flex; flex-direction: column; padding-bottom: 20px; }
.home .carousel { flex: 1; min-height: 240px; height: auto; }
.home .carousel-nav { margin-top: 16px; }
.home footer { margin-top: 0; padding: 14px 0; }
@media (max-height: 760px), (max-width: 520px) { .home .hero p.lead { display: none; } }
@media (max-height: 700px) { .home h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); } }

/* sections */
section { padding: clamp(56px, 8vw, 110px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head p { max-width: 460px; margin: 0; }

/* carousel */
.carousel { display: flex; gap: 14px; height: 380px; }
.card {
  flex: 1 1 0; min-width: 0;
  border-radius: var(--radius); cursor: pointer;
  transition: flex-grow .6s cubic-bezier(.2,.8,.2,1);
  display: grid; place-items: center; padding: 0; color: inherit; font: inherit; text-align: left;
}
/* brand lockup (icon + name): vertical and rippled when closed, horizontal when active */
.card .mark { display: flex; align-items: center; gap: 14px; font-size: 1.9rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; white-space: nowrap; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card .mark img { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; }
.card:not(.active) { background: var(--b-bg); overflow: hidden; }
.card:not(.active) .mark { writing-mode: vertical-rl; rotate: 180deg; }
.card:not(.active) .mark img { rotate: 90deg; }
.card:not(.active):hover .mark { transform: scale(1.06); }
.card:not(.active) .mark { filter: url(#ripple); }
/* wavy glass: faint horizontal ripple lines over the smeared logo */
.card:not(.active)::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(175deg, transparent 0 9px, rgba(255,255,255,.07) 10px, transparent 12px 19px, rgba(0,0,0,.18) 21px, transparent 23px);
}
.card .body {
  position: absolute; inset: auto 0 0 0; padding: 28px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.card.active {
  flex-grow: 4; cursor: default;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; padding: 28px 32px;
}
.card.active > .mark { display: none; }
.card.active .body { position: static; padding: 0; opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.card .body h3 { font-size: 2.6rem; font-weight: 300; letter-spacing: -.04em; display: flex; align-items: center; gap: 16px; }
.card .body h3 img { width: 56px; height: 56px; border-radius: 14px; }
.card .body p { margin: 6px 0 18px; max-width: 460px; }
.card .tag { display: block; margin-bottom: 10px; }
.carousel-nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.carousel-nav button {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; cursor: pointer; padding: 0; transition: border-color .2s;
}
.carousel-nav button:hover { border-color: #fff; }
.progress { flex: 1; height: 1px; background: rgba(255,255,255,.25); overflow: hidden; margin-left: 8px; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--spectrum)); }
.progress i.run { animation: fill 5s linear forwards; }
@keyframes fill { to { width: 100%; } }
.counter { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { padding: 32px; border-radius: var(--radius); }
.pillar > .lucide { display: block; width: 28px; height: 28px; margin-bottom: 18px; }
.pillar .num { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pillar h3 { margin: 18px 0 10px; }
.pillar p { margin: 0; }

/* stats band */
.band { border-inline: 0; border-radius: 0; }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 40px 0; }
.stat b { display: block; font-size: 3rem; font-weight: 300; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: .9rem; }

/* page hero */
.page-hero { padding: clamp(64px, 9vw, 110px) 0 24px; }
.page-hero p { font-size: 1.2rem; max-width: 640px; margin-top: 20px; }

/* brand pages: --b-panel (set on <body>) tints a glow over the spectrum */
.b-page { position: relative; overflow: hidden; min-height: calc(100vh - 76px); min-height: calc(100dvh - 76px); display: flex; }
.b-page::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 10% 100%, color-mix(in srgb, var(--b-panel) 45%, transparent), transparent 70%);
}
.b-watermark { position: absolute; right: 18%; bottom: -12%; width: min(70vh, 640px); opacity: .08; filter: grayscale(1) brightness(3) blur(6px); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); pointer-events: none; }
.b-grid { position: relative; display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: stretch; }
.b-main { align-self: center; padding: 48px 0; max-width: 720px; }
.back { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 56px; transition: color .2s; }
.back:hover { color: #fff; }
.b-id { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.b-id img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.6); }
.b-id h1 { font-size: clamp(2.4rem, 8vw, 6.2rem); }
.b-lead { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.3; color: #fff; margin: 28px 0 16px; }
.b-main p:not(.b-lead) { font-size: 1rem; max-width: 620px; }
.b-side { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 80px 0 48px; }
.b-insights { border-radius: var(--radius); padding: 40px 32px; display: flex; flex-direction: column; gap: 32px; }
.insight b { display: block; font-weight: 300; font-size: 2.4rem; line-height: 1.1; letter-spacing: -.03em; }
.insight span { display: block; margin-top: 6px; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.b-visit {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; color: #000; text-decoration: none; padding: 16px 24px; border-radius: 999px;
  font-weight: 500; transition: transform .2s;
}
.b-visit:hover { transform: translateY(-2px); }
.b-visit .lucide { transition: transform .2s; }
.b-visit:hover .lucide { transform: translate(2px, -2px); }
.b-page + footer { margin-top: 0; }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.founder { padding: 36px; border-radius: var(--radius); }
.avatar {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 500; color: #000;
  background: conic-gradient(var(--spectrum));
  margin-bottom: 20px;
}
.founder .role { color: #fff; font-size: .92rem; margin: 6px 0 14px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* cta + footer */
.cta { border-radius: 32px; padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta p { max-width: 520px; margin: 16px auto 28px; }
footer { padding: 24px 0; margin-top: 40px; font-size: .85rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.55); padding-top: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
.home footer .wrap { padding-top: 14px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .pillars, .values, .founders, .split { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: repeat(2, 1fr); }
  .b-grid { grid-template-columns: 1fr; gap: 0; align-content: center; }
  .b-main { padding: 32px 0 16px; }
  .back { margin-bottom: 32px; }
  .b-id img { width: 64px; height: 64px; border-radius: 16px; }
  .b-side { padding: 16px 0 48px; }
  .b-insights { padding: 32px 24px; gap: 24px; }
  .b-watermark { right: -20%; }
  /* carousel: logo strip on top, active card full width below */
  .carousel { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 1fr 64px; gap: 8px; }
  .card { border-radius: 16px; }
  .card .mark img { width: 34px; height: 34px; border-radius: 9px; }
  .card:not(.active) .mark span { display: none; }
  .card.active { grid-column: 1 / -1; grid-row: 1; padding: 22px; border-radius: var(--radius); }
  .card .body h3 img { width: 44px; height: 44px; border-radius: 11px; }
  .card .body h3 { font-size: 2rem; }
  .card .body p { font-size: .92rem; margin-bottom: 14px; }
}
@media (max-width: 520px) {
  nav { gap: 14px; }
  nav .btn.sm { display: none; }
  body::before { filter: blur(70px); }
  /* active card has room on phones: scale its content up */
  .card.active { padding: 26px 22px; }
  .card .tag { font-size: .85rem; margin-bottom: 14px; }
  .card .body h3 { font-size: 2.8rem; gap: 14px; }
  .card .body h3 img { width: 56px; height: 56px; border-radius: 14px; }
  .card .body p { font-size: 1.12rem; line-height: 1.5; margin: 10px 0 22px; }
  .card .btn { font-size: 1.15rem; padding: 16px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
