@import url("https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --base-100: #000000;
  --base-200: #000000;
  --base-300: #f5f5f5;
}

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

body {
  font-family: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Hide any notification badges or browser extension icons */
[class*="notification"],
[class*="badge"],
[id*="notification"],
[id*="badge"],
[class*="issue"],
[id*="issue"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Hide Next.js development indicators */
nextjs-portal,
#__next-build-watcher,
.__next-dev-overlay,
[data-nextjs-dialog],
[data-nextjs-toast] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

h1, h2, h3, h4, h5, h6, p, span, div {
  font-family: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.site-logo {
  position: fixed;
  top: 46px;
  left: 2rem;
  z-index: 10000;
  mix-blend-mode: difference;
  will-change: transform;
  opacity: 0;
}

.site-logo h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.05em;
}

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

.container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  padding: 1rem;
  background-color: var(--base-100);
}

.hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4rem;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: scale(1.5);
  will-change: transform;
}

.hero-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide mobile video on desktop */
.hero-img-mobile {
  display: none;
}

.hero-content {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 2rem;
  color: var(--base-300);
}

.header {
  overflow: visible;
  padding: 3rem 0;
  min-height: 16rem;
  display: flex;
  align-items: flex-start;
}

.header h1 {
  font-size: 12rem;
  font-weight: 500;
  letter-spacing: -0.25rem;
  line-height: 1.2;
}

.hero-footer {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 2rem;
  width: 35%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-footer p {
  width: 100%;
  text-align: right;
  opacity: 0.5;
}

/* Hamburger Menu */
.hamburger-menu {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10000;
  will-change: transform, opacity;
  opacity: 0;
  mix-blend-mode: normal;
}

.hamburger-btn {
  width: 40px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: none;
}

.hamburger-btn:hover {
  opacity: 1;
}

.hamburger-btn span {
  width: 32px;
  height: 4px;
  background: #ffffff;
  display: block;
  transition: background 0.3s ease, transform 0.3s ease;
  border-radius: 2px;
}

/* Dark section - white icon */
.hamburger-menu.on-dark .hamburger-btn span {
  background: #ffffff;
}

/* Light section - black icon */
.hamburger-menu.on-light .hamburger-btn span {
  background: #000000;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Full-Screen Hamburger Menu */
.hamburger-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: none;
  pointer-events: none;
}

.hamburger-fullscreen.active {
  display: block;
  pointer-events: all;
}

.hamburger-fullscreen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

.hamburger-fullscreen-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  opacity: 0;
}

.hamburger-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1400px;
  width: 100%;
  height: 70%;
}

.hamburger-card {
  position: relative;
  background: #ffffff;
  border-radius: 2rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.076, 1), box-shadow 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hamburger-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.hamburger-card:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

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

.hamburger-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  z-index: 2;
}

.hamburger-card-inner h2 {
  font-size: 4rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.076, 1), color 0.3s ease;
}

.hamburger-card:hover .hamburger-card-inner h2 {
  transform: scale(1.1);
  color: #1a1a1a;
}

.hamburger-card-inner p {
  font-size: 1.5rem;
  font-weight: 400;
  color: #666666;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.65, 0, 0.076, 1);
}

.hamburger-card:hover .hamburger-card-inner p {
  opacity: 1;
  transform: translateY(5px);
}

/* Tablet/Mobile Responsive */
@media (max-width: 1024px) {
  .hamburger-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
    height: auto;
  }

  .hamburger-card {
    min-height: 300px;
  }

  .hamburger-card-inner h2 {
    font-size: 3rem;
  }

  .hamburger-card-inner p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hamburger-fullscreen-content {
    padding: 2rem 1.5rem;
  }

  .hamburger-cards {
    gap: 1.5rem;
  }

  .hamburger-card {
    min-height: 250px;
    border-radius: 1.5rem;
  }

  .hamburger-card-inner {
    padding: 2rem;
  }

  .hamburger-card-inner h2 {
    font-size: 2.5rem;
  }

  .hamburger-card-inner p {
    font-size: 1rem;
  }
}

