/* ============================================================
   OMEDIA — MAIN STYLESHEET
   Deep black + Crimson red premium agency design
   ============================================================ */

/* ── Google Font ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  color-scheme: dark;
  --black:      #050505;
  --black-2:    #0d0d0d;
  --black-3:    #111111;
  --red:        #d90429;
  --red-dark:   #a00320;
  --red-glow:   rgba(217, 4, 41, 0.18);
  --red-glow-2: rgba(217, 4, 41, 0.08);
  --white:      #ffffff;
  --muted:      #888888;
  --muted-2:    #555555;
  --border:     rgba(255,255,255,0.07);
  --border-red: rgba(217, 4, 41, 0.25);
  --glass-bg:   rgba(10, 10, 10, 0.85);
  --glass-blur: blur(24px);
  --radius:     28px;
  --radius-md:  16px;
  --radius-sm:  10px;
  --font:       'Plus Jakarta Sans', sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-red: 0 8px 40px rgba(217, 4, 41, 0.25);
  --shadow-dark:0 20px 60px rgba(0,0,0,0.6);
}

/* ── Reset & Base ────────────────────────────────────────── */
::selection {
  background-color: var(--red);
  color: var(--white);
}

::-moz-selection {
  background-color: var(--red);
  color: var(--white);
}

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

html, body {
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: hidden;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

body {
  font-family: var(--font);
  background: #000;
  color: var(--white);
  cursor: none !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a, button {
  cursor: none !important;
}

img { max-width: 100%; display: block; }

/* ── Custom Cursor ───────────────────────────────────────── */
#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

#cursor-ring {
  position: fixed;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(217, 4, 41, 0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

body.cursor-hover #cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--white);
}

body.cursor-hover #cursor-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(217, 4, 41, 0.9);
  background: rgba(217,4,41,0.05);
}

/* ── Site Frame Wrapper ──────────────────────────────────── */
.site-wrapper {
  position: fixed;
  inset: 10px;
  border-radius: var(--radius);
  background: var(--black);
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 40px 120px rgba(0,0,0,0.8),
    0 0 80px rgba(217,4,41,0.05);
  -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar */
.site-wrapper::-webkit-scrollbar { width: 3px; }
.site-wrapper::-webkit-scrollbar-track { background: transparent; }
.site-wrapper::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 99px;
}

/* ── Liquid Background ───────────────────────────────────── */
.liquid-bg {
  position: fixed;
  inset: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #d90429 0%, #6b0015 60%, transparent 100%);
  top: -15%;
  left: -10%;
  animation: blobMove1 18s infinite alternate ease-in-out;
  opacity: 0.22;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #a00320 0%, #3d0010 60%, transparent 100%);
  bottom: 10%;
  right: -10%;
  animation: blobMove2 22s infinite alternate ease-in-out;
  opacity: 0.18;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #ff1744 0%, #d90429 40%, transparent 100%);
  top: 40%;
  left: 50%;
  animation: blobMove3 15s infinite alternate ease-in-out;
  opacity: 0.12;
}

@keyframes blobMove1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(80px, 60px) scale(1.15); }
  66%  { transform: translate(-40px, 120px) scale(0.9); }
  100% { transform: translate(60px, -40px) scale(1.1); }
}

@keyframes blobMove2 {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-100px, -80px) scale(1.2); }
  80%  { transform: translate(60px, -120px) scale(0.85); }
  100% { transform: translate(-80px, 50px) scale(1.1); }
}

@keyframes blobMove3 {
  0%   { transform: translate(-50%, -50%) scale(1); }
  50%  { transform: translate(-50%, -50%) scale(1.4) rotate(30deg); }
  100% { transform: translate(-50%, -50%) scale(0.8) rotate(-20deg); }
}

/* ── Mouse Spotlight ─────────────────────────────────────── */
#mouse-spotlight {
  position: fixed;
  inset: 10px;
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
}

#mouse-spotlight.active {
  opacity: 1;
}

