:root {
  /* Ultra Premium Palette */
  --bg-color: #0f0f0f;
  --text-color: #f4f4f4;
  --accent: #d4af37;
  /* Rich Gold */
  --text-muted: #888888;
  --surface: #1a1a1a;

  /* Fonts */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
}

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

/* Hide default cursor to use custom cursor */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  cursor: none;
}

#smooth-wrapper {
  overflow-x: hidden;
  width: 100%;
}

a,
button {
  cursor: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* Typography Utilities */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 2rem;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.active {
  width: 60px;
  height: 60px;
  background-color: rgba(212, 175, 55, 0.2);
  mix-blend-mode: difference;
}

.cursor-follower.active {
  opacity: 0;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.preloader-logo {
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 2rem;
  opacity: 0;
  /* GSAP will animate this or we can add css animation later */
  filter: brightness(0) invert(1);
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 0.2em;
  color: #fff;
  opacity: 0;
}

.preloader-counter {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-top: 1rem;
  color: var(--accent);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  padding: 1.2rem 5vw;
  background-color: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
}

.nav-logo {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-text {
  /* You can hide this if the logo image is enough */
  /* display: none; */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 101;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #fff;
  transition: all 0.3s ease;
  transform-origin: left center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

.btn-primary {
  padding: 1rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  transition: all 0.4s ease;
}

.btn-primary:hover {
  background-color: #fff;
  color: #000 !important;
}

.btn-primary::after {
  display: none;
}

.btn-gold {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-gold:hover {
  background-color: var(--accent);
  color: var(--bg-color) !important;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: flex-end;
  padding: 5vw;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-img {
  width: 100%;
  height: 180%;
  object-fit: cover;
  position: absolute;
  top: -40%;
  left: 0;
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: auto;
}

.hero-title {
  font-size: clamp(4rem, 10vw, 9rem);
  text-transform: uppercase;
  line-height: 0.85;
}

.reveal-text {
  overflow: hidden;
}

.reveal-text span {
  display: inline-block;
  transform: translateY(110%);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 4rem;
}

.hero-subtitle {
  max-width: 400px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-down .line {
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-down .line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  animation: drop 2s infinite ease-in-out;
}

@keyframes drop {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

/* About Section (Asymmetrical) */
.about {
  padding: 15rem 0;
  position: relative;
}

.watermark {
  position: absolute;
  top: 5rem;
  left: -5%;
  font-family: var(--font-heading);
  font-size: 18vw;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 8rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.image-reveal-container {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.image-reveal-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 2;
  transform-origin: bottom;
}

.image-reveal-container img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.about-right .text-content {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.about-right .text-content p {
  margin-bottom: 1.5rem;
}

.btn-text {
  font-family: var(--font-body);
  color: var(--text-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 5px;
  transition: color 0.3s;
}

.btn-text:hover {
  color: var(--accent);
}

/* Horizontal Scroll Services */
.services-container {
  overflow: hidden;
  background-color: var(--surface);
}

.services-pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 5vw 0 5vw;
}

.services-header {
  margin-bottom: 1.5rem;
}

.horizontal-scroll-wrapper {
  display: flex;
  gap: 4rem;
  width: max-content;
  padding-right: 5vw;
}

.scroll-card {
  width: 600px;
  flex-shrink: 0;
  position: relative;
}

.card-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.scroll-card h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.scroll-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 80%;
}

.scroll-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s;
}

.scroll-card:hover img {
  filter: grayscale(0%);
}

/* Showcase Banner */
.showcase {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.showcase-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.showcase-img-wrap {
  width: 100%;
  height: 100%;
  clip-path: inset(10% 10% 10% 10%);
  /* Masked start */
}

.showcase-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.showcase-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  pointer-events: none;
}

.massive-text {
  font-size: clamp(5rem, 15vw, 15rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/* FAQ Section */
.faq {
  padding: 10rem 0;
  background-color: var(--bg-color);
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  pointer-events: auto;
  /* Since cursor is custom */
}

.faq-question h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
  opacity: 1;
}

.faq-answer p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 10rem 0 2rem;
  background-color: var(--bg-color);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10rem;
}

.footer-title {
  font-size: clamp(4rem, 8vw, 7rem);
}

.btn-primary.huge {
  font-size: 1.5rem;
  padding: 2rem 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: var(--text-color);
  line-height: 2;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--text-color);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 4rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  letter-spacing: 0.5px;
}

/* --- Marquee Section --- */
.marquee-section {
  padding: 2rem 0;
  background-color: var(--accent);
  color: var(--bg-color);
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}

.marquee-inner {
  display: flex;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  text-transform: uppercase;
  width: max-content;
}

.marquee-inner span {
  display: inline-flex;
  align-items: center;
  padding-right: 2rem;
}

.marquee-inner .dot {
  font-size: 1.5rem;
  margin: 0 2rem;
}

/* --- Our Process --- */
.process {
  padding: 15rem 0;
  background-color: var(--bg-color);
}

.process-header {
  margin-bottom: 6rem;
}

.process-list {
  max-width: 900px;
  margin: 0 auto;
}

.process-item {
  display: flex;
  gap: 4rem;
  margin-bottom: 6rem;
  opacity: 0.2;
  /* For GSAP */
  transition: opacity 0.5s ease;
}

.process-item.active {
  opacity: 1;
}

.process-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
}

.process-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.process-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --- Selected Works Grid --- */
.works {
  padding: 10rem 0 15rem;
  background-color: var(--surface);
}

.works-header {
  margin-bottom: 6rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

/* Asymmetrical grid logic */
.works-grid .work-item:nth-child(even) {
  margin-top: 8rem;
}

.work-img-wrapper {
  overflow: hidden;
  position: relative;
  height: 600px;
}

.work-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.work-item:hover .work-img-wrapper img {
  transform: scale(1.05);
}

.img-before {
  opacity: 0;
  z-index: 1;
}

.img-after {
  opacity: 1;
  z-index: 2;
}

.work-item:hover .img-after {
  opacity: 0;
}

.work-item:hover .img-before {
  opacity: 1;
}

.label-before,
.label-after {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 6px 16px;
  background: rgba(15, 15, 15, 0.8);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  backdrop-filter: blur(5px);
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.label-after {
  z-index: 3;
  opacity: 1;
}

.label-before {
  z-index: 3;
  opacity: 0;
}

.work-item:hover .label-after {
  opacity: 0;
}

.work-item:hover .label-before {
  opacity: 1;
}

.work-info {
  margin-top: 2rem;
}

.work-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.work-info p {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

/* --- Testimonials --- */
.testimonials {
  padding: 15rem 0;
  background-color: var(--bg-color);
  text-align: center;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
}

.quote-icon {
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 2rem;
  opacity: 0.3;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.4;
  margin-bottom: 4rem;
}

.testimonial-author h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.testimonial-author span {
  font-family: var(--font-body);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {

  .about-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .works-grid .work-item:nth-child(even) {
    margin-top: 0;
  }

  .scroll-card {
    width: 80vw;
  }

  .process-item {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1.5rem 5vw;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: clamp(3rem, 12vw, 4rem);
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 2rem;
  }

  .marquee-inner {
    font-size: 2rem;
  }

  .services-pin {
    height: auto;
    padding: 100px 5vw 4rem 5vw;
  }

  .horizontal-scroll-wrapper {
    flex-direction: column;
    width: 100%;
    gap: 3rem;
    padding-right: 0;
  }

  .scroll-card {
    width: 100%;
  }

  .scroll-card img {
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cursor,
  .cursor-follower {
    display: none !important;
  }

  body,
  a,
  button,
  .hover-target {
    cursor: auto !important;
  }

  .about-img-wrapper,
  .work-img-wrapper {
    height: 350px !important;
  }
}