/* ── Design Tokens ──────────────────────────────────── */
:root {
  --color-bg: #000000;
  --color-green: #70ffc5;
  --color-purple: #635fff;
  --color-muted: #4f505e;
  --color-border: #191919;
  --color-border-dark: #1a1a1a;
  --color-border-case: #2a2a2b;
  --color-white: #ffffff;
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-20: rgba(255, 255, 255, 0.2);
  --color-green-bg: rgba(112, 255, 197, 0.2);

  --grad-main: linear-gradient(153deg, #70ffc5 21%, #b8ffe2 43%, #ffffff 50%, #635fff 81%);
  --grad-alt: linear-gradient(160deg, #70ffc5 21%, #b8ffe2 43%, #ffffff 50%, #635fff 81%);
  --grad-hero: linear-gradient(162deg, #70ffc5 21%, #b8ffe2 43%, #ffffff 50%, #635fff 81%);

  --font-display: 'MuseoModerno', sans-serif;
  --font-body: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;

  --fs-120: clamp(3rem, 8.33vw, 120px);
  --fs-86: clamp(2rem, 5.97vw, 86px);
  --fs-64: clamp(1.8rem, 4.44vw, 64px);
  --fs-54: clamp(1.6rem, 3.75vw, 54px);
  --fs-32: clamp(1.2rem, 2.22vw, 32px);
  --fs-24: clamp(1rem, 1.67vw, 24px);
  --fs-16: 16px;

  --fs-48: clamp(1.4rem, 3.33vw, 48px);
  --fs-40: clamp(1.3rem, 2.78vw, 40px);
  --fs-18: 18px;

  --radius-card: 64px;
  --radius-tag: 32px;
  --radius-btn: 32px;

  --sp-160: clamp(60px, 11.11vw, 160px);
  --sp-128: clamp(48px, 8.89vw, 128px);
  --sp-80: clamp(32px, 5.56vw, 80px);
  --sp-48: clamp(24px, 3.33vw, 48px);
  --sp-32: clamp(16px, 2.22vw, 32px);
  --sp-24: clamp(12px, 1.67vw, 24px);

  --st-gap: 40px;
}

/* ── Reset & Base ───────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.35;
  overflow-x: hidden;
}

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

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

p {
  margin: 0;
}

ul {
  list-style: none;
}

/* ── Utility ────────────────────────────────────────── */
.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  margin-bottom: 16px;
}

.mt-40 {
  margin-top: 40px;
}

.container-1280 {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

.container-1440 {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

/* ── NAV ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.nav__inner {
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
  padding: 0 32px;
  overflow: hidden;
}

.nav__logo {
  flex-shrink: 0;
  height: 36px;
}

.nav__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav__menu {
  flex: 1;
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.nav__menu-item {
  opacity: 0.5;
  font-family: var(--font-display);
  font-size: var(--fs-16);
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity .2s;
}

.nav__menu-item:hover {
  opacity: 1;
}

.nav__social {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.nav__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  opacity: 0.7;
  transition: opacity .2s;
}

.nav__social a:hover {
  opacity: 1;
}

.nav__social img {
  object-fit: contain;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav__mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}

.nav__mobile-menu.is-open {
  max-height: 400px;
}

.nav__mobile-menu a {
  display: block;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: var(--fs-16);
  opacity: 0.7;
  border-bottom: 1px solid var(--color-border);
  transition: opacity .2s;
}

.nav__mobile-menu a:hover {
  opacity: 1;
}

.nav__mobile-social {
  display: flex;
  gap: 16px;
  padding: 16px 32px;
}

.nav__mobile-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}


/* ── ENTRY ANIMATIONS ──────────────────────────────────── */
@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }

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

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes slideLeftFade {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }

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

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.cursor {
  animation: blink 0.8s step-end infinite;
  font-weight: 300;
  color: var(--color-green);
}

.text-anim-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.text-anim-container {
  position: relative;
  width: 100%;
  height: 240px;
  /* Increased height so largest text wrap fits properly */
  overflow: hidden;
  margin-top: -10px;
  /* Tighter spacing below main title */
}

.text-anim-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.text-anim-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.text-anim-slide.is-exiting {
  opacity: 0;
  transform: translateY(-40px);
}

.hero__title {
  animation: slideDownFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero__title-beautifully {
  animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
  opacity: 0;
}

.hero__photo {
  animation: slideLeftFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
  opacity: 0;
}

/* ── SCROLL ANIMATIONS ─────────────────────────────────── */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-slide-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-zoom {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-zoom.is-visible {
  opacity: 1;
  transform: scale(1);
}

.scroll-fade-delay {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.scroll-fade-delay.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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



/* ── HERO ───────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__row {
  display: flex;
  align-items: stretch;
  width: 1280px;
  max-width: 100%;
}

/* Left col */
.hero__left {
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 48px 32px;
  width: 436px;
  flex-shrink: 0;
}

.hero__bg-gif-top {
  margin-bottom: 16px;
}

.hero__bg-gif-top img {
  max-width: 220px;
  border-radius: 20px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-54);
  line-height: 1.2;
  font-weight: 400;
  color: var(--color-white);
  width: 100%;
}

.hero__title strong {
  font-weight: 700;
}

.hero__title-beautifully {
  font-family: var(--font-display);
  font-size: var(--fs-64);
  font-weight: 700;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

/* Mid col */
.hero__mid {
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-end;
  padding-bottom: 32px;
  flex: 1;
  min-width: 0;
}

.hero__bio {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px;
}

.hero__bio-text {
  font-family: var(--font-body);
  font-size: var(--fs-24);
  line-height: 1.15;
  color: var(--color-white);
}

.hero__bio-text .highlight-green {
  color: var(--color-green);
  font-weight: 700;
}

.hero__bio-text .highlight-purple {
  color: var(--color-purple);
}

.hero__bio-text .muted {
  color: var(--color-white-50);
}

.hero__bio-text .bold {
  font-weight: 700;
}

.hero__bio-intro {
  margin-bottom: 16px;
}

.hero__logos {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hero__logos img {
  width: auto;
  object-fit: contain;
  max-width: 140px;
}

/* Right col */
.hero__right {
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-end;
  padding: 32px;
  width: 402px;
  height: 702px;
  position: relative;
  flex-shrink: 0;
  /* overflow: hidden removed */
}

.hero__available {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  position: relative;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
  position: relative;
  animation: pulse 2s infinite;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--color-green);
  opacity: 0.4;
  animation: pulseRing 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .6
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: .4
  }

  100% {
    transform: scale(1.8);
    opacity: 0
  }
}

.hero__available-text {
  font-family: var(--font-display);
  font-size: var(--fs-16);
  white-space: nowrap;
}

.hero__photo {
  position: absolute;
  right: -78px;
  top: 32px;
  width: 447px;
  height: 577px;
  border-radius: 64px;
  overflow: hidden;
}

.hero__photo img {
  width: 110%;
  height: 114%;
  object-fit: cover;
  object-position: center top;
}

/* Resume Button */
.hero__resume {
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  width: 1280px;
  max-width: 100%;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero__resume:hover {
  border-color: var(--color-green);
  background: linear-gradient(100deg, rgba(112, 255, 197, 0.6) -10%, #000 40%, #000 60%, rgba(99, 95, 255, 0.6) 110%);
  color: var(--color-white);
}

.hero__resume-text {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  color: var(--color-white-50);
  letter-spacing: 1.2px;
  transition: color 0.3s ease;
}

.hero__resume:hover .hero__resume-text {
  color: var(--color-white);
}

.hero__resume-icon {
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.hero__resume:hover .hero__resume-icon {
  opacity: 1;
}

/* ── PHILOSOPHY ─────────────────────────────────────── */
.philosophy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 1280px;
  max-width: 100%;
}

.philosophy__banner {
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-128) var(--sp-32);
  width: 100%;
}

.philosophy__title-wrap {
  position: relative;
  display: inline-grid;
  place-items: start;
}

.philosophy__union {
  grid-area: 1/1;
  width: 60vw;
  height: 35vw;
  max-width: 850px;
  max-height: 500px;
  object-fit: contain;
}

.philosophy__heading {
  grid-area: 1/1;
  font-family: var(--font-display);
  font-size: var(--fs-54);
  line-height: 1.2;
  text-align: right;
  background: linear-gradient(142deg, #70ffc5 21%, #b8ffe2 43%, #fff 50%, #635fff 81%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: clamp(200px, 25vw, 359px);
  margin-top: clamp(120px, 22vw, 316px);
  z-index: 1;
}

.philosophy__heading strong {
  font-weight: 700;
}


.grid-pos-1 {
  grid-area: 1 / 1 / 2 / 2;
}

.grid-pos-mid {
  grid-area: 1 / 2 / 2 / 3;
}

.grid-pos-3 {
  grid-area: 1 / 3 / 2 / 4;
}

.grid-pos-bl {
  grid-area: 2 / 1 / 3 / 2;
}

.grid-pos-2 {
  grid-area: 2 / 2 / 3 / 3;
}

.grid-pos-br {
  grid-area: 2 / 3 / 3 / 4;
}

/* Cards grid */
.philosophy__grid {
  border: 1px solid var(--color-border);
  border-top: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  overflow: hidden;
  border-radius: 0 0 64px 64px;
  width: 100%;
  background: var(--color-border);
  gap: 1px;
}

.phil-card {
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 48px;
}

.phil-card__num {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 700;
  line-height: 1.2;
}

.phil-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-green);
}

.phil-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.35;
}

.phil-card__body strong {
  font-weight: 700;
}

.phil-card--img {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.phil-card--img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.phil-card--img-mid {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 400px;
}

.phil-card--img-mid img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ── PORTFOLIO ──────────────────────────────────────── */
.portfolio {
  display: flex;
  flex-direction: column;
  gap: var(--sp-80);
  align-items: center;
  padding: var(--sp-160) 0;
  width: 1280px;
  max-width: 100%;
}

.portfolio__heading,
.selected-projects__heading {
  font-family: var(--font-display);
  font-size: var(--fs-120);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: 100%;
}

/* Case card */
.case {
  background: #000;
  border: 1px solid var(--color-border-case);
  border-radius: var(--radius-card);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  width: 100%;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.case::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(162deg, #70ffc5, #635fff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.case:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.case:hover::before {
  opacity: 1;
}

/* Link overlay to make entire card clickable */
.case__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.case__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: var(--sp-48);
  width: 50%;
  flex-shrink: 0;
}

.case__title {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 700;
  line-height: 1.2;
}

.case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
}

.case__tag {
  background: var(--color-green-bg);
  border: 1px solid var(--color-green);
  border-radius: var(--radius-tag);
  padding: 4px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-16);
  color: var(--color-green);
  font-weight: 500;
  white-space: nowrap;
}

.case__divider {
  height: 1px;
  background: var(--color-border);
  width: 100%;
  flex-shrink: 0;
}

.case__details {
  display: flex;
  gap: 24px;
  height: auto;
  align-items: center;
  padding: 16px 0;
}

.case__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
  font-family: var(--font-display);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--color-muted);
}

.case__col-right {
  flex: 1;
  height: 100%;
  font-family: var(--font-display);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--color-muted);
  line-height: 1.2;
}

