*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #121212;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

section {
  scroll-margin-top: 66px;
}

.container {
  width: 100%;
  max-width: var(--container, 1280px);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  color: #5900A6;
}

.on-dark .eyebrow {
  color: #C786FF;
}

.display {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #C786FF, #E8D0FF);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 200;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 66px;
  background: #050c0b;
  z-index: 100;
  transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav.scrolled {
  background: rgba(5, 12, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  height: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.logo-img {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  padding: 6px 0;
  transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: #C786FF;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a.active {
  color: #C786FF;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn .arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.btn .arrow svg {
  width: 20px;
  height: 20px;
}

.btn .arrow img {
  width: 16px;
  height: 16px;
}

.btn .arrow svg,
.btn .arrow img {
  will-change: transform;
}

.btn:hover .arrow svg,
.btn:hover .arrow img {
  animation: arrowLoop 0.7s both;
}

/* Exit right with ease-in, re-enter from left with ease-out */
@keyframes arrowLoop {
  0% {
    transform: translateX(0);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }

  40% {
    transform: translateX(150%);
    opacity: 0;
  }

  40.01% {
    transform: translateX(-150%);
    opacity: 0;
    animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1);
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

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

.btn-nav {
  background: #2A173C;
  color: #fff;
  padding: 2px 2px 2px 16px;
  height: 44px;
  box-sizing: border-box;
}

.btn-nav .arrow {
  background: #E8D0FF;
  color: #121212;
  width: 40px;
  height: 40px;
}

.btn-nav:hover {
  background: #3a2556;
}

.btn-lilac {
  background: #E8D0FF;
  color: #050C0B;
  padding: 2px 2px 2px 16px;
  height: 44px;
}

.btn-lilac .arrow {
  background: #050C0B;
  color: #fff;
}

.btn-ghost {
  background: #2A173C;
  color: #fff;
  padding: 0 16px;
  height: 44px;
}

.btn-ghost:hover {
  background: #3a2556;
}

.btn-explore {
  background: #E8D0FF;
  color: #5900A6;
  padding: 2px 2px 2px 16px;
  font-size: 16px;
  font-weight: 400;
  gap: 24px;
}

.btn-explore .arrow {
  background: #050C0B;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: #151714;
  padding: 14px 24px;
  font-weight: 500;
  gap: 22px;
}

.btn-white svg,
.btn-white img {
  width: 16px;
  height: 16px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-white:hover svg,
.btn-white:hover img {
  transform: translate(3px, -3px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 19px;
}

.menu-toggle span:nth-child(3) {
  top: 24px;
}

.nav.open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #17101E;
  color: #fff;
  padding: calc(66px + 138px) 0 138px;
  text-align: center;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.pill-tag {
  display: inline-block;
  background: #2A173C;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 29px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 6px 0 0;
  font-weight: 300;
  color: #fff;
}

.hero h1 strong {
  font-weight: 600;
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em;
}

.hero h1 .word>span {
  display: inline-block;
  transform: translateY(105%);
}

.loaded .hero h1 .word>span {
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.loaded .hero h1 .word:nth-child(2)>span {
  animation-delay: 0.12s;
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

.hero p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-fade {
  opacity: 0;
  transform: translateY(18px);
}

.loaded .hero-fade {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.loaded .hero-fade.d1 {
  animation-delay: 0.05s;
}

.loaded .hero-fade.d2 {
  animation-delay: 0.45s;
}

.loaded .hero-fade.d3 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- About ---------- */
.about {
  padding: 86px 0 120px;
}

.about-grid {
  display: grid;
  grid-template-columns: 386px 1fr;
  gap: 105px;
  align-items: start;
}

.portrait {
  overflow: hidden;
  aspect-ratio: 386 / 560;
  background: #2a2a2a;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transform: scale(1.08);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait.in img {
  transform: scale(1);
}

.about h2 {
  font-size: clamp(40px, 4.6vw, 60px);
  color: #151714;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.1;
  max-width: 680px;
}

.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 38px;
}

.about-q {
  font-size: 30px;
  line-height: 1.33;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 330px;
}

.about-q em {
  font-style: normal;
  color: #5900A6;
}

.about-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #151714;
  max-width: 352px;
}

/* ---------- What I build ---------- */
.build {
  background: #17101E;
  color: #fff;
  padding: 70px 0 62px;
}

.split-head {
  display: grid;
  grid-template-columns: 343px 1fr;
  align-items: start;
}

.split-head .display {
  font-size: clamp(36px, 4.4vw, 60px);
}

.build .split-head {
  grid-template-columns: 318px 1fr;
  padding: 0 0 70px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.build-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 80px 47px 0;
}

.build-item {
  position: relative;
  display: grid;
  grid-template-columns: 61px 1fr;
  padding: 42px 40px 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.build-item:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.build-item:nth-child(even) {
  padding-left: 47px;
}

.build-item:nth-child(-n+2) {
  padding-bottom: 86px;
}

.build-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(197, 138, 249, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.build-item:hover::before {
  opacity: 1;
}

.build-num {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #858980;
  padding-top: 4px;
}

.build-item h3 {
  font-size: 25px;
  font-weight: 600;
  color: #FFFEFA;
  letter-spacing: -0.88px;
  margin-bottom: 18px;
  transition: color 0.3s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.build-item:hover h3 {
  color: #C786FF;
  transform: translateX(4px);
}

.build-item p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #FFFFFF;
  max-width: 360px;
}

/* ---------- Works ---------- */
.works {
  padding: 115px 0;
}

.works .split-head .display {
  font-size: clamp(38px, 4.2vw, 60px);
}

.works-intro {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #151714;
  max-width: 660px;
  margin-top: 28px;
}

.langs {
  margin: 100px 0 0 0;
  background: #F8F1FE;
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  font-weight: 400;
  color: #050C0B;
}

.langs ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
}

.langs li.dot {
  font-size: 22px;
  font-weight: 500;
}

.langs li:not(.dot) {
  transition: color 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  font-weight: 500;
}

.langs li:not(.dot):hover {
  color: #5900A6;
  transform: translateY(-2px);
}

.project {
  display: grid;
  grid-template-columns: 1fr 556px;
  gap: 90px;
  align-items: center;
  margin-top: 108px;
}

.project+.project {
  margin-top: 140px;
}

.chip {
  display: inline-block;
  background: #F1F1F1;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  padding: 6px 16px;
  color: #050C0B;
}

.project-name {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.54px;
  margin: 20px 0;
  color: #050C0B;
}

.project h3 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.54px;
  line-height: 1.3;
  max-width: 486px;
  color: #050C0B;
}

.project p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 24px 0 36px;
  max-width: 690px;
  color: #050C0B;
}

.project-media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 556 / 516;
  background: #3a2b22;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-media img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  will-change: transform;
  transition: scale 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-media:hover {
  box-shadow: 0 30px 60px -20px rgba(24, 18, 31, 0.35);
}

.project-media:hover img {
  scale: 1.04;
}

/* ---------- What's next ---------- */
.next {
  background: #151714;
  color: #fff;
  text-align: center;
  padding: 150px 0;
  overflow: hidden;
}

.next h2 {
  font-size: clamp(64px, 10vw, 126px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.1;
  margin: 22px 0 50px;
}

.next h2 .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.next h2.in .ch {
  opacity: 1;
  transform: none;
}

.next p {
  max-width: 640px;
  font-size: 16px;
  font-weight: 400;
  margin: 0 auto;
  color: #FFFFFF;
  line-height: 1.75;
}

.next .question {
  color: #C786FF;
  font-size: 25px;
  font-weight: 500;
  margin: 50px auto 36px;
  letter-spacing: -0.01em;
}

/* ---------- Ventures ---------- */
.ventures {
  padding: 90px 0 80px;
}

.ventures .eyebrow {
  letter-spacing: 0;
}

.ventures h2 {
  font-size: clamp(38px, 4.5vw, 60px);
  margin: 16px 0 28px;
  max-width: 980px;
}

.ventures .lede {
  font-size: 16px;
  font-weight: 400;
  color: #151714;
}

.venture-list {
  list-style: none;
  margin-top: 70px;
  border-top: 1px solid #DBDEE8;
}

.venture {
  display: grid;
  grid-template-columns: 115px 1fr 1fr;
  padding: 38px 0;
  border-bottom: 1px solid #DBDEE8;
  position: relative;
}

.venture::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: #5900A6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.venture:hover::after {
  transform: scaleX(1);
}

.venture:last-child {
  border-bottom: 0;
}

.venture-num {
  font-size: 12px;
  font-weight: 500;
  color: #858980;
  padding-top: 2px;
}

.venture-role {
  font-size: 16px;
  font-weight: 600;
  color: #5900A6;
  text-transform: uppercase;
}

.venture h3 {
  font-size: 30px;
  font-weight: 600;
  color: #151714;
  margin-top: 4px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.venture:hover h3 {
  transform: translateX(6px);
}

.venture p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #151714;
  max-width: 575px;
  padding-top: 2px;
}

.venture .tags {
  font-size: 16px;
  font-weight: 500;
  color: #777893;
  margin-top: 16px;
  font-size: 18px;
}

/* ---------- Experience ---------- */
.experience {
  padding: 20px 0 0;
  text-align: center;
}

.experience .eyebrow {
  letter-spacing: 0;
}

.experience h2 {
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.30;
  margin-top: 35px;
}

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 70px;
  text-align: left;
  margin: 72px 0 0;
  padding: 0 16px;
}

.exp {
  padding: 12px 0 40px;
}

.exp:nth-child(n+3) {
  border-top: 1px solid #D5DFF0;
  padding-top: 22px;
  padding-bottom: 6px;
}

.exp-head {
  display: flex;
  align-items: center;
  gap: 22px;
}

.exp-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #DBDEE8;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.exp-logo.bg-white {
  background: #fff;
}

.exp:hover .exp-logo {
  transform: rotate(-8deg) scale(1.05);
}

.exp-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp h3 {
  font-size: 24px;
  font-weight: 600;
  color: #0E1628;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.exp .role {
  font-size: 16px;
  font-weight: 500;
  color: #777893;
}

.exp p {
  margin: 22px 0 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: #151714;
  max-width: 580px;
}

.circle-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #0E1628;
  display: grid;
  place-items: center;
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.circle-arrow img {
  width: 16px;
}

.circle-arrow:hover {
  background: #121212;
  color: #fff;
  transform: translateX(4px);
}

.circle-arrow:hover img {
  content: url("../images/white-arrow.svg");
}

.circle-arrow:hover svg {
  animation: arrowLoop 0.7s both;
}

/* ---------- Leadership ---------- */
.leadership {
  background: #FFFEFA;
  padding: 130px 0;
  margin-top: 0;
}

.leadership .split-head .display {
  font-size: clamp(38px, 4.4vw, 60px);
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 70px;
}

.lead-card {
  border: 1.2px solid #D6D3CA;
  border-radius: 10px;
  padding: 34px 30px 48px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s;
}

.lead-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(91, 15, 194, 0.25);
  border-color: #C786FF;
}

.lead-card .plus {
  color: #5900A6;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-card:hover .plus {
  transform: rotate(90deg);
}

.lead-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: #151714;
  letter-spacing: -0.03em;
  margin-top: 54px;
}

.lead-card .sub {
  font-size: 15px;
  font-weight: 600;
  color: #5900A6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lead-card p {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #151714;
}

.award {
  margin-top: 54px;
  background: #EBD4FF;
  border-radius: 10px;
  padding: 40px 45px 45px;
  display: grid;
  grid-template-columns: 1fr 224px 160px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.award::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-100%);
}

.award.in::before {
  animation: sheen 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

@keyframes sheen {
  to {
    transform: translateX(100%);
  }
}

.award h3 {
  font-size: 30px;
  font-weight: 600;
  color: #151714;
  letter-spacing: -0.04em;
  margin: 14px 0 12px;
}

.award p {
  font-size: 16px;
  font-weight: 400;
  max-width: 520px;
  line-height: 1.7;
  color: #151714;
}

.stat {
  padding-top: 0;
}

.stat strong {
  display: block;
  font-size: 35px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #151714;
}

.stat span {
  font-size: 13px;
  font-weight: 400;
  color: #485034;
  text-transform: uppercase;
}

/* ---------- Beyond ---------- */
.beyond {
  padding: 0 0 54px;
}

.beyond .split-head .display {
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.24;
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 66px;
}

.beyond-card {
  border-radius: 10px;
  padding: 32px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.beyond-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.35);
}

.beyond-card.c1 {
  background: #F6EBFF;
}

.beyond-card.c2 {
  background: #151714;
  color: #fff;
}

.beyond-card.c3 {
  background: #F8FAF9;
}

.beyond-card .kind {
  font-size: 16px;
  font-weight: 600;
  line-height: initial;
  color: #5900A6;
  text-transform: uppercase;
}

.beyond-card.c2 .kind {
  color: #C786FF;
}

.beyond-card h3 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: 18px;
}