/* ── Navbar ──────────────────────────────────────────────── */
.omedia-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 2.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.omedia-nav.scrolled {
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-menu a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white) !important;
  text-decoration: none;
  background: var(--red);
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  transition: var(--transition) !important;
  border: 1px solid var(--red);
}

.nav-cta:hover {
  background: transparent !important;
  color: var(--red) !important;
  box-shadow: var(--shadow-red);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggler {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: none !important;
  z-index: 1001; /* Keep above overlay when open */
}

.nav-toggler span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, background-color 0.3s;
}

/* Morphing Hamburger-to-X Animation */
.nav-toggler.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--red);
}

.nav-toggler.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggler.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--red);
}

/* Mobile menu collapse container */
.nav-collapse {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.nav-collapse.open {
  transform: translateX(0);
}

.nav-collapse a {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s, transform 0.2s, opacity 0.3s;
  display: block;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.nav-collapse.open a {
  opacity: 1;
  transform: translateY(0);
}

/* Add stagger animations to slide-in menu links when open */
.nav-collapse.open a:nth-child(1) { transition-delay: 0.1s; }
.nav-collapse.open a:nth-child(2) { transition-delay: 0.15s; }
.nav-collapse.open a:nth-child(3) { transition-delay: 0.2s; }
.nav-collapse.open a:nth-child(4) { transition-delay: 0.25s; }
.nav-collapse.open a:nth-child(5) { transition-delay: 0.3s; }
.nav-collapse.open a:nth-child(6) { transition-delay: 0.35s; }
.nav-collapse.open a:nth-child(7) { transition-delay: 0.4s; }
.nav-collapse.open a:nth-child(8) { transition-delay: 0.45s; }
.nav-collapse.open a:nth-child(9) { transition-delay: 0.5s; }
.nav-collapse.open a:nth-child(10) { transition-delay: 0.55s; }

.nav-collapse a:hover {
  color: var(--white);
  transform: scale(1.05);
}

.nav-collapse .nav-cta {
  display: inline-block !important; /* Prevent display: none override */
  font-size: 1rem;
  margin-top: 1rem;
}

/* ── Section Shared ──────────────────────────────────────── */
section {
  position: relative;
  z-index: 2;
}

.section-pad {
  padding: 7rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.3rem;
  height: 1.5px;
  background: var(--red);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.025em;
}

.section-title span {
  color: var(--red);
}

/* ── Hero Section ────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2rem;
  opacity: 0;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

.hero-headline {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-headline .line {
  display: block;
  overflow: hidden;
  line-height: 1.05;
}

.hero-headline .word {
  display: inline-block;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-right: 0.15em;
  color: var(--white);
  will-change: transform, opacity;
  opacity: 0;
}

.hero-headline .word.red {
  color: var(--red);
}

.text-rotate-container {
  display: inline-block !important;
  vertical-align: top;
  color: var(--red);
}

.typewriter-cursor {
  display: inline-block;
  font-weight: 300;
  color: var(--red);
  margin-left: 4px;
  animation: blink 0.9s infinite;
  vertical-align: top;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-headline .word.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.35);
}

.hero-sub {
  max-width: 560px;
  margin: 2.2rem auto 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
  font-weight: 400;
  opacity: 0;
  text-align: center;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  opacity: 0;
}

.btn-primary-red {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: 1.5px solid var(--red);
  transition: var(--transition);
}

.btn-primary-red:hover {
  background: transparent;
  color: var(--red);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}

.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.hero-scroll-hint span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Marquee Strip ───────────────────────────────────────── */
#marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  background: rgba(217, 4, 41, 0.03);
  position: relative;
  z-index: 2;
}

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

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  white-space: nowrap;
}

.marquee-item span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}

.marquee-item:hover span { color: var(--white); }

.marquee-sep { color: var(--red) !important; font-size: 1.2rem !important; letter-spacing: 0 !important; }

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

/* ── About Section ───────────────────────────────────────── */
#about { background: var(--black); }

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-story p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.about-story p strong {
  color: var(--white);
  font-weight: 700;
}

.about-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: gap 0.3s;
}

