/* ==============================================
   CSS Custom Properties — Global Variables
   ============================================== */
:root {
  /* Colors */
  --color-bg:           #1c1c1c;
  --color-surface:      #242424;
  --color-accent:       #f06820;
  --color-accent-light: #ff8c42;
  --color-accent-dark:  #c94e00;
  --color-text:         #ffffff;
  --color-text-muted:   #9a9a9a;
  --color-black:        #000000;

  /* Blob palette */
  --blob-red:    #ff2a00;
  --blob-deep:   #8b0000;
  --blob-purple: #6a00a8;

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-bold:    700;
  --fw-black:   900;

  /* Fluid type scale */
  --text-xs:     clamp(0.75rem,  1vw,   0.875rem);
  --text-sm:     clamp(0.875rem, 1.2vw, 1rem);
  --text-base:   clamp(1rem,     1.5vw, 1.125rem);
  --text-lg:     clamp(1.125rem, 2vw,   1.375rem);
  --text-xl:     clamp(1.375rem, 2.5vw, 1.75rem);
  --text-2xl:    clamp(1.75rem,  3.5vw, 2.5rem);
  --text-3xl:    clamp(2.25rem,  5vw,   3.5rem);
  --text-4xl:    clamp(2.75rem,  6vw,   5rem);
  --text-hero:   clamp(3rem,     7.5vw, 6.75rem);

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  .hero,
  .hero__blobs {
    overflow-x: hidden !important;
    max-width: 100vw;
  }
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container-max:     100%;
  --container-pad:     clamp(1.5rem, 5vw, 6rem);

  /* Misc */
  --transition-base:   0.3s ease;
  --transition-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-full: 9999px;
}


/* ==============================================
   Reset & Base
   ============================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  /* overflow: hidden;  Removed to allow scrolling */
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ==============================================
   Global Typography — Common Classes
   ============================================== */

/* --- Titles --- */
.title-display {
  font-size: var(--text-hero);
  font-weight: var(--fw-bold);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.title-xl {
  font-size: var(--text-4xl);
  font-weight: var(--fw-black);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.title-lg {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.title-md {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.title-sm {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* --- Paragraphs --- */
.para-xl {
  font-size: var(--text-lg);
  font-weight: var(--fw-regular);
  line-height: 1.7;
}

.para-lg {
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: 1.7;
}

.para-md {
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  line-height: 1.65;
}

.para-sm {
  font-size: var(--text-xs);
  font-weight: var(--fw-regular);
  line-height: 1.6;
}

/* --- Text modifiers --- */
.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-text-muted); }
.text-white  { color: var(--color-text); }


/* ==============================================
   Layout Utility
   ============================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}


/* ==============================================
   Blob Animations — driven by GSAP (js/main.js)
   ============================================== */

/* ==============================================
   Hero Section
   ============================================== */
.hero {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background-color: var(--color-black);
  z-index: 15;
}

@media (max-width: 767px) {
  .hero {
    position: static;
  }
}

/* ---- Header ---- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(66px, 7vw, 82px);
  padding-top: var(--space-2xs);
  padding-bottom: var(--space-2xs);
}

.site-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.55rem);
  line-height: 0.88;
  font-weight: var(--fw-black);
  letter-spacing: -0.035em;
  text-transform: lowercase;
  color: var(--color-text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.site-nav__link {
  font-size: clamp(0.75rem, 1vw, 0.94rem);
  line-height: 1;
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.92);
  transition: color var(--transition-base);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-accent-light);
}

/* ---- Blobs ---- */
.hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  will-change: transform, border-radius;
  filter: blur(90px);
}

/* Primary large blob — top right */
.blob--1 {
  width: clamp(400px, 52vw, 820px);
  height: clamp(400px, 52vw, 820px);
  top: -28%;
  right: -18%;
  background: radial-gradient(
    ellipse at 46% 30%,
    var(--blob-red) 0%,
    #ff3a00 28%,
    #b20024 55%,
    #7e0064 82%,
    var(--blob-purple) 100%
  );
  opacity: 0.9;
}

/* Secondary accent blob — upper edge right */
.blob--2 {
  width: clamp(180px, 22vw, 380px);
  height: clamp(180px, 22vw, 380px);
  top: -10%;
  right: -10%;
  background: radial-gradient(
    circle at 45% 35%,
    #ff7e00 0%,
    #ff2f00 52%,
    transparent 100%
  );
  opacity: 0.62;
}

/* Tertiary subtle blob — far corner */
.blob--3 {
  width: clamp(130px, 15vw, 270px);
  height: clamp(130px, 15vw, 270px);
  top: -18%;
  right: -12%;
  background: radial-gradient(
    circle at 58% 42%,
    #b300ff 0%,
    #7e25ff 42%,
    rgba(126, 37, 255, 0.05) 74%,
    transparent 100%
  );
  opacity: 0.42;
}

/* ---- Grid overlay ---- */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size:
    clamp(60px, 9vw, 130px) clamp(60px, 9vw, 130px);
}

/* ---- Noise / grain overlay ---- */
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 300px 300px;
}