.menu-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.btn {
  position: relative;
  display: inline-block;
  width: auto;
  min-width: 10rem;
  height: auto;
  padding: 0.15rem;
  outline: none;
  border: none;
  font-size: 0.9rem;
  background: var(--base-300);
  border-radius: 4rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.btn .circle {
  position: relative;
  display: block;
  margin: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--base-100);
  border-radius: 4rem;
  font-size: 1.5rem;
  overflow: hidden;
  transition: width 0.5s cubic-bezier(0.65, 0, 0.076, 1);
}

.btn .icon {
  position: absolute;
  top: 0.65rem;
  left: 0.7rem;
  color: var(--base-300);
  font-size: 1.2rem;
  transform: translateX(0);
  transition: all 0.5s cubic-bezier(0.65, 0, 0.076, 1);
  will-change: transform;
  z-index: 1;
}

.btn .button-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 0 0 1.25rem;
  text-align: center;
  color: var(--base-100);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.5s cubic-bezier(0.65, 0, 0.076, 1);
}

.btn:hover .circle {
  width: 100%;
}

.btn:hover .icon {
  transform: translate(0.5rem);
}

.btn:hover .button-text {
  color: var(--base-300);
}

.preloader-progress,
.preloader-mask,
.preloader-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  pointer-events: none;
}

.preloader-progress {
  background-color: var(--base-200);
  z-index: 1;
  will-change: opacity;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 55%;
  height: 100%;
  background-color: var(--base-300);
  transform: translateX(-50%) scaleX(0);
  will-change: transform;
  transform-origin: left;
}

.preloader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  mix-blend-mode: difference;
  z-index: 2;
}

.preloader-logo h1 {
  position: relative;
  color: var(--base-300);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}

.preloader-mask {
  background-color: var(--base-100);
  -webkit-mask: linear-gradient(var(--base-300), var(--base-300)),
    url("/mask.svg") center/50% no-repeat;
  -webkit-mask-composite: subtract;
  mask: linear-gradient(var(--base-300), var(--base-300)),
    url("/mask.svg") center/50% no-repeat;
  mask-composite: subtract;
  will-change: transform;
  z-index: 1;
}

.preloader-content {
  z-index: 2;
}

.preloader-footer {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translate(-50%);
  width: 30%;
  text-align: center;
}

.preloader-footer p {
  color: var(--base-300);
  opacity: 0.5;
}

.line,
.char {
  position: relative;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  will-change: transform;
}

/* Second Section */
.second-section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  background-color: var(--base-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.second-section-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.reveal-text {
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--base-300);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(50px);
  will-change: transform, opacity;
}

/* Sticky Cards Section */
.sticky-cards {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--base-100);
}

.sticky-card {
  position: relative;
  width: 100%;
  height: 100svh;
  background-color: var(--base-300);
  color: var(--base-100);
  padding: 1.5rem;
  display: flex;
  gap: 3rem;
  will-change: transform;
}

.sticky-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: var(--after-opacity, 0);
  transition: opacity 0.1s ease;
  pointer-events: none;
  z-index: 2;
}

.sticky-card-index {
  flex: 2;
  font-size: 1.5rem;
  font-weight: 300;
}

.sticky-card-content {
  flex: 4;
  padding-top: 1.5rem;
}

.sticky-card-content-wrapper {
  width: 75%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sticky-card-header {
  width: 75%;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.1;
}

.sticky-card-img {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
}

.sticky-card-img img {
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
}

.sticky-card-copy {
  display: flex;
  gap: 1.5rem;
}

.sticky-card-copy-title {
  flex: 2;
  font-size: 0.9rem;
  line-height: 1.6;
}

.sticky-card-copy-description {
  flex: 4;
  font-size: 1rem;
  line-height: 1.6;
}

.sticky-card-copy-title p {
  text-transform: uppercase;
  font-weight: 650;
  opacity: 0.7;
}

/* 3D Gallery Spotlight Section */
.gallery-spotlight {
  position: relative;
  width: 100%;
  height: 100svh;
  background-color: var(--base-100);
  color: var(--base-300);
  overflow: hidden;
}

.spotlight-images,
.spotlight-cover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 2000px;
}

.spotlight-cover-img img {
  border-radius: 2rem;
  overflow: hidden;
}

