:root {
  --bg-primary: #e5e3d3;
  /* Beige from reference */
  --bg-secondary: #000000;
  /* Black from reference */
  --text-primary: #000000;
  --text-secondary: #e5e3d3;
  --accent: #ff5f1f;
  --accent-rgb: 255, 95, 31;
  --font-main: "Inter", sans-serif;
  --font-heading: "Outfit", sans-serif;
  --transition: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
}

main {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

body.page-loaded main {
  opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: #333;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  gap: 2rem;
  animation: fadeOut 0.6s ease-in-out forwards 2s;
  will-change: opacity, visibility;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.loader-beetle {
  width: clamp(100px, 40vw, 150px);
  height: clamp(100px, 40vw, 150px);
  will-change: transform;
}

.loader-text {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.5rem;
  animation: textBlur 1.8s ease-in-out infinite;
  will-change: filter, opacity;
}

@keyframes textBlur {
  0%,
  100% {
    filter: blur(0);
    opacity: 1;
  }
  50% {
    filter: blur(2px);
    opacity: 0.7;
  }
}

/* Beetle Forming Animation - Speed Optimized & GPU Layer Promoted */
.body-base {
  opacity: 0;
  transform: scale(0.5);
  animation: bodyForm 0.4s ease-out forwards 0.1s;
  will-change: transform, opacity;
}

.head {
  opacity: 0;
  transform: translateY(-20px);
  animation: partIn 0.3s ease-out forwards 0.2s;
  will-change: transform, opacity;
}

.antenna {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawLine 0.3s ease-out forwards 0.4s;
  will-change: stroke-dashoffset;
}

.wing {
  opacity: 0;
  will-change: transform, opacity;
}

.wing-l {
  transform: translateX(-40px);
  animation: wingIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.3s;
}

.wing-r {
  transform: translateX(40px);
  animation: wingIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.3s;
}

.leg {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  will-change: stroke-dashoffset;
}

.l-1,
.l-2,
.l-3 {
  animation: drawLine 0.3s ease-out forwards 0.5s;
}

.r-1,
.r-2,
.r-3 {
  animation: drawLine 0.3s ease-out forwards 0.6s;
}

@keyframes bodyForm {
  to {
    opacity: 0.2;
    transform: scale(1);
  }
}

@keyframes partIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wingIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition:
    all 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
  opacity: 0;
  pointer-events: none;
}

nav.scrolled {
  padding: 1.2rem 5%;
  background: rgba(229, 227, 211);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

body.page-loaded nav {
  opacity: 1;
  pointer-events: all;
}

.header-logo-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.logo-circle-btn {
  width: 45px;
  height: 45px;
  background: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.4s var(--transition);

  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.1);
  }

  20% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.1);
  }

  40% {
    transform: scale(1);
  }
}

.logo-circle-btn svg {
  width: 30px;
  height: 30px;
}

.btn-legs,
.btn-wings {
  opacity: 0;
  transition: all 0.5s var(--transition);
}

.btn-legs {
  transform: scale(0.7);
  transform-origin: center;
}

.btn-wing-l,
.btn-wing-r {
  transform-origin: 50px 40px;
  transition:
    transform 0.5s cubic-bezier(0.7, 0, 0.3, 1),
    opacity 0.5s ease;
}

.logo-circle-btn:hover .btn-legs,
.logo-circle-btn:hover .btn-wings {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Click Animation State - Top to Bottom Flight */
.logo-circle-btn.is-animating {
  position: fixed;
  pointer-events: none;
  background: black;
  border-color: black;
  z-index: 10000;
  transition: none;
  animation: beetleDive 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
}

.logo-circle-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: black;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: -2;
  pointer-events: none;
}

.logo-circle-btn.is-animating::after {
  animation: blackoutGrow 1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes blackoutGrow {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }

  40% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(400);
    opacity: 1;
  }
}

@keyframes beetleDive {
  0% {
    top: var(--startY);
    left: var(--startX);
    transform: translate(0, 0) scale(1);
  }

  100% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2.5);
  }
}

.logo-circle-btn.is-animating svg {
  overflow: visible;
}

.logo-circle-btn.is-animating .btn-legs,
.logo-circle-btn.is-animating .btn-antennas {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.logo-circle-btn.is-animating .btn-wings {
  opacity: 1;
}

.logo-circle-btn.is-animating .btn-wing-l {
  animation: wingExpandL 1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

.logo-circle-btn.is-animating .btn-wing-r {
  animation: wingExpandR 1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes wingExpandL {
  0% {
    transform: rotate(0) scale(1);
  }

  30% {
    transform: rotate(-45deg) scale(2);
  }

  100% {
    transform: rotate(-160deg) scale(250);
  }
}

@keyframes wingExpandR {
  0% {
    transform: rotate(0) scale(1);
  }

  30% {
    transform: rotate(45deg) scale(2);
  }

  100% {
    transform: rotate(160deg) scale(250);
  }
}

.logo-circle-btn:hover {
  animation: none;
  transform: scale(1.15) rotate(5deg);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1rem, 4vw, 1.2rem);
  letter-spacing: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1002;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

.nav-toggle.active span:first-child {
  transform: rotate(45deg) translateY(6px);
}

.nav-toggle.active span:last-child {
  transform: rotate(-45deg) translateY(-6px);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  margin-left: clamp(1rem, 3vw, 2.5rem);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--text-primary);
  transition: width 0.4s var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: #444;
}

.nav-links a.active {
  color: var(--text-primary);
}

#navbar {
  transition: all 0.4s var(--transition);
}

#scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--text-primary);
  width: 0%;
  transition: width 0.1s linear;
}

/* Hero Split-Screen */
.hero-wrapper {
  height: 300vh;
  /* Scroll space for the animation */
  position: relative;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
  /* Dark background that gets revealed */
}

.hero-bg-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
}

.hero-cycle-wrapper {
  position: relative;
  overflow: hidden;
  text-align: center;
  height: clamp(
    5.4rem,
    27vw,
    21.6rem
  ); /* Sturdy CSS height fallback matching font-size clamp */
  will-change: transform;
}

.cycle-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cycle-phrase {
  flex-shrink: 0;
  width: 100%;
  text-align: center;
}

.reveal-h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Curtains */
.curtain-top,
.curtain-bottom {
  position: absolute;
  width: 100%;
  height: 50.5vh;
  /* Slight overlap to avoid gaps */
  background: var(--bg-primary);
  z-index: 2;
  overflow: hidden;
  will-change: transform;
  /* Responsive to scroll */
}

.curtain-top {
  top: 0;
}

.curtain-bottom {
  bottom: 0;
}

.curtain-content {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  /* Full viewport height container for the text */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Position text correctly within curtains */
.curtain-top .curtain-content {
  top: 0;
}

.curtain-bottom .curtain-content {
  bottom: 0;
}

.split-text {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 14.5vw, 14.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--text-primary) 35%,
    var(--accent) 45%,
    #ffa07a 50%,
    var(--accent) 55%,
    var(--text-primary) 65%,
    var(--text-primary) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    curtainTextShimmer 8s linear infinite,
    curtainTracking 6s ease-in-out infinite alternate;
}

