/*
Theme Name: Moxie5
Theme URI: https://moxie5.com
Author: Moxie5 Marketing Agency
Author URI: https://moxie5.com
Description: Strategic creativity. Human stories. Measurable impact. Official website theme for Moxie5 Marketing Agency.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: All Rights Reserved
License URI: https://moxie5.com
Text Domain: moxie5
Tags: one-page, full-width-template, custom-colors, custom-menu, featured-images, threaded-comments
*/

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS — Based on Moxie5 real site
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Real Moxie5 palette */
  --navy:        #06091E;          /* deepest navy */
  --navy-2:      #0A0F2E;
  --navy-3:      #0D1338;
  --teal-grad-1: #3B6978;          /* teal top gradient */
  --teal-grad-2: #204051;          /* teal mid gradient */
  --card-teal:   #9BBDBD;          /* service card pale teal fill */
  --card-teal-2: #8FB3B3;
  --magenta:     #B5325F;          /* highlighted card (Immersive Events) */
  --orange:      #E86029;          /* eyebrow labels, accents */
  --orange-hover:#FF6E30;
  --white:       #FFFFFF;
  --off-white:   #F5F5F5;
  --text-dark:   #111111;
  --text-mid:    #444444;
  --text-muted:  #777777;
  --light-bg:    #FFFFFF;
  --wave-gray-1: #C8C8C8;
  --wave-gray-2: #E0E0E0;
  --wave-gray-3: #F0F0F0;

  /* Typography */
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  /* Geometry */
  --radius-card: 24px;
  --radius-btn:  50px;
  --radius-sm:   12px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 20px 48px rgba(0,0,0,0.2);

  --transition: 0.32s cubic-bezier(0.22,1,0.36,1);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--light-bg);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.65;
  animation: pageFadeIn 0.5s ease forwards;
}
@keyframes pageFadeIn { from { opacity:0; } to { opacity:1; } }
img { max-width:100%; display:block; }
a  { text-decoration:none; color:inherit; }
ul { list-style:none; }
::selection { background: rgba(232,96,41,0.25); }
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:#0A0F2E; }
::-webkit-scrollbar-thumb { background:var(--orange); border-radius:3px; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;

  color: #ffffff;}
.display-lg {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;

  color: #ffffff;}
.display-md {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;

  color: #ffffff;}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E86029 !important;
  display: block;
  margin-bottom: 12px;
}
.body-lg { font-size: 1.05rem; line-height: 1.8; }
.body-sm { font-size: 0.9rem; line-height: 1.7; }

/* ─── CONTAINER ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width:768px) { .container { padding: 0 20px; } }

/* ─── SECTION ───────────────────────────────────────────── */
.section { padding: 96px 0; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #ffffff !important;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #ffffff !important;
}
.btn-outline-dark:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}
.btn-orange {
  background: #E86029;
  border-color: #E86029;
  color: #ffffff !important;
}
.btn-orange:hover {
  background: #FF6E30;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,96,41,0.4);
}
.btn-sm { padding: 10px 26px; font-size: 0.82rem; }
.btn-lg { padding: 18px 48px; font-size: 1rem; }

/* pill phone button in nav */
.btn-nav-call {
  background: rgba(155,189,189,0.2);
  border: 1px solid rgba(155,189,189,0.4);
  color: var(--white);
  padding: 9px 22px;
  border-radius: var(--radius-btn);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}
.btn-nav-call:hover {
  background: rgba(155,189,189,0.35);
  transform: translateY(-1px);
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.revealed { opacity:1; transform:translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* ─── WAVE SVG SEPARATORS ───────────────────────────────── */
.wave-top, .wave-bottom {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════
   NAVIGATION — Single row: logo left | links center | cta right
   ════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(6,9,30,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 48px;
  gap: 24px;
}
/* Logo — left */
.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.05);
  transition: opacity 0.3s ease;
}
.nav-logo-img:hover { opacity: 0.85; }
/* Nav links — center, take up all available space */
.nav-links-list {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
/* Book A Call — right */
.nav-cta-right {
  flex-shrink: 0;
}
/* Hamburger — only on mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
@media (max-width: 940px) {
  .nav-links-list, .nav-cta-right { display: none !important; }
  .hamburger { display: flex; }
  .nav-inner { padding: 10px 20px; }
}
.nav-links-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links-list a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--transition);
}
.nav-links-list a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 50%;
  width: 0; height: 1.5px;
  background: var(--orange);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.nav-links-list a:hover { color: var(--white); }
.nav-links-list a:hover::after { width: 100%; }

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile overlay menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,9,30,0.97);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.active { display:flex; opacity:1; pointer-events:all; }
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ════════════════════════════════════════════════════════════
   SECTION 1 — HERO
   ════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(170deg, var(--teal-grad-1) 0%, var(--teal-grad-2) 35%, var(--navy-2) 70%, var(--navy) 100%);
}
/* Subtle noise overlay */
#hero::before {
  content:'';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* Canvas particle layer */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.3;
}

/* Wave bottom of hero */
.hero-wave-bottom {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 3;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}
.hero-eyebrow {
  display: none;
}
.hero-eyebrow-dot {
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  text-align: center;
}
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: slideUp 0.55s ease forwards;
  margin-right: 0.18em;
}
.hero-headline .word:nth-child(1){ animation-delay:0.4s; }
.hero-headline .word:nth-child(2){ animation-delay:0.52s; }
.hero-headline .word:nth-child(3){ animation-delay:0.64s; }
.hero-headline .word:nth-child(4){ animation-delay:0.76s; }
.hero-headline .word.line2 { display: block; margin-right: 0; }
@keyframes slideUp { to { opacity:1; transform:translateY(0); } }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: slideUp 0.6s 1s ease forwards;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.6s 1.15s ease forwards;
}

