:root{
  --bg:#0A0A0A;
  --bg-light:#1A1A1A;
  --bg-lighter:#2A2A2A;
  --cream:#F5F3EE;
  --ink:#FFFFFF;
  --muted:#CFCFCF;
  --dim:#9B9B9B;
  --line:#3A3A3A;
  --gold:#C6A86E;
  --radius:16px;

  /* Fluid scales */
  --s-1: clamp(8px, .7vw, 12px);
  --s-2: clamp(12px, 1vw, 16px);
  --s-3: clamp(18px, 1.4vw, 22px);
  --s-4: clamp(24px, 2vw, 36px);
  --s-5: clamp(32px, 3vw, 56px);
  --s-6: clamp(48px, 5vw, 96px);

  /* Typography */
  --fs-xs: clamp(11px, .85vw, 13px);
  --fs-s: clamp(14px, 1vw, 16px);
  --fs-base: clamp(16px, 1.15vw, 19px);
  --fs-m: clamp(19px, 1.5vw, 24px);
  --fs-l: clamp(32px, 3.2vw, 52px);
  --fs-xl: clamp(42px, 5.5vw, 72px);
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
html{
  scroll-behavior:smooth;
  scroll-padding-top:80px;
}

/* FIXED: Prevent horizontal overflow */
body {
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x: hidden; /* CRITICAL FIX: Prevent horizontal scroll */
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  cursor: none; /* Hide default cursor */
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* FIXED: Cursor Styles - Completely Rewritten for Netlify Compatibility */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, background 0.3s ease;
  transform: translate(-50%, -50%);
  display: block;
  /* Remove mix-blend-mode as it can cause visibility issues */
  box-shadow: 0 0 10px rgba(198, 168, 110, 0.5); /* Add glow for better visibility */
}

.cursor.hover {
  transform: translate(-50%, -50%) scale(1.8);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.cursor.click {
  transform: translate(-50%, -50%) scale(0.6);
  background: var(--gold);
  box-shadow: 0 0 8px rgba(198, 168, 110, 0.8);
}

/* Custom cursor for buttons */
button, .hero-cta, .mobile-cta, .follow-btn, .form button,
a, .featured-projects-frame, .service-media, .editorial-image, .service-tag {
  cursor: none;
}

img,video{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit}

/* FIXED: Container with overflow protection */
.container{
  max-width:1280px;
  margin:0 auto;
  padding-inline: clamp(16px, 4vw, 40px);
  overflow: hidden; /* Prevent container overflow */
}

/* Film grain - enhanced */
.grain{
  position:fixed;inset:0;pointer-events:none;z-index:1;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.03"/></svg>');
  mix-blend-mode:soft-light;
}

/* Enhanced Glassmorphism Navigation */
nav{
  position:fixed;top:0;left:0;right:0;z-index:90;
  display:flex;align-items:center;justify-content:space-between;gap:40px;
  padding: var(--s-3) clamp(16px,4vw,40px);
  transition: all .6s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(10,10,10,0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
nav.scrolled{
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: var(--s-2) clamp(16px,4vw,40px);
}
.brand{
  letter-spacing:.28em;font-size:var(--fs-s);font-weight:900;opacity:.92;transition:opacity .3s ease;
  background:none;border:none;color:#FFFFFF;padding:0;
}
.brand:hover{opacity:1}

/* Logo sizing - increased for desktop and mobile */
.brand img {
  height: clamp(38px, 4.5vw, 56px);
  width: auto;
  opacity: .92;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.navlinks{display:flex;gap:28px}
.navlinks a{
  font-size:var(--fs-xs);letter-spacing:.16em;opacity:.85;text-transform:uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);position:relative;font-weight:600;
  padding: 8px 0;
  cursor: none;
}
.navlinks a::after{
  content:'';position:absolute;bottom:0;left:0;width:0;height:1px;
  background:var(--gold);transition:width .4s cubic-bezier(0.16, 1, 0.3, 1);opacity:.85;
}
.navlinks a:hover{opacity:1; transform: translateY(-1px);}
.navlinks a:hover::after{width:100%}

/* Enhanced Mobile menu */
.menu-btn{
  display:none;
  width:44px;
  height:44px;
  border:none;
  background:none;
  position: relative;
  padding: 0;
  z-index: 100;
  cursor: none;
}
.menu-btn span,
.menu-btn::before,
.menu-btn::after{
  content:'';
  display:block;
  width:22px;
  height:2px;
  background:#fff;
  border-radius:1px;
  transition:all .4s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.menu-btn span{
  top: 50%;
  transform: translate(-50%, -50%);
}
.menu-btn::before{
  top: calc(50% - 7px);
}
.menu-btn::after{
  top: calc(50% + 7px);
}

/* Active menu button state */
.menu-btn.active span{
  opacity:0;
  transform: translate(-50%, -50%) scale(0.8);
}
.menu-btn.active::before{
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-btn.active::after{
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Enhanced Mobile Overlay */
.mobile-overlay{
  position:fixed;
  inset:0;
  z-index:80;
  background:rgba(10,10,10,0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-overlay.open{
  opacity:1;
  pointer-events:auto;
}
.mobile-menu{
  display:flex;
  flex-direction:column;
  gap:32px;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.mobile-menu a{
  font-size: clamp(32px, 8vw, 48px);
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.08em;
  opacity:0;
  transform:translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: none;
}
.mobile-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-overlay.open .mobile-menu a{
  opacity:.9;
  transform:translateY(0);
}
.mobile-overlay.open .mobile-menu a:nth-child(1){transition-delay:.1s}
.mobile-overlay.open .mobile-menu a:nth-child(2){transition-delay:.15s}
.mobile-overlay.open .mobile-menu a:nth-child(3){transition-delay:.2s}
.mobile-overlay.open .mobile-menu a:nth-child(4){transition-delay:.25s}
.mobile-overlay.open .mobile-menu a:nth-child(5){transition-delay:.3s}

.mobile-menu a:hover{
  opacity:1;
  color:var(--gold);
  transform: translateY(-2px);
}
.mobile-menu a:hover::after {
  width: 100%;
}

.mobile-cta{
  margin-top:32px;
  padding:16px 36px;
  border-radius:999px;
  border:2px solid var(--gold);
  background:transparent;
  color:var(--gold);
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:var(--fs-s);
  opacity:0;
  transform:translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay:.4s;
  cursor: none;
}
.mobile-overlay.open .mobile-cta{
  opacity:1;
  transform:translateY(0);
}
.mobile-cta:hover{
  background:var(--gold);
  color:#0A0A0A;
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(198,168,110,.3);
}

/* Hero - Reverted to Original Layout */
header.hero{
  position:relative;
  height:100svh;
  display:grid;
  place-items:end;
  isolation:isolate;
  overflow:hidden;
}
.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
}
.hero-media img,.hero-media video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:contrast(1.05) saturate(.92) brightness(1.1);
  transform:scale(1.04);
  transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero:hover .hero-media video {
  transform: scale(1.08);
}
.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: 
    radial-gradient(120% 100% at 50% 96%, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.75) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 85%, rgba(0,0,0,.3) 95%, rgba(0,0,0,.6) 100%);
}
.hero-copy{
  z-index:3;
  margin-bottom: clamp(10vh, 14vh, 18vh);
  width:100%;
  padding: 0 clamp(16px, 4vw, 40px);
}
.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--gold);
  letter-spacing:.36em;
  font-size:var(--fs-xs);
  text-transform:uppercase;
  font-weight:800;
  margin-bottom:var(--s-2);
}

/* HERO HEADLINE - FIXED mobile text wrapping */
.hero h1{
  font-size: clamp(48px, 6vw, 85px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: none;
  text-transform: none;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* FIXED: Mobile-specific headline adjustment */
@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.15;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: manual;
  }
}

.hero .sub{
  margin-top:var(--s-5);
  color:rgba(255,255,255,.88);
  max-width:75ch;
  font-size:clamp(20px, 2vw, 28px);
  line-height:1.8;
  margin-left:auto;
  margin-right:clamp(40px, 8vw, 120px);
  text-align:right;
}
.hero-cta{
  margin-top:var(--s-4);
  display:inline-block;
  padding:16px 36px;
  border-radius:8px;
  border:none;
  background:#FFFFFF;
  color:#0A0A0A;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-size:var(--fs-s);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: none;
}
.hero-cta:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(255,255,255,.25);
  background:#F5F5F5;
}

/* Section Eyebrows - WITHOUT DASHED LINE */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  letter-spacing: .36em;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: var(--s-2);
}

/* NEW: Gold Line Separator for all sections */
.section-separator {
  position: relative;
}

.section-separator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.3;
}

/* NEW: Editorial Service Cards - Cream Background */
section#services{
  padding-block: clamp(100px, 12vh, 140px);
  background: var(--cream);
  color: var(--bg);
  position: relative;
}
.services-header{
  text-align: center;
  max-width: 1100px;
  margin: 0 auto clamp(60px, 8vh, 100px);
}
.services-header h2{
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: var(--s-3);
  max-width: 28ch;
  margin-inline:auto;
  text-transform: uppercase;
  color: var(--bg);
}
.services-header p{
  font-size: var(--fs-m);
  color: var(--bg-light);
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 auto;
}

/* Editorial Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(60px, 8vh, 100px);
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: 0;
}

/* Alternating sides for service cards */
.service-card:nth-child(odd) .service-media {
  order: 2;
}

.service-card:nth-child(odd) .service-content {
  order: 1;
}

.service-card:nth-child(even) .service-media {
  order: 1;
}

.service-card:nth-child(even) .service-content {
  order: 2;
}

.service-number{
  font-size: var(--fs-xs);
  letter-spacing: .32em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 800;
  display: block;
  margin-bottom: var(--s-2);
}

.service-title{
  font-size: clamp(32px, 3.2vw, 48px);
  color: var(--bg);
  font-weight: 800;
  margin-bottom: var(--s-2);
  line-height: 1.08;
  letter-spacing:-.02em;
  text-transform: uppercase;
}
.service-description{
  font-size: var(--fs-m);
  color: var(--bg-light);
  line-height: 1.7;
  margin-bottom: var(--s-4);
  font-weight: 400;
}

/* Service Tags - Added from the other site */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s-3);
}

