/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
  display: none;
}

html, body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  max-width: 100vw;
  overflow-x: clip;
}

body {
  background: #030303;
  font-family: 'Inter', sans-serif;
  overflow-x: clip;
  color: #e0e0e0;
}

#webGLApp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

body.loading {
  overflow: hidden;
}

/* ===== LOADER SECTION ===== */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-container.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(1.5); /* Scale up as requested */
}

.loader-logo {
  width: 120px;
  height: auto;
  filter: invert(1) brightness(2); /* Ensure visibility on black background */
  opacity: 0;
  
  /* Left-to-right fade reveal */
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
  -webkit-mask-size: 300% 100%;
  mask-size: 300% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  
  animation: 
    revealLogo 3s cubic-bezier(0.4, 0, 0.2, 1) forwards,
    pulseLogo 2.5s ease-in-out 3s infinite;
}

@keyframes revealLogo {
  0% {
    opacity: 0;
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
    transform: scale(1);
  }
}

@keyframes pulseLogo {
  0%, 100% {
    opacity: 1;
    filter: invert(1) brightness(2) drop-shadow(0 0 0px rgba(255,255,255,0));
  }
  50% {
    opacity: 0.8;
    filter: invert(1) brightness(2.5) drop-shadow(0 0 15px rgba(255,255,255,0.3));
  }
}

/* ===== MAIN CONTENT ===== */
.main-content {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.main-content.visible {
  opacity: 1;
}

/* Glass overlay */
.glass-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(80px) saturate(1.8);
  -webkit-backdrop-filter: blur(80px) saturate(1.8);
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

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

/* ===== HEADER ===== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: transparent;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 56rem;
  margin: 3rem auto;
  padding: 1rem 4rem;
}

.nav-left {
  display: flex;
}

.nav-right {
  justify-self: end;
  display: flex;
  gap: 1.5rem;
}

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-text {
  font-weight: 700;
  text-transform: lowercase;
  font-size: 3.6rem;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}

.nav-link {
  position: relative;
  font-size: 1.6rem;
  font-weight: 500;
  color: #cccccc;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.6;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  position: relative;
  z-index: 10;
}

/* ===== VIDEO CONTAINER ===== */
#showreel {
  padding: 0 !important;
  margin-top: -38vh !important;
  width: 100%;
  max-width: 100vw !important;
  position: relative;
  z-index: 20;
}

#videoCard, .video-container {
  position: relative;
  --pointer-°: 0deg;
  --pointer-d: 0;
  width: 85%;
  margin: 0 auto;
  border-radius: 24px;
  border: none !important;
  outline: none !important;
  overflow: hidden;
  box-shadow: 0 25px 80px -20px rgba(9, 47, 77, 0.6);
  background: transparent;
}

