/* ─────────────────────────────────────────────
   BRANDFOLIO — Luxury Design Direction (2026 Edition)
   Deep Titanium Black · Electric Cyber-Lime / Neon Gold · Glassmorphism
   ───────────────────────────────────────────── */

:root {
  --bg: #060709;
  --surface: #0c0e12;
  --surface-hover: #12151b;
  --card: #11141a;
  --card-elevated: #161a22;
  --edge: rgba(255, 255, 255, 0.08);
  --edge-highlight: rgba(255, 255, 255, 0.16);
  --edge-glow: rgba(235, 255, 0, 0.25);
  
  --text: #f4f5f8;
  --text-muted: #8a909d;
  --text-dim: #5c6270;
  
  /* Primary Accent: Electric Neon Gold / Cyber Lime */
  --accent: #E8FF3B;
  --accent-rgb: 232, 255, 59;
  --accent-hover: #d2e82f;
  --accent-text: #060709;
  
  /* Secondary Subtle Tone */
  --accent-subtle: rgba(232, 255, 59, 0.12);
  --accent-border: rgba(232, 255, 59, 0.35);

  --footer-bg: #090a0d;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --surface-radius: 24px;
  
  --pad: 24px;
  --gutter: 12px;
  --inset: 20px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 255, 59, 0.06), transparent 70%),
    radial-gradient(circle at 100% 10%, rgba(47, 111, 232, 0.04), transparent 40%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; }
img { display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Top Sponsor Bar (Refined Glass Banner) ── */
.topbar {
  background: rgba(12, 14, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px var(--pad);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--edge);
}
.sponsorbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 28px;
}
.sponsorbar-tag {
  justify-self: start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232, 255, 59, 0.08);
  border: 1px solid var(--accent-border);
  padding: 5px 12px;
  border-radius: 30px;
  line-height: 1.2;
}
.sponsorbar-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #a0a6b5;
  justify-self: center;
  font-size: 13px;
  transition: color .2s;
}
.sponsorbar-main:hover { color: #fff; }
.sponsorbar-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.14);
  flex: 0 0 auto;
}
.sponsorbar-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.sponsorbar-book {
  justify-self: end;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  transition: color .2s;
}
.sponsorbar-book:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.sponsorbar-book .short { display: none; }

/* ── Hero Band ── */
.hero-band {
  padding: 18px var(--gutter) 24px;
  max-width: none;
  margin: 0;
}

/* ── FULLWIDTH LOGO TYPOGRAPHY (BRRRANDING style) ── */
.hero-wordmark-container {
  width: 100%;
  position: relative;
  overflow: visible;
  padding: 30px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.wordmark-fullwidth {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
  text-decoration: none;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.wordmark-fullwidth:hover {
  opacity: 0.98;
}
.wordmark-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,0.8));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.wordmark-img:hover {
  transform: scale(1.008);
  filter: drop-shadow(0 12px 48px rgba(232,255,59,0.18));
}

/* Ambient Neon Glow Aura behind Logo */
.hero-glow-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(232, 255, 59, 0.12) 0%, rgba(47, 111, 232, 0.08) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

/* Top Floating Status Badges */
.logo-top-badge {
  position: absolute;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 25, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  color: #d1d6e0;
  letter-spacing: 0.04em;
  z-index: 6;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.logo-top-badge-left { left: 16px; }
.logo-top-badge-right { right: 16px; }

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}
.live-pulse-dot.alt {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Modern Floating Project Popups around Logo */
.logo-popups {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
  pointer-events: auto;
}
.logo-popups-left {
  left: 12px;
}
.logo-popups-right {
  right: 12px;
}
.logo-popup-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 22, 30, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 230px;
}
.logo-popups-left .logo-popup-card:nth-child(1) {
  animation: floatLeftOne 5s ease-in-out infinite alternate;
}
.logo-popups-left .logo-popup-card:nth-child(2) {
  animation: floatLeftTwo 6s ease-in-out infinite alternate;
  margin-left: 18px;
}
.logo-popups-left .logo-popup-card:nth-child(3) {
  animation: floatLeftThree 5.8s ease-in-out infinite alternate;
  margin-left: 6px;
}
.logo-popups-right .logo-popup-card:nth-child(1) {
  animation: floatRightOne 5.5s ease-in-out infinite alternate;
}
.logo-popups-right .logo-popup-card:nth-child(2) {
  animation: floatRightTwo 6.5s ease-in-out infinite alternate;
  margin-right: 18px;
}
.logo-popups-right .logo-popup-card:nth-child(3) {
  animation: floatRightThree 6.2s ease-in-out infinite alternate;
  margin-right: 6px;
}