.service-tag {
  border: 1px solid rgba(42,42,42,.25);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2A2A2A;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(42,42,42,.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.service-tag:hover {
  background: var(--gold);
  color: #0A0A0A;
  border-color: var(--gold);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(198,168,110,.25);
}

/* Tag tooltip */
.service-tag::after {
  content: attr(data-description);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #2A2A2A;
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: normal;
  width: 200px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.service-tag:hover::after {
  opacity: 1;
}

/* Fix tooltip positioning for edge cases */
.service-tag:nth-child(odd):hover::after {
  left: 0;
  transform: translateX(0);
}

.service-tag:nth-child(even):hover::after {
  left: auto;
  right: 0;
  transform: translateX(0);
}

.service-media{
  position:relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow:hidden;
  background:#0E0E0F;
  box-shadow: 0 18px 54px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-media:hover{
  transform:translateY(-8px);
  box-shadow: 0 24px 68px rgba(0,0,0,.55), 0 0 0 1px var(--gold);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-media:hover img {
  transform: scale(1.05);
}

/* FIXED: Featured Projects Section - Completely rewritten for performance */
.featured-projects-section {
  padding-block: clamp(80px, 8vh, 100px);
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.featured-projects-head{
  text-align:center;
  margin-bottom: clamp(40px, 6vh, 60px);
}

.featured-projects-head h2{
  font-size: var(--fs-l);
  letter-spacing:-.02em;
  margin-bottom: var(--s-2);
  font-weight:800;
  text-transform:uppercase;
  color: var(--ink);
}

/* FIXED: Featured Projects Container - Proper overflow handling */
.featured-projects-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* FIXED: Featured Projects Track - Optimized for performance */
.featured-projects-track {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vh, 20px);
  width: 100%;
}

/* FIXED: Featured Projects Row - Fixed width calculation */
.featured-projects-row {
  position: relative;
  height: clamp(160px, 18vw, 240px);
  overflow: hidden;
  width: 100%;
}

/* FIXED: Row Inner - Proper infinite scroll with optimized performance */
.featured-projects-row-inner {
  display: flex;
  gap: clamp(8px, 1.5vw, 16px);
  height: 100%;
  width: max-content;
  will-change: transform;
}

/* FIXED: Infinite scroll animations with proper seamless looping */
.featured-projects-row-1 .featured-projects-row-inner {
  animation: scrollLeft 40s linear infinite;
}

.featured-projects-row-2 .featured-projects-row-inner {
  animation: scrollRight 45s linear infinite;
}

.featured-projects-row-3 .featured-projects-row-inner {
  animation: scrollLeft 50s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 8px)); }
}

@keyframes scrollRight {
  0% { transform: translateX(calc(-50% - 8px)); }
  100% { transform: translateX(0); }
}

/* FIXED: Featured Projects Frame - Optimized for mobile */
.featured-projects-frame {
  flex: 0 0 auto;
  width: clamp(280px, 30vw, 400px);
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #111;
  box-shadow: 
    0 4px 16px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
  transform-origin: center;
}

.featured-projects-frame:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 12px 32px rgba(0,0,0,0.5),
    0 0 0 1px var(--gold),
    inset 0 0 0 1px rgba(255,255,255,0.1);
  z-index: 10;
}

.featured-projects-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-projects-frame:hover video {
  transform: scale(1.1);
}

/* Frame Overlay */
.featured-projects-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(198,168,110,0.1) 0%,
    rgba(198,168,110,0) 50%,
    rgba(198,168,110,0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-projects-frame:hover .featured-projects-frame-overlay {
  opacity: 1;
}

/* UPDATED: Meet Giovani Section - Fixed Image Layout */
.about-section{
  padding-block: clamp(100px, 12vh, 140px);
  position: relative;
  background: var(--cream);
  color: var(--bg);
  overflow: hidden;
}

.about-content{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 100px);
  align-items: center;
}

.about-text{
  position: relative;
  z-index: 2;
}

.about-text h2{
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  color: var(--bg);
}

.about-text p{
  font-size: var(--fs-m);
  color: var(--bg-light);
  line-height: 1.7;
  margin-bottom: var(--s-4);
  font-weight: 400;
}

/* Social Icons in About Section */
.about-social {
  display: flex;
  gap: 16px;
  margin-top: var(--s-4);
}

.about-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(26,26,26,0.1);
  border: 1px solid rgba(26,26,26,0.2);
  border-radius: 50%;
  color: var(--bg);
  font-size: 18px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
}

