/* =========================
   Homepage interactions
========================= */

.spotlight-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0.01) 12%,
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(15, 15, 15, 0.94) 0%,
      rgba(10, 10, 10, 0.96) 100%
    );
  border: 1px solid rgba(197, 160, 89, 0.10);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 680px;
  height: 680px;
  background: radial-gradient(
    circle,
    rgba(224, 191, 122, 0.18) 0%,
    rgba(197, 160, 89, 0.08) 24%,
    transparent 62%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 191, 122, 0.22);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.74),
    0 0 40px rgba(197, 160, 89, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.spotlight-content {
  position: relative;
  z-index: 1;
}

.img-hover-zoom {
  overflow: hidden;
}

.img-hover-zoom img {
  transition:
    transform 1.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter 0.6s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.06);
  filter: contrast(1.04) saturate(1.03);
}


/* =========================
   Homepage reveal
========================= */

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 0.9s ease-out,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}


/* =========================
   Homepage section hooks
========================= */

.home-hero {}
.home-intro {}
.home-process {}
.home-portfolio {}
.home-privacy {}
.home-faq {}
.home-cta {}

.home-intro,
.home-process,
.home-portfolio,
.home-privacy,
.home-faq,
.home-cta {
  position: relative;
}


/* =========================
   Text wrapping
========================= */

.home-hero h1 {
  text-wrap: balance;
}

.home-intro h2,
.home-process h2,
.home-portfolio h2,
.home-faq h2,
.home-cta h2 {
  text-wrap: balance;
}

.home-hero p,
.home-intro p,
.home-process p,
.home-portfolio p,
.home-faq p,
.home-cta p {
  text-wrap: pretty;
}


/* =========================
   Experimental hero system
========================= */

.home-hero--experimental {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 22%, rgba(197, 160, 89, 0.10), transparent 26%),
    radial-gradient(circle at 78% 72%, rgba(197, 160, 89, 0.18), transparent 28%),
    linear-gradient(
      90deg,
      rgba(197, 160, 89, 0.07) 0%,
      rgba(197, 160, 89, 0.02) 10%,
      rgba(197, 160, 89, 0) 22%,
      rgba(197, 160, 89, 0) 78%,
      rgba(197, 160, 89, 0.02) 90%,
      rgba(197, 160, 89, 0.07) 100%
    ),
    linear-gradient(180deg, #020202 0%, #050505 52%, #030303 100%);
}

.home-hero--experimental::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 56%, rgba(197, 160, 89, 0.14), transparent 22%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.015) 0%,
      rgba(255, 255, 255, 0) 18%
    );
  z-index: 0;
}

.hero-signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.95;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-signal-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.05) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(circle at 58% 48%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.72) 40%, rgba(0,0,0,0) 86%);
  -webkit-mask-image: radial-gradient(circle at 58% 48%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.72) 40%, rgba(0,0,0,0) 86%);
}

.hero-title--experimental {
  max-width: 8.2ch;
  color: #f3eee6;
  letter-spacing: -0.045em;
}

.hero-title--experimental span:last-child {
  color: #b9b3af;
}

.hero-portal-wrap {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-portal-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 8% 10% 10%;
  border-radius: 2.3rem;
  background:
    radial-gradient(circle at 54% 50%, rgba(224, 191, 122, 0.24), rgba(197, 160, 89, 0.10) 28%, transparent 64%);
  filter: blur(52px);
  z-index: -2;
  pointer-events: none;
  animation: heroPortalPulse 6s ease-in-out infinite alternate;
}

.hero-portal-wrap::after {
  content: "";
  position: absolute;
  inset: 10% 6% 8% 8%;
  border-radius: 2.25rem;
  border: 1px solid rgba(197, 160, 89, 0.16);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 90px rgba(197, 160, 89, 0.08);
  z-index: -1;
  pointer-events: none;
}

.hero-portal {
  position: relative;
  width: min(100%, 700px);
  border-radius: 2.1rem;
  padding: 1.15rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0.01) 12%,
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(14, 14, 14, 0.92) 0%,
      rgba(8, 8, 8, 0.96) 100%
    );
  border: 1px solid rgba(197, 160, 89, 0.18);
  box-shadow:
    0 30px 120px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255,255,255,0.025),
    inset 0 1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
}