.img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, -1000px);
  width: 500px;
  height: 350px;
  will-change: transform;
  border-radius: 1rem;
  overflow: hidden;
}

.spotlight-cover-img {
  will-change: transform;
}

.spotlight-intro-header,
.spotlight-outro-header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 50%;
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.spotlight-intro-header {
  z-index: 1;
}

.spotlight-outro-header {
  z-index: 2;
}

/* Companies Section */
.companies-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

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

.companies-header h1 {
  font-size: 12rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 1rem;
  color: #ffffff;
}

.companies-header p {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  opacity: 0.8;
  text-transform: uppercase;
  color: #ffffff;
}

.companies-carousel {
  width: 100%;
  overflow: hidden;
  margin-bottom: 3rem;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.carousel-track {
  display: flex;
  gap: 4rem;
  animation: scroll 40s linear infinite;
  will-change: transform;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 2rem));
  }
}

.logo-item {
  flex-shrink: 0;
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.logo-item:hover img {
  opacity: 1;
}

.companies-footer {
  text-align: center;
}

.companies-footer p {
  font-size: 2rem;
  line-height: 1.8;
  color: #ffffff;
  opacity: 1;
}

.companies-footer strong {
  font-weight: 700;
}

.companies-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: calc(3rem + 30px);
}

.companies-scroll-indicator p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.companies-scroll-indicator ion-icon {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Sticky Cards Section */
.intro-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 4rem 2rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.outro-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 4rem 2rem;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.outro-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.outro-image img,
.outro-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.outro-content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
  z-index: 1;
}

.outro-btn .btn {
  background-color: #ffffff;
  padding: 0.3rem;
  transform: scale(1.5);
  min-width: 18rem;
}

.outro-btn .btn:hover {
  transform: scale(1.55);
}

.outro-btn .btn .circle {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #000000;
}

.outro-btn .btn:hover .circle {
  width: 100%;
}

.outro-btn .btn .icon {
  top: 0.95rem;
  left: 1rem;
  color: #ffffff;
  font-size: 1.5rem;
  z-index: 2;
}

.outro-btn .btn:hover .icon {
  transform: translate(0.5rem);
}

.outro-btn .btn .button-text {
  font-size: 1.2rem;
  color: #000000;
  margin-left: 1.5rem;
  z-index: 2;
}

.outro-btn .btn:hover .button-text {
  color: #ffffff;
}

.intro-section h1 {
  font-family: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 3rem;
  color: #000000;
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

.intro-strategy {
  font-family: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(-110px);
}

.outro-section h1 {
  font-family: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 6rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0;
  color: #ffffff;
}

.cards-section {
  background-color: #ffffff;
}

.card {
  position: relative;
}

.card-inner {
  position: relative;
  will-change: transform;
  width: 100%;
  height: 100%;
  padding: 4rem 2rem;
  display: flex;
  gap: 4rem;
  align-items: center;
  border-radius: 2rem;
}

.card-content {
  flex: 3;
}

.card-content h1 {
  font-family: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 2rem;
  text-transform: capitalize;
  position: relative;
  z-index: 10;
}

.card-content p {
  font-family: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
}

.card-img {
  flex: 1;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
}

.card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#card-1 .card-inner {
  background-color: #000000;
  color: #ffffff;
}

#card-1 .card-content h1,
#card-1 .card-content p {
  color: #ffffff;
}

#card-2 .card-inner {
  background-color: #ffffff;
}

#card-2 .card-content h1,
#card-2 .card-content p {
  color: #000000;
}

#card-3 .card-inner {
  background-color: #000000;
  color: #ffffff;
}

#card-3 .card-content h1,
#card-3 .card-content p {
  color: #ffffff;
}

#card-4 .card-inner {
  background-color: #ffffff;
  color: #000000;
}

#card-4 .card-content h1,
#card-4 .card-content p {
  color: #000000;
}

@media (max-width: 1000px) {
  .companies-header h1 {
    font-size: 4rem;
  }

  .companies-header p {
    font-size: 0.65rem;
  }

  .logo-item {
    width: 100px;
    height: 60px;
  }

  .carousel-track {
    gap: 2rem;
  }

  .companies-footer p {
    font-size: 0.8rem;
  }
}

