/* ==========================================================================
   Vexel Studios — Official Offline Replica Stylesheet
   Pure CSS Design System, Typography, Layout & Responsive Tokens
   Zero External Dependencies: Local Geist Fonts & Local Asset References
   ========================================================================== */

/* --- 1. Typography & Font Face Declarations --- */
@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/geist/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('assets/fonts/geist/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- 2. Global Design Tokens & CSS Custom Properties --- */
:root {
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Geist Mono', monospace;

  /* Color Palette */
  --bg-canvas: #0b0b0c;
  --bg-muted: #1a1a1d;
  --bg-elevated: #242429;
  --bg-accented: #3a3a40;
  --bg-surface-glass: rgba(18, 18, 20, 0.75);

  --border-default: #3a3a40;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-highlight: rgba(255, 255, 255, 0.15);

  --text-highlight: #f5f5f7;
  --text-body: #d0d0d6;
  --text-muted: #8a8a93;
  --text-toned: #aeaeb6;

  --primary-red: #7e0f14;
  --primary-red-hover: #961218;
  --primary-red-bright: #f8151d;
  --primary-red-subtle: rgba(248, 21, 29, 0.12);

  /* Layout & Sizing Tokens */
  --ui-header-height: 72px;
  --ui-container-max: 1280px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 3. CSS Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-canvas);
  color: var(--text-body);
  overflow-x: hidden;
  position: relative;
}

::selection {
  background-color: var(--primary-red);
  color: #ffffff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

/* --- 4. Layout Container & Utilities --- */
.container {
  width: 100%;
  max-width: var(--ui-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary-red);
  color: #ffffff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.33;
  padding: 4px 10px;
  border-radius: 9999px;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  color: var(--text-toned);
  white-space: nowrap;
}

.section-padding {
  padding-top: 96px;
  padding-bottom: 96px;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 128px;
    padding-bottom: 128px;
  }
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-heading {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-highlight);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 48px;
  }
}

.section-subheading {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 672px;
}

/* Button Component Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  background-color: var(--bg-muted);
  color: var(--text-highlight);
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid var(--border-default);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--bg-elevated);
  border-color: var(--border-highlight);
}

.btn-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-toned);
  transition: color var(--transition-fast);
}

.btn-icon-link:hover {
  color: var(--text-highlight);
}

/* --- 5. Navbar / Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--ui-header-height);
  z-index: 50;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), backdrop-filter var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(11, 11, 12, 0.85);
  border-bottom-color: var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 136px;
  height: 28px;
  object-fit: contain;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-toned);
  border-radius: 6px;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-highlight);
  background-color: rgba(255, 255, 255, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-discord-btn {
  display: none;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  color: var(--text-highlight);
  border-radius: 6px;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

@media (min-width: 640px) {
  .header-discord-btn {
    display: inline-flex;
  }
}

.header-discord-btn:hover {
  background-color: var(--bg-elevated);
  border-color: var(--border-highlight);
}

.menu-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  color: var(--text-highlight);
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  transition: background-color var(--transition-fast);
}

@media (min-width: 1024px) {
  .menu-toggle-btn {
    display: none;
  }
}

.menu-toggle-btn:hover {
  background-color: var(--bg-elevated);
}

.icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* --- 6. Mobile Drawer & Backdrop --- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  background-color: var(--bg-canvas);
  border-left: 1px solid var(--border-default);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  height: var(--ui-header-height);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.drawer-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 8px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.drawer-nav-link:hover {
  background-color: var(--bg-muted);
  color: var(--text-highlight);
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-subtle);
}

.drawer-footer .btn-primary {
  width: 100%;
  height: 44px;
}

/* --- 7. Hero Section --- */
.hero-section {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 144px;
  padding-bottom: 56px;
}

@media (min-width: 1024px) {
  .hero-section {
    min-height: 100svh;
    padding-bottom: 80px;
  }
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(11, 11, 12, 0.2) 0%, rgba(11, 11, 12, 0.8) 75%, #0b0b0c 100%),
              linear-gradient(to top, #0b0b0c 0%, rgba(11, 11, 12, 0.4) 40%, rgba(11, 11, 12, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-backed-by {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-toned);
  margin-bottom: 24px;
  transition: color var(--transition-fast);
}

.hero-backed-by:hover {
  color: var(--text-highlight);
}

.backed-logo {
  height: 16px;
  width: auto;
  object-fit: contain;
}

.hero-headline {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-highlight);
  max-width: 840px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .hero-headline {
    font-size: 60px;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 72px;
  }
}