/* Bottom Tag Pills (Clean positioning below wordmark) */
.logo-bottom-floating-tags {
  position: relative;
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 6;
  pointer-events: auto;
}
.ftag {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.05em;
  color: #d8deea;
  background: rgba(14, 18, 25, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.25s ease;
  user-select: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
}
.ftag:hover {
  background: var(--accent);
  color: #060709;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232,255,59,0.3);
}

@keyframes floatLeftThree {
  0% { transform: translateY(0px) rotate(0.5deg); }
  50% { transform: translateY(-7px) rotate(-1deg); }
  100% { transform: translateY(5px) rotate(0.8deg); }
}
@keyframes floatRightThree {
  0% { transform: translateY(0px) rotate(-0.5deg); }
  50% { transform: translateY(9px) rotate(1deg); }
  100% { transform: translateY(-6px) rotate(-0.6deg); }
}
.logo-popup-card:hover {
  transform: translateY(-6px) scale(1.05) !important;
  background: rgba(26, 31, 44, 0.92);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(232, 255, 59, 0.3);
  z-index: 10;
}
.logo-popup-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.logo-popup-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.logo-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #060709;
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 3px;
}
.logo-popup-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.logo-popup-sub {
  font-size: 11px;
  color: #a0a6b5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes floatLeftOne {
  0% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(6px) rotate(-0.5deg); }
}
@keyframes floatLeftTwo {
  0% { transform: translateY(0px) rotate(1deg); }
  50% { transform: translateY(8px) rotate(-1deg); }
  100% { transform: translateY(-8px) rotate(0.5deg); }
}
@keyframes floatRightOne {
  0% { transform: translateY(0px) rotate(1deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
  100% { transform: translateY(4px) rotate(0.5deg); }
}
@keyframes floatRightTwo {
  0% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(6px) rotate(1deg); }
  100% { transform: translateY(-10px) rotate(-0.5deg); }
}

@media (max-width: 1280px) {
  .logo-popups {
    display: none;
  }
}
.wordmark-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  line-height: 0.85;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  user-select: none;
}
.wordmark-primary {
  font-size: clamp(48px, 12.8vw, 210px);
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.05em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.wordmark-primary span {
  display: inline-block;
  transition: color 0.3s, transform 0.3s;
}
.wordmark-primary span:hover {
  color: var(--accent);
  transform: translateY(-4px);
}
.wordmark-secondary {
  font-size: clamp(32px, 8.5vw, 140px);
  color: var(--accent);
  font-weight: 900;
  margin-top: 4px;
  align-items: baseline;
}
.wordmark-secondary span {
  display: inline-block;
}
.wordmark-badge {
  font-size: clamp(10px, 1.2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #060709;
  background: var(--accent);
  padding: 6px 18px;
  border-radius: 40px;
  align-self: center;
  margin-left: auto;
  box-shadow: 0 0 20px rgba(232, 255, 59, 0.4);
}

/* ── LIVE HERO TICKER (Auto-scrolling Carousel) ── */
.hero-ticker-section {
  margin-top: 24px;
  background: rgba(18, 21, 27, 0.65);
  border: 1px solid var(--edge);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.ticker-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}
.ticker-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
.ticker-title {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ticker-count {
  margin-left: auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  background: rgba(232, 255, 59, 0.1);
  border: 1px solid var(--accent-border);
  padding: 3px 10px;
  border-radius: 20px;
}
.ticker-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: tickerAutoScroll 45s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
@keyframes tickerAutoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--edge);
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  width: 280px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.ticker-item:hover {
  border-color: var(--accent);
  background: var(--card-elevated);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.ticker-img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #1a1a2e;
}
.ticker-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ticker-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}
.ticker-studio {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.ticker-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

/* ── QUICK TAGS BAR (Pinterest / Dribbble Tag Strip) ── */
.quick-tags-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.quick-tags-bar::-webkit-scrollbar { display: none; }

.qtag-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
}
.qtag-chip {
  font-size: 12px;
  font-weight: 600;
  color: #a0a6b5;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--edge);
  padding: 5px 13px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
}
.qtag-chip:hover {
  color: #ffffff;
  border-color: var(--accent-border);
  background: rgba(232, 255, 59, 0.08);
  transform: translateY(-1px);
}
.qtag-chip.is-on {
  color: var(--accent-text);
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(232, 255, 59, 0.35);
}

.qcount {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.75;
  margin-left: 3px;
}
.qtag-chip.is-on .qcount {
  opacity: 0.9;
  font-weight: 600;
}

.quick-sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 2px;
  overflow-x: auto;
}
.quick-sort-bar .chip {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 24px calc(var(--pad) - var(--gutter)) 36px;
}
.hero-lead {
  flex: 0 1 580px;
  margin: 0;
  font-size: 21px;
  line-height: 1.4;
  color: #9aa1b0;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}
.mc {
  display: flex;
  gap: 10px;
  flex: 1 1 380px;
  max-width: 560px;
  min-width: 280px;
  flex-wrap: wrap;
}
.mc input[type=email] {
  flex: 1;
  min-width: 0;
  padding: 16px 24px;
  border-radius: 40px;
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.mc input[type=email]:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(232, 255, 59, 0.15);
}
/* ── Universal SVG & Icon Flex Protection ── */
svg {
  flex-shrink: 0;
}
.btn svg,
.btn-inquire-main svg,
.btn-inquire-secondary svg,
.floating-wa-pill svg,
.floating-hire-pill svg,
.btn-hire-topbar svg,
.btn-top svg,
.search-icon svg,
.fbtn svg,
.card-fav-btn svg,
.lb-close svg,
.lb-nav svg,
.proj-fs-iconbtn svg,
.proj-fs-nav svg {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* ── Buttons (High-Impact Luxury) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 40px;
  border: 0;
  cursor: pointer;
  line-height: 1.2;
  transition: all .24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(232, 255, 59, 0.22);
}
.btn:hover {
  background: #f1ff66;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 255, 59, 0.35);
}
.btn:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--edge-highlight);
  white-space: nowrap;
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  padding: 16px 8px;
  font-size: 14px;
  font-weight: 500;
  color: #abb2c2;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  transition: color .2s;
}
.hero-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ── Page Shell (Full Edge-to-Edge Fluid Surface) ── */
.page {
  max-width: none;
  margin: 0 var(--gutter) var(--gutter);
  padding: calc(var(--pad) - var(--gutter)) calc(var(--pad) - var(--gutter)) 72px;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--surface-radius);
  box-shadow: none;
}

/* ── Scroll Reveal ── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}
.grid > [data-reveal]:nth-child(3n+2) { --rd: .05s; }
.grid > [data-reveal]:nth-child(3n)   { --rd: .1s; }

/* ── Filters (Glassmorphic Toolbar) ── */
.filters {
  padding: 0 0 28px;
  position: relative;
}
.filters-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search {
  position: relative;
  flex: 1 1 280px;
  max-width: 400px;
  display: flex;
  align-items: center;
  color: var(--text-dim);
}
.search svg {
  position: absolute;
  left: 16px;
  pointer-events: none;
  transition: color .2s;
}
.search input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border-radius: 40px;
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
  -webkit-appearance: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--text-dim); }
.search input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(232, 255, 59, 0.15);
}
.search input:focus + svg, .search:focus-within svg { color: var(--accent); }