.about-social a:hover {
  background: var(--gold);
  color: var(--cream);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(198,168,110,.3);
}

/* UPDATED: Image Grid - Proper portrait-sized frames */
.editorial-images{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  align-items: start;
  height: fit-content;
}

.editorial-image{
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 54px rgba(0,0,0,.15);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 4/5;
  position: relative;
  height: 500px;
  width: 100%;
}

.editorial-image:hover{
  transform: translateY(-8px);
  box-shadow: 0 24px 68px rgba(0,0,0,.25), 0 0 0 1px var(--gold);
  z-index: 3;
}

.editorial-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-image:hover img {
  transform: scale(1.05);
}

/* UPDATED: Partnerships Section with Video Background */
.partnerships-section{
  padding-block: clamp(80px, 10vh, 120px);
  background: var(--bg-light);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Video Background */
.partnerships-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.partnerships-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.1);
}

.partnerships-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(120% 100% at 50% 96%, rgba(0,0,0,.5) 0%, rgba(0,0,0,.7) 62%, rgba(0,0,0,.85) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 85%, rgba(0,0,0,.4) 95%, rgba(0,0,0,.7) 100%);
}

.partnerships-content{
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.partnerships-text h2{
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.partnerships-text p{
  font-size: var(--fs-m);
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 auto var(--s-5);
  font-weight: 400;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Enhanced FAQ Section - Cream Background */
section#faq {
  padding-block: clamp(80px, 10vh, 120px);
  background: var(--cream);
  color: var(--bg);
  position: relative;
}
.faq-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(60px, 8vh, 100px);
}
.faq-header h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin-bottom: var(--s-3);
  text-transform: uppercase;
  color: var(--bg);
}
.faq-header p {
  font-size: var(--fs-m);
  color: var(--bg-light);
  line-height: 1.7;
  max-width: 58ch;
  margin: 0 auto;
}
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(26,26,26,0.2);
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-3);
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(198,168,110,.4);
}
.faq-question {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--bg);
  padding: var(--s-3) 0;
  cursor: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