.about-cta-link:hover { gap: 1rem; color: var(--red); }

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-cell {
  background: var(--black-2);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.3s;
}

.stat-cell:hover { background: rgba(217, 4, 41, 0.06); }

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0;
}

.stat-suffix {
  font-size: 0.55em;
  color: var(--red);
  font-weight: 800;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* ── Services Section ────────────────────────────────────── */
#services { background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 100%); }

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

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

.service-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.8rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(217,4,41,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

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

.service-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.service-card-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  margin-bottom: 1.8rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(217, 4, 41, 0.1);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  transition: var(--transition);
  color: var(--red);
}

.service-card:hover .service-icon {
  background: var(--red);
  color: var(--white);
  transform: rotate(-8deg) scale(1.05);
}

.service-icon svg { width: 26px; height: 26px; }

.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 1.8rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.28rem 0.75rem;
  transition: var(--transition);
}

.service-card:hover .service-tag { border-color: var(--border-red); color: var(--red); }

.service-arrow {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  transition: var(--transition);
}

.service-card:hover .service-arrow {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(45deg);
}

/* ── Portfolio Section ───────────────────────────────────── */
#portfolio { background: var(--black); }

.portfolio-header { text-align: center; margin-bottom: 3rem; }

.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  cursor: none !important;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(217,4,41,0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.portfolio-item.hidden { display: none; }

.portfolio-card {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--black-2);
  border: 1px solid var(--border);
}

.portfolio-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(100%);
}

.portfolio-item:hover .portfolio-card-bg { transform: scale(1.06); }