.filter-groups { display: flex; gap: 8px; flex-wrap: wrap; }
.fbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 40px;
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.02);
  color: #d1d5df;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
  transition: all .2s ease;
}
.fbtn:hover, .fbtn[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.fbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.fbtn svg { transition: transform .2s ease; opacity: .7; }
.fbtn.has-on {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}
.fcount {
  background: var(--accent);
  color: var(--accent-text);
  font-size: 10.5px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.result-count {
  margin: 0 0 0 auto;
  font-size: 13.5px;
  color: var(--text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Filter Dropdown Panels */
.fpanel {
  margin-top: 14px;
  padding: 18px;
  background: #11141a;
  border: 1px solid var(--edge-highlight);
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  animation: panel-in .2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 40px;
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.02);
  color: #cbd1dc;
  font-size: 13.5px;
  cursor: pointer;
  line-height: 1.2;
  transition: all .16s ease;
}
.chip:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.chip .n { font-size: 11.5px; color: var(--text-dim); }
.chip.is-on, .chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
}
.chip.is-on .n, .chip[aria-pressed="true"] .n { color: rgba(0, 0, 0, 0.6); }
.swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  flex: 0 0 auto;
}

/* Active Filter Pills */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.apill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 40px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-text);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
  transition: transform .15s ease;
}
.apill:hover { transform: scale(1.02); }
.apill span { opacity: 0.6; font-size: 14px; margin-left: 2px; }
.apill:hover span { opacity: 1; }
.apill-clear {
  background: transparent;
  color: #fff;
  border-color: var(--edge-highlight);
  font-weight: 500;
}
.apill-clear:hover { border-color: rgba(255, 255, 255, 0.6); }
.empty {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 18px;
  padding: 60px 0;
  text-align: center;
}
.link-btn {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

/* ── Grid (Edge-to-Edge 3-Column Minimal Gutter Layout) ── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  grid-auto-flow: dense;
}

/* ── Cards (Architectural Flat Edge-to-Edge System) ── */
.card {
  display: block;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  transition: none;
}
.card:hover {
  transform: none;
}
.card-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  position: relative;
  border: 1px solid var(--edge);
  box-shadow: none;
  transition: border-color .3s ease;
}
.card:hover .card-media {
  border-color: rgba(255, 255, 255, 0.22);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.card:hover .card-media img {
  transform: scale(1.025);
}

.card-caption {
  position: absolute;
  inset: auto 0 0 0;
  margin: 0;
  padding: 48px var(--inset) var(--inset);
  font-size: 14.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.card-caption strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.card:hover .card-caption,
.card:focus-visible .card-caption {
  opacity: 1;
  transform: none;
}
@media (hover: none) { .card-caption { opacity: 1; transform: none; } }

/* Card Image Ticker Dots */
.card-ticker {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
  opacity: 0;
  transition: opacity .2s;
}
.card:hover .card-ticker { opacity: 1; }
.card-tick {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: none;
  padding: 0;
}
.card-tick:hover { transform: scale(1.2); }
.card-tick.active {
  background: var(--accent);
  box-shadow: 0 0 6px rgba(232, 255, 59, 0.6);
}

/* ── Load More / Infinite Sentinel ── */
.more-wrap {
  display: flex;
  justify-content: center;
  padding: 60px 0 10px;
}
.pill {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid var(--edge-highlight);
  border-radius: 60px;
  padding: 18px 48px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
}
.pill:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.pill[disabled] { opacity: .4; cursor: default; }

/* ── Lightbox (Minimalist Cinema View) ── */
.lb-overlay {
  position: fixed; inset: 0;
  background: rgba(6, 7, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 200;
  animation: fade-in .2s ease;
}
.lightbox {
  position: fixed; inset: 0;
  z-index: 201;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  pointer-events: none;
}
.lightbox-inner {
  pointer-events: all;
  background: #101318;
  border: 1px solid var(--edge-highlight);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 320px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.7);
  animation: scale-in .22s cubic-bezier(.4, 0, .2, 1);
}
.lb-gallery {
  position: relative;
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 4/3;
}
.lb-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .25s ease;
}
.lb-info {
  padding: 30px 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid var(--edge);
}
.lb-studio { font-size: 13.5px; color: var(--text-muted); }
.lb-studio a { color: #d0d5e2; text-decoration: underline; text-underline-offset: 3px; }
.lb-studio a:hover { color: var(--accent); }
.lb-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
}
.lb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lb-tag {
  font-size: 12px;
  color: #c4cad8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--edge);
  padding: 4px 12px;
  border-radius: 20px;
}
.lb-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.lb-thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.lb-thumb {
  width: 48px; height: 48px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s;
}
.lb-thumb.active { border-color: var(--accent); }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: auto;
}
.lb-close {
  position: fixed; top: 18px; right: 18px; z-index: 202;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(18, 22, 28, 0.9);
  border: 1px solid var(--edge-highlight);
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,.4);
  transition: background .2s, transform .2s;
}
.lb-close:hover {
  background: rgba(30, 36, 46, 0.95);
  transform: rotate(90deg);
}
.lb-nav {
  position: fixed; top: 50%; translate: 0 -50%; z-index: 202;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(18, 22, 28, 0.85);
  border: 1px solid var(--edge-highlight);
  display: flex; align-items: center; justify-content: center;
  color: #fff; cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0,0,0,.4);
  transition: all .2s;
}
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-nav:hover { background: rgba(30, 36, 46, 0.95); transform: translateY(-50%) scale(1.05); }
.lb-nav:disabled { opacity: .25; cursor: default; }

@keyframes fade-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes scale-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* ── Footer (Deep Dark Cinematic Closing) ── */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--edge);
  color: #fff;
  min-height: calc(100vh - 52px);
  display: flex;
  flex-direction: column;
}
.footer-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--pad) var(--gutter);
  position: relative;
}
.footer-top {
  position: absolute;
  top: 24px; left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between;
  font-size: 14px; margin: 0; z-index: 2;
  flex-wrap: wrap; gap: 4px 16px;
  color: var(--text-muted);
}
.footer-top a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.footer-top a:hover { color: var(--accent); }

