

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

:root {

  --v1: #4C1D95;
  --v2: #6D28D9;
  --v3: #7C3AED;
  --v4: #8B5CF6;
  --v5: #A78BFA;
  --v6: #EDE9FE;

  --violet:             #6D28D9;
  --violet-mid:         #7C3AED;
  --violet-light:       #8B5CF6;
  --violet-glow:        rgba(124,58,237,0.18);
  --violet-glow-strong: rgba(124,58,237,0.32);
  --cyan:         #7C3AED;
  --cyan-mid:     #8B5CF6;
  --cyan-light:   #A78BFA;
  --cyan-glow:    rgba(124,58,237,0.14);
  --cyan-glow-strong: rgba(124,58,237,0.26);

  --bg-dark:        #171717;
  --bg-card:        #212121;
  --bg-card-solid:  #212121;
  --bg-hover:       #2A2A2A;
  --bg-section-alt: #1D1D1D;

  --text-primary:   #F0F0F0;
  --text-secondary: #A0A0A0;
  --text-muted:     #606060;

  --border-subtle: rgba(255,255,255,0.06);
  --border-card:   rgba(255,255,255,0.08);
  --border-hover:  rgba(124,58,237,0.45);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3),  0 2px 6px rgba(0,0,0,0.18);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.35), 0 4px 12px rgba(0,0,0,0.2);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.4),  0 8px 24px rgba(0,0,0,0.22);

  --radius-sm:   7px;
  --radius-md:   11px;
  --radius-lg:   15px;
  --radius-xl:   19px;
  --radius-full: 9999px;

  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast:   0.16s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body { min-height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > section:last-of-type,
body > main:last-of-type { flex: 1 0 auto; }
body > .footer { flex-shrink: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: auto; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--v2) 0%, var(--v4) 60%, var(--v5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: var(--v2);
  color: #fff;
  box-shadow: 0 4px 16px rgba(109,40,217,0.3), 0 1px 3px rgba(109,40,217,0.2);
}

.btn-primary:hover {
  background: var(--v3);
  box-shadow: 0 6px 24px rgba(109,40,217,0.4), 0 2px 6px rgba(109,40,217,0.2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid rgba(18,16,42,0.15);
}

.btn-ghost:hover {
  border-color: var(--v3);
  color: var(--v3);
  background: rgba(109,40,217,0.04);
}

.btn-lg {
  padding: 15px 34px;
  font-size: 0.93rem;
}

.btn-full { width: 100%; justify-content: center; }

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 99999;
  padding: 12px 0;
  will-change: background, backdrop-filter, box-shadow;
}

.navbar.scrolled {
  background: #000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 1px 24px rgba(0,0,0,0.3);
  padding: 12px 0;
}

.nav-container {
  max-width: 100%;
  margin: 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 34px; width: auto; }
.footer-logo-img { height: 36px; width: auto; max-width: 200px; }

.hero-logo {
  display: block;
  height: auto;
  width: 420px;
  max-width: 85%;
  margin: 0 auto 36px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.85))
          drop-shadow(0 8px 32px rgba(0,0,0,0.6))
          drop-shadow(0 8px 32px rgba(109,40,217,0.2));
}

.nav-links { display: flex; list-style: none; gap: 2px; position: relative; }

.nav-links::after { display: none; }

.nav-link {
  padding: 6px 14px;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
  border-radius: 0;
  transition: color 0.15s ease, background 0.15s ease;
  position: relative;
}

.nav-link:hover {
  color: #000;
  background: #fff;
}

.nav-link.active {
  color: #fff;
  background: var(--v3);
}

.nav-link--red {
  font-weight: 600;
}
.nav-link--red:hover { color: #000; background: #fff; }
.nav-link--red.active { color: #fff; background: var(--v3); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--v2);
  color: #fff;
  font-weight: 600;
  font-size: 0.83rem;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(109,40,217,0.25);
  transition: all var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--v3);
  box-shadow: 0 5px 20px rgba(109,40,217,0.35);
  transform: translateY(-1px);
}

#lang-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1200;
  padding: 6px 12px;
  border-radius: 0;
  background: #0d0d0d;
  border: none;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: background 0.15s, color 0.15s;
}
#lang-fab:hover {
  background: #fff;
  color: #000;
}

#lang-panel-overlay { display: none; }

