/* ==========================================================================
   escala.dev — Landing Page
   High-end, Awwwards-quality design
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
  /* Backgrounds */
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --bg-subtle: #1a1a1a;

  /* Silver / Metallic */
  --silver-50: #fafafa;
  --silver-100: #f5f5f5;
  --silver-200: #d4d4d4;
  --silver-300: #a3a3a3;
  --silver-400: #737373;
  --silver-500: #525252;

  /* Violet */
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-800: #5b21b6;

  /* Gradients */
  --gradient-metallic: linear-gradient(
    135deg,
    #e5e5e5 0%,
    #a3a3a3 30%,
    #d4d4d4 50%,
    #a3a3a3 70%,
    #e5e5e5 100%
  );

  --gradient-violet: linear-gradient(135deg, var(--violet-800), var(--violet-600));
  --gradient-glow: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139, 92, 246, 0.07) 0%, transparent 70%);

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);

  /* Type Scale */
  --font-cal: 'Cal Sans', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(5rem, 12vh, 10rem);
  --side-pad: clamp(1.5rem, 5vw, 6rem);

  /* Cards */
  --card-radius: 12px;
  --card-border: 1px solid rgba(255, 255, 255, 0.06);
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--silver-200);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

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

::selection {
  background: rgba(139, 92, 246, 0.3);
  color: var(--silver-100);
}


/* ---------- Logo ---------- */
.logo-escala {
  font-family: var(--font-cal);
  font-weight: 600;
  background: var(--gradient-metallic);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dev {
  font-family: var(--font-cal);
  font-weight: 600;
  background: var(--gradient-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s var(--ease-in-out-quart);
}

.preloader.is-complete {
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.preloader__logo {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.preloader__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 200px;
}

.preloader__counter {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--silver-400);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.preloader__counter::after {
  content: '%';
}

.preloader__bar {
  width: 100%;
  height: 1px;
  background: var(--silver-500);
  overflow: hidden;
}

.preloader__bar-fill {
  width: 0%;
  height: 100%;
  background: var(--silver-200);
  transition: width 0.3s ease-out;
}


/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--side-pad);
  mix-blend-mode: difference;
  transition: padding 0.5s var(--ease-out-expo),
              mix-blend-mode 0.3s;
}

.nav.is-scrolled {
  mix-blend-mode: normal;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  -webkit-backdrop-filter: url(#nav-liquid-glass);
  backdrop-filter: url(#nav-liquid-glass);
  background: rgba(140, 140, 140, 0.07);
  box-shadow:
    inset -2px -4px 8px rgba(0, 0, 0, 0.04),
    inset 2px 4px 8px rgba(255, 255, 255, 0.07),
    inset 0 0 4px rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__logo {
  font-size: 1.25rem;
  transition: opacity 0.3s;
}

.nav__logo:hover {
  opacity: 0.7;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--violet-800);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--silver-100);
  background: var(--violet-800);
  transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease-out-expo);
  will-change: transform;
}

.nav__cta:hover {
  background: var(--violet-700);
  border-color: var(--violet-700);
}


/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--side-pad);
  overflow: hidden;
}

.hero__content {
  max-width: 1200px;
  padding-top: 6rem;
}

.hero__title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2.5rem, 7.5vw, 7rem);
  line-height: 1.05;
  color: var(--silver-100);
  letter-spacing: -0.03em;
}

.hero-line {
  overflow: hidden;
  display: block;
}

.hero-line span {
  display: block;
  transform: translateY(105%);
  will-change: transform;
}

.hero-line.is-visible span {
  transform: translateY(0);
  transition: transform 1.2s var(--ease-in-out-quart);
}

.hero-line:nth-child(2).is-visible span { transition-delay: 0.12s; }
.hero-line:nth-child(3).is-visible span { transition-delay: 0.24s; }

.hero__dot {
  color: var(--violet-500);
}

.hero__subtitle {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  font-weight: 400;
  color: var(--silver-300);
  max-width: 540px;
  line-height: 1.7;
}

/* Hero CTA button */
.hero__cta {
  margin-top: clamp(2rem, 3vw, 3rem);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: 1px solid var(--violet-800);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--silver-100);
  background: var(--violet-800);
  letter-spacing: 0.02em;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease-out-expo);
  will-change: transform;
}

.hero-button:hover {
  background: var(--violet-700);
  border-color: var(--violet-700);
  box-shadow: 0 0 40px rgba(91, 33, 182, 0.3);
}

.hero-button__icon {
  display: flex;
  transition: transform 0.4s var(--ease-out-expo);
}

.hero-button:hover .hero-button__icon {
  transform: translate(3px, -3px);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--side-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll-text {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-400);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--silver-500);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--silver-100);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; }
  50%  { top: 100%; }
  100% { top: 100%; }
}

/* Hero glow */
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: var(--gradient-glow);
  pointer-events: none;
  z-index: -1;
}


/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  animation: marquee 25s linear infinite;
}