.video-container .glow {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(0, 9, 106, 0.4) 0%,
    rgba(9, 47, 77, 0.4) 33%,
    rgba(26, 107, 160, 0.4) 66%,
    transparent 100%
  );
  filter: blur(60px);
  transform: 
    translate(
      calc(cos(var(--pointer-°)) * var(--pointer-d) * 1%),
      calc(sin(var(--pointer-°)) * var(--pointer-d) * 1%)
    )
    scale(1.2);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.video-container:hover .glow {
  opacity: 1;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== MARQUEE ===== */
.marquee-container {
  overflow: hidden;
  padding: 5rem 0;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

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

.marquee span {
  font-size: 2rem;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
  padding-right: 6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.marquee span:hover {
  color: #1a6ba0;
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 10;
  padding: 6rem 2rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: #111;
}

.section-text {
  color: rgb(55, 65, 81);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* ===== GRID LAYOUTS ===== */
.container {
  max-width: 80rem;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

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

/* ===== PROJECT CARDS ===== */
.project-card {
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 9, 106, 0.2), rgba(9, 47, 77, 0.2));
  border: 1px solid rgba(9, 47, 77, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}

.project-card:hover {
  border-color: rgba(9, 47, 77, 0.6);
  transform: scale(1.02);
}

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

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #00096A, #092F4D);
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #092F4D, #1a6ba0);
  box-shadow: 0 10px 40px -10px rgba(0, 9, 106, 0.5);
}

/* ===== PLACEHOLDER BOX ===== */
.placeholder-box {
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgb(75, 85, 99);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
}

.form-input {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(9, 47, 77, 0.3);
  border-radius: 12px;
  padding: 1rem;
  color: #111;
  font-size: 1rem;
}

/* ===== TYPOGRAPHIC COVER ===== */
#hero-cover {
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 18vh 2rem 2rem;
    box-sizing: border-box;
    overflow: hidden;
}

.cover-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5vh;
}

.main-title {
    font-size: clamp(2rem, 5vw, 6rem);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #cfcfcf 0%, #ffffff 50%, #999999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: translateY(-70px);
    text-align: center;
}

.subtitle {
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-right: -0.2em; /* Offset for letter-spacing */
    color: rgba(0, 0, 0, 0.6);
}

/* ===== SCROLL DOWN BUTTON ===== */
.scroll-down {
  position: absolute;
  bottom: calc(45vh - 10px);
  left: 50%;
  margin-left: -15px;
  display: block;
  width: 30px;
  height: 50px;
  z-index: 100;
  -webkit-animation: bounce 4s infinite 2s;
  animation: bounce 4s infinite 2s;
  transition: all .2s ease-in;
}

.scroll-down:before,
.scroll-down:after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18px;
  height: 18px;
  border-left: 4px solid #cfcfcf;
  border-bottom: 4px solid #cfcfcf;
  transform: translateX(-50%) rotate(-45deg);
}

.scroll-down:after {
  top: 12px;
}

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