@media (max-width: 1000px) {
  .img {
    width: 300px;
    height: 210px;
  }

  .spotlight-intro-header,
  .spotlight-outro-header {
    width: 90%;
    font-size: 2rem;
    padding: 2rem;
  }
}

@media (max-width: 800px) {
  .reveal-text {
    font-size: 2rem;
  }

  .sticky-card {
    flex-direction: column;
    gap: 0;
    padding: 1rem;
  }

  .sticky-card-content {
    padding-top: 0.5rem;
  }

  .sticky-card-content-wrapper {
    width: 100%;
  }

  .sticky-card-header {
    width: 100%;
    font-size: 2rem;
  }

  .sticky-card-copy {
    flex-direction: column;
    gap: 0.5rem;
  }

  .sticky-card-index {
    flex: 1;
    font-size: 1.2rem;
  }

  .hero-inner {
    border-radius: 3rem;
  }

  .header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    font-size: 4rem;
    letter-spacing: 0;
  }

  .hero-footer {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .hero-footer h3,
  .hero-footer p {
    width: 100%;
    text-align: left;
  }

  .hero-footer h3 {
    font-size: 1.25rem;
  }

  .menu-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    transform: translateX(0%);
  }

  .preloader-progress-bar {
    left: 0%;
    width: 100%;
    transform: translateX(0%) scaleX(0);
  }

  .preloader-logo h1 {
    font-size: 2rem;
  }

  .preloader-mask {
    -webkit-mask: linear-gradient(var(--base-300), var(--base-300)),
      url("/mask.svg") center/90% no-repeat;
    -webkit-mask-composite: subtract;
    mask: linear-gradient(#fff, #fff), url("/mask.svg") center/90% no-repeat;
    mask-composite: subtract;
  }

  .preloader-footer {
    width: 75%;
  }
}

/* Contact Modal */
/* Portfolio Modal */
.portfolio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: none;
  pointer-events: none;
}

.portfolio-modal.active {
  display: block;
  pointer-events: all;
}

.portfolio-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

.portfolio-modal-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.portfolio-modal-logo {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 10001;
}

.portfolio-modal-logo h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.portfolio-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  backdrop-filter: blur(10px);
}

.portfolio-modal-close:hover {
  background: #ffffff;
  transform: rotate(90deg);
}

.portfolio-modal-close span {
  font-size: 1.2rem;
  font-weight: 300;
  color: #ffffff;
  transition: color 0.3s ease;
}

.portfolio-modal-close:hover span {
  color: #000000;
}

.portfolio-slider-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.portfolio-slider-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Modal */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: none;
  pointer-events: none;
}

.contact-modal.active {
  display: block;
  pointer-events: all;
}

.contact-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

.contact-modal-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
}

.contact-modal-logo {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 10;
}

.contact-modal-logo h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  z-index: 10;
}

.contact-modal-close:hover {
  background: #ffffff;
  transform: rotate(90deg);
}

.contact-modal-close span {
  font-size: 1.2rem;
  font-weight: 300;
  color: #ffffff;
  transition: color 0.3s ease;
}

.contact-modal-close:hover span {
  color: #000000;
}

.contact-modal-inner {
  max-width: 900px;
  width: 100%;
  background: #ffffff;
  border-radius: 1rem;
  padding: 3rem;
  opacity: 0;
  transform: translateY(30px);
  max-height: 90vh;
  overflow-y: auto;
}

.contact-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-modal-header h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.5rem;
}

.contact-modal-header p {
  font-size: 1.1rem;
  color: #666666;
}

/* About Us Modal */
.about-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: none;
  pointer-events: none;
}

.about-modal.active {
  display: block;
  pointer-events: all;
}

.about-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}

.about-modal-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
}

.about-modal-close {
  position: absolute;
  top: 4rem;
  right: 4rem;
  width: 45px;
  height: 45px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  z-index: 10;
}

.about-modal-close:hover {
  background: #ffffff;
  transform: rotate(90deg);
}

.about-modal-close span {
  font-size: 1.2rem;
  font-weight: 300;
  color: #ffffff;
  transition: color 0.3s ease;
}