.marquee__item {
  font-size: clamp(0.8125rem, 1vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-400);
  white-space: nowrap;
  padding: 0 1rem;
}

.marquee__sep {
  color: var(--silver-500);
  padding: 0 0.5rem;
  font-weight: 300;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}


/* ---------- Section Labels ---------- */
.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-500);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--silver-100);
  letter-spacing: -0.02em;
}


/* ---------- Stats ---------- */
.stats {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) var(--side-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stats__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1100px;
  margin: 0 auto;
}

.stats__item {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.stats__prefix,
.stats__suffix {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--silver-100);
  letter-spacing: -0.02em;
}

.stats__number {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--silver-100);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stats__label {
  display: block;
  margin-top: 0.75rem;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 400;
  color: var(--silver-400);
  line-height: 1.5;
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  align-self: center;
}


/* ---------- Portfolio ---------- */
.portfolio {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) var(--side-pad);
}

.portfolio__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 768px) {
  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 2vw, 2rem);
  }
}

.project-card a {
  display: block;
}

.project-card__media {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  position: relative;
}

.project-card__image {
  width: 100%;
  height: 100%;
  transition: transform 1.2s var(--ease-out-expo);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

.project-card:hover .project-card__image {
  transform: scale(1.02);
}

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

.project-card__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: var(--card-border);
  gap: 1rem;
}

.project-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-400);
  margin-bottom: 0.5rem;
}

.project-card__title {
  font-weight: 500;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  color: var(--silver-100);
  margin-bottom: 0.375rem;
}

.project-card__desc {
  font-size: 0.875rem;
  color: var(--silver-300);
  line-height: 1.5;
  max-width: 400px;
}

.project-card__arrow {
  color: var(--silver-400);
  flex-shrink: 0;
  margin-top: 0.25rem;
  transition: color 0.3s, transform 0.5s var(--ease-out-expo);
}

.project-card:hover .project-card__arrow {
  color: var(--violet-500);
  transform: translate(4px, -4px);
}


/* ---------- Process ---------- */
.process {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) var(--side-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.process__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.process__timeline {
  position: relative;
  max-width: 700px;
}

.process__line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.process__line-fill {
  width: 100%;
  height: 0%;
  background: var(--violet-600);
  transition: none;
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.process__step {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: flex-start;
}

.process__marker {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: border-color 0.5s, background 0.5s;
}

.process__marker.is-active {
  border-color: var(--violet-600);
  background: var(--violet-800);
}

.process__marker-number {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--silver-400);
  letter-spacing: 0.05em;
  transition: color 0.5s;
}

.process__marker.is-active .process__marker-number {
  color: var(--silver-100);
}

.process__step-content {
  padding-top: 0.375rem;
}

.process__step-title {
  font-weight: 500;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  color: var(--silver-100);
  margin-bottom: 0.5rem;
}

.process__step-desc {
  font-size: clamp(0.875rem, 1vw, 1rem);
  color: var(--silver-300);
  line-height: 1.7;
  max-width: 500px;
}


/* ---------- Services ---------- */
.services {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) var(--side-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.services__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2vw, 1.5rem);
  max-width: 1000px;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.services__card {
  padding: clamp(2rem, 3vw, 2.5rem);
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--card-radius);
  transition: border-color 0.4s;
}

.services__card:hover {
  border-color: rgba(139, 92, 246, 0.2);
}

.services__card-icon {
  color: var(--violet-400);
  margin-bottom: 1.5rem;
}

.services__card-title {
  font-weight: 500;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--silver-100);
  margin-bottom: 0.75rem;
}

.services__card-desc {
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  color: var(--silver-300);
  line-height: 1.7;
}


/* ---------- Testimonials ---------- */
.testimonials {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) var(--side-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonials__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2vw, 1.5rem);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonials__card {
  padding: clamp(2rem, 3vw, 2.5rem);
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.testimonials__quote p {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--silver-200);
  line-height: 1.8;
  font-style: italic;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonials__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--silver-100);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.testimonials__name {
  display: block;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--silver-100);
}

.testimonials__role {
  display: block;
  font-size: 0.8125rem;
  color: var(--silver-400);
  margin-top: 0.125rem;
}