.beyond-card .bottom {
  margin-top: auto;
  padding-top: 40px;
}

.beyond-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #151714;
  line-height: 1.3;
}

.beyond-card p {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 400;
  color: #151714;
  line-height: 1.6;
}

.beyond-card.c2 h4,
.beyond-card.c2 p {
  color: #ffffff;
}

.spoken {
  margin-top: 46px;
  border: 1.2px solid #D6D3CA;
  border-radius: 10px;
  padding: 26px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.spoken .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #C786FF;
}

/* ---------- Academic ---------- */
.academic {
  background: #17101E;
  color: #fff;
  padding: 132px 0;
}

.academic .inner {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 60px;
}

.academic h2 {
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1.24;
  margin-top: 20px;
}

.academic p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #F9F9F9;
}

.academic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.academic-tags span {
  border: 1px solid rgba(255, 255, 255, 30%);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  transition: background 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
}

.academic-tags span:hover {
  background: #F6EBFF;
  color: #151714;
  border-color: #F6EBFF;
}

/* ---------- Contact ---------- */
.contact {
  padding: 80px 0 0;
}

.contact .grid {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 40px;
}

.contact h2 {
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin-top: 28px;
}

.contact h2 .line-mask {
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}

.contact p {
  line-height: 1.75;
  padding-top: 18px;
  color: #151714;
  font-size: 16px;
  font-weight: 400;
}