.case__col-right p {
  margin-bottom: 8px;
}

.case__label {
  margin-bottom: 8px;
}

.case__val {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.35;
}

.case__val strong {
  font-weight: 700;
}

.case__impact {
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-16);
  color: var(--color-muted);
  line-height: 1.2;
}

.case__impact-val {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-green);
  margin-top: 8px;
}

.case__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.btn-small {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: var(--fs-16);
  color: var(--color-white-50);
  letter-spacing: 0.8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-small:hover {
  border-color: var(--color-green);
  color: var(--color-white);
  background: linear-gradient(100deg, rgba(112, 255, 197, 0.6) -10%, #000 40%, #000 60%, rgba(99, 95, 255, 0.6) 110%);
}

.btn-small img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.case__image-block {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(153, 153, 153, 0.1));
  width: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.case__image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 5s ease;
}

.case:hover .case__image-block img {
  transform: scale(1.05);
}

/* More Cases btn */
.btn-mid {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-btn);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: var(--fs-24);
  color: var(--color-white-50);
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-mid:hover {
  border-color: var(--color-green);
  color: var(--color-white);
  background: linear-gradient(100deg, rgba(112, 255, 197, 0.6) -10%, #000 40%, #000 60%, rgba(99, 95, 255, 0.6) 110%);
}

.btn-mid img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ── TOOLS ──────────────────────────────────────────── */
.tools {
  display: flex;
  flex-direction: column;
  gap: var(--sp-80);
  align-items: center;
  width: 1440px;
  max-width: 100%;
}

.tools__top {
  display: flex;
  align-items: center;
  gap: clamp(40px, 8.4vw, 121px);
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 var(--sp-32);
}

.tools__heading {
  font-family: var(--font-display);
  font-size: var(--fs-120);
  font-weight: 400;
  line-height: 1.2;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 820px;
}

.tools__orb-wrap {
  position: relative;
  width: clamp(200px, 23.6vw, 340px);
  height: clamp(200px, 23.6vw, 340px);
  flex-shrink: 0;
}

.tools__orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 12px;
  background: linear-gradient(135deg, #70ffc5 0%, #000000 49%, #635fff 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spin 8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.tools__orb-inner {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
}

.tools__orb-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tools__rows {
  width: 100%;
}

.tools__row {
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px;
  gap: 12px;
  margin-top: -1px;
  transition: background-color 0.3s ease;
  cursor: default;
}

.tools__row-title {
  font-family: var(--font-display);
  font-size: var(--fs-86);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-muted);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.tools__row:hover .tools__row-title {
  color: var(--color-white);
  text-shadow: 0 0 24px rgba(99, 95, 255, 0.8), 0 0 12px rgba(99, 95, 255, 0.4);
}

.tools__row-sub {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.3s ease;
}

.tools__row:hover .tools__row-sub {
  color: var(--color-green);
}

/* ── BEYOND ─────────────────────────────────────────── */
.beyond {
  display: flex;
  flex-direction: column;
  gap: var(--sp-80);
  align-items: center;
  position: relative;
  width: 1440px;
  max-width: 100%;
}

.beyond__bg-orb {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 270px;
  height: 480px;
  pointer-events: none;
  z-index: 0;
}

.beyond__bg-orb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.beyond__heading {
  font-family: var(--font-display);
  font-size: var(--fs-120);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: 100%;
  padding: 0 var(--sp-32);
  position: relative;
  z-index: 1;
}

.beyond__bio {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-body);
  font-size: var(--fs-24);
  line-height: 1.15;
  text-align: center;
  width: min(642px, 100%);
  padding: 0 var(--sp-32);
  position: relative;
  z-index: 1;
}

.beyond__bio .accent-purple {
  color: var(--color-purple);
  font-size: 28px;
}

.beyond__bio .accent-green {
  color: var(--color-green);
  font-size: 32px;
}

.beyond__bio strong {
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.beyond__photos {
  width: 100vw;
  /*margin-left: calc(-50vw + 50%);
  Full bleed trick */
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: transparent;
  padding: 24px 0;
}

.beyond__photos-track {
  display: inline-flex;
  gap: 32px;
  padding: 0 16px;
  width: max-content;
  animation: marquee 20s linear infinite;
}

.beyond__photos-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 16px));
  }
}