@keyframes curtainTextShimmer {
  0% {
    background-position: 250% 0;
  }
  100% {
    background-position: -150% 0;
  }
}

@keyframes curtainTracking {
  0% {
    letter-spacing: -0.02em;
  }
  100% {
    letter-spacing: 0.05em;
  }
}

.split-text::before,
.split-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.split-text::before {
  left: 3px;
  background: var(--accent);
  z-index: 10;
  animation: splitGlitch1 5s infinite linear;
}

.split-text::after {
  left: -3px;
  background: #00e5ff;
  z-index: 9;
  animation: splitGlitch2 5s infinite linear;
}

@keyframes splitGlitch1 {
  0% {
    clip-path: inset(100% 0 0 0);
  }
  1.5% {
    clip-path: inset(45% 0 50% 0);
    transform: skew(0.5deg) translateX(-4px);
  }
  3% {
    clip-path: inset(80% 0 10% 0);
    transform: skew(-1deg) translateX(4px);
  }
  4.5% {
    clip-path: inset(15% 0 82% 0);
    transform: skew(0.8deg) translateX(-2px);
  }
  6% {
    clip-path: inset(100% 0 0 0);
  }
  100% {
    clip-path: inset(100% 0 0 0);
  }
}

@keyframes splitGlitch2 {
  0% {
    clip-path: inset(100% 0 0 0);
  }
  4.5% {
    clip-path: inset(100% 0 0 0);
  }
  6% {
    clip-path: inset(22% 0 70% 0);
    transform: skew(-0.5deg) translateX(5px);
  }
  7.5% {
    clip-path: inset(62% 0 25% 0);
    transform: skew(1.2deg) translateX(-5px);
  }
  9% {
    clip-path: inset(5% 0 92% 0);
    transform: skew(0.3deg) translateX(2px);
  }
  10.5% {
    clip-path: inset(100% 0 0 0);
  }
  100% {
    clip-path: inset(100% 0 0 0);
  }
}

/* Page Entry Curtains for Subpages */
.page-curtain-top,
.page-curtain-bottom {
  position: fixed;
  left: 0;
  width: 100%;
  height: 50.5vh;
  background: var(--bg-primary);
  z-index: 9999;
  pointer-events: none;
  transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

.page-curtain-top {
  top: 0;
}

.page-curtain-bottom {
  bottom: 0;
}

.page-loaded .page-curtain-top {
  transform: translateY(-100%);
}

.page-loaded .page-curtain-bottom {
  transform: translateY(100%);
}

/* Hero Label */
.hero-label {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(var(--accent-rgb), 0.1);
  border-left: 3px solid var(--accent);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 10rem 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 5;
  overflow-x: hidden;
  /* clip horizontal bleed only — keeps card y-animations intact */
}

.subheading {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;

  opacity: 0.5;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.section-header .subheading {
  margin-bottom: 0;
}

.btn-text-arrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #000;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  transition: opacity 0.3s;
}

.btn-text-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--transition);
}

.btn-text-arrow:hover {
  opacity: 0.6;
}

.btn-text-arrow:hover svg {
  transform: translateX(10px);
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.2rem;
  max-width: 600px;
  opacity: 0.8;
}

.img-reveal-wrapper {
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 6px;
  perspective: 1500px;
  position: relative;
  /* Enable 3D Depth */
}

.img-reveal-wrapper:hover img {
  filter: brightness(0.5) grayscale(0.3);
}

.img-reveal-wrapper img {
  width: 105%;
  /* Slightly larger to allow parallax movement without edges */
  height: 105%;
  margin: -2.5%;
  /* Center the oversized image */
  object-fit: cover;

  transition: filter 0.8s ease;
  transform-style: preserve-3d;
  will-change: transform, filter;
}

.img-reveal-wrapper:hover .video-overlay {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.about-stats {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
  margin-top: 0.5rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2rem 1rem;

  border-radius: 6px;

  background: var(--bg-secondary);
  color: var(--text-secondary);
  transform: translateY(-10px);

  transition: all 0.6s ease-in-out;
}

.service-num {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2rem;
  opacity: 0.5;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Projects */
.projects-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.project-item {
  cursor: pointer;
}

.project-img {
  height: 500px;
  background: #000;
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
  perspective: 1500px;
  /* Enable 3D Depth */
}

.project-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.6s var(--transition);
  z-index: 2;
}

.project-img img {
  width: 115%;
  height: 115%;
  margin: -7.5%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.8);
  transition: filter 0.8s var(--transition);
  transform-style: preserve-3d;
  will-change: transform;
}