.socials {
  list-style: none;
  margin-top: 40px;
}

.socials a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #DBDEE8;
  font-size: 16px;
  font-weight: 500;
  color: #151714;
  position: relative;
  transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s;
}

.socials a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: #5900A6;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.socials a:hover {
  padding-left: 10px;
  color: #5900A6;
}

.socials a:hover::after {
  transform: scaleX(1);
}

.socials img {
  width: 12px;
  height: auto;
  flex-shrink: 0;
  transform: rotate(-45deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.socials a:hover img {
  transform: translate(3px, -3px) rotate(-45deg);
}

footer {
  margin-top: 60px;
  border-top: 1px solid #DBDEE8;
  display: flex;
  justify-content: space-between;
  padding: 25px 0 72px;
  font-size: 12px;
  font-weight: 400;
  color: #666A63;
}

footer a {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  transition: color 0.3s;
}

footer a:hover {
  color: #5b0fc2;
}

footer a img {
  width: 14px;
  height: 14px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

footer a:hover img {
  content: url("../images/arrow-up-line-purple.svg");
  transform: translateY(-3px);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.reveal-left.in {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  clip-path: inset(8% 8% 8% 8% round 14px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0 round 14px);
}

.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.line-mask>span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.in .line-mask>span,
.line-mask.in>span {
  transform: none;
}

/* ---------- Stagger delays (used by reveal animations) ---------- */
.delay-05 {
  --d: .05s;
}

.delay-08 {
  --d: .08s;
}

.delay-1 {
  --d: .1s;
}

.delay-15 {
  --d: .15s;
}

.delay-16 {
  --d: .16s;
}

.delay-2 {
  --d: .2s;
}

/* ---------- Responsive ---------- */
h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
}

.next h2 .w {
  display: inline-block;
  white-space: nowrap;
}

/* Large desktops */
@media (min-width: 1680px) {
  :root {
    --container: 1400px;
  }

  .nav-inner {
    max-width: 1460px;
  }
}

/* Small laptops */
@media (max-width: 1180px) {
  .nav-links {
    gap: 26px;
  }

  .about-grid {
    gap: 60px;
    grid-template-columns: 320px 1fr;
  }

  .about-cols {
    gap: 40px;
  }

  .split-head {
    grid-template-columns: 260px 1fr;
    column-gap: 24px;
  }

  .build .split-head {
    grid-template-columns: 260px 1fr;
    padding-left: 0;
  }

  .project {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .build-grid {
    margin: 64px 0 0;
  }

  .award {
    grid-template-columns: 1fr auto auto;
    gap: 0 56px;
  }

  .academic .inner,
  .contact .grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .hero {
    padding: calc(66px + 110px) 0 110px;
  }

  .works {
    padding: 96px 0;
  }

  .langs {
    margin-top: 72px;
  }

  .project {
    margin-top: 88px;
  }

  .project+.project {
    margin-top: 110px;
  }

  .next {
    padding: 120px 0;
  }

  .leadership {
    padding: 104px 0;
  }

  .academic {
    padding: 104px 0;
  }
}

/* Tablets landscape — collapse nav into menu */
@media (max-width: 1100px) {
  .nav-inner {
    padding: 0 24px;
  }

  .nav nav {
    order: 3;
  }

  .menu-toggle {
    display: block;
    order: 4;
    margin-left: -8px;
  }

  .btn-nav {
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 12, 11, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 8px 24px 24px;
    max-height: calc(100vh - 66px);
    max-height: calc(100dvh - 66px);
    overflow-y: auto;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.55s;
  }

  .nav.open .nav-links {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a {
    display: block;
    padding: 16px 0;
  }

  .nav-links a::after {
    display: none;
  }
}

/* Tablets portrait */
@media (max-width: 980px) {
  .hero {
    padding: calc(66px + 96px) 0 96px;
  }

  .about {
    padding: 64px 0 72px;
  }

  .about-grid {
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 40px;
  }

  .about-cols {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
  }

  .about-text {
    max-width: none;
  }

  .about-q {
    font-size: 26px;
  }

  .split-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .build {
    padding: 64px 0 48px;
  }

  .build .split-head {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
  }

  .build-grid {
    margin: 32px 0 0;
  }

  .build-item {
    grid-template-columns: 40px 1fr;
    padding: 32px 24px 40px 0;
  }

  .build-item:nth-child(even) {
    padding-left: 24px;
    padding-right: 0;
  }

  .build-item:nth-child(-n+2) {
    padding-bottom: 40px;
  }

  .works {
    padding: 72px 0;
  }

  .works .split-head {
    padding-left: 0;
  }

  .works .split-head .eyebrow {
    padding-top: 0;
  }

  .langs {
    margin: 48px 0 0;
  }

  .project {
    gap: 36px;
    margin-top: 64px;
  }

  .project+.project {
    margin-top: 80px;
  }

  .project-name {
    font-size: 26px;
    margin: 18px 0 18px;
  }

  .project p {
    margin: 22px 0 26px;
  }

  .next {
    padding: 96px 0;
  }

  .next h2 {
    margin: 18px 0 40px;
  }

  .next .question {
    margin: 40px auto 32px;
  }

  .ventures {
    padding: 72px 0 64px;
  }

  .venture-list {
    margin-top: 48px;
  }

  .venture {
    grid-template-columns: 60px 1fr 1.2fr;
    gap: 0 24px;
    padding: 32px 0;
  }

  .venture h3 {
    font-size: 26px;
  }

  .exp-grid {
    gap: 0 40px;
    padding: 0;
    margin-top: 48px;
  }

  .leadership {
    padding: 72px 0;
  }

  .leadership .inner,
  .beyond .inner,
  .academic .inner {
    padding: 0;
  }

  .lead-grid,
  .beyond-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }

  .lead-card:last-child,
  .beyond-card:last-child {
    grid-column: 1 / -1;
  }

  .lead-card h3 {
    margin-top: 36px;
  }

  .beyond-card {
    min-height: 300px;
  }

  .beyond-card:last-child {
    min-height: 0;
  }

  .award {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    padding: 36px 32px;
    margin-top: 40px;
  }

  .award>div:first-child {
    grid-column: 1 / -1;
  }

  .stat {
    padding-top: 28px;
  }

  .beyond {
    padding-bottom: 48px;
  }

  .academic {
    padding: 72px 0 80px;
  }

  .contact {
    padding-top: 72px;
  }

  footer {
    margin-top: 48px;
    padding-bottom: 48px;
  }

  .academic .inner,
  .contact .grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact .grid {
    gap: 20px;
  }

  .spoken {
    justify-content: flex-start;
    gap: 16px 24px;
    margin-top: 32px;
  }
}

/* Large phones */
@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 386px;
    width: 100%;
  }

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

  .build-item,
  .build-item:nth-child(even),
  .build-item:nth-child(-n+2) {
    padding: 32px 0 40px;
    border-right: 0;
  }

  .project,
  .project+.project {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 80px;
  }

  .project-media {
    order: -1;
  }

  .venture {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 32px 0;
  }

  .venture-num {
    padding-top: 0;
  }

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

  .exp:nth-child(n+2) {
    border-top: 1px solid #d6dfe7;
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .lead-grid,
  .beyond-grid {
    grid-template-columns: 1fr;
  }

  .beyond-card {
    min-height: 320px;
  }
}

/* Phones */
@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    padding: 0 12px 0 16px;
  }

  .logo-img {
    height: 24px;
    width: auto;
  }

  .btn-nav {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .hero {
    padding: calc(66px + 64px) 0 72px;
  }

  .hero h1 {
    font-size: clamp(32px, 10.5vw, 64px);
  }

  .hero h1 .word {
    display: block;
  }

  .hero p {
    font-size: 15px;
    margin-top: 16px;
  }

  .hero-cta {
    margin-top: 32px;
    gap: 12px;
  }

  .pill-tag {
    padding: 6px 20px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .about {
    padding: 48px 0 56px;
  }

  .build {
    padding: 56px 0 32px;
  }

  .build .split-head {
    padding-bottom: 32px;
  }

  .build-grid {
    margin-top: 8px;
  }

  .build-item,
  .build-item:nth-child(even),
  .build-item:nth-child(-n+2) {
    padding: 28px 0 32px;
  }

  .about-q {
    font-size: 23px;
  }

  .build-item {
    grid-template-columns: 32px 1fr;
  }

  .build-item h3 {
    font-size: 22px;
  }

  .works {
    padding: 56px 0;
  }

  .works .split-head .display {
    font-size: clamp(32px, 9vw, 44px);
  }

  .langs {
    flex-direction: column;
    align-items: flex-start;
    font-size: 18px;
    gap: 12px;
    margin-top: 36px;
    padding: 20px;
  }

  .langs ul {
    gap: 16px;
  }

  .project,
  .project+.project {
    margin-top: 56px;
  }

  .project h3 {
    font-size: 26px;
  }

  .project p {
    margin: 18px 0 24px;
  }

  .next {
    padding: 72px 0;
  }

  .next h2 {
    font-size: clamp(44px, 13vw, 80px);
    margin: 16px 0 28px;
  }

  .next .question {
    font-size: 19px;
    margin: 28px auto;
  }

  .ventures {
    padding: 56px 0 40px;
  }

  .ventures h2 {
    margin-bottom: 28px;
  }

  .venture-list {
    margin-top: 32px;
  }

  .venture {
    padding: 28px 0;
  }

  .venture-role {
    font-size: 14px;
  }

  .venture h3 {
    font-size: 24px;
  }

  .experience h2 {
    font-size: clamp(28px, 8vw, 40px);
    margin-top: 20px;
  }

  .exp-grid {
    margin-top: 32px;
  }

  .exp-head {
    gap: 16px;
  }

  .exp-logo {
    width: 52px;
    height: 52px;
  }

  .exp h3 {
    font-size: 21px;
  }

  .exp .role {
    font-size: 14px;
  }

  .exp p {
    margin: 16px 0;
  }

  .leadership {
    padding: 56px 0;
  }

  .lead-grid,
  .beyond-grid {
    margin-top: 32px;
  }

  .lead-card,
  .beyond-card {
    padding: 28px 24px;
  }

  .lead-card h3 {
    margin-top: 24px;
    font-size: 22px;
  }

  .lead-card .sub {
    font-size: 13px;
  }

  .award {
    padding: 28px 24px;
    margin-top: 32px;
  }

  .award h3 {
    font-size: 24px;
  }

  .stat strong {
    font-size: 30px;
  }

  .beyond {
    padding-bottom: 40px;
  }

  .beyond-card {
    min-height: 0;
  }

  .beyond-card h3 {
    font-size: 26px;
  }

  .spoken {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 24px;
    margin-top: 24px;
  }

  .spoken .dot {
    display: none;
  }

  .academic {
    padding: 56px 0 64px;
  }

  .academic p {
    font-size: 17px;
  }

  .academic-tags span {
    font-size: 14px;
  }

  .contact {
    padding: 56px 0 0;
  }

  .contact h2 {
    font-size: clamp(44px, 14vw, 72px);
    margin-top: 20px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
    padding-bottom: 32px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  .container {
    padding: 0 14px;
  }

  .btn {
    font-size: 15px;
  }

  .btn .arrow {
    width: 36px;
    height: 36px;
  }

  .display {
    letter-spacing: -0.035em;
  }
}

/* Short landscape screens (phones turned sideways) */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: calc(66px + 48px) 0 64px;
  }

  .nav-links a {
    padding: 10px 0;
  }
}

/* Touch devices: no hover-only lift that could stick after tap */
@media (hover: none) {

  .lead-card:hover,
  .beyond-card:hover,
  .btn:hover {
    transform: none;
  }
}

@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;
  }

  .reveal,
  .reveal-left,
  .reveal-scale,
  .hero-fade,
  .next h2 .ch {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .line-mask>span,
  .hero h1 .word>span {
    transform: none !important;
  }
}