.beyond__photo {
  background: #fff;
  width: clamp(160px, 22.2vw, 320px);
  height: clamp(270px, 37.5vw, 540px);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.beyond__photo img {
  position: absolute;
  width: 130%;
  height: 115%;
  object-fit: cover;
}

.beyond__photo--tl {
  border-radius: 128px 0 128px 0;
}

.beyond__photo--tr {
  border-radius: 0 128px 0 128px;
}

.beyond__photo--tl2 {
  border-radius: 128px 0 128px 0;
}

.beyond__photo--tr2 {
  border-radius: 0 128px 0 128px;
}

.beyond__caption {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-body);
  font-size: var(--fs-24);
  line-height: 1.15;
  text-align: center;
  width: min(640px, 100%);
  padding: 0 var(--sp-32);
  color: var(--color-muted);
}

.beyond__caption .white {
  color: var(--color-white);
}

/* ── CTA ────────────────────────────────────────────── */
.cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 1440px;
  max-width: 100%;
  padding-bottom: 40px;
}

.cta__heading {
  font-family: var(--font-display);
  font-size: var(--fs-120);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  background: var(--grad-alt);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: 100%;
  padding: 0 var(--sp-32);
}

.cta__anim {
  width: auto;
  height: auto;
  overflow: hidden;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__anim img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta__btn {
  margin-top: 24px;
}

.cta__copy {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: min(644px, 100%);
  text-align: center;
  padding: 0 var(--sp-32);
}

.cta__copy-text {
  font-family: var(--font-body);
  font-size: var(--fs-24);
  line-height: 1.15;
}

.cta__copy-text .green {
  color: var(--color-green);
  font-weight: 800;
}

.cta__social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.cta__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  opacity: 0.7;
  transition: opacity .2s;
}

.cta__social a:hover {
  opacity: 1;
}

.cta__social img {
  object-fit: contain;
  width: 40px;
  height: 40px;
}

.cta__location {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.15;
  text-align: center;
}

.cta__location-label {
  font-family: var(--font-display);
  color: var(--color-muted);
  margin-bottom: 8px;
}

.cta__location-city {
  color: var(--color-white);
}

.cta__location-remote {
  color: var(--color-green);
}

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  border: 1px solid var(--color-border-dark);
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  padding: 32px;
  width: 1440px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  border-bottom: 0px;
  border-radius: 32px 32px 0 0;
}

.footer__menu {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__menu-item {
  font-family: var(--font-display);
  font-size: var(--fs-16);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity .2s;
}

.footer__menu-item:hover {
  opacity: 1;
}

.footer__logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.footer__logo-union {
  height: 80px;
  object-fit: contain;
}

.footer__monogram {
  width: 44px;
  height: 20px;
  object-fit: contain;
}

.footer__copy {
  font-family: var(--font-display);
  font-size: var(--fs-16);
  line-height: 1.15;
  text-align: center;
  margin-top: 8px;
}

.footer__glow-left,
.footer__glow-right {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: exclusion;
}

.footer__glow-left {
  width: clamp(400px, 77vw, 1111px);
  height: auto;
  left: -80px;
  top: 60px;
  opacity: 0.4;
}

.footer__glow-right {
  width: clamp(400px, 77vw, 1111px);
  height: auto;
  right: -80px;
  top: 60px;
  opacity: 0.4;
}

/* ── SECTION WRAPPER ────────────────────────────────── */
.page-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--sp-160);
  align-items: center;
  /* overflow: hidden; Removed to fix sticky positioning */
}

.page-wrapper--case {
  gap: 0;
}

.section-1280 {
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 160px;
}

/* ── ICON HELPERS ───────────────────────────────────── */
.icon-eye,
.icon-human,
.icon-write {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-eye svg,
.icon-human svg,
.icon-write svg {
  width: 100%;
  height: 100%;
}

/* ── SVG INLINE ICONS ───────────────────────────────── */
.svg-icon {
  flex-shrink: 0;
}

/* ── SKILL TREE ─────────────────────────────────────── */

.skill-tree-section {
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

.st-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 1440px;
  position: relative;
}

.st-center {
  position: relative;
  margin: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.st-center::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -40px;
  right: -40px;
  height: 2px;
  background: var(--color-border);
  z-index: -1;
}

.st-orb {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 30px rgba(112, 255, 197, 0.1);
}

.st-orb::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--grad-main);
  z-index: -1;
  opacity: 0.6;
  animation: stPulse 3s infinite alternate;
}

@keyframes stPulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
    box-shadow: 0 0 20px rgba(112, 255, 197, 0.2);
  }

  100% {
    transform: scale(1.05);
    opacity: 0.8;
    box-shadow: 0 0 40px rgba(112, 255, 197, 0.5);
  }
}

.st-orb-inner {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  line-height: 1.2;
}

.st-orb-inner span {
  color: var(--color-green);
}

.st-side {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 80px;
  flex: 1;
  padding: 40px 0;
  position: relative;
}

.st-side--left {
  border-right: 2px solid var(--color-border);
  padding-right: 40px;
}

.st-side--right {
  border-left: 2px solid var(--color-border);
  padding-left: 40px;
}

.st-side--left::before,
.st-side--left::after {
  content: '';
  position: absolute;
  right: -4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
}

.st-side--left::before {
  top: 0;
}

.st-side--left::after {
  bottom: 0;
}

.st-side--right::before,
.st-side--right::after {
  content: '';
  position: absolute;
  left: -4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-purple);
}

.st-side--right::before {
  top: 0;
}

.st-side--right::after {
  bottom: 0;
}

.st-group {
  display: flex;
  align-items: stretch;
  position: relative;
}

.st-group-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.st-side--left .st-group-inner {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.st-side--right .st-group-inner {
  flex-direction: row;
  justify-content: flex-start;
}

.st-side--left .st-group-inner::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -40px;
  width: 40px;
  height: 2px;
  background: var(--color-border);
  z-index: -1;
}

.st-side--right .st-group-inner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -40px;
  width: 40px;
  height: 2px;
  background: var(--color-border);
  z-index: -1;
}

.st-node {
  background: var(--color-border-dark);
  border: 2px solid var(--color-border);
  padding: 16px 24px;
  border-radius: var(--radius-tag);
  font-family: var(--font-display);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  transition: all 0.3s;
  cursor: default;
}

.st-node:hover {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}

.st-side--left .st-node {
  color: var(--color-green);
  border-color: rgba(112, 255, 197, 0.3);
}

.st-side--right .st-node {
  color: var(--color-purple);
  border-color: rgba(99, 95, 255, 0.3);
}

.st-leaves {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
}

.st-side--left .st-leaves {
  align-items: flex-end;
  border-right: 2px solid var(--color-border);
  padding-right: 24px;
}

.st-side--right .st-leaves {
  align-items: flex-start;
  border-left: 2px solid var(--color-border);
  padding-left: 24px;
}

.st-side--left .st-leaves::before,
.st-side--left .st-leaves::after {
  content: '';
  position: absolute;
  right: -4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  opacity: 0.5;
}

.st-side--left .st-leaves::before {
  top: 0;
}

.st-side--left .st-leaves::after {
  bottom: 0;
}

.st-side--right .st-leaves::before,
.st-side--right .st-leaves::after {
  content: '';
  position: absolute;
  left: -4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-purple);
  opacity: 0.5;
}

.st-side--right .st-leaves::before {
  top: 0;
}

.st-side--right .st-leaves::after {
  bottom: 0;
}

.st-leaf {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--color-white-50);
  position: relative;
  transition: all 0.3s;
  cursor: default;
  white-space: nowrap;
}

.st-leaf:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.st-side--left .st-leaf:hover {
  border-color: var(--color-green);
  transform: translateX(-5px);
}

.st-side--right .st-leaf:hover {
  border-color: var(--color-purple);
  transform: translateX(5px);
}

.st-side--left .st-leaf::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -24px;
  width: 24px;
  height: 1px;
  background: var(--color-border);
  z-index: -1;
}