.faq-question:hover {
  color: var(--gold);
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--bg-light);
  line-height: 1.7;
  font-size: var(--fs-base);
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: var(--s-3);
}

/* Enhanced Contact section - Cream Background */
section#contact{
  padding-block:clamp(80px,10vh,120px);
  background:var(--bg-light);
  position:relative;
}
.contact-header{
  text-align:center;
  max-width:800px;
  margin:0 auto clamp(60px,8vh,100px);
}
.contact-header h2{
  font-size:clamp(32px,4vw,56px);
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1.1;
  margin-bottom:var(--s-3);
  text-transform:uppercase;
  color:#FFFFFF;
}
.contact-header p{
  font-size:var(--fs-m);
  color:var(--muted);
  line-height:1.7;
  max-width:62ch;
  margin:0 auto;
}
.contact-form{
  max-width: 720px;
  margin: 0 auto;
  display:grid;
  gap: var(--s-3);
}
.contact-form input,.contact-form textarea{
  width:100%;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  color:#fff;
  padding:18px 20px;
  border-radius:12px;
  outline:none;
  font-size:var(--fs-base);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
.contact-form input:focus,.contact-form textarea:focus{
  border-color:rgba(198,168,110,.6);
  background:rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(198,168,110,.15);
  transform: translateY(-2px);
}
.contact-form textarea{
  min-height:140px;
  resize:vertical;
}
.contact-form button{
  justify-self: center;
  padding:16px 40px;
  border-radius:8px;
  border:none;
  background:var(--gold);
  color:#0A0A0A;
  font-weight:700;
  letter-spacing:.05em;
  font-size:var(--fs-s);
  text-transform:uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: auto;
  min-width: 220px;
  margin-top: var(--s-2);
  cursor: none;
}
.contact-form button:hover{
  background:#D4B87A;
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(198,168,110,.25);
}

/* Form status message */
.form-status {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 500;
  display: none;
}
.form-status.success {
  background: rgba(76, 175, 80, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.3);
  display: block;
}
.form-status.error {
  background: rgba(244, 67, 54, 0.1);
  color: #c62828;
  border: 1px solid rgba(244, 67, 54, 0.3);
  display: block;
}

/* UPDATED: Footer - Removed menu and updated content */
footer{
  padding-block:clamp(60px,8vh,80px);
  background:var(--bg);
  color:var(--muted);
  text-align:center;
  position:relative;
}
footer::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background:linear-gradient(90deg,transparent 0%,var(--gold) 50%,transparent 100%);
  opacity:0.3;
}
.footer-content{
  max-width:800px;
  margin:0 auto;
}
.footer-brand{
  margin-bottom:var(--s-4);
}
.footer-brand img{
  height:clamp(48px,6vw,72px);
  width:auto;
  margin:0 auto;
  opacity:.9;
}