.grad-1 { background: linear-gradient(135deg, #1a0208 0%, #d90429 40%, #6b0015 70%, #050505 100%); }
.grad-2 { background: linear-gradient(135deg, #050510 0%, #1a1a6b 40%, #d90429 70%, #0d000a 100%); }
.grad-3 { background: linear-gradient(135deg, #001a0a 0%, #006b1a 40%, #d90429 70%, #050505 100%); }
.grad-4 { background: linear-gradient(135deg, #0a0515 0%, #4b006b 40%, #d90429 70%, #050505 100%); }
.grad-5 { background: linear-gradient(135deg, #0d0505 0%, #6b1a00 40%, #d90429 70%, #050505 100%); }
.grad-6 { background: linear-gradient(135deg, #050505 0%, #1a6b6b 40%, #d90429 70%, #0d0505 100%); }
.grad-7 { background: linear-gradient(135deg, #05050d 0%, #006b4b 40%, #d90429 70%, #050505 100%); }
.grad-8 { background: linear-gradient(135deg, #0d0a00 0%, #6b6b00 40%, #d90429 70%, #050505 100%); }

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(217,4,41,0.95) 0%, rgba(217,4,41,0.5) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 2;
}

.portfolio-item:hover .portfolio-card-overlay {
  background: linear-gradient(to top, rgba(217,4,41,1) 0%, rgba(217,4,41,0.7) 40%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0.9) 100%);
}

.portfolio-cat-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 0.22rem 0.7rem;
  margin-bottom: 0.6rem;
  width: fit-content;
}

.portfolio-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.portfolio-sub { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

.portfolio-hover-icon {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 40px;
  height: 40px;
  background: rgba(5,5,5,0.7);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: scale(0.7) rotate(-45deg);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.portfolio-item:hover .portfolio-hover-icon { opacity: 1; transform: scale(1) rotate(0deg); }

/* ── Clients Section ─────────────────────────────────────── */
#clients {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.client-logo-cell {
  background: var(--black);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.client-logo-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(217,4,41,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.client-logo-cell:hover::after { opacity: 1; }
.client-logo-cell:hover { background: rgba(217, 4, 41, 0.04); }

.client-name {
  font-size: clamp(0.9rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--muted-2);
  text-align: center;
  transition: color 0.3s;
  user-select: none;
  position: relative;
  z-index: 1;
}

.client-logo-cell:hover .client-name { color: var(--white); }

/* ── CTA Band ────────────────────────────────────────────── */
#cta-band {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, #b50020 100%);
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem;
}

#cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(0,0,0,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(0,0,0,0.35) 0%, transparent 60%);
}

#cta-band::after {
  content: 'OMEDIA';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.06em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  font-family: var(--font);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.2rem;
}

.cta-headline {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 2.8rem;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--white);
  color: var(--red);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.4rem;
  border-radius: 100px;
  border: 1.5px solid var(--white);
  transition: var(--transition);
}

.btn-cta-white:hover {
  background: transparent;
  color: var(--white);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}

/* ── Contact Section ─────────────────────────────────────── */
#contact { background: var(--black); }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
}

.contact-info-card .section-title { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-bottom: 1.5rem; }

.contact-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-detail-item { display: flex; align-items: flex-start; gap: 1rem; }

.contact-detail-icon,
.cd-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(217, 4, 41, 0.1);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}

.contact-detail-icon svg,
.cd-icon svg { width: 18px; height: 18px; }

.contact-detail-label,
.cd-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.25rem;
}

.contact-detail-value,
.cd-text { font-size: 0.95rem; font-weight: 600; color: var(--white); }

.contact-detail-value a,
.cd-text a { color: var(--white); text-decoration: none; transition: color 0.3s; }
.contact-detail-value a:hover,
.cd-text a:hover { color: var(--red); }

/* Contact Form */
.contact-form-wrap {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
}

.form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.form-subtitle { font-size: 0.88rem; color: var(--muted); margin-bottom: 2.2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.form-control-custom {
  width: 100%;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-control-custom::placeholder { color: var(--muted-2); }

.form-control-custom:focus {
  border-color: var(--red);
  background: rgba(217, 4, 41, 0.05);
  box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.1);
}

select.form-control-custom,
.form-select-custom,
select {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--white) !important;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.2rem center !important;
  padding-right: 2.8rem !important;
}

select.form-control-custom:focus,
.form-select-custom:focus,
select:focus {
  border-color: var(--red) !important;
  background-color: rgba(217, 4, 41, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.1) !important;
}

select.form-control-custom option,
.form-select-custom option,
select option {
  background-color: #0d0d0d !important;
  color: #ffffff !important;
  padding: 10px;
}

textarea.form-control-custom { resize: vertical; min-height: 120px; }

.btn-submit {
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid var(--red);
  border-radius: 100px;
  padding: 1rem 2rem;
  cursor: none !important;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.btn-submit:hover { background: transparent; color: var(--red); box-shadow: var(--shadow-red); }
.btn-submit:disabled { opacity: 0.6; }

.form-message {
  margin-top: 1rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.3);
  color: #00c853;
  display: block;
}

.form-message.error {
  background: rgba(217, 4, 41, 0.1);
  border: 1px solid rgba(217, 4, 41, 0.3);
  color: var(--red);
  display: block;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img { height: 36px; margin-bottom: 1.2rem; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 280px;
}

.footer-social { display: flex; gap: 0.7rem; margin-top: 1.5rem; }

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--red);
  background: rgba(217,4,41,0.1);
  color: var(--red);
  transform: translateY(-2px);
}

.social-btn svg { width: 16px; height: 16px; }

.footer-col h6 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.3rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col ul a:hover { color: var(--white); }

.footer-col ul a::before {
  content: '→';
  color: var(--red);
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(-6px);
}

.footer-col ul a:hover::before { opacity: 1; transform: translateX(0); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.8rem; color: var(--muted-2); }
.footer-copy a { color: var(--red); text-decoration: none; }

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
  font-size: 0.78rem;
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover { color: var(--white); }

/* ── Utility ─────────────────────────────────────────────── */
.container-fluid-custom {
  padding-left: 4vw;
  padding-right: 4vw;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.fade-up { opacity: 0; transform: translateY(40px); }

/* ── Scroll to Top ───────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 999;
  cursor: none !important;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-red);
}

#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ── Page Loader ─────────────────────────────────────────── */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #050505;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.loader-logo { height: 48px; width: auto !important; object-fit: contain; }

.loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--red);
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ── Noise overlay ───────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 10px;
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 5;
  opacity: 0.025;
  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");
  background-size: 200px 200px;
  mix-blend-mode: overlay;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-content { grid-template-columns: 1fr; gap: 3rem; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .omedia-nav { padding: 0 1.5rem; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggler { display: flex; }
  .section-pad { padding: 5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-wrapper { inset: 6px; border-radius: 20px; }
  .liquid-bg, #mouse-spotlight, .noise-overlay { inset: 6px; border-radius: 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; gap: 0.8rem; }
  .hero-actions a { width: 100%; justify-content: center; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-filters { gap: 0.4rem; }
  .filter-btn { padding: 0.4rem 0.9rem; font-size: 0.72rem; }
}

/* ── Team Section ────────────────────────────────────────── */
.team-header {
  text-align: center;
  margin-bottom: 4rem;
}

.team-slider {
  width: 100%;
  padding-bottom: 4rem;
  overflow: hidden;
  position: relative;
}

.team-card {
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 4, 41, 0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.team-img-wrap {
  position: relative;
  aspect-ratio: 488/578; /* Perfect 488x578 aspect ratio of team photos */
  overflow: hidden;
  background: #080808;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Full scale display without cropping */
  transition: transform 0.6s ease;
  display: block;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

/* Swiper Pagination Customization */
.team-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}

.team-pagination .swiper-pagination-bullet-active {
  background: var(--red) !important;
  width: 24px;
  border-radius: 4px;
  box-shadow: var(--shadow-red);
}

.team-social-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-social-overlay {
  opacity: 1;
}

.team-social-btn {
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(217, 4, 41, 0.3);
  text-decoration: none !important;
}

.team-social-btn:hover {
  transform: scale(1.1);
  background: var(--white);
  color: var(--red);
}

.team-social-btn svg {
  width: 20px;
  height: 20px;
}

.team-info {
  padding: 1.8rem;
  text-align: center;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.team-role {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
}

/* Footer Grid Fixes for Subpages */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h6 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 0.8rem;
}
.footer-col ul li a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col ul li a:hover {
  color: var(--red);
}
.footer-desc {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links .social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-links .social-btn:hover {
  background: var(--red);
  transform: translateY(-3px);
}
.social-links .social-btn svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Hero Project Showcase Background Marquee ──────────────── */
.hero-bg-showcase {
  position: absolute;
  inset: 0;
  z-index: 0; /* behind hero elements like h1, buttons but above liquid-bg */
  opacity: 0.12; /* Low opacity for readability */
  pointer-events: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0;
  will-change: transform;
}

.hero-eyebrow,
.hero-headline,
.hero-sub,
.hero-actions,
.hero-scroll-hint {
  position: relative;
  z-index: 2;
}

.showcase-track {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.showcase-track-inner {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.showcase-img {
  width: 280px;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.showcase-track-left .showcase-track-inner {
  animation: scrollLeft 45s linear infinite;
}

.showcase-track-right .showcase-track-inner {
  animation: scrollRight 45s linear infinite;
}

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

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

/* ── Custom Cursor Mobile Optimization & Overlap fixes ────── */
@media (max-width: 1024px) {
  /* Restore default cursor and hide custom dots */
  body, a, button, input, select, textarea, .portfolio-card, .filter-btn, .team-social-btn, .nav-toggler {
    cursor: auto !important;
  }
  
  #cursor-dot, #cursor-ring {
    display: none !important;
  }
}

/* Responsive Overrides & Sticky Sidebar Fixes */
@media (max-width: 991px) {
  /* Fix sticky sidebar overlap on project and blog pages */
  .project-meta-sidebar,
  .post-sidebar {
    position: relative !important;
    top: 0 !important;
    margin-top: 2rem;
  }
  
  .hero-bg-showcase {
    gap: 1rem;
    opacity: 0.08; /* slightly lower on mobile for smaller text contrast */
  }
  
  .showcase-img {
    width: 180px;
    height: 120px;
  }
}