/* Scroll cue — inline flow, centered below buttons */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: slideUp 0.6s 1.5s ease forwards;
}
.scroll-line-anim {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: pulseDown 1.8s ease-in-out infinite;
}
@keyframes pulseDown {
  0%   { transform:scaleY(0); transform-origin:top; }
  50%  { transform:scaleY(1); transform-origin:top; }
  51%  { transform-origin:bottom; }
  100% { transform:scaleY(0); transform-origin:bottom; }
}

/* ════════════════════════════════════════════════════════════
   SECTION 2 — ABOUT US
   ════════════════════════════════════════════════════════════ */
#about {
  background: var(--white);
  position: relative;
  padding: 80px 0 96px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text .eyebrow { color: var(--orange); }
.about-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.about-body { color: var(--text-mid); font-size: 1rem; line-height: 1.8; margin-bottom: 36px; }
.about-img-col {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about-photo {
  width: 100%;
  max-width: 460px;
  border-radius: 0;
  object-fit: cover;
  object-position: top center;
  display: block;
  /* Soft wave-dissolve fade at the bottom — blends into white section bg */
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 55%,
    rgba(0,0,0,0.85) 68%,
    rgba(0,0,0,0.5)  78%,
    rgba(0,0,0,0.18) 88%,
    transparent      100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 55%,
    rgba(0,0,0,0.85) 68%,
    rgba(0,0,0,0.5)  78%,
    rgba(0,0,0,0.18) 88%,
    transparent      100%
  );
}
/* Stats row below about */
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.about-stat { text-align: center; }
.about-stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.about-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width:900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-col { justify-content: center; }
  .about-photo { max-width: 360px; }
}

/* ════════════════════════════════════════════════════════════
   SECTION 3 — SERVICES
   ════════════════════════════════════════════════════════════ */
#services {
  background: var(--navy-2);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.services-header {
  text-align: center;
  margin-bottom: 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--card-teal);
  border-radius: var(--radius-card);
  padding: 44px 36px 40px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background 0.35s ease;
  cursor: default;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: var(--magenta);
}
.svc-card:hover .svc-title,
.svc-card:hover .svc-body,
.svc-card:hover .svc-link { color: var(--white); }
.svc-card:hover .svc-icon-wrap { background: rgba(255,255,255,0.15); color: var(--white); }

/* Inner ripple effect */
.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  border-radius: inherit;
  transition: background 0.4s ease;
}
.svc-card:hover::after { background: rgba(255,255,255,0.04); }

.svc-icon-wrap {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(6,9,30,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--navy-2);
  margin-bottom: 24px;
  transition: transform var(--transition), background var(--transition);
}
.svc-card:hover .svc-icon-wrap { transform: scale(1.08) rotate(-4deg); }

.svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(6,9,30,0.18);
  color: var(--navy-2);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.svc-badge.light { background: rgba(255,255,255,0.25); color: var(--white); }

.svc-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-2);
  margin-bottom: 14px;
  line-height: 1.3;
}
.svc-body {
  font-size: 0.95rem;
  color: rgba(6,9,30,0.7);
  line-height: 1.75;
  margin-bottom: 28px;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-2);
  letter-spacing: 0.04em;
  transition: gap var(--transition);
}
.svc-link:hover { gap: 12px; }

/* Learn More CTA below grid */
.services-cta {
  text-align: center;
  margin-top: 52px;
}

@media (max-width:768px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 32px 24px; }
}

/* ════════════════════════════════════════════════════════════
   SECTION 4 — 3D WORK SHOWCASE
   ════════════════════════════════════════════════════════════ */
#work3d {
  background: var(--navy);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.work3d-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,96,41,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,96,41,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.work3d-header { text-align:center; margin-bottom:56px; position:relative; z-index:2; }

.work3d-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.w3d-card {
  background: #101628;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(155,189,189,0.1);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.w3d-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 56px rgba(0,0,0,0.45);
  border-color: rgba(232,96,41,0.3);
}
.w3d-media {
  height: 260px;
  position: relative;
  overflow: hidden;
  background: #0D1228;
}
/* Real image / video inside cards */
.w3d-media img,
.w3d-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.w3d-card:hover .w3d-media img,
.w3d-card:hover .w3d-media video { transform: scale(1.05); }

/* Thumbnail strip at bottom of each card media */
.w3d-thumbstrip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  gap: 3px;
  padding: 0 3px 3px;
  background: linear-gradient(to top, rgba(6,9,30,0.85) 0%, transparent 100%);
  z-index: 4;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.w3d-card:hover .w3d-thumbstrip { transform: translateY(0); }
.w3d-thumb-item {
  flex: 1;
  height: 44px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.w3d-thumb-item:hover { border-color: var(--orange); transform: scaleY(1.05); }
.w3d-thumb-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: none;
}
.w3d-thumb-item.is-video {
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,96,41,0.2);
  border-color: rgba(232,96,41,0.4);
}
.w3d-thumb-item.is-video::before {
  content: '▶';
  color: var(--orange);
  font-size: 0.9rem;
}
/* Video overlay play button */
.w3d-video-overlay {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  background: rgba(6,9,30,0.25);
  transition: opacity 0.3s;
}
.w3d-card:hover .w3d-video-overlay { opacity: 0.8; }