/* ---- Hero content ---- */
.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: calc(var(--space-2xl) + 10rem) var(--space-2xl);
  gap: var(--space-md);
}

.hero__heading {
  max-width: 15ch;
  color: var(--color-accent);
}

.hero__heading-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.hero__heading-word {
  display: inline-block;
  will-change: transform, opacity;
}

.hero__description {
  align-self: flex-end;
  max-width: 38ch;
  color: var(--color-text);
  opacity: 0.88;
  will-change: transform, opacity;
}


/* ==============================================
   About Section
   ============================================== */
.about {
  position: relative;
  --impact-bg: #e8e8e8;
  --impact-text: #101215;
  --impact-muted: rgba(16, 18, 21, 0.9);
  --impact-line: rgba(0, 0, 0, 0.18);
  --impact-mark: rgba(16, 18, 21, 0.92);
  --impact-loop-1: rgba(240, 104, 32, 0.28);
  --impact-loop-2: rgba(240, 104, 32, 0.48);
  --impact-transition-a: #dddddd;
  --impact-transition-b: #9e9e9e;
  --impact-transition-c: #4b4f56;
  background: var(--impact-bg);
  color: var(--impact-text);
  padding-block: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
}

.about__wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border-top: 1px solid var(--impact-line);
  border-bottom: 1px solid var(--impact-line);
  width: 100%;
  height: 100%;
  position: relative;
  max-width: 100%;
}

.about__wrapper::after {
  content: '';
  position: absolute;
  left: 60%;
  top: 0;
  width: 0.5px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3   );
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.about__wrapper::before {
  content: '';
  position: absolute;
  right: 90%;
  top: 60%;
  width: 100%;
  height: 0.5px;
  background-color: rgba(0, 0, 0, 0.3   );
  transform: translateX(50%);
  pointer-events: none;
  z-index: 1;
}

.about__content {
  display: flex;
  flex-direction: column;
  /* gap: var(--space-lg);
  padding: var(--space-2xl) 0px; */
  justify-content: center;
  grid-column: 1;
  z-index: 2;
}

.about__title {
  max-width: 30ch;
  color: #1c1c1c;
  line-height: 1.15;
  font-size: var(--text-2xl);
  font-weight: var(--fw-medium);
  padding: var(--space-3xl) 0px;
  will-change: opacity, filter, transform;
}

.about__text-line {
  display: block;
}

.about__word {
  display: inline-block;
  white-space: nowrap;
}

.about__char {
  display: inline-block;
  will-change: opacity, transform, filter;
}

.about__char--space {
  display: inline-block;
  white-space: pre;
}

.about__subtitle {
  max-width: 44ch;
  color: #1c1c1c;
  opacity: 1;
  font-size: var(--text-sm);
  line-height: 1.3;
  padding: var(--space-3xl) 0px;
  will-change: opacity, transform;
}

.about__cta {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.about__cta .para-sm {
  line-height: 1.5;
  color: #1c1c1c;
}

.about__heart {
  font-size: 1.4rem;
  animation: heart-bounce 1.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  flex-shrink: 0;
}

@keyframes heart-bounce {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.15) translateY(-4px);
  }
}

.about__visual {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-2xl) clamp(2rem, 5vw, 5rem);
}

.about__icon {
  width: clamp(300px, 75%, 340px);
  height: auto;
  color: var(--color-accent);
  filter: drop-shadow(0 0 40px rgba(240, 104, 32, 0.12));
}