.about-modal-close:hover span {
  color: #000000;
}

.about-modal-inner {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  align-items: stretch;
  opacity: 0;
}

.about-modal-left {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-modal-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

.about-modal-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.about-modal-img.active {
  opacity: 1;
}

.about-modal-right {
  flex: 0 0 60%;
  display: flex;
  align-items: center;
  padding: 4rem;
}

.about-modal-text {
  text-align: left;
}

.about-modal-text p {
  font-family: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.about-modal-text strong {
  font-weight: 700;
}

.about-modal-text em {
  font-style: italic;
  font-family: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.about-modal-text p:last-child {
  margin-bottom: 0;
}

/* Tablet/iPad (1024px and below) */
@media (max-width: 1024px) {
  .intro-section h1 {
    font-size: 3rem;
  }

  .intro-strategy {
    font-size: 4rem;
    transform: translateY(-80px);
  }

  .card-inner {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 1.5rem;
  }

  .card-content h1 {
    font-size: 3rem;
  }

  .card-content p {
    font-size: 1.1rem;
  }

  .outro-section h1 {
    font-size: 4.5rem;
  }

  .outro-btn .btn {
    transform: scale(1.3);
    min-width: 16rem;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  /* Prevent word breaking */
  * {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
  }

  html {
    overflow-x: hidden;
    background-color: #000000;
    width: 100%;
    height: 100%;
  }

  body {
    overflow-x: hidden;
    background-color: #000000;
    width: 100%;
    min-height: 100vh;
    position: relative;
  }

  /* Show preloader on mobile */
  .preloader-mask,
  .preloader-progress,
  .preloader-content {
    display: block;
  }

  .site-logo h2 {
    font-size: 2rem;
  }

  .site-logo {
    top: 2rem;
    left: 1.5rem;
  }

  .contact-btn {
    top: 1.5rem;
    right: 1.5rem;
  }

  .btn {
    min-width: 8rem;
    padding: 0.1rem;
  }

  .btn .circle {
    width: 2rem;
    height: 2rem;
  }

  .btn .icon {
    top: 0.5rem;
    left: 0.5rem;
    font-size: 1rem;
  }

  .btn .button-text {
    font-size: 0.8rem;
    margin-left: 1rem;
    white-space: nowrap;
  }

  .hero {
    padding: 0;
  }

  .hero-inner {
    border-radius: 0;
  }

  .gallery-spotlight {
    background-color: #000000;
    min-height: 100vh;
  }

  .spotlight-outro-header h1 {
    color: #000000 !important;
  }

  /* Show mobile vertical video, hide desktop horizontal video */
  .hero-img-desktop {
    display: none;
  }

  .hero-img-mobile {
    display: block;
    transform: scale(1) !important;
  }

  .hero-img {
    transform: scale(1) !important;
  }

  .hero-footer {
    width: 90%;
    padding: 1.5rem;
  }

  .hero-footer p {
    font-size: 0.9rem;
  }

  .header h1 {
    white-space: pre-line;
    line-height: 1.1 !important;
    font-size: 5rem !important;
  }

  .menu-btn {
    left: 50%;
    transform: translateX(-50%);
    bottom: auto;
    top: 50%;
    margin-top: 8rem;
  }

  .intro-section {
    padding: 3rem 1.5rem;
  }

  .intro-section h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .intro-strategy {
    font-size: 2.5rem;
    transform: translateY(-60px);
    padding: 0 1rem;
    word-break: keep-all;
    overflow-wrap: normal;
    word-wrap: normal;
    white-space: normal;
    width: 95%;
    hyphens: none;
  }

  .card-inner {
    padding: 2rem 1rem;
    gap: 1.5rem;
    border-radius: 0;
  }

  .card-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .card-content p {
    font-size: 1rem;
  }

  .card-img {
    width: 100%;
    min-height: 200px;
  }

  /* Gallery Spotlight Mobile - remove rounded corners and change image */
  .img {
    border-radius: 0;
  }

  .spotlight-cover-img img {
    border-radius: 0;
    content: url('/infinite-scroll/21.jpg');
  }

  .outro-section {
    padding: 3rem 1.5rem;
  }

  .outro-section h1 {
    font-size: 3rem;
  }

  .outro-btn .btn {
    transform: scale(1.2);
    min-width: 14rem;
  }

  .companies-scroll-indicator {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
  }

  .companies-scroll-indicator p {
    font-size: 0.75rem;
  }

  .companies-scroll-indicator ion-icon {
    font-size: 1rem;
  }

  /* Spotlight Headers Mobile */
  .spotlight-intro-header {
    width: 90% !important;
    font-size: 1.3rem !important;
    text-align: center;
    padding: 0 1rem;
  }

  .spotlight-outro-header {
    width: 90% !important;
    font-size: 1.3rem !important;
    text-align: center;
    padding: 0 1rem;
  }

  /* Companies Section Mobile */
  .companies-section {
    padding: 6rem 1rem !important;
  }

  .companies-header {
    margin-bottom: 6rem !important;
  }

  .companies-header h1 {
    font-size: 14rem !important;
    line-height: 0.9 !important;
  }

  .companies-header p {
    font-size: 2.5rem !important;
    max-width: 90%;
    margin: 2rem auto 0 !important;
    line-height: 1.3 !important;
  }

  .companies-footer p {
    font-size: 3rem !important;
    line-height: 1.4 !important;
  }

  /* About Modal Mobile */
  .about-modal-content {
    padding: 0;
  }

  .about-modal-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
  }

  .about-modal-close span {
    font-size: 1rem;
  }

  .about-modal-inner {
    flex-direction: column;
    gap: 0;
    position: relative;
  }

  .about-modal-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 0;
    z-index: 1;
  }

  .about-modal-left::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
  }

  .about-modal-right {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 2rem;
    z-index: 2;
  }

  .about-modal-image-container {
    width: 100%;
    height: 100%;
  }

  .about-modal-text p {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    margin-bottom: 1.5rem;
    color: #ffffff;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .site-logo h2 {
    font-size: 1.5rem;
  }

  .header h1 {
    font-size: 3rem !important;
  }

  .btn {
    min-width: 7rem;
  }

  .btn .button-text {
    font-size: 0.75rem;
  }

  .intro-section h1 {
    font-size: 1.5rem;
  }

  .intro-strategy {
    font-size: 2rem;
    transform: translateY(-40px);
  }

  .card-content h1 {
    font-size: 1.5rem;
  }

  .card-content p {
    font-size: 0.9rem;
  }

  .outro-section h1 {
    font-size: 2.5rem;
  }

  .outro-btn .btn {
    transform: scale(1);
    min-width: 12rem;
  }

  .outro-btn .btn .circle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .outro-btn .btn .icon {
    top: 0.65rem;
    left: 0.7rem;
    font-size: 1.2rem;
  }

  .outro-btn .btn .button-text {
    font-size: 1rem;
  }

  .companies-header h1 {
    font-size: 2.5rem !important;
  }

  .companies-header p {
    font-size: 0.6rem !important;
  }

  .companies-footer p {
    font-size: 0.7rem !important;
  }

  .about-modal-right {
    padding: 1rem;
  }

  .about-modal-text p {
    font-size: clamp(0.8rem, 3vw, 1rem);
    margin-bottom: 1rem;
  }

  /* Portfolio Modal Mobile */
  .portfolio-modal-logo {
    top: 1.5rem;
    left: 1.5rem;
  }

  .portfolio-modal-logo h2 {
    font-size: 2rem;
  }

  /* Contact Modal Mobile */
  .contact-modal-content {
    padding: 1rem;
  }

  .contact-modal-logo {
    top: 1rem;
    left: 1rem;
  }

  .contact-modal-logo h2 {
    font-size: 2rem;
  }

  .contact-modal-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .contact-modal-close span {
    font-size: 1rem;
  }

  .contact-modal-inner {
    padding: 1.5rem;
    max-height: 85vh;
  }

  .contact-modal-header h2 {
    font-size: 1.8rem;
  }

  .contact-modal-header p {
    font-size: 0.95rem;
  }

  .calendly-inline-widget {
    min-height: 600px !important;
    height: 600px !important;
  }
}