.w3d-badge {
  position: absolute; top:12px; right:12px;
  background: linear-gradient(135deg, var(--orange), #BF360C);
  color: var(--white);
  font-size: 0.6rem; font-weight:800;
  letter-spacing:0.14em;
  padding: 4px 11px;
  border-radius: 50px;
  z-index: 3;
}
.w3d-play {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(232,96,41,0.15);
  border: 2px solid rgba(232,96,41,0.5);
  display: flex; align-items:center; justify-content:center;
  color: var(--orange);
  font-size: 1.1rem;
  padding-left: 3px;
  z-index: 3;
  position: relative;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.w3d-card:hover .w3d-play {
  background: rgba(232,96,41,0.3);
  border-color: var(--orange);
  transform: scale(1.1);
  box-shadow: 0 0 28px rgba(232,96,41,0.4);
}

.w3d-body { padding: 22px 22px 26px; }
.w3d-client { font-size:0.72rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--orange); margin-bottom:6px; }
.w3d-title { font-family:var(--font-head); font-size:1.05rem; font-weight:800; color:var(--white); margin-bottom:10px; line-height:1.3; }
.w3d-impact { font-size:0.85rem; color:rgba(255,255,255,0.5); line-height:1.65; padding-top:12px; border-top:1px solid rgba(255,255,255,0.07); }
.w3d-impact strong { color:rgba(255,255,255,0.75); }
.work3d-footer { text-align:center; margin-top:52px; position:relative; z-index:2; }

@media (max-width:900px) { .work3d-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:580px) { .work3d-grid { grid-template-columns:1fr; } .w3d-media { height:200px; } }

/* ════════════════════════════════════════════════════════════
   SECTION 5 — PROJECT SHOWCASE
   ════════════════════════════════════════════════════════════ */
#showcase {
  background: var(--navy-2);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.showcase-header { text-align:center; margin-bottom:52px; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.showcase-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  height: 320px;
  cursor: pointer;
  background: #0D1228;
  border: 1px solid rgba(155,189,189,0.1);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232,96,41,0.2);
}
.showcase-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
  opacity: 0.85;
}
.showcase-card:hover .showcase-img { transform: scale(1.06); }
.showcase-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,9,30,0.96) 0%, rgba(6,9,30,0.55) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px 22px;
  z-index: 2;
}
.showcase-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(232,96,41,0.72);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
  width: fit-content;
  text-shadow: none;
}
.showcase-title {
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ── Play button — liquid glass circle ───────────────────── */
.showcase-play {
  position: absolute;
  /* vertically centred in the upper 60% so it doesn't clash with text */
  top: 38%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  border-radius: 50%;
  /* glass fill */
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border: 1.5px solid rgba(255,255,255,0.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    0 6px 20px rgba(0,0,0,0.28);
  display: flex; align-items:center; justify-content:center;
  color: var(--white);
  font-size: 1.05rem;
  padding-left: 4px; /* optical centre for ▶ */
  z-index: 3;
  transition:
    background 0.32s ease,
    border-color 0.32s ease,
    transform 0.38s cubic-bezier(0.22,1,0.36,1),
    box-shadow 0.32s ease;
}
.showcase-card:hover .showcase-play {
  background: rgba(232,96,41,0.75);
  border-color: rgba(255,130,70,0.6);
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 10px 32px rgba(232,96,41,0.38);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width:900px) {
  .showcase-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width:580px) {
  .showcase-grid { grid-template-columns: 1fr; gap: 18px; }
  .showcase-card { aspect-ratio: 16 / 9; }
}

/* ════════════════════════════════════════════════════════════
   SECTION 6 — CREATIVE / INTENTIONAL (Skills section)
   ════════════════════════════════════════════════════════════ */
#creative {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
  background: #0D1338;
}
.creative-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* desaturate + darken so text stays readable */
  filter: brightness(0.38) saturate(0.7);
  display: block;
}
.creative-overlay {
  position: absolute; inset: 0;
  /* deep navy vignette — stronger left (card side) fading right */
  background: linear-gradient(
    105deg,
    rgba(6,9,30,0.82) 0%,
    rgba(6,9,30,0.55) 50%,
    rgba(6,9,30,0.25) 100%
  );
  display: block;
}
.creative-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.creative-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-card);
  padding: 44px 40px;
}
.creative-card .display-md { color: var(--white); margin-bottom:16px; }
.creative-card p { color: rgba(255,255,255,0.75); margin-bottom: 28px; font-size:1rem; line-height:1.75; }

.skills-side {}
.skill-item { margin-bottom: 24px; }
.skill-label {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.skill-label span { color: var(--orange); }
.skill-track {
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(to right, var(--orange), #FF6E30);
  border-radius: 50px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.22,1,0.36,1);
}

@media (max-width:768px) {
  .creative-inner { grid-template-columns:1fr; gap:32px; }
  .creative-card { padding:28px 24px; }
}

/* ════════════════════════════════════════════════════════════
   SECTION 7 — TEAM
   ════════════════════════════════════════════════════════════ */
#team {
  background: var(--white);
  padding: 80px 0 96px;
  position: relative;
}
.team-header { text-align:center; margin-bottom:56px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232,96,41,0.15);
}
.team-photo-wrap {
  height: 280px;
  overflow: hidden;
  position: relative;
  background: #d4d4d4;
}
.team-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  filter: grayscale(0.1);
}
.team-card:hover .team-photo { transform: scale(1.06); filter: grayscale(0); }

/* Fallback initial avatar */
.team-initials-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-2), var(--teal-grad-2));
}