.about__icon path {
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ==============================================
   Expertise Section
   ============================================== */
.expertise {
  position: relative;
  overflow: hidden;
  background: #111111;
  color: var(--color-text);
  padding-block: clamp(5rem, 10vw, 9rem);
  z-index: 15;
}

.expertise__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.4fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

/* .expertise__intro {
  position: sticky;
  top: clamp(6rem, 12vh, 8rem);
} */

.expertise__heading {
  max-width: 7ch;
  color: var(--color-text);
  font-size: clamp(4rem, 4vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: var(--fw-medium);
}

.expertise__heading-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.expertise__heading-word {
  display: inline-block;
  will-change: transform, opacity;
}

.expertise__curve {
  position: absolute;
  left: -7rem;
  bottom: -1rem;
  width: 100%;
  height: 100%;
  background: url(/assets/icons/Vector\ \(2\).svg);
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  will-change: opacity, transform, filter;
  transform-origin: left center;
}

.expertise__list {
  display: flex;
  flex-direction: column;
}

.expertise-item {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  transition: border-top-color 0.5s ease-in-out;
  will-change: transform, opacity;
}

.expertise-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(240, 104, 32, 0.85);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s ease;
  pointer-events: none;
}

.expertise-item:last-child {
  border-bottom: 0px solid rgba(255, 255, 255, 0.11);
}

.expertise-item.is-active::before,
.expertise-item:hover::before {
  transform: scaleX(1);
}

.expertise-item__trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.3rem;
  align-items: start;
  padding: clamp(1.6rem, 2.4vw, 2.3rem) 0;
  text-align: left;
  cursor: pointer;
}

.expertise-item__index {
  color: var(--color-accent);
  font-size: clamp(0.82rem, 0.5vw, 1rem);
  line-height: 1;
  padding-top: 0px;
}

.expertise-item__title {
  font-size: clamp(2.4rem, 2.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: var(--fw-regular);
}

.expertise-item__plus {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.35rem;
}

.expertise-item__plus::before,
.expertise-item__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.expertise-item__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.expertise-item.is-active .expertise-item__plus::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.expertise-item__panel {
  overflow: hidden;
}

.expertise-item__body {
  max-width: 33rem;
  padding: 0 0 clamp(1.6rem, 2vw, 2.2rem) 1rem;
  color: rgba(255, 255, 255, 0.74);
}

.expertise-item__body p + p {
  margin-top: 0.45rem;
}


/* ==============================================
   Statement Section
   ============================================== */
.statement {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 30%, rgba(255, 120, 28, 0.2), transparent 28%),
    linear-gradient(90deg, #180604 0%, #2c0b04 35%, #512007 70%, #6c2f09 100%);
  color: var(--color-text);
  z-index: 15;
  border-top: 1px solid rgba(239, 109, 37, 1);
}

.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background:url(/assets/images/0_Orange_Gradient_3840x2160.gif);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  opacity: 0.72;
  pointer-events: none;
}

/* .statement__rail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  z-index: 2;
}

.statement__rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
  background: rgba(239, 109, 37, 0.85);
}

.statement__rail-marker {
  position: absolute;
  top: 0;
  left: 33%;
  width: 26px;
  height: 12px;
  background: var(--color-accent);
} */

.statement__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(210px, 0.5fr) minmax(420px, 1.5fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  min-height: clamp(300px, 42vw, 350px);
  padding-block: clamp(4.5rem, 7vw, 6.5rem) clamp(3.5rem, 6vw, 5rem);
}

.statement__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.statement__icon {
  width: min(100%, 240px);
  height: auto;
  color: #ffffff;
}

.statement__content {
  max-width: 70rem;
}

.statement__eyebrow {
  margin-bottom: clamp(.5rem, 1vw, .5rem);
  color: rgba(255, 255, 255);
  font-weight: var(--fw-regular);
}

.statement__headline {
  font-size: clamp(3.2rem, 6vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: var(--fw-medium);
  color: var(--color-accent);
}


/* ==============================================
   Work Marquee Section
   ============================================== */
.work-marquee {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.26);
  border-bottom: 1px solid rgba(0, 0, 0, 0.26);
  padding-block: clamp(2.6rem, 5.5vw, 4.8rem);
  z-index: 15;
}

.work-marquee__track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(2.8rem, 5vw, 5rem);
  will-change: transform;
}

.work-marquee__group {
  display: inline-flex;
  align-items: center;
  gap: clamp(2.8rem, 5vw, 5rem);
  white-space: nowrap;
}