/* ---------- About ---------- */
.about {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) var(--side-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about__content {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
}

@media (min-width: 768px) {
  .about__body {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.about__text-col p {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--silver-300);
  line-height: 1.8;
}

/* Founder block */
.about__founder {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: clamp(3rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about__founder-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--silver-100);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.about__founder-name {
  display: block;
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--silver-100);
}

.about__founder-role {
  display: block;
  font-size: 0.8125rem;
  color: var(--silver-400);
  margin-top: 0.125rem;
}

.about__founder-credentials {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about__founder-credentials li {
  font-size: 0.875rem;
  color: var(--silver-300);
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.about__founder-credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet-500);
}


/* ---------- FAQ ---------- */
.faq {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) var(--side-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.faq__list {
  max-width: 750px;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  border: none;
  background: none;
  color: var(--silver-100);
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  gap: 1.5rem;
  transition: color 0.3s;
}

.faq__question:hover {
  color: var(--silver-50);
}

.faq__question:focus-visible {
  outline: 2px solid var(--violet-500);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq__icon {
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--silver-400);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out-expo), color 0.3s;
  line-height: 1;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  color: var(--violet-400);
}

.faq__answer {
  height: 0;
  overflow: hidden;
}

.faq__answer p {
  padding-bottom: 1.5rem;
  font-size: clamp(0.875rem, 1vw, 0.9375rem);
  color: var(--silver-300);
  line-height: 1.8;
}


/* ---------- CTA ---------- */
.cta {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) var(--side-pad);
  padding-bottom: calc(var(--section-pad) * 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta__content {
  max-width: 800px;
}

.cta__title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: var(--silver-100);
  letter-spacing: -0.02em;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.cta__subtitle {
  font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
  color: var(--silver-300);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 2.25rem;
  border: 1px solid var(--violet-800);
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--silver-100);
  background: var(--violet-800);
  letter-spacing: 0.01em;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s,
              transform 0.5s var(--ease-out-expo);
  will-change: transform;
}

.cta-button:hover {
  background: var(--violet-700);
  border-color: var(--violet-700);
  box-shadow: 0 0 40px rgba(91, 33, 182, 0.3);
}

.cta-button__icon {
  display: flex;
  align-items: center;
  transition: transform 0.4s var(--ease-out-expo);
}

.cta-button:hover .cta-button__icon {
  transform: scale(1.1);
}

.cta__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-400);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 100px;
}

.cta__note {
  font-size: 0.8125rem;
  color: var(--silver-400);
  font-style: italic;
}


/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem var(--side-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer__logo {
  font-size: 1.125rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  color: var(--silver-400);
  transition: color 0.3s, transform 0.5s var(--ease-out-expo);
  will-change: transform;
}

.footer__social a:hover {
  color: var(--silver-100);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--silver-500);
}

.footer__tagline {
  font-size: 0.75rem;
  color: var(--silver-500);
}


/* ---------- Ambient Blobs ---------- */
.blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  will-change: transform;
}

.blob--1 {
  width: 600px;
  height: 600px;
  background: var(--violet-600);
  top: -10%;
  right: -5%;
  animation: blobFloat1 20s ease-in-out infinite;
}

.blob--2 {
  width: 500px;
  height: 500px;
  background: var(--violet-700);
  bottom: 20%;
  left: -10%;
  animation: blobFloat2 25s ease-in-out infinite;
}

.blob--3 {
  width: 400px;
  height: 400px;
  background: var(--violet-500);
  top: 50%;
  left: 40%;
  animation: blobFloat3 22s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-60px, 80px) scale(1.1); }
  66%      { transform: translate(40px, -40px) scale(0.95); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(80px, -60px) scale(1.05); }
  66%      { transform: translate(-40px, 50px) scale(0.9); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-50px, -70px) scale(1.15); }
  66%      { transform: translate(70px, 40px) scale(0.85); }
}


/* ---------- Grain Overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}


/* ---------- GSAP Reveal ---------- */
[data-gsap-reveal] {
  visibility: hidden;
}

.no-js [data-gsap-reveal] {
  visibility: visible;
}


/* ---------- Custom Cursor (desktop only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    position: fixed;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.35s var(--ease-out-expo),
                height 0.35s var(--ease-out-expo),
                top 0.35s var(--ease-out-expo),
                left 0.35s var(--ease-out-expo),
                background 0.35s,
                border-color 0.35s;
    mix-blend-mode: difference;
  }

  .custom-cursor.is-expanded {
    width: 70px;
    height: 70px;
    top: -35px;
    left: -35px;
    border-color: rgba(255, 255, 255, 0.6);
  }

  .custom-cursor.is-view {
    width: 90px;
    height: 90px;
    top: -45px;
    left: -45px;
    background: rgba(139, 92, 246, 0.85);
    border-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: normal;
  }

  .custom-cursor.is-view::after {
    content: 'View';
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-body);
  }

  .custom-cursor__dot {
    position: fixed;
    top: -3px;
    left: -3px;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
  }

  body:not(.is-loading) {
    cursor: none;
  }

  body:not(.is-loading) * {
    cursor: none;
  }
}


/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .hero__scroll {
    display: none;
  }

  .hero__subtitle br {
    display: none;
  }

  .footer__top,
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .section-title br {
    display: none;
  }

  .stats__grid {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .stats__divider {
    width: 40px;
    height: 1px;
  }

  .stats__item {
    flex: none;
  }

  .process__line {
    left: 20px;
  }

  .about__founder {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about__founder-credentials li {
    padding-left: 0;
  }

  .about__founder-credentials li::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .cta__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .nav__cta {
    padding: 0.5rem 1.125rem;
    font-size: 0.75rem;
  }

  .hero-button {
    width: 100%;
    justify-content: center;
  }
}