.hero-subhead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-body);
  max-width: 672px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

/* Hero "Now Playing" Widget */
.now-playing-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  background-color: rgba(26, 26, 29, 0.85);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), transform var(--transition-fast);
}

.now-playing-card:hover {
  border-color: var(--primary-red-bright);
  background-color: rgba(36, 36, 41, 0.95);
  transform: translateY(-2px);
}

.now-playing-thumb {
  width: 48px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.now-playing-info {
  display: flex;
  flex-direction: column;
}

.now-playing-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-red-bright);
}

.now-playing-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-red-bright);
  box-shadow: 0 0 8px var(--primary-red-bright);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.now-playing-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-highlight);
}

.now-playing-category {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- 8. Trusted By Section --- */
.trusted-by-section {
  padding-top: 48px;
  padding-bottom: 48px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background-color: rgba(11, 11, 12, 0.5);
}

.trusted-by-header {
  text-align: center;
  margin-bottom: 24px;
}

.trusted-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: center;
  justify-items: center;
}

@media (max-width: 639px) {
  .trusted-logos-grid > .client-logo-wrap:nth-child(5) {
    grid-column: span 2;
  }
}

@media (min-width: 640px) {
  .trusted-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .trusted-logos-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
}

.client-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal);
  cursor: default;
}

.client-logo-wrap:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.client-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.85;
  filter: grayscale(40%);
  transition: opacity var(--transition-normal), filter var(--transition-normal), transform var(--transition-normal);
}

.client-logo-wrap:hover .client-logo {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
}

.client-logo-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color var(--transition-normal);
}

.client-logo-wrap:hover .client-logo-name {
  color: var(--text-highlight);
}

/* --- 9. Work / Selected Portfolio Section --- */
.work-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .work-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .work-card.col-8 {
    grid-column: span 8;
  }

  .work-card.col-4 {
    grid-column: span 4;
  }
}

.work-card {
  position: relative;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  min-height: 320px;
  cursor: pointer;
  group: pointer;
}

@media (min-width: 1024px) {
  .work-card.col-8 {
    aspect-ratio: 16 / 9;
    min-height: unset;
  }
  .work-card.col-4 {
    min-height: 380px;
  }
}

.work-card-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1), filter var(--transition-normal);
  filter: brightness(0.85);
}

.work-card-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 350ms ease;
  z-index: 1;
  pointer-events: none;
}

.work-card:hover .work-card-img {
  transform: scale(1.04);
  filter: brightness(1);
}

.work-card:hover .work-card-hover-video {
  opacity: 1;
}

.work-card-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.95) 0%, rgba(11, 11, 12, 0.4) 60%, rgba(11, 11, 12, 0.1) 100%);
  transition: opacity var(--transition-normal);
}

.work-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-card-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-toned);
}

.work-card-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-highlight);
}

.work-card-desc {
  font-size: 14px;
  line-height: 1.43;
  color: var(--text-muted);
  max-width: 520px;
}

.work-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(11, 11, 12, 0.7);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-highlight);
  backdrop-filter: blur(8px);
  opacity: 0.8;
  transition: transform var(--transition-fast), background-color var(--transition-fast), opacity var(--transition-fast);
}

.work-card:hover .work-card-badge {
  opacity: 1;
  background-color: var(--primary-red);
  transform: scale(1.1);
}