.st-side--right .st-leaf::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -24px;
  width: 24px;
  height: 1px;
  background: var(--color-border);
  z-index: -1;
}

.st-side--left .st-node::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -26px;
  width: 24px;
  height: 2px;
  background: var(--color-border);
  z-index: -1;
}

.st-side--right .st-node::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -26px;
  width: 24px;
  height: 2px;
  background: var(--color-border);
  z-index: -1;
}

@media (max-width: 1024px) {
  .skill-tree-section {
    padding: 64px 16px;
  }

  .st-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .st-center {
    margin: 0 0 64px 0;
    order: -1;
  }

  .st-center::before {
    display: none;
  }

  .st-center::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 64px;
    background: linear-gradient(180deg, var(--color-border), transparent);
    z-index: -1;
  }

  .st-orb {
    width: 120px;
    height: 120px;
  }

  .st-orb-inner {
    font-size: var(--fs-24);
  }

  .st-side {
    width: 100%;
    gap: 64px;
    padding: 0;
    border: none;
  }

  .st-side--left::before,
  .st-side--left::after,
  .st-side--right::before,
  .st-side--right::after {
    display: none;
  }

  .st-group {
    width: 100%;
  }

  .st-group-inner {
    flex-direction: column !important;
    gap: 24px;
    align-items: center;
  }

  .st-group-inner::after {
    display: none !important;
  }

  .st-node {
    width: 100%;
    max-width: 320px;
    white-space: normal;
  }

  .st-node::before {
    display: none !important;
  }

  .st-leaves {
    align-items: stretch !important;
    border: none !important;
    padding: 0 0 0 24px !important;
    width: 100%;
    max-width: 320px;
  }

  .st-side--right .st-leaves {
    padding: 0 0 0 24px !important;
  }

  .st-leaves::before {
    content: '';
    position: absolute;
    top: -12px;
    bottom: 24px;
    left: 0 !important;
    right: auto !important;
    width: 2px;
    background: var(--color-border);
    border-radius: 0;
    opacity: 1 !important;
  }

  .st-leaves::after {
    display: none !important;
  }

  .st-leaf {
    width: 100%;
    text-align: left;
    white-space: normal;
  }

  .st-leaf::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -24px !important;
    right: auto !important;
    width: 24px !important;
    height: 1px;
    background: var(--color-border);
    z-index: -1;
  }

  .st-leaf:hover {
    transform: translateY(-2px) !important;
  }
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1400px) {

  .container-1440,
  .tools,
  .beyond,
  .cta,
  .footer {
    max-width: 100vw;
  }

  .tools__row {
    padding: 64px var(--sp-32);
  }

  .footer__glow-left,
  .footer__glow-right {
    display: none;
  }
}

@media (max-width: 1300px) {
  .hero__row {
    width: 100%;
  }

  .hero__resume {
    width: 100%;
  }

  .philosophy {
    width: 100%;
  }

  .portfolio {
    width: 100%;
    padding: var(--sp-160) var(--sp-32);
  }
}

@media (max-width: 1024px) {

  /* Hamburger nav */
  .nav__menu {
    display: none;
  }

  .nav__social {
    display: none;
  }

  .nav__hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav__mobile-menu {
    display: flex;
  }

  .hero__row {
    flex-direction: column;
  }

  .hero__left {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid var(--color-border);
  }

  .text-anim-container {
    height: 140px;
    margin-top: 0;
  }

  .hero__title {
    font-size: var(--fs-48);
  }

  .hero__title-beautifully {
    font-size: var(--fs-32);
  }

  .hero__mid {
    border-left: none;
    border-right: none;
  }

  .hero__right {
    width: 100%;
    height: 400px;
    border-right: none;
    border-top: 1px solid var(--color-border);
    /* overflow: hidden removed */
  }

  .hero__photo {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .hero__available {
    position: relative;
    z-index: 2;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 24px;
  }

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

  .grid-pos-1,
  .grid-pos-mid,
  .grid-pos-3,
  .grid-pos-bl,
  .grid-pos-2,
  .grid-pos-br {
    grid-area: auto;
  }

  .grid-pos-1 {
    order: 1;
  }

  .grid-pos-2 {
    order: 2;
  }

  .grid-pos-3 {
    order: 3;
  }

  .grid-pos-mid {
    order: 4;
  }

  .grid-pos-bl {
    order: 5;
  }

  .grid-pos-br {
    order: 6;
  }

  .phil-card--img-mid {
    height: auto;
    min-height: 200px;
  }

  .case {
    flex-direction: column;
  }

  .case__content {
    width: 100%;
  }

  .case__image-block {
    width: 100%;
    height: 400px;
  }

  .case__details {
    flex-direction: column;
    height: auto;
  }

  .case__col,
  .case__col-right {
    width: 100%;
  }

  .philosophy__heading {
    margin-top: clamp(60px, 12vw, 160px);
  }
}

@media (max-width: 768px) {
  :root {
    --sp-160: 60px;
    --sp-128: 48px;
    --sp-80: 40px;
  }

  .nav__inner {
    padding: 0 16px;
  }

  .hero__left {
    padding: 32px 16px;
  }


  .hero__title {
    font-size: 40px;
  }

  .hero__title-beautifully {
    font-size: 40px;
  }

  .hero__bg-gif-top img {
    max-width: 160px;
  }

  .hero__bio {
    padding: 24px 16px;
  }

  .hero__logos {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero__logos img {
    max-width: 80px;
  }

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

  .philosophy__union {
    grid-area: 1 / 1;
    width: 100vw;
    height: 50vw;
    max-width: 850px;
    max-height: 500px;
    object-fit: contain;
  }

  .phil-card--img,
  .phil-card--img-mid {
    display: none;
  }

  .portfolio {
    padding: var(--sp-80) 16px;
    gap: 40px;
  }

  .case__content {
    padding: 24px 16px;
  }

  .case__tags {
    flex-wrap: wrap;
  }

  .case__details {
    height: auto;
  }

  .case__image-block {
    height: 280px;
  }

  .tools__top {
    flex-direction: column;
    padding: 0 16px;
    gap: 32px;
  }

  .tools__heading {
    font-size: clamp(2.5rem, 12vw, 6rem);
  }

  .tools__row {
    padding: 40px 16px;
  }

  .tools__row-title {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .tools__row-sub {
    font-size: 14px;
  }

  .beyond__photos {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Full bleed trick */
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: transparent;
    padding: 20px 0;
  }

  .beyond__photos-track {
    display: inline-flex;
    gap: 32px;
    padding: 0 16px;
    width: max-content;
    animation: marquee 20s linear infinite;
  }

  .beyond__photos-track:hover {
    animation-play-state: paused;
  }

  .beyond__photo--tr {
    border-radius: 0 64px 0 64px;
  }

  .beyond__photo--tl {
    border-radius: 64px 0 64px 0;
  }

  .beyond__photo--tr2 {
    border-radius: 0 64px 0 64px;
  }

  .beyond__photo--tl2 {
    border-radius: 64px 0 64px 0;
  }

  .case {
    border-radius: 32px;
  }

  .case__image-block {
    border-radius: 32px;
  }

  @keyframes marquee {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-50% - 16px));
    }
  }
}

/* ── ADDITIONAL ANIMATIONS ──────────────────────────── */
.scroll-slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── CASE 2 PAGE STYLES ───────────────────────────── */
.case-page {
  gap: var(--sp-128);
}

.case-page h2 {
  font-family: var(--font-display);
}

.case-page h3 {
  font-family: var(--font-display);
}

.case-page .mb-80 {
  margin-bottom: 80px !important;
}

.case-page .mb-20 {
  margin-bottom: 20px !important;
}


/* ── CASE HERO ────────────────────────────────────── */


.hero-video-preview {
  margin-top: 40px;
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-video-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  border-color: var(--color-green);
}