.work-marquee__text {
  font-size: clamp(3.6rem, 8.2vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: var(--fw-medium);
  color: #050505;
}

.work-marquee__star {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  font-weight: var(--fw-black);
  color: var(--color-accent);
}

@keyframes marquee-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}


/* ==============================================
   Featured Projects Section
   ============================================== */
.projects {
  position: relative;
  background: #dddddd;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  z-index: 15;
}

.projects__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.projects__head-item {
  padding: 1rem 2.2rem;
  color: #1b1b1b;
  font-weight: var(--fw-medium);
}

.projects__head-item:last-child {
  text-align: right;
}

.projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.project-card,
.projects__cta {
  padding:3.7rem 3.2rem 3.6rem;
  min-height: 30rem;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card.border-bottom_0,
.projects__cta {
  border-right: 0;
  border-bottom: 0;
}

.project-card__meta {
  margin-bottom: 0.9rem;
}

.project-card__title {
  margin-bottom: 0.15rem;
  color: var(--color-accent);
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: var(--fw-medium);
}

.project-card__tag {
  color: #1a1a1a;
  font-weight: var(--fw-medium);
}

.project-card__media {
  position: relative;
  display: block;
  width: 100%;
  flex: 1;
  min-height: clamp(13rem, 40vw, 40rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.project-card__hover-pill {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  padding: 0.55rem 0.9rem;
  width: 140px;
  height: 140px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  opacity: 0;
  pointer-events: none;
  isolation: isolate;
}

.project-card__hover-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/assets/icons/Vector\ \(1\).png) no-repeat;
  background-size: 100% 100%;
  transform-origin: center;
  z-index: -1;
}

.project-card__hover-pill > * {
  position: relative;
  z-index: 1;
}

.project-card__hover-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.project-card__media:hover img,
.project-card__media:focus-visible img {
  transform: scale(1.045);
  filter: brightness(0.78);
}

.project-card__media:hover .project-card__hover-pill {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-card__media:hover .project-card__hover-pill::before,
.project-card__media:focus-visible .project-card__hover-pill::before {
  animation: projects-cta-spin 5s linear infinite;
}

.projects__cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
}

.projects__cta-star {
  position: absolute;
  transform-origin: center;
}

.projects__cta-star img {
  display: block;
  transform-origin: center;
}

@keyframes projects-cta-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.projects__cta-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.2rem;
  width: min(100%, 22rem);
  justify-content: center;
  color: #ffffff;
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  font-weight: var(--fw-medium);
  transition: background var(--transition-base), transform var(--transition-base);
}

.projects__cta-chip-icon {
  font-size: 0.95em;
}

.projects__cta:hover .projects__cta-chip,
.projects__cta:focus-visible .projects__cta-chip {
  background: rgba(208, 84, 7, 0.92);
  transform: translateY(-2px);
}

.projects__cta:hover .projects__cta-star img,
.projects__cta:focus-visible .projects__cta-star img {
  animation: projects-cta-spin 10s linear infinite;
}


/* ==============================================
   Impact Section
   ============================================== */
.impact {
  position: relative;
  --impact-bg: #ffffff;
  --impact-text: #0b0d10;
  --impact-muted: #171a1e;
  --impact-line: #c7c7c7;
  --impact-mark: #171a1e;
  --impact-loop-1: rgba(240, 104, 32, 0.28);
  --impact-loop-2: rgba(240, 104, 32, 0.48);
  --impact-transition-a: #ffffff;
  --impact-transition-b: #6f6f6f;
  --impact-transition-c: #000000;
  background: var(--impact-bg);
  color: var(--impact-text);
  z-index: 15;
  overflow: hidden;
  
}

.impact__transition {
  height: clamp(42px, 8vw, 88px);
  background: linear-gradient(180deg, var(--impact-transition-a) 0%, var(--impact-transition-b) 42%, var(--impact-transition-c) 100%);
}

.impact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--impact-line);
  border-bottom: 1px solid var(--impact-line);
  padding: var(--space-3xl) 0px 0px;
}

.impact-stat {
  min-height: clamp(250px, 30vw, 380px);
  padding: clamp(2rem, 3vw, 3rem);
  border-right: 1px solid var(--impact-line);
  border-top: 1px solid var(--impact-line);
  will-change: transform, opacity;
}

.impact-stat__icon {
  width: clamp(76px, 6vw, 96px);
  height: auto;
  margin-bottom: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--impact-muted);
  display: block;
}