.project-item:hover .project-img img {
  filter: grayscale(0) brightness(0.6);
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.8s var(--transition),
    opacity 0.4s ease,
    visibility 0.4s ease;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hover-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-item:hover .video-overlay {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.project-item:hover .project-img::after {
  opacity: 0.2;
}

.project-info {
  transform: translateY(0);
  transition: transform 0.6s var(--transition);
}

.project-item:hover .project-info {
  transform: translateY(10px);
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.4s;
}

.project-item:hover h3 {
  color: var(--accent);
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.process-step {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 2rem;
}

.process-step .step-num {
  font-weight: 700;
  margin-bottom: 2rem;
  opacity: 0.5;
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.price-card {
  padding: 4rem 3rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  position: relative;
  background: transparent;
  transition: all 0.4s var(--transition);
}

.price-card.featured {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transform: scale(1.05);
  z-index: 10;
}

.price-card .badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--accent);
  color: white;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.price-card .price {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.price-card .price span {
  font-size: 1rem;
  opacity: 0.6;
}

.price-card ul {
  list-style: none;
  margin-bottom: 3rem;
}

.price-card ul li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}

.price-card.featured ul li {
  border-color: rgba(255, 255, 255, 0.1);
}

.tick {
  color: var(--accent);
  margin-right: 0.8rem;
  font-weight: 900;
}

.price-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-text-only {
  background: none;
  border: none;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 0;
  color: inherit;
  opacity: 0.6;
  transition: opacity 0.3s;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-text-only:hover {
  opacity: 1;
}

.btn-outline,
.btn-solid {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-outline {
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
}

.btn-solid {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* Testimonials Slider */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
}

.testimonial-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding-right: 2rem;
}

.testimonial-slide .quote {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 3rem;
  font-weight: 700;
}

.testimonial-slide .client {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.testimonial-slide .client strong {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.testimonial-slide .client span {
  opacity: 0.5;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
}

.t-arrow {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

.t-arrow svg {
  width: 18px;
  height: 18px;
}

.t-arrow:hover {
  background: var(--bg-secondary);
  border-color: var(--bg-secondary);
  color: var(--text-secondary);
}

.t-dots {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  padding: 0;
}

.t-dot.active {
  background: var(--bg-secondary);
  width: 24px;
  border-radius: 4px;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.team-card {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.team-monogram {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-monogram span {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.team-role {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

.team-info p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.7;
}

.team-name-link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.4s ease;
}

.team-name-link:hover {
  background-size: 100% 1px;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Projects Info Fix */
.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.project-info span {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Review Submission Form */
.review-submission-section {
  background: var(--bg-primary);
}

.review-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8rem;
  align-items: flex-start;
}

.review-intro {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.7;
  max-width: 500px;
}

.review-guidelines {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guide-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.guide-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.guide-item p {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
}

.review-form-container {
  background: var(--bg-secondary);
  padding: 4rem;
  color: var(--text-secondary);
  border-radius: 6px;
}

.modern-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.modern-form .form-group {
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.modern-form label {
  display: block;
  font-size: 0.65rem;
  font-weight: 900;
  margin-bottom: 0.2rem;
  letter-spacing: 3px;
  opacity: 0.4;
  transition: all 0.4s;
}

.modern-form input,
.modern-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  color: white;
  font-family: var(--font-main);
  font-size: 1.1rem;
  outline: none;
  transition: all 0.4s var(--transition);
}

.modern-form input:focus,
.modern-form textarea:focus {
  border-color: var(--accent);
  padding-left: 1rem;
}

.modern-form .form-group:focus-within label {
  color: var(--accent);
  opacity: 1;
  transform: translateX(5px);
}

/* Floating effect alternative if needed, but keeping it sharp now */
.modern-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

/* Star Rating */
.rating-group {
  margin-bottom: 3rem;
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: color 0.3s;
  opacity: 1 !important;
  margin-bottom: 0 !important;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--accent);
}

.modern-form .submit-btn {
  width: 100%;
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 1.5rem;
  border: none;
  font-weight: 900;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.4s var(--transition);
  border-radius: 0;
}

.modern-form .submit-btn .btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.modern-form .submit-btn .arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--transition);
}

.modern-form .submit-btn:hover {
  transform: scale(1.02);
  background: var(--accent);
  color: white;
}

.modern-form .submit-btn:hover .arrow {
  transform: translateX(10px);
}

@media (max-width: 1024px) {
  .review-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .review-form-container {
    padding: 3rem 2rem;
  }

  .modern-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.footer-spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 95, 31, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
  will-change: transform;
}

.footer:hover .footer-spotlight {
  opacity: 1;
}

.footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(229, 227, 211, 0.12) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(229, 227, 211, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 20%,
      rgba(255, 122, 0, 0.04) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 30% 80%,
      rgba(229, 227, 211, 0.08) 0%,
      transparent 40%
    );
  animation: footerAnimate 25s infinite alternate ease-in-out;
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

@keyframes footerAnimate {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  33% {
    transform: translate(-5%, 10%) rotate(2deg) scale(1.1);
  }

  66% {
    transform: translate(10%, -5%) rotate(-2deg) scale(0.9);
  }

  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

.footer-cta {
  padding: 10rem 0;
  border-bottom: 1px solid rgba(231, 228, 211, 0.1);
  text-align: center;
}

.payment-flex-teaser {
  margin: 3rem 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2.5rem;
  background: black;
  color: #e5e2d3;
  transform: rotate(-3deg);
  border-radius: 4px;
  box-shadow:
    10px 10px 30px rgba(0, 0, 0, 0.1),
    0 0 0 5px rgba(255, 255, 255, 0.1);
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInUp 1s 0.5s ease-out both;
}

.payment-flex-teaser:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
}

.payment-heading {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #e5e2d3;
  margin: 0;
}

.new-tag {
  position: absolute;
  top: -55px;
  right: -55px;
  width: 100px;
  height: 100px;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  clip-path: polygon(
    50% 0%,
    57% 18%,
    75% 7%,
    70% 25%,
    93% 25%,
    75% 40%,
    100% 50%,
    75% 60%,
    93% 75%,
    70% 75%,
    75% 93%,
    57% 82%,
    50% 100%,
    43% 82%,
    25% 93%,
    30% 75%,
    7% 75%,
    25% 60%,
    0% 50%,
    25% 40%,
    7% 25%,
    30% 25%,
    25% 7%,
    43% 18%
  );
  transform: rotate(10deg);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
  z-index: 10;
  pointer-events: none;
  line-height: 1;
}

.payment-info-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-info-btn:hover {
  background: var(--text-secondary);
  color: var(--bg-secondary);
  border-color: var(--text-secondary);
}

/* Info Modal Variant */
.info-modal {
  max-width: 500px;
  text-align: left;
}

.info-modal h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.info-modal p {
  opacity: 0.7;
  margin-bottom: 2rem;
}

.payment-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.p-step {
  position: relative;
  padding-left: 3rem;
}

.p-num {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.4;
}

.p-step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.p-step p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Sleek Interactive Footer Portal */
.footer-cta-portal {
  position: relative;
  padding: 10rem 0;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-spotlight {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(var(--accent-rgb), 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
}

.footer-cta-portal:hover .cta-spotlight {
  opacity: 1;
}

.cta-marquee-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  pointer-events: none;
  opacity: 0.2;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cta-marquee {
  display: flex;
  white-space: nowrap;
  font-size: clamp(4rem, 15vw, 15rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  color: transparent;
  transition: all 0.5s ease;
}

.marquee-1 {
  animation: marquee-scroll 40s linear infinite;
}
.marquee-2 {
  animation: marquee-scroll-reverse 60s linear infinite;
  -webkit-text-stroke: 1px var(--accent);
  opacity: 0.5;
}
.marquee-3 {
  animation: marquee-scroll 50s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.cta-container {
  position: relative;
  z-index: 10;
}

.cta-content {
  text-align: center;
}

.cta-sub {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: var(--accent);
  margin-bottom: 2rem;
  display: block;
}

.cta-title {
  font-size: clamp(3rem, 10vw, 8rem) !important;
  font-weight: 900 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.04em !important;
  color: white !important;
  margin-bottom: 3rem !important;
}

.cta-action-box {
  display: flex;
  justify-content: center;
}

.cta-btn {
  display: inline-block;
  padding: 1.8rem 5rem;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 4px;
  background: white;
  color: black;
  border-radius: 100px;
  transition: all 0.4s var(--transition);
  text-decoration: none;
  z-index: 10;
}

.cta-btn:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.05);
  z-index: 100;
}

.footer-top {
  padding: 8rem 0 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
}

.brand-col .footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.footer-description {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.7;
  max-width: 400px;
  margin-bottom: 2.5rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.social-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(231, 228, 211, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.4s var(--transition);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--transition);
}

.social-icon:hover {
  background: var(--text-secondary);
  color: var(--bg-secondary);
  border-color: var(--text-secondary);
}

.social-icon:hover svg {
  transform: rotate(10deg) scale(1.1);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  opacity: 0.5;
  letter-spacing: 2px;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-trigger .chevron-icon {
  display: none;
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  transition: transform 0.4s var(--transition);
  transform-origin: center;
}

@keyframes pulseChevron {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 2px rgba(255, 95, 31, 0.4));
  }
}

@keyframes pulseChevronExpanded {
  0%,
  100% {
    transform: rotate(90deg) scale(1);
  }
  50% {
    transform: rotate(90deg) scale(1.15);
    filter: drop-shadow(0 0 2px rgba(255, 95, 31, 0.4));
  }
}

.footer-links,
.footer-contact {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  font-weight: 500;
}

.footer-links a,
.footer-contact a {
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition:
    opacity 0.3s,
    transform 0.3s;
  display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .accordion-col {
    border-bottom: 1px solid rgba(231, 228, 211, 0.1);
  }

  .footer-heading {
    margin-bottom: 0;
    padding: 1.5rem 0;
    cursor: pointer;
    opacity: 0.8;
  }

  .accordion-trigger .chevron-icon {
    display: block;
    animation: pulseChevron 0.8s infinite ease-in-out;
  }

  .accordion-trigger[aria-expanded="true"] .chevron-icon {
    animation: pulseChevronExpanded 0.8s infinite ease-in-out;
  }

  .footer-content-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s var(--transition);
    overflow: hidden;
  }

  .footer-content-wrapper > * {
    min-height: 0;
  }

  .accordion-trigger[aria-expanded="true"] + .footer-content-wrapper {
    grid-template-rows: 1fr;
  }

  .footer-links,
  .footer-contact {
    padding-bottom: 2rem;
  }
}

.footer-bottom {
  padding: 3rem 0;
  border-top: 1px solid rgba(231, 228, 211, 0.1);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.5;
}

.footer-legal {
  display: flex;
  gap: 3rem;
}

.footer-legal a {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-legal a:hover {
  opacity: 1;
}

.footer-bg-text {
  position: absolute;
  bottom: -10%;
  left: 0;
  width: 100%;
  font-size: clamp(10rem, 30vw, 40rem);
  font-weight: 950;
  color: rgba(231, 228, 211, 0.034);
  text-align: center;
  pointer-events: none;
  z-index: -1;
  line-height: 0.8;
  letter-spacing: -0.05em;
  user-select: none;
  animation: textWave 15s infinite ease-in-out;
}

@keyframes textWave {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1.05);
  }

  33% {
    transform: translateY(-30px) rotate(1deg) scale(1);
  }

  66% {
    transform: translateY(15px) rotate(-1deg) scale(1.02);
  }
}

/* Back to Top */
.back-to-top {
  position: absolute;
  right: 5%;
  bottom: 2rem;
  width: 60px;
  height: 60px;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s var(--transition);
  z-index: 100;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.back-to-top:hover {
  background: var(--accent);
  color: white;
}

.back-to-top:hover svg {
  transform: translateY(-5px);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-cta {
    padding: 6rem 0;
  }

  .footer-bottom-flex {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    gap: 1.5rem;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 8%;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  clip-path: circle(0% at 100% 0%);
  transition: all 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  clip-path: circle(150% at 100% 0%);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

.mobile-close {
  position: absolute;
  top: 2rem;
  right: 5%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  z-index: 1002;
}

.mobile-close span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  display: block;
}

.mobile-close span:first-child {
  transform: rotate(45deg) translateY(4px);
}

.mobile-close span:last-child {
  transform: rotate(-45deg) translateY(-4px);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -250px;
  gap: 1.5rem;
}

.mobile-links a {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 10vw, 4rem);
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -1px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-links a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-links a:nth-child(1) {
  transition-delay: 0.2s;
}
.mobile-links a:nth-child(2) {
  transition-delay: 0.3s;
}
.mobile-links a:nth-child(3) {
  transition-delay: 0.4s;
}
.mobile-links a:nth-child(4) {
  transition-delay: 0.5s;
}
.mobile-links a:nth-child(5) {
  transition-delay: 0.6s;
}

.mobile-links a:hover {
  color: var(--accent);
  transform: scale(1.1);
}

/* Responsive Updates */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .price-card {
    padding: 3rem 2rem;
    max-width: 500px;
    margin: 0 auto;
  }

  .price-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  nav {
    padding: 1rem 5%;
  }

  .about-grid,
  .contact-split,
  .services-grid,
  .projects-list,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .section {
    padding: 6rem 0;
  }

  .hero-wrapper {
    height: 150vh;
  }

  .testimonial-content .quote {
    font-size: 1.8rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .img-reveal-wrapper {
    height: 400px;
  }

  .project-img {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .reveal-h1 {
    font-size: 10vw;
    /* Fluid scaling to fit mobile width */
    width: 100%;
    text-align: center;
  }
  .price-card ul li {
    font-size: 0.5em;
  }
  .split-text {
    font-size: 12vw;
    /* Fluid scaling to fit mobile width */
  }

  .logo {
    font-size: 0.9rem;
  }

  .price-card {
    padding: 2.5rem 1.5rem;
  }

  .hero-bg-content {
    width: 100%;
    padding: 0 5%;
  }
}

/* Animations for Intersection Observer */
.section {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1.2s cubic-bezier(0.2, 0.4, 0, 1),
    transform 1.2s cubic-bezier(0.2, 0.4, 0, 1);
}

.section.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Reveals */
.service-card,
.process-step,
.price-card,
.project-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.4, 0, 1),
    transform 0.8s cubic-bezier(0.2, 0.4, 0, 1);
}

.reveal-active .service-card,
.reveal-active .process-step,
.reveal-active .price-card,
.reveal-active .project-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal-active .service-card:nth-child(2),
.reveal-active .process-step:nth-child(2),
.reveal-active .price-card:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-active .service-card:nth-child(3),
.reveal-active .process-step:nth-child(3),
.reveal-active .price-card:nth-child(3) {
  transition-delay: 0.4s;
}

.reveal-active .process-step:nth-child(4) {
  transition-delay: 0.6s;
}

/* Heading Reveal */
.subheading,
h2 {
  overflow: hidden;
}

.subheading span,
h2 span {
  display: block;
  transform: translateY(100%);
  transition: transform 1s cubic-bezier(0.2, 0.4, 0, 1);
  margin-bottom: 40px;
}

.reveal-active .subheading span,
.reveal-active h2 span {
  transform: translateY(0);
}

/* Image Mask Reveal */
.img-reveal-wrapper,
.project-img {
  position: relative;
  overflow: hidden;
}

.img-reveal-wrapper::after,
.project-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  transform: translateX(0);
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2;
}

.reveal-active .img-reveal-wrapper::after,
.reveal-active .project-img::after {
  transform: translateX(101%);
}

/* ---------- Per-element direction-aware reveals ---------- */
[class*="reveal-from"] {
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-from-left {
  opacity: 0;
  transform: translateX(-70px);
}

.reveal-from-right {
  opacity: 0;
  transform: translateX(70px);
}

.reveal-from-bottom {
  opacity: 0;
  transform: translateY(60px);
}

.reveal-scale-in {
  opacity: 0;
  transform: scale(0.75);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.in-view.reveal-from-left,
.in-view.reveal-from-right,
.in-view.reveal-from-bottom {
  opacity: 1;
  transform: translate(0);
}

.in-view.reveal-scale-in {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay utilities */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.25s;
}

.delay-3 {
  transition-delay: 0.4s;
}

.delay-4 {
  transition-delay: 0.55s;
}

.delay-5 {
  transition-delay: 0.7s;
}

/* Team enhanced stagger */
.team-card {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-active .team-card {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active .team-card:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-active .team-card:nth-child(2) {
  transition-delay: 0.3s;
}

/* Animated line grow on elements */
.line-grow {
  position: relative;
}

.line-grow::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.15;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.in-view.line-grow::after {
  width: 100%;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9005;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-primary);
  width: 95%;
  max-width: 550px;
  padding: 3.5rem 3rem;
  position: relative;
  border-radius: 30px;
  transform: translateY(30px) scale(0.98);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.03);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-primary);
  line-height: 1;
  transition: 0.3s;
}

.modal-close:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: rotate(90deg);
}

.modal-body h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}

.modal-body p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  opacity: 0.6;
  max-width: 100%;
}

.modal-list {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-list li {
  padding: 0.8rem 1.2rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.3s;
}

.modal-list li:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.modal-list li::before {
  content: "✓";
  margin-right: 1rem;
  color: var(--accent);
  font-weight: 900;
  font-size: 1rem;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-cta {
  background: #000;
  color: #fff !important;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.4s;
  text-decoration: none;
}

.modal-cta:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 92, 0, 0.2);
}

.modal-price-teaser {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .modal-content {
    padding: 3rem 2rem;
  }
}

/* Inner Page Specifics */
.inner-page nav {
  background: rgba(229, 227, 211, 0.9) !important;
  backdrop-filter: blur(10px) !important;
  padding: 1.5rem 5% !important;
}

.page-hero {
  padding: 15rem 0 10rem;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 1;
  font-weight: 900;
  margin-top: 2rem;
}

.accent-text {
  color: var(--accent);
  margin-top: -60px;
  margin-bottom: 11rem;
}

.hero-subtext {
  font-size: 1.4rem;
  max-width: 600px;
  opacity: 0.6;
  margin-top: 3rem;
  line-height: 1.6;
}

.contact-section-bg {
  background: linear-gradient(to bottom, var(--bg-primary) 0%, #fdfbf5 100%);
}

/* About Detailed Grid */
.about-detailed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  overflow: auto;
  margin-top: 4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

.value-card {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 4rem 3rem;
  border-radius: 40px 10px 40px 10px;
  transition: transform 0.4s var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 2rem;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Services Detailed List */
.service-item-detail {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  padding: 6rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-index {
  font-weight: 900;
  opacity: 0.3;
}

.service-desc p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 800px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

.feature-tags li {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Projects Detailed Grid */
.project-card-full {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 6rem;
  margin-bottom: 12rem;
  align-items: center;
}

.project-card-full:nth-child(even) {
  direction: rtl;
}

.project-card-full:nth-child(even) .project-details {
  direction: ltr;
}

.p-category {
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

.project-details h2 {
  font-family: var(--font-heading);
  font-size: 4rem;
  margin-bottom: 2rem;
}

.view-project-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  font-weight: 900;
  margin-top: 3rem;
}

/* Redesigned Contact Layout */
.contact-editorial-hero {
  padding: 15rem 0 6rem;
  background: #050505;
  color: white;
}

.contact-hero-branding h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: white;
  margin: 2rem 0 1.5rem;
}

.contact-hero-branding .hero-lead {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  max-width: 600px;
  line-height: 1.6;
}

.contact-portal-section {
  background: #050505;
  padding: 0 0 12rem;
  color: white;
}

.contact-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

/* Branding Column */
.contact-branding-column {
  padding: 10vh 12% 8vh;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #050505;
}

.contact-hero-image {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  opacity: 0.1;
  /* Very subtle */
  z-index: 1;
  pointer-events: none;
  filter: grayscale(1) contrast(1.2);
}

.contact-hero-image .img-reveal-wrapper,
.contact-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vertical-title {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%) rotate(-180deg);
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 15px;
  color: var(--accent);
  opacity: 0.15;
  /* Even more ghost-like */
  pointer-events: none;
}

.contact-branding-content {
  position: relative;
  z-index: 2;
}

.contact-branding-content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 1.5rem 0 3rem;
  color: white;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.branding-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.detail-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.detail-link,
.detail-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  color: white;
  text-decoration: none;
  line-height: 1.1;
  transition: opacity 0.3s;
}

.detail-link:hover {
  opacity: 0.5;
}

.social-mini-flex {
  display: flex;
  gap: 2.5rem;
}

.social-mini-flex a {
  font-size: 0.75rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  letter-spacing: 1px;
}

/* Visionary About Layout */
.about-visionary-section {
  background: #050505;
  padding: 6rem 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.about-main-header {
  text-align: center;
  padding-bottom: 5rem;
  position: relative;
  z-index: 5;
}

.about-main-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 15vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: white;
  margin: 0;
}

.about-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  width: 100vw;
}

.about-visual-column {
  padding: 10vh 12% 8vh;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero-image {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  filter: grayscale(1) brightness(0.8);
}

.about-hero-image .img-reveal-wrapper,
.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual-content {
  position: relative;
  z-index: 2;
}

.about-visual-content h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 1.5rem 0 3rem;
  color: white;
}

/* About Content Column */
.about-content-column {
  padding: 10vh 10% 8vh;
  background: #080808;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.philosophy-wrapper {
  max-width: 600px;
}

.about-body h2 {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.about-body p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 5rem;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--bg-secondary);
}

/* Blueprint Section */
.blueprint-section {
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.blueprint-header {
  margin-bottom: 3rem;
}

.blueprint-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
  color: white;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.blueprint-item {
  position: relative;
  padding-top: 4rem;
}

.blueprint-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.b-step {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.blueprint-item h3 {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: white;
  margin-bottom: 1.5rem;
}

.blueprint-item p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.4);
}

.blueprint-item:hover::before {
  background: var(--accent);
}

@media (max-width: 1024px) {
  .blueprint-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .blueprint-grid {
    grid-template-columns: 1fr;
  }
}

.contact-scroll-hint {
  position: absolute;
  bottom: 5vh;
  left: 12%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollSlide 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scrollSlide {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

/* Form Column */
.contact-form-column {
  padding: 0;
  background: transparent;
}

.form-instruction {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 450px;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.form-instruction p {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.visionary-form {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.form-grid-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  row-gap: 2rem;
}

@media (max-width: 768px) {
  .form-grid-inputs {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
}

.v-form-group {
  position: relative;
}

.v-form-group label {
  display: block;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 0.8rem;
  transition: all 0.4s var(--transition);
  text-transform: uppercase;
}

.v-form-group input,
.v-form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.8rem 0;
  color: white;
  font-family: var(--font-main);
  font-size: 1.05rem;
  outline: none;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.v-form-group input:focus,
.v-form-group textarea:focus {
  border-bottom-color: var(--accent);
  padding-left: 1.2rem;
}

.v-form-group:focus-within label {
  color: var(--accent);
  transform: translateX(10px);
}

.form-action-zone {
  margin-top: 3rem;
}

.transmit-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 5px;
  cursor: pointer;
  padding: 1.5rem 3.5rem;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  border-radius: 100px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.transmit-btn span {
  position: relative;
  z-index: 2;
}

.transmit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.transmit-btn:hover {
  border-color: var(--accent);
  gap: 2.5rem;
  padding-left: 4.5rem;
  padding-right: 2.5rem;
}

.transmit-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-arrow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  transition: transform 0.5s var(--transition);
}

.btn-arrow svg {
  width: 20px;
  height: 20px;
  stroke: rgb(0, 0, 0);
}

.transmit-btn:hover .btn-arrow {
  transform: translateX(10px);
}

/* Responsive Optimizations */
@media (max-width: 1024px) {
  .contact-editorial-grid {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
}
@media (max-width: 768px) {
  .contact-editorial-hero {
    padding: 10rem 0 4rem;
  }
}

/* Editorial About Layout */
.about-editorial-hero {
  padding: 15rem 0 10rem;
  background: #050505;
}

.about-hero-branding h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 2rem;
  color: white;
}

.editorial-story-section {
  background: #050505;
  padding-bottom: 15rem;
}

.story-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 8rem;
}

.story-image {
  position: relative;
}

.story-image::after {
  content: "";
  position: absolute;
  top: -3rem;
  right: 0;
  width: 80%;
  height: 120%;
  border: 1px solid rgba(255, 255, 255, 0.03);
  z-index: -1;
}

.story-image img {
  width: 100%;
  height: auto;
  filter: grayscale(1);
  transition: filter 0.6s var(--transition);
}

.story-image:hover img {
  filter: grayscale(0);
}

.story-content {
  max-width: 550px;
}

.about-stats-grid-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* High-Density Studio Grid (Dark Theme) */
.projects-asymmetric-section {
  padding: 6rem 0 8rem;
  background: #050505;
  color: white;
}

.projects-main-intro h1 {
  font-size: clamp(3rem, 13vw, 10rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: white;
  margin-bottom: 3rem;
}

.projects-studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.project-studio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.studio-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
}

.studio-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.studio-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
  pointer-events: none;
}

.portfolio-video-studio {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-studio-card:hover .studio-video-overlay {
  opacity: 1;
}

.project-studio-card:hover .studio-main-img {
  transform: scale(1.05);
}

.studio-card-info {
  padding: 2.5rem;
  text-align: left;
}

.studio-card-info .p-tag {
  font-size: 0.55rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.studio-card-info h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 1rem 0 2rem;
  letter-spacing: -0.02em;
}

.view-link {
  font-size: 0.65rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.view-link:hover {
  color: white;
}

@media (max-width: 1200px) {
  .projects-studio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .projects-studio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-main-header h1 {
    font-size: 2.8rem;
  }

  .contact-branding-content h1 {
    font-size: 2.2rem;
  }

  .social-mini-flex {
    gap: 1.5rem;
  }

  .transmit-btn {
    width: 100%;
    justify-content: space-between;
  }
}

/* Multi-Step Modal */
.multi-step-modal .modal-content {
  max-width: 600px;
  padding: 4rem;
  overflow: hidden;
}

.modal-progress {
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent);
  width: 33.33%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step {
  display: none;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.step.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  gap: 1.5rem;
}

.next-btn,
.submit-btn {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: none;
  padding: 1.2rem;
  border-radius: 100px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s;
}

.back-btn {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
  padding: 1.2rem;
  border-radius: 100px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.next-btn:hover,
.submit-btn:hover {
  background: var(--accent);
  color: white;
}

.back-btn:hover {
  border-color: var(--text-primary);
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 10px;
  margin: 1.5rem 0;
}

.category-grid::-webkit-scrollbar {
  width: 4px;
}

.category-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.cat-item {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.cat-item input {
  position: absolute;
  opacity: 0;
}

.cat-item:hover {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.1);
}

.cat-item.selected {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-color: var(--bg-secondary);
}

.cat-icon {
  width: 20px;
  height: 20px;
  opacity: 0.5;
}

.selected .cat-icon {
  opacity: 1;
}

.source-header {
  font-size: 0.8rem;
  font-weight: 900;
  opacity: 0.5;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* Step Form Inputs */
.multi-step-modal .form-group {
  margin-bottom: 2rem;
  text-align: left;
}

.multi-step-modal label {
  display: block;
  font-size: 0.7rem;
  font-weight: 950;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
  opacity: 0.6;
  color: var(--text-primary);
}

.multi-step-modal input,
.multi-step-modal textarea {
  width: 100%;
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.4s var(--transition);
}

.multi-step-modal input:focus,
.multi-step-modal textarea:focus {
  outline: none;
  background: white;
  border-color: var(--bg-secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding-left: 1.5rem;
}

.multi-step-modal input::placeholder,
.multi-step-modal textarea::placeholder {
  opacity: 0.3;
}

/* Category grid refinement */
.cat-item {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transform: translateZ(0);
  /* Hardware acceleration */
}

.cat-item .cat-icon {
  transition: transform 0.4s var(--transition);
}

.cat-item:hover .cat-icon {
  transform: scale(1.4) rotate(-10deg);
}

.cat-item.selected {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.cat-item.selected .cat-icon {
  transform: scale(1.2);
}

/* Form validation feedback */
.multi-step-modal input.invalid {
  border-color: #ff4d4d !important;
  background: rgba(255, 77, 77, 0.05);
}

/* Discovery Step Refinement */
.main-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.main-cat-item {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s;
  letter-spacing: 1px;
}

.main-cat-item:hover {
  background: rgba(0, 0, 0, 0.06);
}

.main-cat-item.active {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-color: var(--bg-secondary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sub-options-container {
  min-height: 120px;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 15px;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  position: relative;
}

.sub-options-group {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  animation: fadeIn 0.4s ease forwards;
}

.sub-options-group.active {
  display: grid;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-detail-field {
  grid-column: span 2;
  margin-top: 1rem;
  display: none;
}

.custom-detail-field.active {
  display: block;
}

.custom-detail-field label {
  font-size: 0.65rem;
  margin-bottom: 0.5rem;
}

/* Modal Scrollbar */
.modal-content::-webkit-scrollbar {
  width: 0;
}

/* --- ADMIN DASHBOARD GLOBAL --- */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg-primary);
}

.admin-layout * {
  cursor: auto !important;
}

.admin-layout main {
  opacity: 1 !important;
}

/* Sidebar */
.admin-sidebar {
  width: 250px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar nav {
  position: static;
  width: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.admin-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 3rem;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s;
}

.admin-nav-item i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

/* Main Content */
.admin-main {
  flex: 1;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.admin-page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 800;
}

.admin-user-badge {
  background: var(--bg-primary);
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* --- Admin Dashboard Layout & Responsive Nav --- */
.mobile-admin-bar {
  display: none; /* Hidden on desktop */
  padding: 1rem 1.5rem;
  background: #000;
  color: #fff;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1001;
}

.mobile-admin-logo {
  font-family: var(--font-heading);
  font-weight: 950;
  letter-spacing: 2px;
}

.admin-toggler {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.admin-sidebar {
  width: 280px;
  background: #000;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.5rem;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
}

.admin-logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 2px;
}

.admin-close-btn {
  display: none; /* Only mobile */
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  cursor: pointer;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s var(--transition);
  margin-bottom: 0.3rem;
}

.admin-nav-item i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-nav-item.active i {
  color: var(--cms-accent);
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  z-index: 999;
}

/* --- Administrative Architecture: Responsive Logic --- */
@media (max-width: 1280px) {
  .admin-sidebar {
    width: 240px; /* Condensed for tablets */
    padding: 2rem 1rem;
  }
  .admin-nav-item {
    padding: 0.9rem 1.2rem;
    gap: 1rem;
  }
}

@media (max-width: 1024px) {
  .admin-layout {
    display: flex;
    flex-direction: column;
  }
  .mobile-admin-bar {
    display: flex;
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    transform: translateX(-100%);
  }

  .admin-sidebar.mobile-active {
    transform: translateX(0);
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5);
  }

  .admin-close-btn {
    display: block;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .admin-main {
    padding: 1.5rem;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .admin-main {
    padding: 1rem;
  }
}

.admin-user-avatar {
  width: 32px;
  height: 32px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

/* Base Cards */
.admin-card {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-bottom: 0;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.admin-card-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.admin-card:hover {
  transform: translateY(-3px);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;

  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.admin-stat-card {
  background: var(--bg-primary);
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.admin-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0.3rem 0;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  flex: 1;
  margin-top: 1.5rem;
}

.minimal-list {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1;
}

.minimal-item {
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.minimal-item:last-child {
  border-bottom: none;
}

/* Alert Indicator */
.new-indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.new-indicator::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #ff3b30;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 59, 48, 0.5);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 59, 48, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

/* Services: High-Contrast Blueprint */

.services-modern-hero {
  padding: 180px 0 100px;
  color: #000000;
}

.services-hero-branding h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.9;
  font-weight: 900;
  margin: 1.5rem 0 3rem;
  letter-spacing: -0.04em;
  color: #131313;
}

.hero-lead {
  font-size: 1.25rem;
  max-width: 600px;
  line-height: 1.6;
  opacity: 0.8; /* Increased opacity for visibility */
  font-weight: 500;
  color: #040404;
}

.blueprint-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 6rem;
}

.blueprint-card {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.03); /* Slightly lighter */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  color: #000000;
}

.blueprint-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(-10px);
}

.bp-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.bp-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #020202;
}

.bp-content p {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.7; /* Increased opacity */
  color: #000000;
}

/* Service Stack Details */
.service-stack-details {
  background: #000000;
  padding: 150px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #363535;
}

.service-stack-grid {
  display: flex;
  flex-direction: column;
}

.stack-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  color: #ffffff;
}

.stack-item:hover {
  padding-left: 2rem;
}

.stack-numeric {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 2px;
  margin-top: 0.8rem;
}

.stack-info h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.stack-info p {
  font-size: 1.15rem;
  max-width: 800px;
  line-height: 1.7;
  opacity: 0.6;
  margin-bottom: 3rem;
  color: #ffffff;
}

.stack-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stack-tags span {
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .blueprint-capabilities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .stack-item {
    grid-template-columns: 1fr;
    padding: 3rem 0;
  }

  .stack-numeric {
    margin-bottom: 1.5rem;
  }

  .stack-info h2 {
    font-size: 1.8rem;
  }
}

/* Footer Spotlight UI */
.footer-cta {
  position: relative;
  padding: 180px 0;
  background: #000000;
  overflow: hidden;
}

.footer-marquee-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  pointer-events: none;
  z-index: 1;
}

.marquee-layer {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 10vw;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
}

.marquee-layer span {
  padding-right: 4rem;
}

.marquee-1 {
  animation: marquee-anim 60s linear infinite;
}
.marquee-2 {
  animation: marquee-anim 45s linear infinite reverse;
}
.marquee-3 {
  animation: marquee-anim 75s linear infinite;
}

@keyframes marquee-anim {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.spotlight-lens {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.footer-cta:hover .spotlight-lens {
  opacity: 1;
}

.footer-cta-content {
  position: relative;
  z-index: 5;
  text-align: center;
}

.cta-box {
  display: inline-block;
  padding: 4rem 6rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.cta-box span {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 4px;
  opacity: 0.5;
  display: block;
  margin-bottom: 2rem;
}

.cta-box h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-family: var(--font-heading);
  margin-bottom: 3rem;
  letter-spacing: -2px;
}

.transmit-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 3rem;
  background: white;
  color: black;
  border-radius: 100px;
  font-weight: 950;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: all 0.4s var(--transition);
}

.transmit-btn:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.05);
}

.footer-bg-text {
  position: absolute;
  bottom: -5%;
  left: 0;
  transform: translateX(-50%);
  font-size: 16vw;
  font-weight: 950;
  color: rgba(255, 255, 255, 0.02);
  line-height: 0.8;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .cta-box {
    padding: 3rem 2rem;
  }
}

/* Feedback Modal */
.feedback-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  z-index: 11000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s var(--transition);
}

.feedback-modal.active {
  display: flex;
  opacity: 1;
}

.feedback-modal-content {
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: 8px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: translateY(40px) scale(0.9);
  transition: transform 0.6s var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.feedback-modal.active .feedback-modal-content {
  transform: translateY(0) scale(1);
}

.feedback-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feedback-icon.error {
  background: #ff4444;
}

.feedback-modal h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.feedback-modal p {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.feedback-btn {
  width: 100%;
  padding: 1.2rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: none;
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.feedback-btn:hover {
  background: var(--accent);
  transform: translateY(-5px);
}

/* --- YOUR VOICE SECTION --- */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.8rem;
  font-size: 2rem;
  /* Massive stars */
}

.star-rating input {
  display: none;
}

.star-rating label {
  cursor: pointer;
  color: #ccc;
  font-size: 2rem;
  /* Ensuring inheritance */
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Advanced 1.5 star default state */
.star-rating label[for="star1"] {
  color: var(--accent);
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--accent);
}

/* Redesigned Contact Section CSS */
.branding-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-card-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2.2rem;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.contact-card-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 95, 31, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

.contact-card-glass:hover::before {
  opacity: 1;
}

.contact-card-glass:hover {
  border-color: rgba(255, 95, 31, 0.25);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 95, 31, 0.03);
}

.card-icon {
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 95, 31, 0.08);
  color: var(--accent);
  border: 1px solid rgba(255, 95, 31, 0.15);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card-glass .detail-label {
  margin-bottom: 0.6rem;
  font-size: 0.55rem;
  letter-spacing: 2px;
  font-weight: 900;
}

.contact-card-glass .detail-link,
.contact-card-glass .detail-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  word-break: break-all;
}

.phones-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-social-section {
  margin-top: 3.5rem;
}

.contact-social-section .detail-label {
  margin-bottom: 1.2rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-pill:hover {
  background: rgba(255, 95, 31, 0.08);
  border-color: var(--accent);
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 95, 31, 0.1);
}

.interactive-selector {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.selector-label {
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.service-chips,
.budget-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.service-chips .chip,
.budget-chips .chip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.service-chips .chip:hover,
.budget-chips .chip:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translateY(-2px);
}

.service-chips .chip.active,
.budget-chips .chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 10px 25px rgba(255, 95, 31, 0.3);
}

@media (max-width: 768px) {
  .branding-details-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Section Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  z-index: 5; /* Keep on top of the curtains (z-index 2) */
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.8s ease-in-out 0.6s,
    visibility 0.8s ease-in-out 0.6s; /* delayed until loader fades */
}

body.page-loaded .hero-scroll-indicator {
  opacity: 0.85;
}

.hero-scroll-indicator span {
  color: #ff3c00;
  mix-blend-mode: difference;
  font-size: clamp(0.55rem, 1.5vw, 0.65rem);
  font-weight: 900;
  letter-spacing: 4px;
  animation: textPulse 3s ease-in-out infinite;
  text-transform: uppercase;
}

@keyframes textPulse {
  0%,
  100% {
    opacity: 0.65;
    letter-spacing: 3.5px;
  }
  50% {
    opacity: 1;
    letter-spacing: 4.5px;
  }
}

/* Unique High-Tech Rotating Radar & Pulse Line */
.tech-scroll-container {
  width: 60px;
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-ring {
  position: absolute;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.tech-ring.outer-ring {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--accent); /* Exact theme orange */
  border-left-color: transparent;
  border-right-color: transparent;
  animation: rotateCW 7s linear infinite;
  box-shadow: 0 0 10px rgba(255, 95, 31, 0.15);
}

.tech-ring.inner-ring {
  width: 38px;
  height: 38px;
  border: 1px dashed rgba(255, 255, 255, 0.7);
  mix-blend-mode: difference;
  animation: rotateCCW 4.5s linear infinite;
}

.tech-arrow {
  position: absolute;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  animation: bounceArrow 2s ease-in-out infinite;
}

.tech-arrow svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 4px var(--accent));
}

.tech-pulse-line {
  position: absolute;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  height: 35px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  mix-blend-mode: difference;
  overflow: hidden;
}

.tech-pulse-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: linePulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes rotateCW {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateCCW {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes bounceArrow {
  0%,
  100% {
    transform: translateY(-3px);
    opacity: 0.65;
  }
  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}

@keyframes linePulse {
  0% {
    top: -50%;
  }
  100% {
    top: 100%;
  }
}

@media (max-width: 768px) {
  .hero-scroll-indicator {
    bottom: 2rem;
    gap: 0.8rem;
  }
  .tech-scroll-container {
    width: 50px;
    height: 50px;
  }
  .tech-ring.outer-ring {
    width: 42px;
    height: 42px;
  }
  .tech-ring.inner-ring {
    width: 30px;
    height: 30px;
  }
  .tech-pulse-line {
    top: 48px;
    height: 25px;
  }
}

/* Premium Tech Image Hover Animations */
.img-reveal-wrapper,
.project-img,
.studio-media-frame {
  position: relative !important;
  overflow: hidden !important;
  background: #000 !important;
}

.img-reveal-wrapper img,
.project-img img,
.studio-media-frame img {
  filter: grayscale(1) brightness(0.85) contrast(1.15);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-reveal-wrapper:hover img,
.project-img:hover img,
.studio-media-frame:hover img {
  filter: grayscale(0) brightness(1.05) contrast(1.02);
}

/* Spotlight glow following the cursor */
.img-reveal-wrapper::before,
.project-img::before,
.studio-media-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle 160px at var(--x, 50%) var(--y, 50%),
    rgba(255, 95, 31, 0.22) 0%,
    rgba(255, 95, 31, 0.08) 50%,
    transparent 100%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: screen;
  transition: opacity 0.4s ease;
}

/* Digital scanlines + horizontal sweeping laser line overlay */
.img-reveal-wrapper::after,
.project-img::after,
.studio-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
        /* Fine vertical grid lines (very subtle) */
    linear-gradient(90deg, rgba(255, 95, 31, 0.02) 1px, transparent 1px),
    /* Horizontal scanlines pattern */
    repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.22) 0px,
        rgba(0, 0, 0, 0.22) 1px,
        transparent 1px,
        transparent 3px
      ),
    /* Sweeping digital laser line */
    linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 95, 31, 0) 10%,
        rgba(255, 95, 31, 0.12) 18%,
        rgba(255, 95, 31, 0.25) 20%,
        rgba(255, 95, 31, 0.12) 22%,
        rgba(255, 95, 31, 0) 30%,
        transparent 100%
      );
  background-size:
    15px 100%,
    100% 3px,
    100% 300%;
  background-position:
    0 0,
    0 0,
    0 0;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.4s ease;
}

/* Hover effects activation */
.img-reveal-wrapper:hover::before,
.project-img:hover::before,
.studio-media-frame:hover::before {
  opacity: 1;
}

.img-reveal-wrapper:hover::after,
.project-img:hover::after,
.studio-media-frame:hover::after {
  opacity: 1;
  animation: techSweepEffect 4.5s linear infinite;
}

/* Sweeping laser animation */
@keyframes techSweepEffect {
  0% {
    background-position:
      0 0,
      0 0,
      0 -150%;
  }
  100% {
    background-position:
      0 0,
      0 0,
      0 150%;
  }
}

/* Pricing Header and Mobile Scroll Hint */
.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 2rem;
}

.pricing-header .subheading {
  margin-bottom: 0 !important;
}

.scroll-hint-mobile {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.scroll-hint-mobile.faded {
  opacity: 0;
  visibility: hidden;
}

.swipe-arrow {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  animation: swipeArrowKeyframe 1.6s infinite ease-in-out;
}

@keyframes swipeArrowKeyframe {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}
