/* ============================================================
   LUMYN DESIGN SYSTEM - AUTHENTIC PALETTE, RICH ANIMATIONS & #00ed85
   Exact Handoff Copy | Zero Extra Texts | No Dubai in Header
   Palette: Ground #0B0B0A | Raise #151412 | Ink #EFEBE3 | Muted #948F84 | Green #00ed85
   ============================================================ */

:root {
  --ground: #0B0B0A;
  --raise: #151412;
  --raise-hover: #1c1a17;
  --ink: #EFEBE3;
  --muted: #948F84;
  --faint: rgba(239, 235, 227, 0.45);
  --green: #00ed85;
  --green-glow: rgba(0, 237, 133, 0.4);
  --green-faint: rgba(0, 237, 133, 0.1);
  --green-border: rgba(0, 237, 133, 0.3);
  --green-border-hover: #00ed85;
  --navy: #212236;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 237, 133, 0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Force scroll-behavior: auto to prevent native smooth-scroll fighting with Lenis */
html,
html:focus-within,
body {
  scroll-behavior: auto !important;
  background-color: var(--ground) !important;
  color: var(--ink) !important;
  font-family: var(--font-main);
  line-height: 1.6;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elementor container guard */
.elementor,
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap,
.elementor-widget,
.lumyn-wrapper {
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   1. FIXED FULL-WIDTH STRETCHED HEADER (NO DUBAI TEXT)
   ============================================================ */
.site-header,
.site-header:not(.dynamic-header),
.lumyn-header,
.site-header.header-full-width,
.lumyn-wrapper .site-header,
header.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 24px 6% !important;
  z-index: 9999 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  transition: all 0.35s var(--ease) !important;
  box-sizing: border-box !important;
  background: transparent;
}

.site-header.scrolled,
.lumyn-header.scrolled {
  background: rgba(11, 11, 10, 0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  padding: 16px 6% !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8) !important;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  cursor: pointer;
}
.site-logo img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 10px var(--green-glow));
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 0.95rem;
  color: var(--muted);
  align-items: center;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  transition: color 0.25s ease;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--green);
}
.nav-links a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn-primary {
  background-color: var(--green);
  color: #000000 !important;
  font-weight: 700;
  border: 1px solid var(--green);
  box-shadow: 0 4px 20px var(--green-glow);
}
.btn-primary:hover {
  background-color: #00ff8f;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 237, 133, 0.65);
}
.btn-secondary {
  background-color: rgba(0, 237, 133, 0.04);
  color: var(--green) !important;
  border: 1px solid var(--green-border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background-color: rgba(0, 237, 133, 0.15);
  border-color: var(--green);
  transform: translateY(-2px);
}

/* ============================================================
   2. HERO SECTION & MASKED LINE ANIMATIONS
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 6% 90px;
  position: relative;
  background-color: var(--ground);
  background-image: 
    radial-gradient(ellipse at 50% 15%, rgba(0, 237, 133, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 85% 65%, rgba(33, 34, 54, 0.35) 0%, transparent 65%);
}

.anim-line {
  display: block;
  overflow: hidden;
  line-height: 1.05;
}
.anim-line .line-inner {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.042em;
  max-width: 1100px;
  margin: 0 0 32px 0;
  color: var(--ink);
}
.hero-h1 span.highlight {
  color: var(--green);
  text-shadow: 0 0 40px var(--green-glow);
  display: inline-block;
}
.hero-sub {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--muted);
  max-width: 720px;
  line-height: 1.65;
  margin: 0 0 44px 0;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  position: relative;
  z-index: 5;
}
.hero-cta .btn {
  opacity: 1 !important;
  visibility: visible !important;
}

.discipline-strip {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 850px;
}
.discipline-strip span.dot {
  color: var(--green);
}

/* ============================================================
   3. STUDIO INTRO SECTION
   ============================================================ */
.studio-intro {
  padding: 130px 6% 90px;
  background-color: var(--ground);
  border-top: 1px solid var(--border);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: start;
}
.intro-h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.intro-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.intro-p {
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.75;
}
.intro-cue {
  font-size: 0.95rem;
  color: var(--green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   4. SERVICES SECTION (8 SERVICES FROM COPY.MD)
   ============================================================ */
.services-sec {
  padding: 130px 6%;
  background-color: var(--ground);
  border-top: 1px solid var(--border);
}
.sec-header {
  margin-bottom: 70px;
}
.sec-h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--raise);
  border: 1px solid var(--border);
  padding: 42px 36px;
  border-radius: 16px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--green);
  transition: width 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--green);
  background: var(--raise-hover);
  box-shadow: 0 20px 45px -15px rgba(0, 237, 133, 0.35);
}
.service-card:hover::before {
  width: 100%;
}

.service-cat {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--ink);
  line-height: 1.3;
}
.service-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 26px;
}
.service-includes {
  font-size: 0.85rem;
  color: rgba(239, 235, 227, 0.65);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  line-height: 1.5;
}