.impact-stat__icon-wrap {
  width: clamp(76px, 6vw, 96px);
  margin-bottom: clamp(1.2rem, 2vw, 1.8rem);
  overflow: hidden;
}

.impact-stat__icon-wrap svg {
  width: 150px;
  height: 120px;
  display: block;
  will-change: clip-path, opacity, transform;
}

.impact-stat__value {
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--color-accent);
  will-change: opacity, transform;
}

.impact-stat__label {
  margin-top: 0.55rem;
  color: var(--impact-muted);
  font-size: clamp(1.4rem, 1.8vw, 2rem);
  will-change: opacity, transform;
}

.impact__bottom-left,
.impact__bottom-right {
  min-height: clamp(260px, 30vw, 430px);
  border-top: 1px solid var(--impact-line);
}

.impact__bottom-left {
  grid-column: 1 / span 2;
  position: relative;
  overflow: hidden;
}

.impact__mark {
  position: absolute;
  left: clamp(3rem, 6vw, 8rem);
  bottom: -70%;
  width: clamp(220px, 40vw, 420px);
  height: auto;
  color: var(--impact-mark);
}

.impact__bottom-right {
  position: relative;
  padding: clamp(2rem, 3vw, 3rem);
  display: flex;
  align-items: center;
}

.impact__copy {
  position: relative;
  z-index: 1;
  max-width: 30ch;
  color: var(--impact-muted);
  font-size: clamp(1rem, 1.4vw, 2rem);
  line-height: 1.18;
  font-weight: var(--fw-regular);
  will-change: opacity, transform;
}

.impact__loops {
  position: absolute;
  right: -30%;
  bottom: -1%;
  width: 80%;
  height: 80%;
  background: url(/assets/icons/Vector\ \(3\).svg);
  background-size: contain;
  background-repeat: no-repeat;
  will-change: opacity, transform, filter;
  transform-origin: right center;
}

/* ==============================================
   Trusted Partners Section
   ============================================== */
.partners {
  position: relative;
  background-color: #ececec;
  background-image:
    linear-gradient(rgba(120, 120, 120, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 120, 120, 0.09) 1px, transparent 1px);
  background-size: 70px 70px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  z-index: 15;
}

.partners__inner {
  padding-block: clamp(3.5rem, 6.5vw, 6rem) clamp(2.5rem, 5.5vw, 5rem);
}

.partners__heading {
  max-width: 12ch;
  margin-bottom: clamp(2.6rem, 2vw, 4.1rem);
  color: #0f1012;
  font-size: clamp(4rem, 4vw, 7.5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: var(--fw-medium);
}

.partners__heading-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.partners__heading-word {
  display: inline-block;
  will-change: transform, opacity;
}

.partners__logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(2.1rem, 3.7vw, 3.2rem) clamp(1rem, 2vw, 2rem);
  align-items: center;
  margin-bottom: clamp(2.4rem, 4.6vw, 4rem);
}

.partners__logos img {
  margin: 0 auto;
  max-width: 150px;
  width: 100%;
  will-change: transform, opacity;
}

.partners__copy {
  color: #121416;
  font-size: clamp(1.25rem, 1.55vw, 1.7rem);
  line-height: 1.15;
  will-change: transform, opacity;
  margin-bottom: 50px;
}


/* ==============================================
   Footer Section
   ============================================== */
.footer-stack {
  position: relative;
  z-index: 15;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.36fr) 1fr;
  background: #090c12;
  color: #f3f4f6;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 10;
}

.site-footer__left {
  padding: clamp(2.4rem, 4.3vw, 4rem) clamp(1.4rem, 2.3vw, 3rem);
}

.site-footer__lead {
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.05rem, 1.2vw, 1.4rem);
  line-height: 1.12;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding-inline: 1.2rem;
  background: var(--color-accent);
  color: #fff;
  font-size: clamp(1.2rem, 1.4vw, 1.8rem);
  line-height: 1;
  border-radius: 2px;
  transition: background var(--transition-base), transform var(--transition-base);
}

.site-footer__cta:hover,
.site-footer__cta:focus-visible {
  background: #e25f12;
  transform: translateY(-1px);
}

.site-footer__right {
  padding: clamp(2.4rem, 4.3vw, 4rem) clamp(1.4rem, 2.8vw, 3rem);
}

.site-footer__social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(3rem, 10vw, 10rem);
}