/* Contact Information */
.footer-contact {
  margin-bottom: var(--s-4);
  line-height: 1.8;
}

.footer-contact p {
  margin-bottom: var(--s-2);
  font-size: var(--fs-base);
}

.footer-social{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-bottom:var(--s-4);
}
.footer-social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:50%;
  color:var(--muted);
  font-size:18px;
  transition:all .4s cubic-bezier(0.16,1,0.3,1);
  cursor: none;
}
.footer-social a:hover{
  background:var(--gold);
  color:#0A0A0A;
  border-color:var(--gold);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(198,168,110,.3);
}

/* Updated company description */
.footer-copyright{
  font-size:var(--fs-xs);
  opacity:.7;
  margin-top: var(--s-3);
}

/* Responsive Design */
@media (max-width:1024px){
  .navlinks{display:none}
  .menu-btn{display:block}
  
  .service-card{
    grid-template-columns:1fr;
    gap:var(--s-4);
  }
  .service-card:nth-child(odd) .service-media,
  .service-card:nth-child(odd) .service-content,
  .service-card:nth-child(even) .service-media,
  .service-card:nth-child(even) .service-content{
    order:unset;
  }
  
  .about-content{
    grid-template-columns:1fr;
    gap:var(--s-5);
  }
}

@media (max-width:768px){
  .hero .sub{
    margin-right:0;
    text-align:left;
  }
  
  .services-grid{
    gap:clamp(40px,6vh,60px);
  }
  
  .editorial-images{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .editorial-image{
    height: 400px;
  }

  .featured-projects-row {
    padding: 10px 0;
  }

  /* Fix tag tooltips for mobile */
  .service-tag::after {
    width: 160px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width:480px){
  .hero h1{
    font-size: clamp(32px, 8vw, 42px);
    line-height: 1.15;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: manual;
  }
  
  .hero .sub{
    font-size: clamp(14px, 4.5vw, 17px);
    line-height: 1.6;
  }
  
  .container{
    padding-inline: 16px;
  }
  
  .about-text h2, .services-header h2, .contact-header h2, .featured-projects-head h2, .faq-header h2{
    font-size: clamp(24px, 8vw, 32px) !important;
  }
  
  .editorial-image{
    height: 300px;
  }
  
  /* Hide custom cursor on mobile */
  .cursor {
    display: none;
  }
  body {
    cursor: auto;
  }

  /* Fix tag tooltips for very small screens */
  .service-tag::after {
    width: 140px;
    font-size: 10px;
  }
}