#lang-panel {
  position: fixed;
  bottom: 84px;
  right: 28px;
  z-index: 1201;
  background: #0d0d0d;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform-origin: bottom right;
}
#lang-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

#lang-panel-title { display: none; }

.lang-panel-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 14px;
  border-radius: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}
.lang-panel-btn:hover {
  background: #fff;
  color: #000;
}
.lang-panel-btn.active {
  background: var(--v3);
  color: #fff;
}
.lang-panel-flag { font-size: 1.1rem; }

.lang-sep { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.page-header {
  position: relative;
  padding: 140px 0 55px;
  text-align: center;
  overflow: hidden;
}

.page-header-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.page-header--video .page-header-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.page-header--video .page-header-video-overlay {
  background: rgba(10,10,12,0.45);
}

.page-header--video ~ .section,
.page-header--video ~ section {
  position: relative;
  z-index: 1;
  background: transparent;
}

.page-header--video ~ .footer,
.page-header--video ~ footer {
  position: relative;
  z-index: 1;
}

.page-header-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: blur(1px) brightness(0.8) saturate(0.85);
  transform: scale(1.04);
}

.page-header--top .page-header-video { object-position: center top; }

.page-header-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23,23,23,0.2)  0%,
    rgba(23,23,23,0.05) 40%,
    rgba(23,23,23,0.6)  78%,
    rgba(23,23,23,1)    100%
  );
}

.page-header-bg .hero-orb--violet { width: 500px; height: 500px; top: -150px; right: 10%; opacity: 0.06; }
.page-header-bg .hero-orb--cyan   { width: 350px; height: 350px; bottom: -100px; left: 5%; opacity: 0.05; }

.page-header .container { position: relative; z-index: 1; }
.page-header .section-tag { margin-bottom: 20px; }

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--text-primary);
}

.page-header-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 32px;
}

.hero::after {
  display: none;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23,23,23,0.55) 0%,
    rgba(23,23,23,0.25) 45%,
    rgba(23,23,23,0.82) 100%
  );
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(109,40,217,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,40,217,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 22s ease-in-out infinite;
}

.hero-orb--violet {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(109,40,217,0.25), transparent 70%);
  opacity: 0.6;
  top: -10%; right: -5%;
}

.hero-orb--cyan {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
  opacity: 0.5;
  bottom: 0; left: -5%;
  animation-delay: -11s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -15px) scale(1.03); }
  66%       { transform: translate(-15px, 10px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  background: rgba(124,58,237,0.1);
  border: none;
  border-left: 3px solid var(--v3);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--v4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--v3);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-primary);
  text-shadow: 0 2px 24px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.9);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 52px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,0.8);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 52px;
  background: rgba(33,33,33,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  gap: 0;
}

.stat { text-align: center; padding: 0 44px; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--v2), var(--v4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.stat-divider {
  width: 1px; height: 44px;
  background: rgba(18,16,42,0.08);
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(18,16,42,0.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-dot {
  width: 3px; height: 6px;
  background: var(--v3);
  border-radius: 3px;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.3; }
}

.section { padding: 80px 0; position: relative; }
.section--dark { background: var(--bg-section-alt); }

.section--bg { position: relative; overflow: hidden; padding: 130px 0; }
.section--bg .container { position: relative; z-index: 2; }
.section-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.section-bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,12,0.72);
}
#about .about-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
#about .about-lead::first-letter {
  float: none;
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.section-header { text-align: center; margin-bottom: 72px; }

.section-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--v4);
  margin-bottom: 16px;
  padding: 5px 12px 5px 10px;
  background: rgba(124,58,237,0.1);
  border: none;
  border-left: 3px solid var(--v3);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.section-tag::before { content: none; }
.section-tag::after  { content: none; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-title::after { content: none; }

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.78;
}

.about-card,
.mission-card,
.member-card,
.project-card,
.contact-form,
.contact-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-lead { font-size: 1.1rem; line-height: 1.8; font-weight: 500; color: var(--text-primary); }
.about-text p { color: var(--text-secondary); line-height: 1.85; }

.about-card {
  padding: 40px;
  text-align: center;
}

.about-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.about-card-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  margin: 0 auto 22px;
  color: var(--v3);
}

.about-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.about-card p  { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid rgba(18,16,42,0.06);
}