.hero-video-preview__vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-video-preview__header {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  gap: 12px;
}

.hero-video-preview__title {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.hero-video-preview:hover .hero-video-preview__title {
  transform: translateY(-5px);
}

.hero-video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  transition: background 0.3s ease;
}

.hero-video-preview:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.hero-video-preview__play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.hero-video-preview:hover .hero-video-preview__play-icon {
  transform: scale(1.1);
}

.hero-video-preview__play-icon path {
  transition: fill 0.3s ease;
}

.hero-video-preview:hover .hero-video-preview__play-icon path {
  fill: var(--color-green);
}

/* Lightbox Modal */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(10px);
}

.video-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.video-lightbox__close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: white;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.video-lightbox__close:hover {
  color: var(--color-green);
  transform: scale(1.1) rotate(90deg);
}

.video-lightbox__content {
  width: 90%;
  max-width: 1400px;
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.video-lightbox.is-open .video-lightbox__content {
  transform: translateY(0) scale(1);
}

.video-lightbox__content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  outline: none;
}

.case-hero__content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.case-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: 80vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.case-hero__video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.case-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  /* Added darker base overlay */
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.case-hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  max-width: 1200px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}


.case-hero__subtitle {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  color: var(--color-green);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.case-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-64);
  line-height: 1.1;
  margin-bottom: 32px;
  position: relative;
  z-index: 3;
}

.case-hero__tags {
  margin-top: 16px;
}

.case-hero__image {
  flex: 1;
  max-width: 50%;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.case-hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.case-overview {
  width: 100%;
  padding: 0 var(--sp-32);
}

.case-overview__grid {
  display: flex;
  gap: 80px;
  padding-top: 48px;
  align-items: flex-start;
}

.case-overview__image {
  flex: 0 0 30%;
  max-width: 400px;
}

.case-overview__image img {
  width: 100%;
  height: auto;
  display: block;
}

.case-overview__content {
  display: flex;
  flex-direction: column;
  gap: 64px;
  flex: 1;
}

.case-overview__label {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  color: var(--color-muted);
  margin-bottom: 16px;
}

.case-overview__text {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.5;
  color: var(--color-white);
}



/* ── PROJECT SUMMARY ───────────────────────────────────── */
.case-summary {
  width: 100%;
}

.case-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.summary-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-case);
  border-radius: 40px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
  min-height: 240px;
}

.summary-card:hover {
  transform: translateY(-8px);
  border-color: rgba(112, 255, 197, 0.4);
}

.summary-card__number {
  font-family: var(--font-display);
  font-size: var(--fs-64);
  font-weight: 700;
  line-height: 1;
}

.summary-card__text {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  color: var(--color-white-50);
  line-height: 1.4;
  max-width: 200px;
}

@media (max-width: 1024px) {
  .case-summary__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .case-summary__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .summary-card {
    padding: 32px 24px;
    min-height: auto;
  }
}

.case-matrix {
  width: 100%;
  padding: 0 var(--sp-32);
}

.case-matrix__heading {
  font-family: var(--font-display);
  font-size: var(--fs-86);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 80px;
}

.case-matrix__heading-sub {
  font-size: var(--fs-32);
  color: var(--color-muted);
}

/* ── BENTO GRID ───────────────────────────────────── */
.case-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.bento-card {
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(162deg, #70ffc5, #635fff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card--large {
  grid-column: span 2;
}

.bento-card__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  flex: 1;
}

.bento-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-40);
  line-height: 1.1;
  color: var(--color-white);
}

.bento-card__desc {
  font-family: var(--font-body);
  font-size: var(--fs-18);
  line-height: 1.4;
  color: var(--color-muted);
  transition: color 0.3s ease;
}

.bento-card:hover .bento-card__desc {
  color: var(--color-white);
}

.bento-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-border);
  overflow: hidden;
}

.bento-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.bento-card:hover .bento-card__image img {
  transform: scale(1.05);
}

/* Specific alignments for split cards */
.bento-card--horizontal {
  flex-direction: row;
}

.bento-card--horizontal .bento-card__content {
  width: 50%;
}

.bento-card--horizontal .bento-card__image {
  width: 50%;
  aspect-ratio: unset;
}

@media (max-width: 768px) {
  .case-bento {
    grid-template-columns: 1fr;
  }

  .bento-card--large {
    grid-column: span 1;
  }

  .bento-card--horizontal {
    flex-direction: column;
  }

  .bento-card--horizontal .bento-card__content,
  .bento-card--horizontal .bento-card__image {
    width: 100%;
  }
}

/* ── NEW VERTICAL MATRIX SEQUENCE ─────────────────────────────── */

.case-matrix-seq {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.matrix-seq__text-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.matrix-seq__title {
  font-family: var(--font-display);
  font-size: var(--fs-54);
  font-weight: 700;
  line-height: 1.1;
}

.matrix-seq__title-sub {
  color: var(--color-green);
  font-size: var(--fs-32);
}

.matrix-seq__desc {
  font-family: var(--font-body);
  font-size: var(--fs-24);
  line-height: 1.3;
  color: var(--color-muted);
}

.matrix-seq__metric {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  line-height: 1.3;
  color: var(--color-green);
  text-align: center;
  margin-top: 16px;
  padding: 24px 32px;
  border-radius: 12px;

  /* Initial state: solid border */
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);

  /* Set up for gradient border overlay on hover */
  position: relative;
}

.matrix-seq__metric::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  /* border thickness */
  background: linear-gradient(162deg, #70ffc5, #635fff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.matrix-seq__metric:hover::before {
  opacity: 1;
}

.matrix-seq__metric:hover {
  /* Hide the static border when the gradient pseudo-element is visible */
  border-color: transparent;
}

.matrix-seq__image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  justify-content: center;
  background: var(--color-border);
  /* Placeholder background if image is slow */
}

.matrix-seq__image img {
  width: 100%;
  height: auto;
  display: block;
}

.matrix-seq__slider {
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Stack the images tightly together */
}

.matrix-card__icon {
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
}

.matrix-card__icon img {
  width: 100%;
  object-fit: cover;
}

.impact-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  padding: 80px var(--sp-32);
}