.hero-portal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.04) 10%,
      transparent 22%
    );
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero-portal__stage {
  position: relative;
  border-radius: 1.45rem;
  overflow: hidden;
  background: #070707;
  min-height: 640px;
  box-shadow:
    inset 0 0 0 1px rgba(197, 160, 89, 0.12),
    inset 0 -100px 120px rgba(0,0,0,0.34);
}

.hero-portal__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 18%),
    linear-gradient(180deg, rgba(0,0,0,0) 58%, rgba(0,0,0,0.18) 100%);
}

.hero-before-card {
  position: absolute;
  left: 10px;
  bottom: 14px;
  width: 200px;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(197, 160, 89, 0.36);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(197, 160, 89, 0.15) inset;
  transform: rotate(-2deg);
  z-index: 20;
  opacity: 0.95;
  filter: brightness(0.95);
}

.hero-before-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-before-card__label {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-portal__image {
  width: 100%;
  height: 100%;
  min-height: 640px;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.02) contrast(1.04);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-portal:hover .hero-portal__image {
  transform: scale(1.035);
}

@keyframes heroPortalPulse {
  0% {
    opacity: 0.72;
    transform: scale(0.985);
  }
  100% {
    opacity: 1;
    transform: scale(1.03);
  }
}


/* =========================
   Fill-up gold buttons
========================= */

.btn-fill-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.75);
  color: #f5f5f5;
  background: rgba(8, 8, 8, 0.65);
  transition:
    border-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

.btn-fill-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ebd18d 0%, #d9b45a 52%, #b98d39 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.btn-fill-gold > span {
  position: relative;
  z-index: 1;
}

.btn-fill-gold:hover {
  color: #070707;
  border-color: rgba(223, 194, 125, 0.95);
  box-shadow: 0 16px 40px rgba(197, 160, 89, 0.18);
}

.btn-fill-gold:hover::before {
  transform: scaleY(1);
}


/* =========================
   Section lighting rhythm
========================= */

.home-intro::before,
.home-portfolio::before,
.home-faq::before,
.home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.home-intro::before {
  background:
    radial-gradient(circle at 20% 10%, rgba(197, 160, 89, 0.07), transparent 28%);
}

.home-portfolio::before {
  background:
    radial-gradient(circle at 82% 30%, rgba(197, 160, 89, 0.08), transparent 26%);
}

.home-faq::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.05), transparent 32%);
}

.home-cta::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.08), transparent 30%);
}


/* =========================
   Portfolio / FAQ polish
========================= */

.home-portfolio .img-hover-zoom {
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.025);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.home-portfolio .img-hover-zoom:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.62),
    0 0 30px rgba(197, 160, 89, 0.06);
}

.home-faq details {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.02) 0%,
      rgba(255, 255, 255, 0.008) 14%,
      transparent 40%
    ),
    linear-gradient(
      180deg,
      rgba(14, 14, 14, 0.94) 0%,
      rgba(10, 10, 10, 0.96) 100%
    );
  border: 1px solid rgba(197, 160, 89, 0.08);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.home-faq details:hover {
  border-color: rgba(197, 160, 89, 0.16);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(197, 160, 89, 0.04);
}


/* =========================
   Responsive
========================= */

@media (max-width: 1023px) {
  .hero-portal-wrap {
    min-height: auto;
    margin-top: 1rem;
  }

  .hero-portal-wrap::before {
    inset: 10% 6% 10% 8%;
    filter: blur(40px);
  }

  .hero-portal-wrap::after {
    inset: 12% 4% 8% 6%;
  }

  .hero-portal {
    width: 100%;
    padding: 0.95rem;
  }

  .hero-portal__stage,
  .hero-portal__image {
    min-height: 520px;
  }
}

@media (max-width: 767px) {
  .hero-title--experimental {
    max-width: 8.5ch;
  }

  .hero-before-card {
    position: absolute;
    left: 12px;
    bottom: 16px;
    transform: rotate(-2deg);
    width: 100px;
    z-index: 10;
  }

  .hero-before-card__label {
    font-size: 8px;
    padding: 0.28rem 0.5rem;
  }

  .hero-signal-grid {
    opacity: 0.24;
    background-size: 72px 72px;
  }

  .hero-portal__stage,
  .hero-portal__image {
    min-height: 440px;
  }
}

.home-hero__lead {
  color: #f5f5f5 !important;
}

.home-hero__sub {
  color: rgba(245, 245, 245, 0.82) !important;
}

.hero-title--experimental span:last-child {
  background: linear-gradient(
    180deg,
    #f0dfb0 0%,
    #d8b56a 42%,
    #9f7632 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}