.about-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-wrap:hover .about-img { transform: scale(1.04); }

.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(18,16,42,0.3), transparent);
  pointer-events: none;
}

.missions-visual {
  margin-bottom: 48px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 280px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid rgba(18,16,42,0.06);
}

.missions-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.missions-visual:hover .missions-img { transform: scale(1.02); }

.missions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mission-card {
  padding: 36px 30px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.mission-card::before { display: none; }

.mission-card:hover {}

.mission-icon {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--v4);
  opacity: 1;
  margin-bottom: 18px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.mission-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.mission-card p  { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.75; margin-bottom: 22px; }

.mission-tag {
  display: inline-block;
  padding: 4px 10px 4px 8px;
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--v4);
  border: none;
  border-left: 2px solid var(--v3);
  border-radius: 0 3px 3px 0;
  background: rgba(124,58,237,0.1);
}

.realisations-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 7px 18px;
  color: rgba(255,255,255,0.45);
  transition: background 0.15s ease, color 0.15s ease;
  align-self: stretch;
  margin-bottom: 0;
  cursor: text;
}
.search-box:hover {
  background: #fff;
  color: #000;
}
.search-box:hover svg { color: #000; opacity: 1; }
.search-box:hover input { color: #000; }
.search-box:hover input::placeholder { color: rgba(0,0,0,0.4); }
.search-box:focus-within {
  background: #fff;
  color: #000;
}
.search-box:focus-within svg { color: #000; opacity: 1; }
.search-box svg {
  flex-shrink: 0;
  opacity: 0.45;
  transition: color 0.15s, opacity 0.15s;
}
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  width: 200px;
  padding: 0;
  transition: color 0.15s;
}
.search-box input::placeholder {
  color: rgba(255,255,255,0.35);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 0;
  padding: 5px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.06);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab {
  padding: 7px 18px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.tab:hover { background: #fff; color: #000; }

.tab.active {
  background: var(--v3);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-card {
  border-radius: var(--radius-lg);
  background: rgba(13,13,15,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid transparent !important;
  box-shadow: none !important;
  display: grid;
  grid-template-columns: 380px 1fr 32px;
  grid-template-rows: calc(380px * 9 / 16);
  overflow: hidden;
}

.project-badges-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #000;
  border-left: none;
}

.badge-vertical {
  writing-mode: vertical-rl;
  padding: 12px 8px;
  letter-spacing: 0.04em;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  font-size: 0.72rem;
  font-family: var(--font-body);
  text-transform: none;
}

.project-card:hover {}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.project-card {
  animation: cardFadeIn 0.45s ease both;
}

.project-card.hidden {
  display: none;
}
.project-card.card-hide {
  animation: cardFadeOut 0.2s ease forwards;
}
.project-card.card-show {
  display: grid;
  animation: cardFadeIn 0.35s ease both;
}
@keyframes cardFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(8px); }
}
.project-card.zooming { transform: scale(1.06) !important; transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important; }

.article-thumb-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
}
.article-thumb-wrap .yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.project-card:hover .article-thumb-overlay { opacity: 1; }
.article-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
}
.article-cat-badge { color: var(--v4); }

.project-card--wip { opacity: 0.6; cursor: default; pointer-events: none; }
.project-card--wip:hover { transform: none; box-shadow: none; border-color: rgba(255,255,255,0.07); }

.wip-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(2px);
}

.wip-badge {
  background: #f59e0b !important;
  color: #000 !important;
  margin-left: 0;
}

.project-thumbnail {
  position: relative;
  overflow: hidden;
  background: var(--bg-section-alt);
  aspect-ratio: 16/9;
  align-self: stretch;
}

.yt-facade { cursor: pointer; }

.yt-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.yt-facade:hover .yt-thumb { transform: none; }

.yt-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; z-index: 2;
  opacity: 0.9; transition: opacity 0.2s, transform 0.2s;
}

.yt-play:hover { opacity: 1; transform: scale(1.08); }

.project-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #1E1E1E, #252525);
  color: var(--text-muted);
  transition: all var(--transition-smooth);
}

.project-card:hover .project-placeholder { color: var(--v3); }

.project-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

.project-overlay { display: none; }

.project-badge {
  padding: 4px 10px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: #000;
  color: var(--v4);
  border: none;
  border-radius: 0;
}