.site-footer__social-link {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.2rem, 1.35vw, 1.75rem);
  line-height: 1;
  transition: color var(--transition-base);
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  color: var(--color-accent);
}

.site-footer__email {
  display: inline-block;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: #f3f4f6;
  font-size: clamp(3.4rem, 6vw, 3rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: var(--fw-regular);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1.25fr 0.6fr 0.45fr;
  gap: clamp(1.4rem, 2vw, 2.4rem);
  padding-top: clamp(1.8rem, 3vw, 2.6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__phone {
  display: inline-block;
  margin-bottom: 1rem;
  color: #f4f5f6;
  font-size: clamp(1.75rem, 2vw, 2.5rem);
  line-height: 1;
}

.site-footer__address {
  max-width: 24ch;
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
  font-size: clamp(1rem, 1.25vw, 1.5rem);
  line-height: 1.14;
}

.site-footer__menu {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.2vw, 1.35rem);
}

.site-footer__menu a {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.5rem, 1.7vw, 2.2rem);
  line-height: 1;
  transition: color var(--transition-base);
}

.site-footer__menu a:hover,
.site-footer__menu a:focus-visible {
  color: var(--color-accent);
}

/* Final legal footer */
.site-footer-final {
  position: sticky;
  bottom: 0;
  background: #090c12;
  color: #f3f4f6;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 5;
}

.site-footer-final__inner {
  padding-block: clamp(2rem, 4vw, 3.6rem) clamp(1.2rem, 2.2vw, 2.2rem);
}

.site-footer-final__brand {
  margin: 0 0 clamp(1.2rem, 2.7vw, 2.2rem);
  text-transform: lowercase;
}

.site-footer-final__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.site-footer-final__copyright,
.site-footer-final__links {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.8rem, 1.2vw, 15rem);
  line-height: 1.2;
}