.team-specialist-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 50px;
  z-index: 3;
}
.team-info {
  padding: 20px 20px 24px;
}
.team-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.team-role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.team-socials { display:flex; gap:8px; }
.team-soc-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(232,96,41,0.08);
  border: 1px solid rgba(232,96,41,0.18);
  display: flex; align-items:center; justify-content:center;
  color: var(--orange);
  font-size: 0.75rem;
  transition: var(--transition);
}
.team-soc-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width:900px) { .team-grid { grid-template-columns:repeat(2,1fr); } .team-photo-wrap { height:240px; } }
@media (max-width:540px) { .team-grid { grid-template-columns:1fr; } }



/* ════════════════════════════════════════════════════════════
   SECTION 8 — COLLABORATORS
   ════════════════════════════════════════════════════════════ */
#clients {
  background: var(--white);
  padding: 72px 0;
}
.clients-header { text-align:center; margin-bottom:48px; }
.clients-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.client-item {
  flex: 1;
  min-width: 148px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  border-right: 1px solid rgba(0,0,0,0.07);
  background: #ffffff;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter var(--transition), opacity var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
}
.client-item:last-child { border-right: none; }
.client-item:hover { filter: grayscale(0); opacity: 1; background: #ffffff; box-shadow: inset 0 -3px 0 var(--orange); }
.client-item img {
  max-width: 120px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  background: #ffffff;
}
.client-item span {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}
.client-divider { width:1px; height:36px; background:rgba(0,0,0,0.1); }
.clients-note {
  text-align:center;
  margin-top:20px;
  font-size:0.8rem;
  color:var(--text-muted);
}

@media (max-width:768px) {
  .clients-track { flex-direction:column; }
  .client-item { border-right:none; border-bottom:1px solid rgba(0,0,0,0.07); width:100%; min-width:unset; height:80px; }
  .client-item:last-child { border-bottom:none; }
  .client-item img { max-width: 110px; max-height: 44px; }
}

/* ════════════════════════════════════════════════════════════
   SECTION 9 — FINAL CTA
   ════════════════════════════════════════════════════════════ */
#cta-final {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--teal-grad-2) 0%, var(--navy-2) 40%, var(--navy) 100%);
}
.cta-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(155,189,189,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 24px;
}
.cta-inner .display-lg { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.68); font-size:1.05rem; line-height:1.75; margin-bottom:36px; }


/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
footer {
  background: #040812;
  color: var(--white);
}
/* Top contact bar */
.footer-bar {
  background: rgba(155,189,189,0.06);
  border-bottom: 1px solid rgba(155,189,189,0.08);
  padding: 16px 0;
}
.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bar-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-bar-contact span { color: rgba(255,255,255,0.25); }
.footer-socials-row { display:flex; gap:10px; }
.footer-soc {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(155,189,189,0.1);
  border: 1px solid rgba(155,189,189,0.15);
  display: flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-soc:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}
/* Footer body */
.footer-body { padding: 60px 0 40px; }
.footer-body-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 48px;
}
.footer-brand-col {}
.footer-logo-wrap {
  margin-bottom: 16px;
  display: block;
}
.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.05);
}
.footer-brand-col p { font-size:0.9rem; color:rgba(255,255,255,0.48); line-height:1.75; max-width:280px; margin-top:12px; }
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}
.footer-link-list { display:flex; flex-direction:column; gap:12px; }
.footer-link-list a {
  font-size:0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}
.footer-link-list a:hover { color:var(--white); transform:translateX(4px); }
.footer-contact-rows { display:flex; flex-direction:column; gap:12px; }
.footer-c-row {
  display:flex; align-items:flex-start; gap:10px;
  font-size:0.88rem; color:rgba(255,255,255,0.5);
}
.footer-c-row i { color:var(--orange); font-size:0.82rem; margin-top:3px; flex-shrink:0; }
.footer-c-row a { color:rgba(255,255,255,0.5); transition:color var(--transition); }
.footer-c-row a:hover { color:var(--white); }
/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom-inner {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:10px;
}
.footer-bottom-inner p { font-size:0.8rem; color:rgba(255,255,255,0.28); }
.footer-bottom-inner a { color:var(--orange); transition:color var(--transition); }
.footer-bottom-inner a:hover { color:var(--orange-hover); }

@media (max-width:900px) { .footer-body-inner { grid-template-columns:1fr 1fr; } }
@media (max-width:580px) { .footer-body-inner { grid-template-columns:1fr; } .footer-bottom-inner { flex-direction:column; text-align:center; } }