.project-badge.badge-vertical {
  width: 100%;
  flex: 1;
  height: auto;
  background: var(--v3);
  color: #fff;
}
.project-badge.badge--fandub { background: #00CFFF; color: #000; }
.project-badge.badge--jeux   { background: #FF3B3B; color: #fff; }

.project-badge.article-cat-badge { background: var(--v3); color: #fff; }

.project-info { padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; gap: 4px; overflow: hidden; }
.project-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-info p  { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.project-credit  { display: inline-block; margin-top: 6px; font-size: 0.78rem; color: var(--v3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.project-card   { text-decoration: none; color: inherit; display: block; cursor: pointer; }

.team-groups { display: flex; flex-direction: column; gap: 0; }

.team-group {
  padding: 40px 0;
}

.team-group-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.team-group-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  color: #fff;
}

.team-group-line { display: none; }

.team-members-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 40px;
}

.member-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 160px;
  gap: 12px;
  cursor: default;
}
.member-mini.is-clickable { cursor: pointer; }
.member-mini.is-clickable:hover .member-mini-photo-wrap {
  border-color: rgba(109,40,217,0.55);
}

#member-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
#member-modal-overlay.open { display: flex; opacity: 1; }

.member-modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #0d0d0d;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  padding: 40px 36px 36px;
  text-align: center;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
#member-modal-overlay.open .member-modal-card {
  transform: translateY(0) scale(1);
}

.member-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
}
.member-modal-close:hover { color: #fff; }

.member-modal-photo-wrap {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(109,40,217,0.3);
}
.member-modal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.member-modal-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.member-modal-role {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--v4);
  margin-bottom: 18px;
}
.member-modal-desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0;
}

.member-modal-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.member-modal-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.member-modal-social:hover {
  background: var(--v3);
  color: #fff;
  transform: translateY(-2px);
}

.member-mini-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(109,40,217,0.2);
  flex-shrink: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.member-mini:hover .member-mini-photo-wrap {
  transform: translateY(-4px);
}

.member-mini-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.member-mini h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin: 0;
}

.member-mini .member-role {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

.team-grid { display: none; }
.team-grid--centered { display: none; }
.member-card { display: none; }

.member-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px 4px 8px;
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--v4);
  border: none;
  border-left: 2px solid var(--v3);
  border-radius: 0 3px 3px 0;
  background: rgba(124,58,237,0.1);
}

.studio-banner {
  position: relative;
  height: 440px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin: 0 32px;
  box-shadow: var(--shadow-xl);
}

.studio-banner-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  filter: saturate(0.9) brightness(0.75);
}

.studio-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18,16,42,0.3) 0%,
    rgba(18,16,42,0.05) 40%,
    rgba(18,16,42,0.05) 60%,
    rgba(18,16,42,0.4) 100%
  );
}

.studio-banner-label {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: stretch;
}

.contact-lead { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 36px; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }

.contact-item {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px;
  background: rgba(13,13,15,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: none;
}

.contact-item:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
  background: rgba(13,13,15,0.55) !important;
  cursor: default;
}