.footer-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex; justify-content: center; align-items: center;
  padding: 60px 0;
}
.footer-slides {
  position: relative;
  width: min(680px, 72vw, calc((100svh - 392px) * 1.25));
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--edge);
  z-index: 1;
  box-shadow: 0 24px 70px rgba(0,0,0,.6);
}
.footer-slides a { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.footer-slides a.is-active { opacity: 1; }
.footer-slides img { width: 100%; height: 100%; object-fit: cover; }

.footer-close {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--surface-radius);
  padding: var(--pad);
  margin: 0 calc(var(--gutter) - 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  row-gap: 26px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.footer-blurb {
  flex: 1 1 100%;
  max-width: 720px;
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.01em;
}
.footer-actions {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-close .mc input[type=email] {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--edge);
  color: #fff;
}
.footer-close .mc input[type=email]::placeholder { color: var(--text-dim); }
.footer-close .mc input[type=email]:focus { border-color: var(--accent); }
.footer-close .mc .btn { background: var(--accent); color: var(--accent-text); }
.footer-close .btn-ghost { color: #fff; border-color: var(--edge-highlight); }
.footer-close .btn-ghost:hover { border-color: #fff; }
.footer-close .hero-link {
  color: var(--text-muted);
  text-decoration-color: rgba(255,255,255,.2);
}
.footer-close .hero-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.footer-fine { margin: 26px 0 0; font-size: 12px; color: var(--text-dim); }

/* ── Cookie Banner ── */
.cookie {
  position: fixed; left: var(--gutter); bottom: var(--gutter);
  z-index: 60;
  width: min(390px, calc(100vw - 2 * var(--gutter)));
  background: #11141a;
  border: 1px solid var(--edge-highlight);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}
.cookie.is-on { opacity: 1; transform: none; }
.cookie p { margin: 0 0 16px; color: #a9b0c0; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button {
  font: inherit; font-weight: 700; font-size: 13.5px;
  border-radius: 999px; padding: 11px 18px; cursor: pointer;
  border: 1px solid transparent;
}
.cookie-yes { background: var(--accent); color: var(--accent-text); }
.cookie-yes:hover { filter: brightness(1.08); }
.cookie-no { background: transparent; color: #fff; border-color: var(--edge-highlight); }
.cookie-no:hover { border-color: #fff; }

/* ── Project Detail Page (Editorial Studio Case Study) ── */
body.project-page {
  background: #08090d;
  color: #e5e9f0;
  min-height: 100vh;
}

body.project-page .topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad, 32px);
  background: rgba(8, 9, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.project-page .topbar-logo {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
}
body.project-page .topbar-logo:hover {
  opacity: 0.85;
}

body.project-page .topbar-nav {
  display: flex;
  align-items: center;
}

body.project-page .topbar-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #a0a6b5;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}
body.project-page .topbar-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

/* Hero Header */
body.project-page .hero-band {
  width: 100%;
  padding: 60px 24px 48px !important;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(35, 42, 60, 0.45) 0%, rgba(8, 9, 13, 0.98) 100%), #08090d !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

body.project-page .hero-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 280px;
  background: radial-gradient(circle, rgba(232, 255, 59, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

body.project-page .hero-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

body.project-page .hero-studio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(232, 255, 59, 0.08);
  border: 1px solid rgba(232, 255, 59, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
body.project-page .hero-studio::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent);
}

body.project-page .hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 22px;
  max-width: 1060px;
  text-wrap: balance;
}

body.project-page .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

body.project-page .tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #b3bac9;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}
body.project-page .tag .swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
body.project-page .tag:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
body.project-page .hero-meta .tag:first-child {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  font-weight: 700;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 18px;
}

/* Main Container & Overview Card (Brrranding Full-Bleed Design) */
body.project-page main.page.project {
  max-width: 1440px;
  margin: 0 auto 36px;
  padding: 32px 32px 80px;
  width: 100%;
  box-sizing: border-box;
  background: var(--surface);
  border-radius: var(--surface-radius);
}

body.project-page .project-head {
  max-width: 1000px;
  margin-bottom: 40px;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.project-page .project-head h1 {
  font-size: clamp(26px, 4.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
  font-weight: 800;
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: break-word;
}

body.project-page .project-desc {
  font-size: 17px;
  line-height: 1.65;
  color: #d0d0d0;
  margin: 0 0 16px;
  font-weight: 400;
  max-width: 880px;
  letter-spacing: -0.005em;
}
body.project-page .project-desc p {
  margin: 0 0 14px;
}
body.project-page .project-desc p:last-child {
  margin-bottom: 0;
}

body.project-page .project-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

body.project-page .project-source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(232, 255, 59, 0.1);
  border: 1px solid rgba(232, 255, 59, 0.35);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
body.project-page .project-source-link:hover {
  background: var(--accent);
  color: #000000;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 255, 59, 0.35);
}

/* Gallery — Brrranding Full-Bleed Grid & Native Video Animations */
body.project-page .gallery {
  display: grid;
  gap: 12px;
  width: 100%;
  margin-bottom: 60px;
}

body.project-page .gallery figure,
body.project-page .gallery .gallery-item {
  margin: 0;
  padding: 0;
  width: 100%;
}

body.project-page .gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #1c1c1c;
  object-fit: cover;
  aspect-ratio: var(--ar, auto);
  border: none;
  transition: opacity 0.25s ease;
}

body.project-page .gallery video,
body.project-page .gallery .g-mp4 {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--ar, auto);
  object-fit: cover;
  border-radius: 12px;
  background: #1c1c1c;
  border: none;
}

/* Brrranding 2-Column Side-by-Side Media Pairs */
body.project-page .gallery .g-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap, 12px);
  width: 100%;
}

body.project-page .gallery .g-pair img,
body.project-page .gallery .g-pair video,
body.project-page .gallery .g-pair .g-mp4 {
  width: 100%;
  height: 100%;
  aspect-ratio: var(--ar, auto);
  object-fit: cover;
  border-radius: 12px;
  margin: 0;
}

/* Brrranding Embedded Video Wrappers */
body.project-page .gallery .g-video {
  position: relative;
  aspect-ratio: var(--ar, 16 / 9);
  border-radius: 12px;
  overflow: hidden;
  background: #1c1c1c;
  width: 100%;
}
body.project-page .gallery .g-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  body.project-page main.page.project {
    padding: 20px 16px 60px;
    border-radius: 16px;
  }
  body.project-page .gallery .g-pair {
    grid-template-columns: 1fr;
  }
  body.project-page .project-head h1 {
    font-size: 32px;
  }
}

/* Footer */
body.project-page .project-footer {
  text-align: center;
  padding: 44px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 32px;
}

body.project-page .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
body.project-page .btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1180px) {
  .hero-lead { font-size: 18px; flex-basis: 460px; }
}
/* ── Global Shared Elements ── */
.wordmark {
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(26px, 5.5vw, 44px);
  letter-spacing: -0.04em;
  padding: 10px 0;
  text-transform: uppercase;
}
.wordmark-text { color: #ffffff; }
.wordmark-accent { color: var(--accent); }

.crumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.crumbs a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity .2s;
}
.crumbs a:hover { opacity: 0.85; }

/* Legacy / fallback project page layout */
.proj-page-wrap { max-width: 900px; margin: 0 auto; padding: 20px var(--pad) 80px; width: 100%; box-sizing: border-box; }
.proj-header { margin-bottom: 36px; }
.proj-header h1 { font-size: clamp(26px, 5vw, 44px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 12px; color: #fff; word-break: break-word; }
.proj-meta { font-size: 14.5px; color: var(--text-muted); margin-bottom: 18px; }
.proj-meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.proj-meta a:hover { color: var(--accent); }
.proj-desc { font-size: 16px; line-height: 1.6; color: #d0d0d0; max-width: 720px; margin-bottom: 24px; }
.proj-stack { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.proj-full-img { width: 100%; border-radius: 12px; overflow: hidden; background: #1c1c1c; }
.proj-full-img img { width: 100%; height: auto; display: block; object-fit: cover; }
.proj-bottom-nav { display: flex; justify-content: space-between; padding: 28px 0; border-top: 1px solid var(--edge); font-size: 15px; font-weight: 600; flex-wrap: wrap; gap: 12px; }
.proj-bottom-nav a:hover { color: var(--accent); }

/* ── Tablet Responsive (<= 1024px) ── */
@media (max-width: 1024px) {
  :root { --pad: 22px; --gutter: 10px; --surface-radius: 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid > [data-reveal]:nth-child(3n+2),
  .grid > [data-reveal]:nth-child(3n) { --rd: 0s; }
  .grid > [data-reveal]:nth-child(2n) { --rd: .06s; }
  
  .hero-wordmark-container {
    flex-direction: column;
    align-items: center;
    padding: 22px 0 32px;
    margin-bottom: 24px;
  }
  .logo-top-badge {
    position: static;
    display: inline-flex;
    margin: 0 6px 12px;
    font-size: 11px;
  }
  .logo-top-badge-left, .logo-top-badge-right {
    left: auto;
    right: auto;
  }
  .logo-bottom-floating-tags {
    position: static;
    transform: none;
    margin-top: 14px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .hero-row { flex-wrap: wrap; gap: 20px; row-gap: 22px; }
  .hero-lead { flex: 1 1 100%; max-width: none; }
  .hero-actions { flex: 1 1 100%; justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
  .mc { flex: 1 1 340px; max-width: none; }

  .filters-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .search {
    max-width: none;
    width: 100%;
  }
  .filter-groups {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-groups::-webkit-scrollbar { display: none; }
  .result-count { margin-left: 0; }

  .lightbox-inner { grid-template-columns: 1fr; max-height: 94vh; overflow-y: auto; }
  .lb-info { max-height: none; border-left: none; border-top: 1px solid var(--edge); padding: 22px 20px; }

  .footer-top {
    position: static;
    padding: 24px 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer-top nav {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-close {
    margin: 0;
    padding: 28px 20px;
  }

  /* Project pages on tablet / laptop */
  body.project-page main.page.project {
    padding: 24px 20px 60px;
    border-radius: 16px;
  }
  body.project-page .project-head h1 {
    font-size: clamp(28px, 4.5vw, 38px);
  }
  .inquiry-cta-inner {
    grid-template-columns: 1fr;
    padding: 36px 30px;
    gap: 28px;
  }
  .inquiry-cta-actions {
    width: 100%;
    align-items: stretch;
    max-width: 460px;
    margin: 0 auto;
  }
  .inquiry-cta-actions .btn-inquire-main,
  .inquiry-cta-actions .btn-inquire-secondary {
    max-width: 100%;
    width: 100%;
  }
  .cta-guarantee {
    text-align: center;
  }
  .related-projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ── Mobile Landscape & Tablets (<= 768px) ── */
@media (max-width: 768px) {
  :root { --pad: 16px; --gutter: 8px; --surface-radius: 16px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-row { flex-direction: column; align-items: stretch; padding: 18px 0 24px; gap: 18px; }
  .hero-lead { font-size: 15.5px; line-height: 1.55; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .btn-hire-topbar,
  .btn-wa-topbar,
  .hero-actions .btn { width: 100%; justify-content: center; text-align: center; padding: 13px 20px; font-size: 14px; box-sizing: border-box; }
  .mc { min-width: 0; width: 100%; flex: none; display: flex; flex-direction: column; gap: 8px; }
  .mc input[type=email] { width: 100%; padding: 13px 16px; font-size: 16px; box-sizing: border-box; }
  .search input { font-size: 16px; padding: 12px 16px 12px 42px; }
  .filters { padding-bottom: 16px; }
  .search { max-width: none; flex-basis: 100%; }
  .filter-groups {
    margin: 0 calc(-1 * var(--pad));
    padding: 4px var(--pad);
  }
  .fbtn { padding: 8px 13px; font-size: 12.5px; min-height: 38px; }
  .result-count { font-size: 12.5px; }
  .fpanel { padding: 14px; max-height: 48vh; overflow-y: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
  
  /* Hero wordmark & badges */
  .hero-wordmark-container {
    padding: 14px 0 24px;
    margin-bottom: 18px;
  }
  .logo-top-badge {
    font-size: 10px;
    padding: 4px 10px;
    margin: 0 4px 10px;
  }
  .wordmark-img {
    max-height: 220px;
  }
  .logo-bottom-floating-tags {
    margin-top: 12px;
    gap: 6px;
    padding: 0 4px;
  }
  .ftag {
    font-size: 10px;
    padding: 5px 12px;
    letter-spacing: 0.04em;
  }
  
  /* Ticker */
  .hero-ticker-section {
    padding: 12px 14px;
    margin-top: 16px;
  }
  .ticker-item {
    width: 240px;
    padding: 8px 12px 8px 8px;
  }
  .ticker-img {
    width: 46px;
    height: 46px;
  }
  
  /* Footer */
  .footer { min-height: auto; }
  .footer-inner { padding: 0 var(--pad) var(--gutter); }
  .footer-stage { padding: 16px 0 32px; }
  .footer-close { margin: 0; padding: 22px 16px; border-radius: 14px; }
  .footer-blurb { font-size: 16px; }

  /* Project detail pages — 768px Tablet & Mobile */
  body.project-page .topbar {
    padding: 10px 14px;
    gap: 8px;
  }
  body.project-page .topbar-logo {
    font-size: 13.5px;
    font-weight: 850;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
  body.project-page .topbar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  body.project-page .topbar-nav a {
    padding: 6px 11px;
    font-size: 11.5px;
    white-space: nowrap;
  }
  body.project-page .topbar-nav .btn-hire-topbar {
    padding: 6px 12px;
    font-size: 11.5px;
    white-space: nowrap;
  }
  body.project-page .hero-band {
    padding: 32px 18px 24px !important;
  }
  body.project-page .hero-studio {
    font-size: 11px;
    padding: 4px 12px;
    margin-bottom: 12px;
  }
  body.project-page .hero-title {
    font-size: clamp(24px, 6.2vw, 36px) !important;
    line-height: 1.15 !important;
    margin: 0 0 14px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  body.project-page .hero-meta {
    margin-top: 12px;
    gap: 6px;
  }
  body.project-page .hero-meta .tag,
  body.project-page .tag {
    font-size: 11.5px !important;
    padding: 5px 12px !important;
    line-height: 1.2 !important;
  }
  body.project-page main.page.project,
  .proj-page-wrap {
    padding: 20px 14px 50px !important;
    border-radius: 14px !important;
    margin: 0 auto 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  body.project-page .project-head,
  .proj-header {
    margin-bottom: 24px !important;
    gap: 14px !important;
  }
  body.project-page .project-head h1,
  .proj-header h1 {
    font-size: clamp(24px, 6vw, 34px) !important;
    line-height: 1.15 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  body.project-page .project-desc,
  .proj-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #cfd5e0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin-bottom: 16px !important;
  }
  body.project-page .project-head-actions,
  .proj-header div[style*="display:flex"],
  .project-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  body.project-page .project-source-link,
  body.project-page .project-head-actions .btn,
  body.project-page .project-head-actions .btn-hire-topbar,
  body.project-page .project-fullscreen-btn,
  .proj-header .btn,
  .proj-header .btn-ghost,
  body.project-page .project-head-actions > * {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 13px 20px !important;
    font-size: 13.5px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
    display: inline-flex !important;
    border-radius: 10px !important;
  }
  body.project-page .gallery,
  .proj-stack {
    gap: 10px !important;
    margin-bottom: 32px !important;
    width: 100% !important;
  }
  body.project-page .gallery figure,
  body.project-page .gallery .gallery-item,
  .proj-full-img {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }
  body.project-page .gallery img,
  body.project-page .gallery video,
  body.project-page .gallery .g-mp4,
  .proj-full-img img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
    display: block !important;
    object-fit: cover !important;
    box-sizing: border-box !important;
  }
  body.project-page .gallery .g-pair {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  body.project-page .gallery .g-video {
    width: 100% !important;
    border-radius: 10px !important;
    aspect-ratio: 16/9 !important;
  }
  .proj-bottom-nav,
  .project-nav,
  body.project-page .project-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
    padding: 24px 0 32px !important;
    width: 100% !important;
  }
  .proj-bottom-nav a,
  .project-nav a,
  body.project-page .btn-back {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 13.5px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: inline-flex !important;
  }
  .project-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .proj-gallery {
    position: static;
  }
  .project-inquiry-cta {
    padding: 0 10px !important;
    margin: 28px auto 26px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .inquiry-cta-inner {
    grid-template-columns: 1fr !important;
    padding: 26px 16px !important;
    border-radius: 16px !important;
    gap: 20px !important;
  }
  .cta-title {
    font-size: clamp(20px, 4.8vw, 24px) !important;
  }
  .cta-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }
  .cta-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .cta-stat {
    padding: 8px 4px !important;
    text-align: center !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  .cta-stat .stat-num { font-size: 16px !important; }
  .cta-stat .stat-lbl { font-size: 9.5px !important; }
  .inquiry-cta-actions {
    width: 100% !important;
    align-items: stretch !important;
    max-width: 100% !important;
    gap: 10px !important;
  }
  .btn-inquire-main, .btn-inquire-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 14px 18px !important;
    font-size: 14px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    border-radius: 10px !important;
  }
  .cta-guarantee {
    font-size: 11px !important;
    text-align: center !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
  }
  .related-projects-section {
    padding: 0 10px !important;
    margin: 28px auto 36px !important;
  }
  .section-header-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;
  }
  .related-projects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Lightbox on tablet & mobile */
  .lightbox { padding: 12px; }
  .lightbox-inner { border-radius: 14px; max-height: 92vh; }
  .lb-gallery { aspect-ratio: 16/10; }
  .lb-info { padding: 18px 16px; gap: 14px; }
  .lb-close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .lb-nav { width: 38px; height: 38px; top: 28%; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

@media (max-width: 480px) {
  :root { --pad: 14px; --gutter: 6px; --surface-radius: 14px; }
  body { font-size: 13.5px; }
  .topbar { padding: 8px var(--pad); }
  .sponsorbar-sep, .sponsorbar-line, .sponsorbar-book .long { display: none; }
  .sponsorbar-book .short { display: inline; }
  .sponsorbar-main { font-size: 12px; }
  .sponsorbar-tag { font-size: 9.5px; padding: 2px 7px; }
  
  .wordmark-img {
    max-height: 180px;
  }
  .logo-bottom-floating-tags {
    margin-top: 10px;
    gap: 5px;
    padding: 0 4px;
  }
  .ftag {
    font-size: 9.5px;
    padding: 4px 10px;
  }
  .hero-lead {
    font-size: 14.5px;
  }
  .ticker-item {
    width: 220px;
    gap: 10px;
  }
  .ticker-img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }
  .ticker-name {
    font-size: 12px;
  }
  .ticker-studio {
    font-size: 10.5px;
  }
  
  /* Quick tag bar swipe */
  .quick-tags-bar {
    padding: 8px 0;
    gap: 6px;
  }
  .qtag-chip {
    padding: 4px 10px;
    font-size: 11.5px;
  }
  
  /* Inquiry & Modal Boxes */
  .inquiry-modal-box {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    margin: 8px auto !important;
    padding: 22px 14px 18px !important;
    border-radius: 14px !important;
  }
  .inquiry-modal-header h3 {
    font-size: 20px;
  }
  .inquiry-modal-header p {
    font-size: 13px;
  }
  .inquiry-field input,
  .inquiry-field select,
  .inquiry-field textarea {
    font-size: 16px !important;
    padding: 10px 12px;
  }
  
  .sponsor-modal-box {
    width: calc(100% - 16px) !important;
    padding: 24px 14px !important;
  }
  .sponsor-pkg-price {
    font-size: 26px;
  }
  
  /* Fullscreen Lightbox Stage */
  .proj-fs-nav {
    width: 38px;
    height: 38px;
  }
  .proj-fs-prev { left: 8px; }
  .proj-fs-next { right: 8px; }
  .proj-fs-topbar {
    padding: 10px 14px;
  }
  .proj-fs-title {
    max-width: 140px;
    font-size: 12.5px;
  }
  .proj-fs-iconbtn {
    width: 36px;
    height: 36px;
  }
  
  /* Lightbox small mobile */
  .lightbox { padding: 6px; }
  .lightbox-inner { max-height: 95vh; }
  .lb-info { padding: 14px 12px; gap: 12px; }
  .lb-title { font-size: 20px; }
  .lb-thumb { width: 40px; height: 40px; }

  /* Project page on mobile <= 480px */
  body.project-page .topbar {
    padding: 8px 10px;
    gap: 6px;
  }
  body.project-page .topbar-logo {
    font-size: 13px;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
  body.project-page .topbar-nav {
    gap: 4px;
    flex-shrink: 0;
  }
  body.project-page .topbar-nav a {
    padding: 5px 8px;
    font-size: 10.5px;
    white-space: nowrap;
  }
  body.project-page .topbar-nav .btn-hire-topbar {
    padding: 5px 9px;
    font-size: 10.5px;
    white-space: nowrap;
  }
  body.project-page .hero-band {
    padding: 22px 14px 18px !important;
  }
  body.project-page .hero-studio {
    font-size: 10px !important;
    padding: 3px 10px !important;
    margin-bottom: 10px !important;
  }
  body.project-page .hero-title {
    font-size: clamp(20px, 7vw, 26px) !important;
    line-height: 1.15 !important;
    margin-bottom: 12px !important;
  }
  body.project-page .hero-meta {
    margin-top: 10px !important;
    gap: 5px !important;
  }
  body.project-page .hero-meta .tag,
  body.project-page .tag {
    font-size: 10.5px !important;
    padding: 4px 9px !important;
  }
  .crumbs {
    font-size: 11px;
    margin-bottom: 12px;
    gap: 6px;
  }
  body.project-page main.page.project,
  .proj-page-wrap {
    padding: 14px 10px 38px !important;
    border-radius: 10px !important;
    margin: 0 auto 16px !important;
  }
  body.project-page .project-head,
  .proj-header {
    margin-bottom: 18px !important;
    gap: 10px !important;
  }
  body.project-page .project-head h1,
  .proj-header h1 {
    font-size: clamp(20px, 6.8vw, 26px) !important;
    line-height: 1.15 !important;
  }
  body.project-page .project-meta,
  .proj-meta {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }
  body.project-page .project-desc,
  .proj-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 14px !important;
  }
  body.project-page .gallery,
  .proj-stack {
    gap: 8px !important;
    margin-bottom: 24px !important;
  }
  body.project-page .gallery img,
  body.project-page .gallery video,
  body.project-page .gallery .g-mp4,
  .proj-full-img img {
    border-radius: 8px !important;
  }
  .inquiry-cta-inner {
    padding: 20px 12px !important;
    border-radius: 14px !important;
    gap: 16px !important;
  }
  .cta-title {
    font-size: 18.5px !important;
    line-height: 1.25 !important;
  }
  .cta-desc {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }
  .cta-stats {
    gap: 5px !important;
  }
  .cta-stat {
    padding: 6px 2px !important;
  }
  .cta-stat .stat-num {
    font-size: 14.5px !important;
  }
  .cta-stat .stat-lbl {
    font-size: 8.5px !important;
  }
  .btn-inquire-main,
  .btn-inquire-secondary {
    padding: 12px 14px !important;
    font-size: 13px !important;
  }
  .section-title {
    font-size: 18px;
  }
  .rel-card-info {
    padding: 10px;
  }
  .rel-card-title {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  :root { --pad: 10px; --gutter: 4px; }
  .wordmark-img { max-height: 150px; }
  .fbtn { padding: 8px 10px; font-size: 12px; }
  .ticker-item { width: 195px; }
  .floating-wa-pill span { display: none; }
  .floating-wa-pill { padding: 9px 11px; }
  .floating-hire-pill { padding: 9px 12px; font-size: 11px; }
  .ftag { font-size: 8.5px; padding: 3px 8px; letter-spacing: 0.02em; }
  body.project-page .topbar { padding: 6px 8px !important; }
  body.project-page .topbar-logo { font-size: 11.5px !important; }
  body.project-page .topbar-nav a { padding: 4px 6px !important; font-size: 9.5px !important; }
  body.project-page .topbar-nav .btn-hire-topbar { padding: 4px 6px !important; font-size: 9.5px !important; }
  body.project-page .hero-band { padding: 16px 10px 12px !important; }
  body.project-page .hero-title { font-size: 18px !important; }
  .cta-stats { gap: 4px !important; }
  .cta-stat .stat-num { font-size: 13.5px !important; }
  .cta-stat .stat-lbl { font-size: 8px !important; }
}

/* ── Back to Top Floating Button (positioned to avoid colliding with action pills) ── */
.btn-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card, #1c1c1f);
  color: var(--fg, #fff);
  border: 1px solid var(--edge, rgba(255,255,255,0.15));
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.btn-top:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}
@media (max-width: 640px) {
  .btn-top {
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   FULLSCREEN PROJECT LIGHTBOX & PERFORMANCE OPTIMIZATIONS
   ───────────────────────────────────────────────────────────────────────────── */

/* CSS Containment for Rendering Speed */
.card {
  content-visibility: auto;
  contain-intrinsic-size: 380px 320px;
}

body.project-page .gallery figure,
body.project-page .gallery .gallery-item {
  content-visibility: auto;
  contain-intrinsic-size: 1200px 750px;
  position: relative;
  cursor: zoom-in;
}

/* Hover Badge on Gallery Items */
.has-fs-zoom {
  position: relative;
}
.fs-hover-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 5;
}
.has-fs-zoom:hover .fs-hover-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Action Buttons in Project Head */
.project-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.project-fullscreen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.project-fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Fullscreen Lightbox Overlay */
.proj-fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(5, 6, 9, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
  animation: fsFadeIn .2s ease-out;
}

@keyframes fsFadeIn {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}

.proj-fs-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 13, 0.6);
  z-index: 10;
}

.proj-fs-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}
.proj-fs-title {
  max-width: 480px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proj-fs-dot {
  color: rgba(255, 255, 255, 0.3);
}
.proj-fs-counter {
  color: var(--accent);
  font-weight: 700;
  background: rgba(232, 255, 59, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.proj-fs-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proj-fs-iconbtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.proj-fs-iconbtn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.06);
}
.proj-fs-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
}

/* Stage Area */
.proj-fs-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.proj-fs-media-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.proj-fs-media {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
  cursor: zoom-in;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.proj-fs-media.is-zoomed {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  cursor: zoom-out;
  transform: scale(1.25);
}

.proj-fs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(14, 16, 24, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
}
.proj-fs-nav:hover {
  background: rgba(232, 255, 59, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}
.proj-fs-prev { left: 24px; }
.proj-fs-next { right: 24px; }

/* Bottom Bar */
.proj-fs-bottombar {
  text-align: center;
  padding: 12px 20px;
  font-size: 12px;
  color: #8892a4;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 9, 13, 0.6);
  z-index: 10;
}
/* ── TOPBAR HIRE BUTTON ─────────────────────────────────────────────────── */
.btn-hire-topbar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #0b0c10;
  font-size: 13px;
  font-weight: 750;
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 12px rgba(232, 255, 59, 0.28);
}
.btn-hire-topbar:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 20px rgba(232, 255, 59, 0.45);
  background: #f4ff7a;
  color: #000000;
}

/* ── FLOATING START PROJECT & WHATSAPP DUAL WIDGET ────────────────────── */
.floating-actions-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0b0c10;
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 211, 102, 0.2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.floating-wa-pill:hover {
  transform: translateY(-3px) scale(1.03);
  background: #14161f;
  border-color: #25d366;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.7), 0 0 28px rgba(37, 211, 102, 0.4);
}
.floating-wa-pill svg {
  stroke: #25d366;
}
.floating-hire-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #0b0c10;
  color: #ffffff;
  border: 1px solid rgba(232, 255, 59, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(232, 255, 59, 0.15);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.floating-hire-pill:hover {
  transform: translateY(-3px) scale(1.03);
  background: #14161f;
  border-color: var(--accent);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.7), 0 0 28px rgba(232, 255, 59, 0.3);
}
.floating-hire-pill .pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulsePill 2s infinite ease-in-out;
}
@keyframes pulsePill {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Direct Contact Action Bar in Inquiry Modal */
.inquiry-quick-contact-bar {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.inquiry-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.inquiry-quick-btn.wa {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
}
.inquiry-quick-btn.wa:hover {
  background: rgba(37, 211, 102, 0.25);
  border-color: #25d366;
  transform: translateY(-1px);
}
.inquiry-quick-btn.email {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d1d7e0;
}
.inquiry-quick-btn.email:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Header / Hero WhatsApp Action Button */
.btn-wa-topbar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 22px;
  border-radius: 40px;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-wa-topbar:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

/* ── PROJECT INQUIRY CLIENT ACQUISITION BANNER ─────────────────────────── */
.project-inquiry-cta {
  max-width: 1320px;
  margin: 50px auto 40px;
  padding: 0 24px;
}
.inquiry-cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(17, 19, 27, 0.95) 0%, rgba(10, 11, 16, 0.98) 100%);
  border: 1px solid rgba(232, 255, 59, 0.22);
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.inquiry-cta-inner::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 255, 59, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(232, 255, 59, 0.12);
  color: var(--accent);
  border: 1px solid rgba(232, 255, 59, 0.25);
  margin-bottom: 16px;
}
.cta-title {
  font-size: 28px;
  font-weight: 850;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
}
.cta-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #a4adba;
  margin: 0 0 24px;
  max-width: 540px;
}
.cta-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cta-stat .stat-num {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}
.cta-stat .stat-lbl {
  font-size: 11.5px;
  color: #7a8494;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.inquiry-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
}
.btn-inquire-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  padding: 16px 28px;
  border-radius: 12px;
  background: var(--accent);
  color: #0b0c10;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(232, 255, 59, 0.32);
}
.btn-inquire-main:hover {
  background: #f4ff7a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 255, 59, 0.45);
}
.btn-inquire-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  max-width: 340px;
  padding: 14px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-inquire-secondary:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
  transform: translateY(-2px);
}
.cta-guarantee {
  font-size: 11.5px;
  color: #7a8494;
  margin-top: 4px;
}

/* ── EXPLORE NEWEST & FEATURED PROJECTS SECTION ────────────────────────── */
.related-projects-section {
  max-width: 1320px;
  margin: 50px auto 60px;
  padding: 0 24px;
}
.section-header-compact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-subtitle {
  font-size: 11.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.section-title {
  font-size: 24px;
  font-weight: 850;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}
.explore-all-link {
  color: #a4adba;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}
.explore-all-link:hover {
  color: var(--accent);
}

.related-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.rel-card {
  display: flex;
  flex-direction: column;
  background: #10121a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.rel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 255, 59, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.rel-card-thumb {
  position: relative;
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
  background: #090a0f;
}
.rel-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.rel-card:hover .rel-card-thumb img {
  transform: scale(1.05);
}
.rel-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.rel-card-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rel-card-title {
  font-size: 14.5px;
  font-weight: 750;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rel-card-meta {
  font-size: 12px;
  color: #8b95a5;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rel-card-meta span {
  color: var(--accent);
}

/* ── CLIENT INQUIRY MODAL ──────────────────────────────────────────────── */
.inquiry-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.inquiry-modal-box {
  background: #0f1118;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  max-width: 680px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  position: relative;
  padding: 36px 40px;
}
.inquiry-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.inquiry-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.inquiry-modal-header {
  margin-bottom: 24px;
}
.inquiry-modal-header h3 {
  font-size: 24px;
  font-weight: 850;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.inquiry-modal-header p {
  font-size: 13.5px;
  color: #929dae;
  line-height: 1.5;
  margin: 0;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.inquiry-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inquiry-field label {
  font-size: 12.5px;
  font-weight: 700;
  color: #d1d7e0;
}
.inquiry-field label span {
  color: var(--accent);
}
.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: #171924;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}
.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #1c1e2b;
}

.inquiry-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.inquiry-pill {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
  background: #171924;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #bac4d4;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.inquiry-pill.selected {
  background: rgba(232, 255, 59, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.inquiry-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}
.inquiry-submit-btn {
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--accent);
  color: #0b0c10;
  font-size: 14.5px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.inquiry-submit-btn:hover {
  background: #f4ff7a;
  transform: translateY(-2px);
}
.inquiry-direct-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.inquiry-direct-links a {
  color: #a4adba;
  text-decoration: none;
  transition: color 0.15s ease;
}
.inquiry-direct-links a:hover {
  color: var(--accent);
}

.inquiry-success-state {
  text-align: center;
  padding: 30px 10px;
}
.inquiry-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.inquiry-success-state h4 {
  font-size: 24px;
  font-weight: 850;
  color: #ffffff;
  margin: 0 0 10px;
}
.inquiry-success-state p {
  font-size: 14px;
  color: #a4adba;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 24px;
}

@media (max-width: 768px) {
  .inquiry-cta-inner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
  }
  .inquiry-modal-box {
    padding: 28px 20px;
  }
  .inquiry-form-row {
    grid-template-columns: 1fr;
  }
  .floating-actions-wrap {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .floating-wa-pill, .floating-hire-pill {
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* ── SMOOTH SOFT SCROLLING & FLUID MOTION ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Soft Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #090b0e;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(232, 255, 59, 0.45);
}

/* Silky Card & Button Motion curves */
.card-media {
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.card:hover .card-media {
  border-color: rgba(232, 255, 59, 0.35) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
.card-media img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease !important;
}
.card:hover .card-media img {
  transform: scale(1.026) !important;
}

/* Fluid micro-interactions for buttons & floating pills */
.floating-hire-pill, .floating-wa-pill, .btn, .chip, .nav-btn, .pill {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ── SPONSORSHIP PACKAGES MODAL SYSTEM ── */
.sponsor-modal-box {
  max-width: 960px !important;
  width: 95% !important;
  padding: 36px 38px !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
  border-radius: 20px !important;
}
.sponsor-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 28px;
}
.sponsor-stat-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}
.sponsor-stat-pill strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.sponsor-stat-pill span {
  font-size: 11.5px;
  color: #8b92a2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.sponsor-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 840px) {
  .sponsor-packages-grid {
    grid-template-columns: 1fr;
  }
  .sponsor-stats-row {
    grid-template-columns: 1fr;
  }
  .sponsor-modal-box {
    padding: 28px 20px !important;
  }
}
.sponsor-pkg-card {
  background: #141720;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.sponsor-pkg-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 255, 59, 0.4);
}
.sponsor-pkg-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(232, 255, 59, 0.06) 0%, #141720 100%);
}
.sponsor-pkg-card .pkg-badge {
  position: absolute;
  top: -10px;
  right: 18px;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.sponsor-pkg-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.sponsor-pkg-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.sponsor-pkg-price {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}
.sponsor-pkg-period {
  font-size: 13px;
  color: #8b92a2;
}
.sponsor-pkg-desc {
  font-size: 12.5px;
  color: #8b92a2;
  line-height: 1.45;
  min-height: 38px;
}
.sponsor-pkg-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sponsor-pkg-perks li {
  font-size: 12px;
  color: #cfd4dc;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.sponsor-pkg-perks li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
}
.sponsor-pkg-ctas {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-book-wa {
  background: #25d366;
  color: #000;
  font-weight: 700;
  font-size: 12.5px;
  padding: 10px 14px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.btn-book-wa:hover {
  opacity: 0.9;
}
.btn-book-email {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-book-email:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.sponsor-modal-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12.5px;
  color: #8b92a2;
  flex-wrap: wrap;
}
.sponsor-modal-foot a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.sponsor-modal-foot a.wa-link {
  color: #25d366;
}