/* ============================================================
   5. WORK SECTION (RECENT WORK FROM COPY.MD)
   ============================================================ */
.work-sec {
  padding: 130px 6%;
  background-color: var(--ground);
  border-top: 1px solid var(--border);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.work-card {
  background: var(--raise);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: pointer;
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--green);
  box-shadow: 0 24px 48px -18px rgba(0, 237, 133, 0.35);
}
.work-card-media {
  position: relative;
  overflow: hidden;
  height: 300px;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.work-card:hover img {
  transform: scale(1.08);
}
.work-card-info {
  padding: 24px;
}
.work-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}
.work-card:hover .work-card-title {
  color: var(--green);
}

/* ============================================================
   6. FAQ SECTION (FROM COPY.MD)
   ============================================================ */
.faq-sec {
  padding: 130px 6%;
  max-width: 1050px;
  margin: 0 auto;
  background-color: var(--ground);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--raise);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}
.faq-item:hover {
  border-color: rgba(0, 237, 133, 0.4);
}
.faq-item.active {
  border-color: var(--green);
}
.faq-q {
  padding: 26px 32px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--green);
  font-size: 1.1rem;
  transition: transform 0.25s var(--ease);
}
.faq-item.active .faq-icon {
  background: var(--green);
  color: #000000;
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  padding: 0 32px 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.faq-item.active .faq-a {
  display: block;
}

/* ============================================================
   7. CLOSE & FOOTER (FROM COPY.MD)
   ============================================================ */
.close-sec {
  padding: 150px 6% 110px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 90%, rgba(0, 237, 133, 0.15) 0%, transparent 70%);
  background-color: var(--ground);
  border-top: 1px solid var(--border);
  position: relative;
}
.close-h2 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--ink);
  line-height: 1.08;
}
.close-h2 span.highlight {
  color: var(--green);
  text-shadow: 0 0 40px var(--green-glow);
  display: inline-block;
  animation: pulseGreenGlow 3s infinite ease-in-out;
}
@keyframes pulseGreenGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(0, 237, 133, 0.4); }
  50% { text-shadow: 0 0 55px rgba(0, 237, 133, 0.75); }
}

.close-sub {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 650px;
  margin: 0 auto 44px;
  line-height: 1.65;
}
.contact-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  background: var(--raise);
  border: 1px solid var(--green);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.contact-pill:hover {
  background: var(--green);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--green-glow);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  background-color: var(--ground);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a:hover {
  color: var(--green);
}
.footer-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

/* ============================================================
   8. RESPONSIVE BREAKPOINTS (100% MOBILE & TABLET OPTIMIZED)
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero-h1 { font-size: clamp(2.6rem, 7.5vw, 4.8rem); }
  .sec-h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-header,
  .site-header:not(.dynamic-header),
  .lumyn-header,
  .site-header.header-full-width,
  .lumyn-wrapper .site-header,
  header.site-header { 
    padding: 16px 5% !important; 
  }
  .hero { padding: 130px 5% 60px; min-height: auto; }
  .hero-h1 { font-size: clamp(2.2rem, 9.2vw, 3.5rem); margin-bottom: 20px; line-height: 1.1; }
  .hero-sub { font-size: 1.05rem; margin-bottom: 30px; }
  .discipline-strip { gap: 10px; font-size: 0.8rem; }
  .studio-intro { padding: 90px 5% 50px; }
  .intro-h2 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .intro-p { font-size: 1.05rem; }
  .services-sec, .work-sec, .faq-sec { padding: 90px 5%; }
  .service-card { padding: 30px 22px; }
  .work-card-media { height: 240px; }
  .faq-q { padding: 20px 22px; font-size: 1.05rem; }
  .faq-a { padding: 0 22px 22px; font-size: 0.95rem; }
  .close-sec { padding: 90px 5% 60px; }
  .close-h2 { font-size: clamp(2.2rem, 8.5vw, 3.2rem); }
  .close-sub { font-size: 1.05rem; }
  .contact-actions { flex-direction: column; }
  .contact-pill { width: 100%; justify-content: center; }
  .site-footer { flex-direction: column; gap: 16px; text-align: center; padding: 26px 5%; }
}

@media (max-width: 480px) {
  .hero { padding: 110px 18px 45px; }
  .hero-h1 { font-size: clamp(1.9rem, 8.5vw, 2.7rem); }
  .hero-cta { flex-direction: column; width: 100%; gap: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; text-align: center; }
  .discipline-strip { gap: 8px; font-size: 0.75rem; }
  .studio-intro { padding: 75px 18px 40px; }
  .services-sec, .work-sec, .faq-sec { padding: 75px 18px; }
  .service-card { padding: 22px 18px; }
  .close-sec { padding: 75px 18px 50px; }
  .site-header { padding: 12px 18px !important; }
  .site-header .btn { padding: 8px 14px; font-size: 0.8rem; }
  .site-footer { padding: 22px 18px; }
}