.contact-icon {
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.contact-label {
  display: block; font-size: 0.66rem;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 3px; font-weight: 600;
}

.contact-item a { color: var(--text-primary); font-weight: 500; transition: color var(--transition-fast); }
.contact-item a:hover { color: var(--v3); }

.contact-form {
  padding: 40px;
  background: rgba(13,13,15,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid transparent;
  box-shadow: none;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block; font-size: 0.76rem; font-weight: 500;
  margin-bottom: 8px; color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--v3);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
  background: rgba(255,255,255,0.06);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239C99BE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: rgba(255,255,255,0.04);
  padding-right: 40px;
}

.form-group select option { background: #212121; color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 110px; }

.footer {
  background: #000000;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: grid;
  grid-template-areas:
    "brand nav socials"
    "bottom bottom bottom";
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  padding: 48px 40px 0;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand-center {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  max-width: 160px;
  opacity: 0.9;
  filter: brightness(10);
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  max-width: 180px;
}

.footer-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  margin: 0;
}

.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
}

.footer-nav a:hover {
  color: rgba(255,255,255,0.85);
}

.footer-socials,
.footer-socials-center {
  grid-area: socials;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: 0;
}

.social-link {
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: rgba(255,255,255,0.9);
  background: none;
}

.footer-bottom {
  grid-area: bottom;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px max(40px, calc(50vw - 600px));
  margin-top: 40px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: #5b21b6;
}

.footer-bottom p { font-size: 0.73rem; color: rgba(255,255,255,0.85); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.73rem; color: rgba(255,255,255,0.75); transition: color var(--transition-fast); }
.footer-legal a:hover { color: #fff; }

.footer-top { display: none; }
.footer-brand { display: none; }
.footer-links-group { display: none; }

[data-animate] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-right"] { transform: translateX(-24px); }
[data-animate="fade-left"]  { transform: translateX(24px); }
[data-animate].visible { opacity: 1; transform: translate(0, 0); }

#page-overlay {
  position: fixed; inset: 0;
  background: var(--bg-dark);
  z-index: 2147483647; pointer-events: none;
  transform: translateX(110%);
}

#page-overlay-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transform: translateZ(0); will-change: transform;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 1024px) {
  .missions-grid, .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { grid-template-columns: 300px 1fr 32px; grid-template-rows: calc(300px * 9 / 16); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .search-box input { width: 160px; }
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-areas: "brand socials" "nav nav" "bottom bottom";
    grid-template-columns: 1fr auto;
    gap: 28px 16px;
    padding: 40px 24px 0;
  }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav-container { padding: 0 16px; gap: 12px; }
  .nav-logo-img { height: 28px; }

  .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; min-height: 100dvh;
    background: #1A1A1A;
    padding: 100px 28px 36px; gap: 4px;
    z-index: 998; opacity: 0; pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow-y: auto;
  }

  .nav-links.open { opacity: 1; pointer-events: all; transform: translateY(0); }

  .nav-toggle { display: flex; z-index: 1000; }
  .nav-links .nav-link { font-size: 1.1rem; padding: 14px 18px; }

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { padding: 120px 24px 80px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .hero-stats { padding: 20px 24px; flex-wrap: wrap; }
  .stat { padding: 12px 20px; }
  .stat-divider { display: none; }

  .section { padding: 80px 0; }
  .page-header { padding: 140px 0 64px; }

  .missions-grid, .roles-grid { grid-template-columns: 1fr; }

  .realisations-toolbar { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 36px; }
  .search-box { width: 100%; border-bottom-width: 1px; }
  .search-box input { width: 100%; }
  .tabs { flex-wrap: wrap; justify-content: flex-start; }

  .project-card { grid-template-columns: 1fr; grid-template-rows: auto; }
  .project-thumbnail { aspect-ratio: 16/9; }
  .project-badges-strip { flex-direction: row; border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .badge-vertical { writing-mode: horizontal-tb; transform: none; height: auto; padding: 8px 12px; }

  .team-grid, .team-grid--centered { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner {
    grid-template-areas: "brand" "nav" "socials" "bottom";
    grid-template-columns: 1fr;
    padding: 40px 24px 0;
    text-align: center;
  }
  .footer-brand-center { align-items: center; }
  .footer-tagline { max-width: 100%; }
  .footer-socials, .footer-socials-center { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; margin-top: 32px; }
  .studio-banner { height: 280px; margin: 0 16px; }
  .tabs { flex-wrap: wrap; width: auto; }
  .contact-form { padding: 28px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }
  .studio-banner { height: 220px; }
  .tabs { gap: 4px; }
  .tab { padding: 7px 14px; font-size: 0.82rem; }
  .search-box input { font-size: 0.85rem; }
}

html::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.gradient-text,
.accent,
.highlight {
  background: none !important;
  -webkit-text-fill-color: var(--v4, #8B5CF6) !important;
  color: var(--v4, #8B5CF6) !important;
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.hero-title .gradient-text {
  display: inline;
  font-size: 1em;
}

.btn, .btn-primary, .btn-ghost,
.about-card, .mission-card, .member-card, .project-card,
.contact-form, .contact-item,
.about-img-wrap, .missions-visual, .studio-banner,
.member-photo-wrap, .channel-card, .pillar-card,
.prod-card, .cast-card, .credits-card, .glass-card,
.petition-block, .sign-cta-box,
.form-group input, .form-group select, .form-group textarea,
.hero-stats {
  border-radius: 4px !important;
}

.about-lead { position: relative; }
.about-lead::first-letter {
  font-family: var(--font-body);
  font-size: 3.6em;
  font-weight: 500;
  float: left;
  line-height: 0.88;
  margin: 6px 12px 0 0;
  color: var(--v4, #8B5CF6);
}
.about-lead strong { font-weight: 600; }
.about-lead strong::first-letter { font-size: inherit; float: none; margin: 0; color: inherit; }

.yt-thumb {
  transition: transform 0.3s ease !important;
}

.missions-grid { counter-reset: m; }
.mission-card { position: relative; }

.section-tag {
  background: transparent !important;
  border: none !important;
  border-left: 2px solid var(--v3, #7C3AED) !important;
  padding: 2px 0 2px 12px !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.02em !important;
  color: var(--v4, #8B5CF6) !important;
}

.mission-tag { display: none !important; }

.project-badge, .project-detail-badge {
  border-radius: 2px !important;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.member-tag {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 4px 0 0 0 !important;
  font-family: var(--font-body) !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  line-height: 1 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.member-tag::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.badge-dot {
  animation: none !important;
  background: var(--v3, #7C3AED) !important;
  box-shadow: 0 0 0 2px rgba(124,58,237,0.18);
  width: 5px !important;
  height: 5px !important;
}

.about-card:hover,
.member-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}
.prod-card:hover,
.cast-card:hover {
  transform: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}
.pillar-card:hover {
  transform: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.mission-card:hover {
  transform: none !important;
  box-shadow: none !important;
}
.channel-card:hover {
  transform: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

.hero-stats {
  background: rgba(20,18,30,0.55) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
}
.stat-divider { background: rgba(255,255,255,0.08) !important; height: 52px !important; }

.tabs {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.project-info > p:first-of-type {
  font-family: var(--font-body) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.01em !important;
  text-transform: none;
}

.hero-orb--violet { opacity: 0.35 !important; }
.hero-orb--cyan { opacity: 0.28 !important; }

.about-card, .mission-card, .member-card,
.channel-card, .pillar-card, .prod-card, .cast-card {
  position: relative;
}
.about-card::before, .member-card::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 2px;
  background: var(--v3, #7C3AED);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.about-card:hover::before,
.member-card:hover::before { opacity: 0.7; }

.hero-title {
  letter-spacing: -0.035em !important;
  font-weight: 700 !important;
}
.page-header-title, .section-title {
  letter-spacing: -0.032em !important;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 96px 0 0 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 60%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.wip-overlay {
  background: rgba(10,8,16,0.7) !important;
  border-top: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(3px);
}

.btn-primary {
  box-shadow: 0 0 0 1px rgba(124,58,237,0.4), 0 4px 14px rgba(0,0,0,0.3) !important;
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px var(--v3, #7C3AED), 0 8px 24px rgba(124,58,237,0.25) !important;
}

@media (max-width: 768px) {
  .mission-card::after { top: 14px; right: 16px; }
  .about-lead::first-letter { font-size: 2.8em; margin: 4px 10px 0 0; }
}

#news-popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
#news-popup-overlay.visible {
  opacity: 1; pointer-events: all;
}
#news-popup-card {
  position: relative;
  width: 100%; max-width: 780px;
  aspect-ratio: 16/9;
  border-radius: 0;
  overflow: hidden;
  background: #111118;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.07);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  cursor: pointer;
}
#news-popup-overlay.visible #news-popup-card {
  transform: translateY(0) scale(1);
}
#news-popup-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
#news-popup-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.65) 70%,
    rgba(0,0,0,0.90) 100%
  );
}
#news-popup-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 32px;
  gap: 6px;
}
#news-popup-cat {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--v4, #8b5cf6);
  margin-bottom: 2px;
}
#news-popup-title {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 3.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0;
  max-width: 68%;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
#news-popup-excerpt {
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  max-width: 55%;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#news-popup-author {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
}
#news-popup-author img {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: top center;
  border: 1.5px solid rgba(255,255,255,0.3); flex-shrink: 0; background: #1a1a1a;
}
#news-popup-author span {
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.9);
}
#news-popup-btns {
  position: absolute; bottom: 28px; right: 32px;
  display: flex; gap: 10px; align-items: center;
}
#news-popup-btns .btn {
  text-decoration: none;
}
#news-popup-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: none; border: none;
  color: rgba(255,255,255,0.6); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; line-height: 1;
  transition: color 0.2s, transform 0.2s;
  z-index: 2; padding: 0;
}
#news-popup-close:hover { color: #fff; transform: scale(1.15); }
@media (max-width: 600px) {
  #news-popup-card { aspect-ratio: auto; min-height: 340px; }
  #news-popup-title { max-width: 100%; font-size: 1.25rem; }
  #news-popup-excerpt { max-width: 100%; }
  #news-popup-cta { position: static; margin-top: 10px; display: block; text-align: center; }
  #news-popup-content { padding: 20px 18px; }
}

@media (max-width: 768px) {

  html, body { overflow-x: hidden; }

  .container { padding: 0 20px; }

  .hero-logo { width: 280px; max-width: 70%; margin-bottom: 24px; }
  .hero-title { font-size: clamp(1.8rem, 7.5vw, 2.6rem); line-height: 1.1; }

  #lang-fab { bottom: 16px; right: 16px; padding: 5px 10px; font-size: 0.72rem; }
  #lang-panel { bottom: 56px; right: 16px; min-width: 140px; }

  .section--bg { padding: 70px 0; }
  .section-bg-layer { background-attachment: scroll; }

  .page-header { padding: 100px 0 40px; min-height: 0; }
  .page-header-title { font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.1; }
  .page-header-desc { font-size: 0.95rem; padding: 0 8px; }

  .page-header--video .page-header-bg { position: absolute; height: 100%; }

  .mission-card { padding: 24px 18px; }
  .mission-card h3 { font-size: 1.05rem; }
  .mission-card p { font-size: 0.88rem; }
  .mission-icon { font-size: 1.8rem; margin-bottom: 12px; }

  .projects-grid { gap: 12px; }
  .project-card {
    border-radius: var(--radius-md) !important;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .project-info { padding: 16px 18px; }
  .project-info h3 { font-size: 1rem; }
  .project-info p { font-size: 0.82rem; line-height: 1.6; }
  .project-badges-strip { padding: 0; }
  .badge-vertical {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    padding: 8px 14px;
    font-size: 0.68rem;
    width: 100%;
    text-align: center;
  }

  .team-members-row { gap: 24px 16px; justify-content: center; }
  .member-mini { width: 130px; }
  .member-mini-photo-wrap { width: 96px; height: 96px; }
  .member-mini h3 { font-size: 0.9rem; }
  .member-mini .member-role { font-size: 0.76rem; }
  .team-group-title { font-size: 1.5rem; }
  .team-group-header { margin-bottom: 24px; }

  .member-modal-card { max-width: 92%; padding: 28px 22px 24px; }
  .member-modal-photo-wrap { width: 100px; height: 100px; }
  .member-modal-name { font-size: 1.15rem; }
  .member-modal-desc { font-size: 0.88rem; }
  .member-modal-social { width: 38px; height: 38px; }

  .channels-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .community-hero { min-height: 380px !important; padding: 90px 0 50px !important; }
  .community-hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem) !important; }
  .community-hero-desc { font-size: 0.95rem !important; }
  .stats-grid { flex-wrap: wrap; gap: 12px 0; }
  .stat-item { flex: 1 0 50%; }
  .stat-number { font-size: 1.6rem !important; }

  .contact-item { padding: 16px 18px !important; gap: 14px !important; }
  .contact-icon svg { width: 18px; height: 18px; }
  .contact-label { font-size: 0.62rem; }
  .contact-item a { font-size: 0.9rem; }

  .article-hero { margin-bottom: 28px; border-radius: var(--radius-md) !important; }
  .article-title { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }
  .article-excerpt { font-size: 0.95rem !important; }
  .article-body { font-size: 0.95rem !important; }
  .article-body h2 { font-size: 1.3rem !important; margin: 28px 0 12px !important; }
  .article-body h3 { font-size: 1.05rem !important; }
  .article-author-photo { width: 38px; height: 38px; }
  .article-author-name { font-size: 0.88rem; }

  .article-card-author img { width: 28px; height: 28px; }
  .article-card-author-name { font-size: 0.78rem; }
  .article-card-author-role { font-size: 0.68rem; }

  .tabs { gap: 4px; padding: 4px; }
  .tab { padding: 6px 12px; font-size: 0.78rem; }
  .search-box { padding: 6px 14px; }
  .search-box input { font-size: 0.85rem; }

  #news-popup-card { aspect-ratio: auto; height: auto; min-height: 320px; }
  #news-popup-bg { aspect-ratio: 16/9; position: relative; height: auto; }
  #news-popup-content { padding: 18px 20px; }
  #news-popup-title { font-size: 1.1rem; line-height: 1.25; }
  #news-popup-excerpt { font-size: 0.82rem; }
  #news-popup-author img { width: 22px; height: 22px; }
  #news-popup-author span { font-size: 0.74rem; }
  #news-popup-btns { position: relative; bottom: auto; right: auto; padding: 0 20px 18px; flex-direction: column; }
  #news-popup-btns .btn { width: 100%; justify-content: center; }
  #news-popup-close { width: 32px; height: 32px; top: 12px; right: 12px; }

  .footer-inner { padding: 32px 20px 0; gap: 24px; }
  .footer-logo-img { height: 30px; }
  .footer-tagline { font-size: 0.82rem; }
  .footer-nav { gap: 10px 18px; font-size: 0.85rem; flex-wrap: wrap; }
  .footer-bottom p { font-size: 0.68rem; }
  .footer-legal a { font-size: 0.68rem; }

  .btn { padding: 11px 22px; font-size: 0.85rem; }
  .btn-lg { padding: 13px 26px; font-size: 0.88rem; }

  .pillar-card { padding: 22px 18px; }
  .pillar-title { font-size: 0.95rem; }
  .pillar-text { font-size: 0.85rem; }
  .tpmvf-hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .tpmvf-hero-sub { font-size: 0.95rem; }
  .petition-block { padding: 22px 20px !important; }
  .petition-block h3 { font-size: 0.98rem !important; }
  .petition-block p { font-size: 0.86rem !important; line-height: 1.7 !important; }

  .project-detail-hero { min-height: 70vh !important; padding: 130px 0 60px !important; }
  .hero-video-bg { position: absolute !important; height: 100%; }
  .project-video-section { margin-top: -50px !important; min-height: 0 !important; }
  .project-detail-title { font-size: clamp(1.8rem, 7vw, 2.6rem) !important; }
  .video-hint { display: none; }

  .cast-grid { gap: 10px !important; }
  .cast-card { border-radius: var(--radius-md) !important; }
  .cast-info { padding: 10px 12px !important; }
  .cast-character { font-size: 0.82rem !important; }
  .cast-actor { font-size: 0.72rem !important; }
  .cast-link { width: 30px !important; height: 30px !important; }
  .cast-link svg { width: 14px !important; height: 14px !important; }
  .prod-grid { grid-template-columns: 1fr !important; }
  .prod-card { padding: 18px 16px !important; }
  .prod-name { font-size: 0.9rem; }
  .prod-role { font-size: 0.7rem; }

  .editor-tab { padding: 8px 14px; font-size: 0.85rem; }

  *:focus-visible { outline-offset: 2px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 14px; }
  .hero-logo { width: 220px; }
  .hero-title { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .page-header-title { font-size: clamp(1.7rem, 8vw, 2.3rem); }

  .footer-bottom {
    padding: 14px 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-legal { justify-content: center; flex-wrap: wrap; gap: 10px; }

  .member-mini { width: 110px; }
  .member-mini-photo-wrap { width: 80px; height: 80px; }

  .cast-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .lang-panel-btn { padding: 7px 12px; font-size: 0.78rem; }

  #news-popup-cat { font-size: 0.68rem; }
  #news-popup-title { font-size: 1rem; }
  #news-popup-excerpt { font-size: 0.78rem; -webkit-line-clamp: 3; line-clamp: 3; }
}

@media (hover: none) and (pointer: coarse) {
  .project-card:hover { transform: none !important; }
  .mission-card:hover, .channel-card:hover, .pillar-card:hover { transform: none !important; }
  .cast-link:hover { transform: none !important; }
  .nav-link:hover { background: transparent; color: rgba(255,255,255,0.45); }
  .nav-link.active { background: var(--v3); color: #fff; }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: 100vh; padding: 100px 0 60px; }
  .project-detail-hero { min-height: 100vh !important; }
}