/* ─── TEXT UTILS ────────────────────────────────────────── */
.text-center { text-align:center; }
.text-white  { color:var(--white); }
.text-orange { color:var(--orange); }
.text-muted  { color:rgba(255,255,255,0.55); }

/* ─── WAVE UTILS ─────────────────────────────────────────── */
.wave-sep {
  display: block;
  line-height: 0;
  overflow: hidden;
}
.wave-sep svg { display:block; }

/* ─── RESPONSIVE MISC ────────────────────────────────────── */
@media (max-width:480px) {
  .hero-btns { flex-direction:column; align-items:center; }
  .btn { width:100%; max-width:260px; justify-content:center; }
  .about-stats { gap:24px; }
}






/* ═══════════════════════════════════════════════════════════
   WORDPRESS OVERRIDES — headings only, never p/span
   Keeps all muted/rgba paragraph colours exactly as designed.
   ═══════════════════════════════════════════════════════════ */

/* Step 1: all headings inherit container colour by default */
html body h1,html body h2,html body h3,
html body h4,html body h5,html body h6 { color: inherit !important; }

/* Step 2: hero headline — white */
html body h1.hero-headline,
html body h1.hero-headline .word,
html body h1.hero-headline span,
html body .hero-headline,
html body .hero-headline * { color: #ffffff !important; }

/* Step 3: dark-section h2/h3 — white */
html body #services h2,html body #services h3 { color: #ffffff !important; }
html body #work3d   h2,html body #work3d   h3 { color: #ffffff !important; }
html body #showcase h2,html body #showcase h3 { color: #ffffff !important; }
html body #creative h2,html body #creative h3 { color: #ffffff !important; }
html body #cta-final h2,html body #cta-final h3 { color: #ffffff !important; }

/* Step 4: display utility classes on dark sections — white */
html body #services  .display-xl,html body #services  .display-lg,html body #services  .display-md { color: #ffffff !important; }
html body #work3d    .display-xl,html body #work3d    .display-lg,html body #work3d    .display-md { color: #ffffff !important; }
html body #work3d    .w3d-title { color: #ffffff !important; }
html body #showcase  .display-xl,html body #showcase  .display-lg { color: #ffffff !important; }
html body #showcase  .showcase-title { color: #ffffff !important; }
html body #creative  .display-xl,html body #creative  .display-lg,html body #creative  .display-md { color: #ffffff !important; }
html body #cta-final .display-xl,html body #cta-final .display-lg { color: #ffffff !important; }

/* Step 5: footer headings only — white */
html body footer h2,html body footer h3,html body footer h4 { color: #ffffff !important; }
html body .footer-col-title { color: #ffffff !important; }

/* Step 6: team & clients — dark headings (light sections) */
html body #team    h2,html body #team    h3 { color: #111111 !important; }
html body #clients h2,html body #clients h3 { color: #111111 !important; }
html body #about   h2,html body #about   h3 { color: #111111 !important; }

/* Step 7: eyebrows always orange */
html body .section-eyebrow,
html body .hero-eyebrow,
html body .eyebrow { color: #E86029 !important; }

/* Step 8: text-white utility */
html body .text-white,html body *.text-white { color: #ffffff !important; }

/* Step 9: outline/ghost buttons */
html body .btn-outline,html body .btn-ghost { color: #ffffff !important; border-color: rgba(255,255,255,0.55) !important; }
html body .btn-outline:hover,html body .btn-ghost:hover { color: #ffffff !important; border-color: #ffffff !important; }
/* All button text white */
html body .btn { color: #ffffff !important; }
html body a.btn, html body button.btn { color: #ffffff !important; }
html body .btn-outline-white, html body a.btn-outline-white { color: #ffffff !important; }
html body .btn-outline-dark, html body a.btn-outline-dark { color: #ffffff !important; border-color: rgba(255,255,255,0.5) !important; }
html body .btn-orange, html body a.btn-orange { color: #ffffff !important; }
html body .btn-nav-call { color: #ffffff !important; }
/* All eyebrows orange */
html body .eyebrow, html body span.eyebrow { color: #E86029 !important; }
html body .section-eyebrow, html body span.section-eyebrow { color: #E86029 !important; }
html body .hero-eyebrow, html body span.hero-eyebrow { color: #E86029 !important; }