.impact-bento__card {
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.impact-bento__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(162deg, #70ffc5, #635fff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.impact-bento__card:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.impact-bento__card:hover::before {
  opacity: 1;
}

.impact-bento__card--number {
  align-items: center;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.impact-bento__card--image {
  padding: 0;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.impact-bento__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-bento__card--text {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  justify-content: flex-start;
}

.case-impact__huge-number {
  font-family: var(--font-display);
  font-size: clamp(60px, 12vw, 150px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.case-impact__huge-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-impact__huge-title {
  font-family: var(--font-display);
  font-size: var(--fs-54);
  line-height: 1.1;
  color: var(--color-white);
}

.case-impact__huge-text {
  font-family: var(--font-body);
  font-size: var(--fs-24);
  line-height: 1.5;
  color: var(--color-muted);
  transition: color 0.3s ease;
}

.impact-bento__card:hover .case-impact__huge-text {
  color: var(--color-white);
}

.case-carousel-section {
  width: 100%;
  padding-bottom: 40px;
}

/* ── NEW FULL VIDEOS SECTION ──────────────────────── */
.case-video-split {
  margin: 120px 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--color-bg);
  padding: 80px 5vw;
}

.case-video-split__block {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.case-video-split__heading {
  font-family: var(--font-display);
  font-size: var(--fs-54);
  text-align: center;
}

.case-video-split__player {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.case-video-split__player video {
  width: 100%;
  height: auto;
  display: block;
}

/* ── BEYOND THE SHOWCASE ──────────────────────────── */
.case-beyond {
  padding: 0px var(--sp-32);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.case-beyond__heading {
  text-align: center;
}

.case-beyond__sub {
  font-size: clamp(24px, 4vw, var(--fs-32));
  color: var(--color-green);
  display: block;
  margin-top: 8px;
}

.case-beyond__avatar-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid var(--color-border);
}

.case-beyond__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-beyond__content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.case-beyond__block {
  width: 100%;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.case-beyond__block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(162deg, #70ffc5, #635fff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.case-beyond__text {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-white);
  text-align: center;
}

.case-beyond__text--hover {
  color: var(--color-muted);
  transition: color 0.4s ease;
}

.case-beyond__block:hover .case-beyond__text--hover {
  color: var(--color-white);
}

@keyframes fadeToGray {
  0% {
    color: var(--color-white);
  }

  50% {
    color: var(--color-white);
  }

  100% {
    color: var(--color-muted);
  }
}

.fade-gray-char {
  animation: fadeToGray 2.5s forwards;
}

.case-beyond__divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 16px 0;
}

.case-bottom-nav {
  display: flex;
  justify-content: center;
  padding: 80px 0;
}

@media (max-width: 1024px) {
  .case-hero {
    flex-direction: column;
  }

  .case-hero__content,
  .case-hero__image {
    max-width: 100%;
    width: 100%;
    padding-left: 16px;
  }

  .case-overview__grid {
    flex-direction: column;
    gap: 48px;
  }

  .case-overview__image {
    max-width: 100%;
    margin: 0 auto;
  }

  .case-matrix__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-impact__huge {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .case-matrix__grid {
    grid-template-columns: 1fr;
  }

  .span-col-2 {
    grid-column: span 1;
  }
}

/* Visibility tweaks for Tools and Skill Tree */
@media (min-width: 769px) {
  .tools__rows {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .skill-tree-section {
    display: none !important;
  }
}

/* Added for Case 3 Timeline Animation */
@keyframes progressAnim {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }

  50% {
    transform: scaleX(1);
    transform-origin: left;
  }

  50.001% {
    transform: scaleX(1);
    transform-origin: right;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

@keyframes progressAnimVertical {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50.001% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---- Animated Venn Diagram ---- */
.venn-wrapper {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.venn-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--pb-font-text);
  color: #fff;
  mix-blend-mode: screen;
  backdrop-filter: blur(8px);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 1s ease;
  opacity: 0;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5) inset;
}

.venn-circle__title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.venn-circle__desc {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
}

.venn-circle--business {
  border: 2px solid rgba(112, 255, 197, 0.6);
  background: rgba(112, 255, 197, 0.05);
  transform: translate(-100px, -100px);
}

.venn-circle--analytics {
  border: 2px solid rgba(99, 95, 255, 0.6);
  background: rgba(99, 95, 255, 0.05);
  transform: translate(100px, -100px);
}

.venn-circle--design {
  border: 2px solid rgba(255, 95, 160, 0.6);
  background: rgba(255, 95, 160, 0.05);
  transform: translate(-100px, 100px);
}

.venn-circle--engineering {
  border: 2px solid rgba(157, 95, 255, 0.6);
  background: rgba(157, 95, 255, 0.05);
  transform: translate(100px, 100px);
}

/* Animations Triggered by parent's .is-visible */
.is-visible .venn-circle--business {
  transform: translate(-60px, -60px);
  opacity: 1;
}

.is-visible .venn-circle--analytics {
  transform: translate(60px, -60px);
  opacity: 1;
}

.is-visible .venn-circle--design {
  transform: translate(-60px, 60px);
  opacity: 1;
}

.is-visible .venn-circle--engineering {
  transform: translate(60px, 60px);
  opacity: 1;
}

.venn-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  text-align: center;
  font-family: var(--pb-font-head);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: #fff;
  width: 250px;
  z-index: 10;
  opacity: 0;
  transition: opacity 1s ease 1s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 1s;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
}

.is-visible .venn-center {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.venn-center-text {
  background-image: linear-gradient(90deg, #70ffc5, #635fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .venn-wrapper {
    width: 100%;
    height: 400px;
    transform: scale(0.6);
  }
}

/* ── UTILITIES & INLINE STYLES EXTRACTED ──────────────────────── */

/* Display overrides for Org Chart */
@media (max-width: 768px) {
  .org-desktop {
    display: none !important;
  }

  .org-mobile {
    display: block !important;
  }
}

/* Animation Delays */
.delay-1 {
  animation-delay: 0.1s !important;
}

.delay-15 {
  animation-delay: 0.15s !important;
}

.delay-2 {
  animation-delay: 0.2s !important;
}

.delay-3 {
  animation-delay: 0.3s !important;
}

/* Text Gradients */
.text-gradient-pink {
  background: linear-gradient(162deg, #ff708a 21%, #ffb8d4 43%, #ffffff 50%, #ff5f7b 81%);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-gradient-yellow {
  background: linear-gradient(162deg, #ffe970 21%, #fffcb8 43%, #ffffff 50%, #ffc05f 81%);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-gradient-blue {
  background: linear-gradient(162deg, #70aeff 21%, #b8d4ff 43%, #ffffff 50%, #5f97ff 81%);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-gradient-orange {
  background: linear-gradient(162deg, #ff9570 21%, #ffcca8 43%, #ffffff 50%, #ff765f 81%);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-gradient-purple {
  background: linear-gradient(162deg, #b870ff 21%, #deb8ff 43%, #ffffff 50%, #a25fff 81%);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-gradient-mint {
  background: linear-gradient(162deg, #70ffd2 21%, #b8ffee 43%, #ffffff 50%, #5fffc5 81%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Layout Utilities Extracted */
.text-color-green {
  color: var(--color-green);
}

.text-deco-none {
  text-decoration: none !important;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-auto {
  height: auto;
}

.object-center-top {
  object-position: center top;
}

.object-top-center {
  object-position: top center;
}

.object-center {
  object-position: center;
}

.object-cover {
  object-fit: cover;
}

.bg-dark {
  background-color: var(--color-bg-dark);
}


/* Matrix Architecture Blocks / Case 3 specifics extracted */
.case-matrix {
  margin-top: 20px;
}

.matrix-seq__text-block {
  margin-top: 20px;
}

.matrix-card__icon--line {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.matrix-card__icon--num {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-green);
  font-family: var(--font-display);
}

.org-chart-wrap {
  width: 100%;
  max-width: 800px;
}

.matrix-seq__image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  position: relative;
  background: #090909;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
}

.matrix-process-img {
  display: block;
  margin: 60px auto 0 auto;
  width: auto;
  height: auto;
  max-width: none;
}

.matrix-timeline__wrap {
  background: #090909;
  border-radius: 32px;
  padding: 60px 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 450px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
}

.matrix-timeline__inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-width: 800px;
  position: relative;
  z-index: 2;
}

.matrix-timeline__line-wrap {
  position: absolute;
  top: 30px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.matrix-timeline__line-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #70ffc5, #635fff);
  animation: progressAnim 4s ease-in-out infinite alternate;
  border-radius: 2px;
}

.matrix-timeline__step {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  padding: 0 15px;
}

.matrix-timeline__dot {
  width: 60px;
  height: 60px;
  background: #000;
  border: 2px solid #fff;
  border-radius: 50%;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.matrix-timeline__heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #fff;
}

.matrix-timeline__subtext {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.4;
}

.matrix-timeline__bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 20% 50%, rgba(112, 255, 197, 0.05) 0%, transparent 40%), radial-gradient(circle at 80% 50%, rgba(157, 95, 255, 0.05) 0%, transparent 40%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.case-full-mockup {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  display: block;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
}

.case-full-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.case-quote {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.case-quote__marks {
  font-size: 12rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  user-select: none;
}

.case-quote__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.3;
  color: #fff;
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.d-block {
  display: block;
}

.d-none {
  display: none;
}

/* Image Lightbox */
.img-lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  overflow: auto;
}

.img-lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10001;
}

.img-lightbox-inner {
  padding: 40px;
  min-width: max-content;
  min-height: max-content;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-lightbox-img {
  display: block;
  cursor: zoom-out;
  max-width: none;
  width: auto;
  height: auto;
}

/* Case 3 specific inline style extractions */
.bg-black {
  background-color: #000 !important;
}

.opacity-60 {
  opacity: 0.6;
}

.bg-grad-dark {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, rgba(8, 8, 8, 1) 100%);
}

.max-w-900 {
  max-width: 900px !important;
}

.max-w-800 {
  max-width: 800px;
  width: 100%;
}

.mt-20 {
  margin-top: 20px;
}

/* ── CASE 4 GALLERY (Marquee) ───────────────────── */
.case4-beyond__photos {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* Full bleed */
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: transparent;
  padding: 40px 0;
  margin-top: 40px;
}

.case4-beyond__track {
  display: inline-flex;
  gap: 32px;
  padding: 0 16px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.case4-beyond__track:hover {
  animation-play-state: paused;
}

.case4-beyond__photo {
  width: 600px;
  /* Larger than home page */
  height: 400px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  border-radius: 16px;
}

.case4-beyond__photo img {
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Ensure visibility and smooth entrance */
.case4-beyond-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.case4-beyond-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.hero-subtitle-text {
  margin-top: 30px;
  font-size: 1.4rem;
  max-width: 650px;
  text-transform: none;
  letter-spacing: 0;
  color: #ccc;
}

.process-step-icon {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.process-step-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-green);
  font-family: var(--font-head);
}

.process-org-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  position: relative;
  background: #090909;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
}

.process-img-center {
  display: block;
  margin: 60px auto 0 auto;
  width: 100%;
  height: auto;
  max-width: none;
}

.zoomable-img-container {
  margin-top: 80px;
  text-align: center;
  cursor: zoom-in;
}

.full-bleed-img {
  width: 100vw;
  max-width: 100vw;
  padding: 0 clamp(20px, 5vw, 40px);
  box-sizing: border-box;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  height: auto;
}

.caption-text {
  color: #888;
  font-size: 0.9rem;
  margin-top: 16px;
  font-family: sans-serif;
}

.timeline-wrapper {
  background: #090909;
  border-radius: 32px;
  padding: 60px 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 450px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
}

.timeline-flex {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-width: 800px;
  position: relative;
  z-index: 2;
}

.timeline-line-bg {
  position: absolute;
  top: 30px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.timeline-progress {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #70ffc5, #635fff);
  animation: progressAnim 4s ease-in-out infinite alternate;
  border-radius: 2px;
}

.timeline-step {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  padding: 0 15px;
}

.step-dot {
  width: 60px;
  height: 60px;
  background: #000;
  border: 2px solid #fff;
  border-radius: 50%;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.step-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #fff;
}

.step-desc {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.4;
}

.timeline-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 20% 50%, rgba(112, 255, 197, 0.05) 0%, transparent 40%), radial-gradient(circle at 80% 50%, rgba(157, 95, 255, 0.05) 0%, transparent 40%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.full-bleed-container {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  display: block;
  overflow: hidden;
  /* Removes duplicate translate if both classes are used together */
}

/* If full-bleed-container is used independently, we will override case-full-mockup to prevent double transform */
.case-full-mockup.full-bleed-container {
  left: 50%;
  transform: translateX(-50%);
}

.quote-section {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.quote-mark-bg {
  font-size: 12rem;
  font-family: 'MuseoModerno', sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  user-select: none;
}

.quote-text-main {
  font-family: 'MuseoModerno', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.3;
  color: #fff;
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── SELECTED PROJECTS (BENTO) ────────────────────────── */
.selected-projects {
  padding: var(--sp-160) 0;
  width: 100%;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 400px;
  gap: 0;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 80px;
}

.bento-item {
  position: relative;
  overflow: hidden;
  background-color: var(--bento-bg, #0a0a0a);
  border: 0.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-item.is-hidden {
  display: none;
}

.bento-item img {
  width: 101%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: 101%;
}

.bento-item:hover img {
  transform: scale(1.08);
}

.bento-item__extra {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-item:hover .bento-item__extra {
  transform: scale(1.1);
}

.bento-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
}

.bento-item:hover .bento-item__overlay {
  opacity: 1;
}

.bento-item__title {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-green);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-item:hover .bento-item__title {
  transform: translateY(0);
}

.bento-item__desc {
  font-size: 14px;
  color: var(--color-white-50);
  line-height: 1.4;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}

.bento-item:hover .bento-item__desc {
  transform: translateY(0);
}

/* Span Classes */
.bento-item--c {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-item--h {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-item--v {
  grid-column: span 1;
  grid-row: span 2;
}

/* Load More Button */
.bento-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-48);
}

.bento-load-more {
  padding: 16px 48px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-white-50);
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: var(--fs-16);
  cursor: pointer;
  transition: all 0.3s ease;
}

.bento-load-more:hover {
  border-color: var(--color-green);
  color: var(--color-white);
  background: linear-gradient(100deg, rgba(112, 255, 197, 0.6) -10%, #000 40%, #000 60%, rgba(99, 95, 255, 0.6) 110%);
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 350px;
  }

  .bento-item--c,
  .bento-item--h,
  .bento-item--v {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-item--h {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    border-radius: 24px;
    margin-top: 40px;
    gap: 0;
  }

  .bento-item--c {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-item--h {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-item--v {
    grid-column: span 1;
    grid-row: span 2;
  }

  /* Hide text overlays on mobile */
  .bento-item__overlay {
    display: none !important;
  }

  /* Disable hover animations on touch */
  .bento-item:hover img {
    transform: none !important;
  }
}

/* ── BENTO ENTRANCE ANIMATION ──────────────────────── */
.bento-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Staggered delays for visible items */
.bento-item:nth-child(1) {
  transition-delay: 0.1s;
}

.bento-item:nth-child(2) {
  transition-delay: 0.2s;
}

.bento-item:nth-child(3) {
  transition-delay: 0.3s;
}

.bento-item:nth-child(4) {
  transition-delay: 0.4s;
}

.bento-item:nth-child(5) {
  transition-delay: 0.5s;
}


@media (max-width: 768px) {
  .case-matrix-seq {
    gap: 60px;
  }

  /* Vertical Timeline on Mobile */
  .timeline-wrapper {
    min-height: auto;
    padding: 60px 24px;
    overflow-x: hidden;
  }

  .timeline-flex {
    flex-direction: column;
    min-width: 0;
    gap: 0;
    padding-left: 80px;
    align-items: flex-start;
  }

  .timeline-line-bg {
    left: 44px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    height: auto;
    right: auto;
  }

  .timeline-progress {
    background: linear-gradient(180deg, #70ffc5, #635fff);
    animation: progressAnimVertical 4s ease-in-out infinite alternate;
  }

  .timeline-step {
    text-align: left;
    padding: 0 0 48px 0;
    flex: none;
    width: 100%;
  }

  .timeline-step:last-child {
    padding-bottom: 0;
  }

  .step-dot {
    position: absolute;
    left: -52px;
    top: 0;
    margin: 0;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(112, 255, 197, 0.3);
  }

  .step-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    margin-top: 4px;
  }

  .step-desc {
    font-size: 0.85rem;
  }

  .impact-bento {
    grid-template-columns: 1fr;
    padding: 40px var(--sp-24);
  }

  .impact-bento__card--number,
  .impact-bento__card--image,
  .impact-bento__card--text {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

/* ── CASE 4 ADVANCED UI ───────────────────────────────── */
.kinetic-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.kinetic-text.is-revealed span {
  opacity: 1;
  transform: translateY(0);
}

.bento-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-white-20);
  border-radius: 32px;
  padding: 40px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.bento-glass:hover {
  border-color: var(--color-green);
  box-shadow: 0 0 40px rgba(112, 255, 197, 0.3), inset 0 0 20px rgba(112, 255, 197, 0.1);
  transform: translateY(-5px);
}

.bento-glass--simple {
  border: none !important;
  background: rgba(255, 255, 255, 0.02) !important;
  box-shadow: none !important;
}

.bento-glass--simple:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04) !important;
}

.bento-glass::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(112, 255, 197, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-glass:hover::before {
  opacity: 1;
}

.sticky-problem-section {
  display: flex;
  flex-direction: row;
  /* Ensure side-by-side for desktop */
  gap: 80px;
  padding: 16px;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .sticky-problem-section {
    flex-direction: column;
  }
}

.section-1280 {
  margin-top: 16px;
}

.sticky-problem-title {
  position: sticky;
  top: 150px;
  height: fit-content;
  flex: 1;
}

.problem-cards-stack {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stacked-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-case);
  padding: 48px;
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.word-fade span {
  opacity: 0.3;
  transition: opacity 0.8s ease;
}

.word-fade span.is-visible {
  opacity: 1;
}

.horizontal-scroll-container {
  height: 200vh;
  /* Reduced from 300vh */
  position: relative;
}

.horizontal-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.horizontal-scroll-wrapper {
  display: flex;
  height: 100%;
  width: max-content;
  padding: 0 100px;
  align-items: center;
  gap: 10vw;
  transition: transform 0.1s linear;
}

.parallax-showcase {
  height: 120vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 2000px;
}

.parallax-showcase-inner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 600px;
  margin-top: 160px;
}

.parallax-img {
  position: absolute;
  transition: transform 0.1s linear;
}

.parallax-img-1 {
  top: 0;
  left: 0;
  width: 80%;
  z-index: 10;
}

.parallax-img-2 {
  bottom: -40%;
  left: 40%;
  width: 50%;
  z-index: 30;
}

.parallax-img-3 {
  bottom: 0%;
  right: 0;
  width: 36%;
  z-index: 20;
}

.parallax-img-4 {
  bottom: -40%;
  left: 5%;
  z-index: 40;
  pointer-events: auto;
}

.data-ring-container {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.data-ring-svg {
  transform: rotate(-90deg);
}

.data-ring-bg {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 8;
}

.data-ring-progress {
  fill: none;
  stroke: var(--color-green);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 628;
  stroke-dashoffset: 628;
  transition: stroke-dashoffset 1.5s ease-out;
}

.scroll-reveal.is-visible .data-ring-progress {
  stroke-dashoffset: 72;
  /* Example target */
}

.tabs-container {
  display: flex;
  gap: 40px;
  margin-top: 60px;
}

.tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.tab-trigger {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  color: var(--color-white);
  opacity: 0.8;
}

.tab-trigger.is-active {
  opacity: 1;
  border-color: var(--color-purple);
  background: rgba(99, 95, 255, 0.05);
}

.tabs-content {
  flex: 2;
  position: relative;
  min-height: 400px;
}

.tab-content {
  display: none;
  width: 100%;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s;
}

.tab-content.is-active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .tabs-container {
    flex-direction: column;
    max-width: 100%;
    padding: 16px;
  }

  .tabs-nav {
    flex-direction: column;
    overflow-x: auto;
    padding-bottom: 16px;
  }

  .tab-trigger {
    white-space: nowrap;
    padding: 12px 20px;
  }

  .tabs-content {
    min-height: auto;
  }
}

#arcticHeroCanvas,
#summaryParticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── CASE 4 UTILITY CLASSES ───────────────────────── */
.py-160 {
  padding-top: var(--sp-160);
  padding-bottom: var(--sp-160);
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--color-white);
}

.selection-green ::selection {
  background: var(--color-green);
  color: #000;
}

.mb-100 {
  margin-bottom: 100px;
}

.mb-80 {
  margin-bottom: var(--sp-80);
}

.mb-10 {
  margin-bottom: 10px;
}

.opacity-07 {
  opacity: 0.7;
}

.opacity-04 {
  opacity: 0.4;
}

.fs-64 {
  font-size: var(--fs-64);
}

.fs-54 {
  font-size: var(--fs-54);
}

.fs-32 {
  font-size: var(--fs-32);
}

.case4-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: 40px;
}

.case4-bento-7 {
  grid-column: span 7;
}

.case4-bento-5 {
  grid-column: span 5;
}

.case4-bento-6 {
  grid-column: span 6;
}

.case4-bento-4 {
  grid-column: span 4;
}

.case4-bento-grid .bento-glass {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
}

.case4-bento-bg-img {
  position: relative;
  overflow: hidden;
}

.case4-bento-bg-img>img:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.case4-bento-grid .bento-glass>div {
  position: relative;
  z-index: 1;
}

.case4-tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.case4-tab-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.case4-tab-img-wrap img {
  width: 100%;
  height: auto;
}

.case4-results-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  justify-content: center;
  align-items: center;
}

.case4-ring-label {
  position: absolute;
  text-align: center;
}

.case4-ring-label-sub {
  font-size: 14px;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.case4-summary {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.case4-summary-inner {
  position: relative;
  z-index: 10;
  padding: 24px;
}

.case4-summary-desc {
  margin: 0 auto 60px;
  opacity: 0.6;
  font-size: var(--fs-18);
}

.case4-ai-card {
  padding: 32px;
  border: 1px solid var(--color-purple);
  width: 400px;
}

.case4-word-fade {
  font-size: var(--fs-54);
  font-family: var(--font-display);
  line-height: 1.2;
  max-width: 1000px;
  margin: 0 auto;
}

.flex-1-min300 {
  flex: 1;
  min-width: 300px;
}

/* Utilities */
.p-40 {
  padding: 40px;
}

.flex {
  display: flex;
}

.items-start {
  align-items: flex-start;
}

.gap-16 {
  gap: 16px;
}

.mb-4 {
  margin-bottom: 4px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.fs-32 {
  font-size: 32px;
}

.color-green {
  color: var(--color-green);
}

.color-purple {
  color: var(--color-purple);
}

.fw-700 {
  font-weight: 700;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-1 {
  flex: 1;
}

.text-sm {
  font-size: 14px;
}

.mb-16 {
  margin-bottom: 16px;
}

.fs-24 {
  font-size: 24px;
}

.case4-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── CASE 4 MOBILE RESPONSIVE ─────────────────────── */
@media (max-width: 768px) {
  .case4-bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
  }

  .sticky-problem-section {
    gap: 16px;
    padding: 16px;
  }

  .scroll-reveal.is-visible .data-ring-progress {
    stroke-dashoffset: 220;
  }

  .case4-bento-7,
  .case4-bento-5,
  .case4-bento-6,
  .case4-bento-4 {
    grid-column: span 1;
  }

  .case4-tab-grid {
    grid-template-columns: 1fr;
  }

  .case4-results-flex {
    gap: 40px;
  }

  .case4-ai-card {
    width: 100%;
  }

  .case4-summary {
    min-height: 60vh;
  }

  .parallax-showcase {
    height: auto;
    perspective: none;
  }

  .parallax-showcase-inner {
    height: auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .parallax-img {
    position: relative !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .parallax-img img {
    max-height: none !important;
    width: 100% !important;
  }

  .data-ring-container {
    width: 200px;
    height: 200px;
  }

  .data-ring-svg {
    width: 200px;
    height: 200px;
  }

  .data-ring-bg,
  .data-ring-progress {
    r: 80;
    cx: 100;
    cy: 100;
  }

  .mb-100 {
    margin-bottom: 60px;
  }

  .mb-80 {
    margin-bottom: 40px;
  }
}

/* Fix Sticky Positioning for Cases */
.page-wrapper--case {
  overflow: visible !important;
}

@media (max-width: 1024px) {
  .sticky-problem-section {
    flex-direction: column !important;
  }

  .sticky-problem-title {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 40px;
  }
}