.site-footer-final__links {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer-final__links a {
  color: inherit;
  transition: color var(--transition-base);
}

.site-footer-final__links a:hover,
.site-footer-final__links a:focus-visible {
  color: var(--color-accent);
}


/* ==============================================
   Responsive
   ============================================== */
@media (max-width: 768px) {
  .site-header__inner {
    min-height: 64px;
  }

  .site-nav {
    gap: 1.2rem;
  }

  .site-nav__link {
    font-size: 0.8rem;
  }

  .hero__content {
    padding-block: calc(var(--space-2xl) * 0.75 + 4.25rem) var(--space-xl);
  }

  .hero__heading {
    max-width: 100%;
  }

  .hero__description {
    align-self: flex-start;
    max-width: 100%;
  }


    .blob--1 {
      width: 90vw;
      height: 90vw;
      top: 0;
      right: 0;
      left: 0;
      margin: 0 auto;
      max-width: 420px;
      min-width: 220px;
      filter: blur(60px);
    }

    .blob--2 {
      right: 5%;
      top: 10%;
      width: 38vw;
      height: 38vw;
      min-width: 100px;
      max-width: 180px;
    }

    .blob--3 {
      right: 10%;
      top: 30%;
      width: 28vw;
      height: 28vw;
      min-width: 70px;
      max-width: 120px;
    }

  .about__title, .about__subtitle{
    padding: var(--space-sm) 0px;
  }

  .about__wrapper {
   display: flex;
   flex-direction: column-reverse;
    gap: 0;
    min-height: auto;
  }

  .about__wrapper::after {
    display: none;
  }

  .about__content {
    order: 2;
    padding: var(--space-lg) 0px;
  }

  .about__visual {
    order: 1;
    min-height: 280px;
    padding: var(--space-lg) clamp(1.5rem, 4vw, 2.5rem);
    align-items: baseline;
  }

  .about__wrapper::before{
    right: 49%;
    top: 44%;
    width: 92%;
  }

  .about__cta{
    margin: 0 auto;
  }
  .about__icon {
    width: clamp(160px, 100%, 240px);
  }

  .expertise {
    padding-block: 4rem;
  }

  .expertise__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .expertise__intro {
    position: static;
  }

  .expertise__heading {
    max-width: 100%;
    font-size: clamp(3rem, 4vw, 7.5rem);
  }

  .expertise__curve {
    left: -30vw;
    bottom: auto;
    top: 42%;
    width: 90vw;
    height: 90vw;
    opacity: 0.9;
  }

  .expertise-item__trigger {
    grid-template-columns: auto 1fr auto;
    gap: 0.9rem;
    padding: 1.25rem 0;
  }

  .expertise-item__title {
    font-size: clamp(2rem, 9vw, 2rem);
  }

  .expertise-item__body {
    max-width: 100%;
    padding: 0 0 1.35rem 1.8rem;
  }

  .statement__layout {
    grid-template-columns: 1fr 3fr;
    gap: 1.5rem;
    min-height: auto;
    padding-block: 4.75rem 3.5rem;
  }

  .statement__icon-wrap {
    justify-content: flex-start;
  }

  .statement__icon {
    width: min(240px, 72vw);
  }

  .statement__headline {
    font-size: clamp(2.2rem, 10vw, 2rem);
  }

  .work-marquee {
    padding-block: 2.75rem;
  }

  .work-marquee__track,
  .work-marquee__group {
    gap: 2.3rem;
  }

  .work-marquee__text {
    font-size: clamp(2.45rem, 11vw, 4.2rem);
  }

  .work-marquee__star {
    font-size: clamp(2.25rem, 10vw, 3.3rem);
  }

  .projects__head-item {
    padding: 0.85rem 1.2rem;
  }

  .project-card,
  .projects__cta {
    min-height: 18.5rem;
    padding: 1.15rem 1.2rem 1.2rem;
  }

  .project-card__title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .projects__cta-chip {
    font-size: clamp(1.05rem, 4.4vw, 1.35rem);
  }

  .impact__grid {
    grid-template-columns: 1fr;
  }

  .impact-stat,
  .impact__bottom-left,
  .impact__bottom-right {
    min-height: auto;
    border-right: 0;
  }

  .impact-stat {
    border-bottom: 1px solid var(--impact-line);
  }

  .impact-stat:last-of-type {
    border-bottom: 0;
  }

  .impact__bottom-left {
    grid-column: auto;
    border-top: 1px solid var(--impact-line);
  }

  .impact__mark {
    left: 1.2rem;
    bottom: -12%;
    width: clamp(180px, 55vw, 320px);
  }

  .impact__bottom-right {
    padding-top: 2.2rem;
  }

  .impact__loops {
    right: -50%;
    bottom: -60%;
    width: min(130vw, 580px);
  }

  .partners {
    background-size: 58px 58px;
  }

  .partners__heading{
    font-size: clamp(2.8rem, 5vw, 3.2rem);
  }

  .partners__logos {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.4rem 1.1rem;
  }

  .partners__logos img {
    margin: 0 auto;
    margin-left: 0;
    max-width: 80px;
    width: 100%;
    will-change: transform, opacity;
}

  .partners__logo {
    font-size: clamp(1.15rem, 3.1vw, 1.5rem);
    min-height: 40px;
  }

  .partners__logo--iitb {
    font-size: clamp(0.75rem, 2.3vw, 1rem);
  }

  .site-footer {
    position: relative;
    grid-template-columns: 1fr;
  }

  .site-footer-final {
    position: relative;
  }

  .site-footer__left {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-footer__social {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 0.9rem;
    column-gap: 1.6rem;
    margin-bottom: 2.4rem;
  }

  .site-footer__bottom {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .site-footer-final__meta {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 0.7rem;
  }

  .site-footer__address{
    font-size: clamp(.8rem, 1.25vw, 1.5rem);
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 1.25rem;
    --space-3xl: 6rem;
  }

  .site-header__inner {
    min-height: 58px;
  }

  .site-nav {
    gap: 0.8rem;
  }

  .site-nav__link {
    font-size: 0.74rem;
  }

  .hero__content, .hero{
    min-height: 700px;
  }

  .hero__content {
    gap: var(--space-3xl);
  }

  .blob--1 {
    filter: blur(70px);
  }

  .about__title{
    font-size: var(--space-md);
  }

  .about__visual {
      align-items: center;
      padding-top: 0;
  }

  .expertise {
    padding-block: 3.5rem;
  }

  .expertise__heading {
    max-width: 100%;
    font-size: var(--space-lg);
}


  .about__cta, .about__wrapper::before{
    display: none;
  }
  .expertise__curve {
    left: -45vw;
    top: 36%;
    width: 120vw;
    height: 120vw;
    border-width: 16px;
  }

  .expertise-item__trigger {
    gap: 0.7rem;
  }

  .expertise-item__index {
    padding-top: 0.3rem;
  }

  .expertise-item__title {
    font-size: var(--space-md);
  }

  .expertise-item__plus {
    width: 1.5rem;
    height: 1.5rem;
  }

  .expertise-item__body {
    padding-left: 1.3rem;
  }

  .statement__rail-marker {
    left: 44%;
    width: 22px;
  }

  .statement__layout {
    padding-block: 4rem 3rem;
    grid-template-columns: 1fr;
  }

  .statement__eyebrow {
    font-size: 1rem;
  }

  .statement__headline {
    font-size: clamp(2.2rem, 12vw, 2rem);
  }

  .work-marquee {
    padding-block: 2.2rem;
  }

  .work-marquee__track {
    animation-duration: 20s;
  }

  .work-marquee__track,
  .work-marquee__group {
    gap: 1.7rem;
  }

  .work-marquee__text {
    font-size: clamp(2rem, 12.5vw, 2.8rem);
  }

  .work-marquee__star {
    font-size: clamp(1.7rem, 10vw, 2.35rem);
  }

  .projects__head {
    grid-template-columns: 1fr 1fr;
  }

  .projects__head-item {
    padding: 0.8rem 1rem;
  }

  .projects__head-item:last-child {
    text-align: left;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
  }

  .projects__grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .projects__cta {
    min-height: auto;
    border-right: 0;
    padding: 3rem 1rem;
  }

  .project-card__media {
    min-height: 12.5rem;
  }

  .project-card__hover-pill {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }

  .projects__cta {
    min-height: 26.5rem;
  }

  .projects__cta-star {
    font-size: 13rem;
  }

  .projects__cta-chip {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .impact{
    background-color: #000000;
  }

  .impact__transition {
    height: 48px;
  }

  .impact-stat {
    padding: 1.35rem 1rem 1.25rem;
  }

  .impact-stat__icon {
    width: 68px;
    margin-bottom: 0.8rem;
  }

  .impact-stat__value {
    font-size: clamp(2.6rem, 14vw, 3.8rem);
  }

  .impact-stat__label {
    font-size: clamp(1.1rem, 5.5vw, 1.5rem);
    color: #ffffff;
  }

  .impact__bottom-left,
  .impact__bottom-right {
    min-height: 190px;
  }

  .impact__bottom-right {
    padding: 1.25rem 1rem 1.5rem;
  }

  .impact__bottom-left{
    display: none;
  }

  .impact__copy {
    font-size: 1.22rem;
    color: #ffffff;
  }

  .impact__loops {
    right: -68%;
    bottom: -74%;
  }

  .partners {
    background-size: 42px 42px;
  }

  .partners__inner {
    padding-block: 5rem 5rem;
  }

  .partners__heading {
    margin-bottom: 1.7rem;
    font-size: var(--space-lg);
  }

  .partners__logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 0.8rem;
    margin-bottom: 3.6rem;
  }

  .partners__logo {
    min-height: 32px;
    font-size: 1.05rem;
  }

  .partners__logo--iitb {
    font-size: 0.68rem;
  }

  .partners__copy {
    max-width: 100%;
    font-size: 1.05rem;
  }

  .site-footer__left,
  .site-footer__right {
    padding: 2.2rem 1rem;
  }

  .site-footer__cta {
    min-height: 2.3rem;
    font-size: 1.25rem;
  }

  .site-footer__social {
    margin-bottom: 1.6rem;
    row-gap: 0.7rem;
    column-gap: 1.1rem;
  }

  .site-footer__social-link {
    font-size: 0.9rem;
  }

  .site-footer__email {
    margin-bottom: 1.25rem;
    font-size: clamp(2.2rem, 8vw, 3.25rem);
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-top: 2rem;
  }

  .site-footer__phone {
    font-size: 1.6rem;
  }

  .site-footer__address {
    max-width: 100%;
    font-size: 1rem;
  }

  .site-footer__menu a {
    font-size: 1.3rem;
  }

  .site-footer-final__inner {
    padding-block: 2rem 2rem;
  }

  .site-footer-final__brand {
    margin-bottom: 2rem;
    font-size: clamp(3.2rem, 16vw, 4.6rem);
    line-height: 0.92;
  }

  .site-footer-final__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .site-footer-final__copyright,
  .site-footer-final__links {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-marquee__track {
    animation: none;
  }
}

/* prefers-reduced-motion: handled in js/main.js */