/* --- 10. About & Studio Metrics Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
    align-items: start;
  }

  .about-left-col {
    grid-column: span 6;
  }

  .about-right-col {
    grid-column: span 6;
  }
}

.about-metrics-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-card-featured {
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-number-large {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-highlight);
}

.metric-title-featured {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-highlight);
}

.metric-desc-featured {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

.metrics-subgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .metrics-subgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metric-card-small {
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-number-small {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-highlight);
}

.metric-label-small {
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-muted);
}

/* --- 11. Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
  }

  .services-left-col {
    grid-column: span 5;
    position: sticky;
    top: 112px;
  }

  .services-right-col {
    grid-column: span 7;
  }
}

.services-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card {
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.service-card:hover {
  border-color: var(--border-highlight);
  background-color: var(--bg-elevated);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red-bright);
}

.service-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-highlight);
}

@media (min-width: 640px) {
  .service-title {
    font-size: 26px;
  }
}

.service-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.service-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-bullet-pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-toned);
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.service-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-highlight);
  transition: color var(--transition-fast);
}

.service-action-btn:hover {
  color: var(--primary-red-bright);
}

.service-status-pill {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* --- 12. Testimonials Section --- */
.testimonials-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials-header .section-subheading {
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .testimonials-grid > .testimonial-card:nth-child(1),
  .testimonials-grid > .testimonial-card:nth-child(2),
  .testimonials-grid > .testimonial-card:nth-child(3) {
    grid-column: span 2;
  }

  .testimonials-grid > .testimonial-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .testimonials-grid > .testimonial-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.testimonial-card {
  background-color: rgba(26, 26, 29, 0.7);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.testimonial-card:hover {
  border-color: var(--border-highlight);
  background-color: rgba(36, 36, 41, 0.85);
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.server-logo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.author-names {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-highlight);
}

.author-role {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.member-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-toned);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
}

.watch-trailer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-highlight);
  padding: 4px 10px;
  border-radius: 6px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.watch-trailer-btn:hover {
  background-color: var(--primary-red);
  color: #ffffff;
}

/* --- 13. FAQ Section --- */
.faq-container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.faq-header .section-subheading {
  margin-left: auto;
  margin-right: auto;
}

.faq-search-wrap {
  position: relative;
  margin-bottom: 40px;
}

.faq-search-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 46px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-highlight);
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-search-input:focus {
  border-color: var(--border-highlight);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.faq-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.faq-empty-state {
  display: none;
  text-align: center;
  padding: 48px 24px;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  margin-bottom: 32px;
}

.faq-empty-state.active {
  display: block;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-highlight);
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.faq-category-block {
  margin-bottom: 36px;
}

.faq-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.faq-category-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-highlight);
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-highlight);
  transition: color var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--primary-red-bright);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary-red-bright);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity var(--transition-normal);
  opacity: 0;
}

.faq-item.open .faq-panel {
  max-height: 500px;
  opacity: 1;
}

.faq-answer {
  padding-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- 14. Pre-Footer CTA Section --- */
.pre-footer-cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 107, 0, 0.25);
  padding: 88px 0;
  background: radial-gradient(ellipse 80% 65% at 50% 50%, rgba(255, 110, 0, 0.24) 0%, rgba(225, 45, 12, 0.15) 55%, transparent 100%), var(--bg-canvas);
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  mix-blend-mode: screen;
}

.cta-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cta-container .section-heading {
  margin-bottom: 16px;
}

.cta-container .section-subheading {
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
}

/* --- 15. Site Footer --- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  background-color: var(--bg-canvas);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
  }

  .footer-brand-col {
    grid-column: span 6;
  }

  .footer-links-col {
    grid-column: span 6;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.footer-logo {
  width: 136px;
  height: 28px;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 400px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-toned);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--bg-elevated);
  color: var(--text-highlight);
  border-color: var(--border-highlight);
}

.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-highlight);
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-highlight);
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --- 16. Modal Dialogs (Video, Image, Interactive Portfolio Matrix) --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-highlight);
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background-color: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-highlight);
  background-color: var(--bg-elevated);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* Video Player in Modal */
.modal-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  border-radius: 8px;
  overflow: hidden;
}

.modal-video-wrapper.is-vertical {
  aspect-ratio: 9 / 16;
  max-width: 440px;
  max-height: 75vh;
  margin: 0 auto;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-video-local {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Image Preview in Modal */
.modal-img-preview {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto;
}

.modal-caption {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* Services Interactive Matrix Tabs */
.matrix-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.tab-group-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.matrix-tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.matrix-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  color: var(--text-toned);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.matrix-tab-btn:hover {
  background-color: var(--bg-elevated);
  color: var(--text-highlight);
}

.matrix-tab-btn.active {
  background-color: var(--primary-red);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-icon-small {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* 3D Modeling Gallery Grid */
.modeling-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .modeling-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .modeling-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.model-asset-card {
  background-color: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.model-asset-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-red-bright);
}

.model-asset-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background-color: #0e0e10;
}

.model-asset-info {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.model-asset-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-highlight);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