.transition-fade {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* ===== GLOWING MESH GRADIENT CARD ===== */
.glowing-card {
  --pointer-°: 0deg;
  --pointer-d: 0;
  position: relative;
  border-radius: 24px;
  background: rgba(245, 243, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 300px;
  justify-content: flex-end;
}

.glowing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.glowing-card .glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(
    circle at center,
    var(--color-1, #00096A) 0%,
    var(--color-2, #092F4D) 33%,
    var(--color-3, #1a6ba0) 66%,
    transparent 100%
  );
  filter: blur(40px);
  transform: 
    translate(
      calc(cos(var(--pointer-°)) * var(--pointer-d) * 0.5%),
      calc(sin(var(--pointer-°)) * var(--pointer-d) * 0.5%)
    )
    scale(1.5);
}

.glowing-card:hover .glow {
  opacity: 0.6;
}

/* Mesh Gradient Effect for Card Background */
.glowing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: 
    radial-gradient(at 0% 0%, #00096A 0px, transparent 50%),
    radial-gradient(at 100% 0%, #092F4D 0px, transparent 50%),
    radial-gradient(at 100% 100%, #1a6ba0 0px, transparent 50%),
    radial-gradient(at 0% 100%, #00096A 0px, transparent 50%);
  opacity: 0.15;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
  margin: 0;
}

.card-desc {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Why Us Grid */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Reveal Text Animation */
.reveal-text {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: all 1s ease;
}

.reveal-text.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Adjustments for Showreel */
#showreel {
    margin-top: -30vh;
    position: relative;
    z-index: 20;
    padding-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.form-input::placeholder {
  color: rgb(107, 114, 128);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}
/* ===== WORKS SECTION ===== */
.works-section {
  position: relative;
  z-index: 10;
  padding: 8rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.works-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: #ffffff;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.works-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #666666;
  text-transform: lowercase;
  letter-spacing: 0.1em;
}

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

.work-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.work-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.work-video-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.work-video-placeholder:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.work-play-icon {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.3s ease, transform 0.3s ease;
}

.work-video-placeholder:hover .work-play-icon {
  color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.work-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 0.25rem;
}

.work-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #cccccc;
}

.work-category {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #555555;
  text-transform: lowercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .works-section {
    padding: 4rem 1.5rem 3rem;
  }

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

/* ===== SECTION HEADING (shared) ===== */
.section-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 6rem);
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* ===== WHY PEAK — PARALLAX ===== */
.why-peak-parallax {
  position: relative;
  z-index: 10;
  height: 130vh; /* Scroll space for parallax */
}

.why-peak-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --- Heading: Why Peak. together --- */
.wp-stage {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1em;
  white-space: nowrap;
  will-change: transform, opacity;
}

.wp-peak {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wp-why {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* --- Text lines --- */
.wp-line {
  position: absolute;
  left: 50%;
  top: 57%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.4;
  max-width: 800px;
  width: 90%;
  opacity: 0;
  will-change: opacity, transform;
}

.wp-line em {
  font-style: normal;
  color: #1a6ba0;
}

/* ===== SCROLL END LOGO ===== */
.content-section-logo {
  min-height: 100vh;
  display: flex;
  place-items: center;
  width: 100%;
  justify-content: center;
  position: relative;
}

.scroll-end-logo {
  width: clamp(120px, 20vw, 280px);
  height: auto;
  filter: invert(1) brightness(2);
  opacity: 1;
  will-change: transform, opacity;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  z-index: 10;
  padding: 2rem 2rem 10rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #1a6ba0;
  margin-bottom: 2rem;
}

.cta-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
}

.cta-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3.5rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: 480px;
  text-align: center;
}

.cta-button {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 1.2rem 3.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px -10px rgba(0, 9, 106, 0.5);
}

/* ===== SITE FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  .header {
    padding: 0;
  }
  .nav {
    grid-template-columns: 1fr auto 1fr;
    width: 90%;
  }
  .logo {
    justify-self: center;
  }
  .nav-right {
    justify-self: end;
  }
  .hero {
    padding-top: 100px;
  }
  .section {
    padding: 4rem 1.5rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .grid-2 {
    gap: 2rem;
  }
}

/* Mobile adaptation for scroll-down button */
@media (max-width: 768px) {
  #hero-cover {
    height: auto !important;
    min-height: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 220px;
    padding-bottom: 50px;
  }
  .cover-center {
    padding-top: 0;
    margin-bottom: 0;
  }
  .main-title {
    max-width: 100%;
  }
  .scroll-down {
    display: none !important;
  }
  
  .scroll-down:before {
    width: 8px;
    height: 8px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    border-width: 0 0 2px 2px;
  }

  #showreel {
    height: auto !important;
    min-height: auto !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.mobile-br {
  display: none;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  .mobile-br {
    display: block;
  }

  .hero {
    height: auto !important;
    min-height: auto !important;
    padding: 100px 20px 50px;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1rem 2rem;
    margin: 1rem auto;
    width: 100%;
  }

  .nav-left, .nav-right, .logo {
    order: 0;
    margin-bottom: 0;
  }
  
  .nav-left {
    justify-self: start;
  }
  
  .nav-right {
    justify-self: end;
  }
  
  .logo {
    justify-self: center;
  }

  .main-title {
    font-size: clamp(2.8rem, 11.2vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.03em;
    transform: translateY(0);
  }

  #hero-cover {
    height: auto !important;
    min-height: auto !important;
    padding-top: 220px;
    padding-bottom: 50px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cover-center {
    padding-top: 0;
  }

  #showreel {
    height: auto !important;
    min-height: auto !important;
    margin-top: 0 !important;
  }

  #videoCard, .video-container {
    width: 95%;
  }

  .scroll-down {
    bottom: 5vh;
  }



  /* Why Peak parallax mobile */
  .why-peak-parallax {
    height: 120vh !important;
    min-height: auto !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .why-peak-pin {
    height: calc(100vh - 50px) !important;
    min-height: 300px !important;
    position: sticky !important;
    top: 50px !important;
    padding-top: 0 !important;
  }
  .wp-line {
    width: 90%;
    max-width: 100%;
    margin-bottom: 0;
  }
  
  .cta-section {
    height: auto !important;
    min-height: auto !important;
    padding: 50px 1rem 120px !important;
    margin-top: 0 !important;
  }

  .works-preview-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
