/* ==========================================================
   Yabao Gaming — iGaming Tech Studio
   Author: Yabao Studio
   ========================================================== */

:root {
  --bg-0: #07060d;
  --bg-1: #0b0a14;
  --bg-2: #131022;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4eefc;
  --text-soft: #b9b1cf;
  --text-mute: #6e6890;

  /* Primary palette — Neuronix-inspired violet */
  --violet-500: #7936fc;
  --violet-400: #a477fc;
  --violet-300: #c4a8ff;
  --violet-600: #5a1ed4;
  --violet-700: #4404bc;
  --pink-500: #ff4fb8;          /* brand pink */
  --pink-300: #ffb27e;
  --coral: #ff520d;
  --cyan: #6ef3ff;

  /* Legacy aliases — back to the original pink mapping */
  --pink: var(--pink-500);
  --pink-2: #ff7ad4;
  --purple: var(--violet-500);
  --purple-2: var(--violet-400);
  --violet: var(--violet-600);

  /* Gradients — pink-led, with violet stop at the end */
  --grad-primary: linear-gradient(135deg, #a477fc 0%, #7936fc 55%, #5a1ed4 100%);
  --grad-primary-soft: linear-gradient(135deg, rgba(164,119,252,0.20), rgba(121,54,252,0.20) 55%, rgba(90,30,212,0.20));
  --grad-text: linear-gradient(120deg, #ffffff 0%, #d8b8ff 35%, #a477fc 65%, #ffffff 100%);
  --grad-legacy-pink: linear-gradient(135deg, #ff4fb8 0%, #b27bff 60%, #6d2bff 100%);
  --grad-pink: var(--grad-legacy-pink);
  --grad-pink-soft: linear-gradient(135deg, rgba(255,79,184,0.18), rgba(138,76,255,0.18) 60%, rgba(109,43,255,0.18));

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(121, 54, 252, 0.25), 0 0 80px rgba(90, 30, 212, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Editorial design tokens (shared with home.css) */
  --hairline: rgba(243, 238, 249, 0.10);
  --hairline-strong: rgba(243, 238, 249, 0.22);
  --accent: #e84a8a;
  --accent-soft: rgba(232, 74, 138, 0.18);
  --accent-glow: rgba(232, 74, 138, 0.32);
  --text-dim: #5b5567;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Inter', 'PingFang SC', 'Microsoft Yahei', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  /* Custom cursor — the Y+B brand logo */
  cursor: url('../images/yabao-logo.png') 16 16, auto;
}

/* Reset to standard cursors on interactive / text elements so they
   still feel clickable and editable. */
a, button, .btn, [role="button"], label, summary,
input[type="button"], input[type="submit"], input[type="reset"] {
  cursor: pointer;
}
input[type="text"], input[type="email"], input[type="search"],
input[type="url"], input[type="password"], input[type="tel"],
input:not([type]), textarea, [contenteditable] {
  cursor: text;
}

body {
  min-height: 100vh;
  position: relative;
}

/* ---------- Background Aurora ---------- */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora::before {
  background: radial-gradient(closest-side, rgba(255, 79, 184, 0.55), transparent 70%);
  top: -20vw;
  left: -10vw;
}
.aurora::after {
  background: radial-gradient(closest-side, rgba(109, 43, 255, 0.55), transparent 70%);
  bottom: -25vw;
  right: -15vw;
  animation-delay: -6s;
}
.aurora .spot {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(140px);
  background: radial-gradient(closest-side, rgba(110, 243, 255, 0.18), transparent 70%);
  top: 30vh;
  left: 40vw;
  opacity: 0.6;
  mix-blend-mode: screen;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(4vw, -3vw, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, 4vw, 0) scale(0.95); }
}

/* Grid overlay */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.h-display {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.h-section {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pink-text {
  background: var(--grad-pink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono { font-family: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
section { position: relative; padding: 8rem 0; }

/* ---------- Avatar Thumbnail System ----------
   One source image, many crops + overlays.
   Reuse hero-avatar.jpg as project covers, news covers, about visual, etc. */
.avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.6s var(--ease);
}
/* crop variants — focus different parts of the illustration */
.avatar-img.crop-face     { object-position: center 18%; }
.avatar-img.crop-character{ object-position: center 35%; }
.avatar-img.crop-icons    { object-position: center 78%; }
.avatar-img.crop-tagline  { object-position: center 92%; }
.avatar-img.crop-unicorn  { object-position: 12% 45%; }
.avatar-img.crop-side     { object-position: 78% 40%; }
.avatar-img.crop-corner-tl{ object-position: 18% 22%; }
.avatar-img.crop-corner-br{ object-position: 82% 78%; }
/* zoom */
.avatar-img.zoom-110 { transform: scale(1.1); }
.avatar-img.zoom-130 { transform: scale(1.3); }
.avatar-img.zoom-150 { transform: scale(1.5); }

/* Color overlay tints — different mood per surface */
.avatar-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
  transition: opacity 0.4s var(--ease);
}
.avatar-tint.pink   { background: radial-gradient(circle at 30% 30%, rgba(255, 79, 184, 0.7), transparent 60%); }
.avatar-tint.purple { background: radial-gradient(circle at 70% 60%, rgba(138, 76, 255, 0.75), transparent 60%); }
.avatar-tint.cyan   { background: radial-gradient(circle at 50% 50%, rgba(110, 243, 255, 0.5), transparent 65%); }
.avatar-tint.violet { background: radial-gradient(circle at 20% 80%, rgba(180, 90, 255, 0.6), transparent 60%); }
.avatar-tint.magenta{ background: radial-gradient(circle at 80% 20%, rgba(255, 60, 180, 0.6), transparent 60%); }
.avatar-tint.dark   { background: linear-gradient(180deg, rgba(7, 6, 13, 0.25) 0%, rgba(7, 6, 13, 0.7) 100%); }

/* footer brand avatar */
.footer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-image: url('../images/yabao-animated.gif');
  background-size: cover;
  background-position: center 30%;
  flex-shrink: 0;
  box-shadow: none;
  border: 1px solid var(--border-strong);
}
/* about section visual */
.about-avatar {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 30px 80px rgba(255, 79, 184, 0.3);
  animation: orb-float 10s ease-in-out infinite alternate;
}
.about-avatar .avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-avatar .avatar-tint {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.about-avatar .avatar-tint.purple { background: radial-gradient(circle at 70% 60%, rgba(138, 76, 255, 0.45), transparent 65%); }
@keyframes orb-float {
  0% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  100% { transform: translate3d(0, -14px, 0) rotate(2deg); }
}

/* glassmorphic service chips around the avatar */
.about-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  background: rgba(10, 8, 18, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.about-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}
.about-chip.c1 { top: 6%;  left:  2%; }
.about-chip.c2 { top: 38%; right: -2%; }
.about-chip.c3 { bottom: 24%; left: -2%; }
.about-chip.c4 { bottom: 8%; right: 6%;  }
.about-chip.c2 .dot { background: var(--cyan);    box-shadow: 0 0 8px var(--cyan); }
.about-chip.c3 .dot { background: var(--purple-2);box-shadow: 0 0 8px var(--purple-2); }
.about-chip.c4 .dot { background: var(--pink);    box-shadow: 0 0 8px var(--pink); }

/* caption below the avatar */
.about-caption {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  white-space: nowrap;
}
.about-caption-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.about-caption-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* stats row in about-copy */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}
.about-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
@media (max-width: 720px) {
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .about-caption { bottom: -1.5rem; }
  .about-chip { font-size: 0.7rem; padding: 0.45rem 0.8rem; }
}

/* contact section background avatar */
.contact-avatar {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background-image: url('../images/hero-avatar.webp');
  background-size: 130%;
  background-position: center 25%;
  opacity: 0.18;
  filter: blur(2px) saturate(1.2);
  top: -60px;
  right: -60px;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 720px) {
  .contact-avatar { width: 180px; height: 180px; top: -40px; right: -40px; }
}

/* ---------- Navigation (Neuronix-style pill capsule) ---------- */
.nav {
  position: fixed;
  top: 1rem;
  left: 0; right: 0;
  z-index: 50;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
  pointer-events: none; /* let children opt back in */
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1100px, 96vw);
  margin: 0 auto;
  padding: 0.42rem 0.42rem 0.42rem 1.1rem;
  background: rgba(10, 8, 18, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled .nav-inner {
  background: rgba(10, 8, 18, 0.85);
  border-color: var(--border-strong);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(255, 79, 184, 0.5);
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 11px;
  background: var(--grad-pink);
  filter: blur(10px);
  opacity: 0.4;
  z-index: -1;
}
.brand .brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 0.2rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(244, 238, 252, 0.85);
  transition: color 0.25s var(--ease),
              background 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  position: relative;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: transparent;
  white-space: nowrap;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 79, 184, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 79, 184, 0.25);
}
.nav-links a::after { display: none; }

/* --- Nav dropdown (5-block structure) --- */
.nav-links li.has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-links .nav-caret {
  display: inline-block;
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  margin-left: 0.35rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-mute);
  transition: border-top-color 0.2s var(--ease);
  pointer-events: none;
  vertical-align: 2px;
}
.nav-links li.has-dropdown:hover > .nav-caret,
.nav-links li.has-dropdown.is-open > .nav-caret {
  border-top-color: var(--pink-2);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  list-style: none;
  padding: 0.5rem;
  margin: 0;
  background: rgba(20, 14, 30, 0.92);
  border: 1px solid rgba(255, 79, 184, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 100;
}
.nav-links li.has-dropdown:hover > .nav-dropdown,
.nav-links li.has-dropdown.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Transparent bridge: fills the 0.5rem gap between the parent <li> and the dropdown
   so the hover chain doesn't break when the mouse moves down to click an item. */
.nav-links li.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.5rem;
  z-index: 99;
}
.nav-dropdown li { list-style: none; }
.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(244, 238, 252, 0.85);
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  color: #fff;
  background: rgba(255, 79, 184, 0.14);
  box-shadow: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
/* ghost / transparent CTA (AZ Berlin "LOG IN" pattern) */
.nav-ghost {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
}
.nav-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

/* ---------- Language Toggle ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-mute);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  line-height: 1;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--grad-pink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 79, 184, 0.4);
}
.lang-toggle.compact .lang-btn { padding: 0.3rem 0.55rem; font-size: 0.72rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-pink);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 79, 184, 0.35), inset 0 0 0 1px rgba(255,255,255,0.15);
  animation: btn-breath 3.2s ease-in-out infinite;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 79, 184, 0.55), inset 0 0 0 1px rgba(255,255,255,0.25);
  animation-play-state: paused;
}
@keyframes btn-breath {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(255, 79, 184, 0.32),
                0 0 0 0 rgba(255, 79, 184, 0.0),
                inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  }
  50% {
    box-shadow: 0 16px 44px rgba(255, 79, 184, 0.55),
                0 0 28px 0 rgba(255, 79, 184, 0.35),
                inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  }
}

/* Small ghost buttons also breathe — softer, smaller pulse */
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: btn-breath-ghost 3.2s ease-in-out infinite;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  animation-play-state: paused;
}
@keyframes btn-breath-ghost {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 79, 184, 0.0);
    border-color: var(--border-strong);
  }
  50% {
    box-shadow: 0 0 18px 0 rgba(255, 79, 184, 0.18);
    border-color: rgba(255, 79, 184, 0.45);
  }
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 10rem 0 6rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
}
.hero-title .highlight {
  display: inline-block;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero-title .highlight::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  filter: blur(1px);
  opacity: 0.6;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
  max-width: 32rem;
  margin-bottom: 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-meta .meta-num {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.hero-meta .meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0.3rem;
}

/* Hero visual — full record player setup: plinth + platter + tonearm */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  aspect-ratio: 1.35 / 1;
}
.tt-plinth {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background:
    linear-gradient(135deg, #1c1726 0%, #0e0a16 60%, #14101e 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(255, 79, 184, 0.12);
  overflow: hidden;
}
/* faint horizontal grain on the plinth */
.tt-plinth::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 3px,
      rgba(255, 255, 255, 0.012) 3px 4px
    );
  pointer-events: none;
}
/* thin pink accent edge on the plinth's top */
.tt-plinth::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0, rgba(255, 79, 184, 0.4) 50%, transparent 100%);
  pointer-events: none;
}

/* --- Spinning disc --- */
.tt-platter {
  position: absolute;
  top: 50%;
  left: 38%;
  transform: translate(-50%, -50%);
  width: 66%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #000;
  box-shadow:
    0 0 0 5px #0a0814,
    0 0 0 6px rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px rgba(40, 28, 56, 0.6);
  overflow: visible;
}
.hero-avatar {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  animation: disc-spin 9s linear infinite;
  background: #050308;
}
.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
@keyframes disc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.disc-grooves {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      transparent 0 5px,
      rgba(255, 255, 255, 0.045) 5px 6px
    );
  pointer-events: none;
  z-index: 1;
  animation: disc-spin 9s linear infinite;
}
.disc-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(255, 79, 184, 0.18) 35deg,
      transparent 70deg,
      transparent 220deg,
      rgba(110, 243, 255, 0.16) 250deg,
      transparent 290deg
    );
  mix-blend-mode: screen;
  filter: blur(2px);
  pointer-events: none;
  z-index: 2;
  animation: disc-spin 9s linear infinite;
}
.disc-spindle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a2030, #000 70%);
  box-shadow:
    0 0 0 2px rgba(255, 79, 184, 0.55),
    0 0 14px rgba(255, 79, 184, 0.4);
  z-index: 5;
  pointer-events: none;
}

/* --- Tonearm (S-curve-ish, sits over the platter) --- */
.tt-tonearm {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}
/* Pivot pillar: short vertical cylinder at the back-right corner of the plinth */
.tt-pivot {
  position: absolute;
  top: 16%;
  right: 12%;
  width: 22px;
  height: 56px;
  background:
    linear-gradient(180deg, #4a4258 0%, #2a2434 50%, #14101c 100%);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 6px 12px rgba(0, 0, 0, 0.6);
}
.tt-pivot::before {
  /* pivot cap on top */
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 8px;
  background: linear-gradient(180deg, #6a6078, #2a2434);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
/* Main arm: rotated bar from pivot extending down-left over the disc */
.tt-arm {
  position: absolute;
  top: 23%;
  right: 14%;
  width: 42%;
  height: 5px;
  background: linear-gradient(180deg, #d0c8e0 0%, #8a8098 45%, #4a4258 100%);
  border-radius: 3px;
  transform-origin: 100% 50%;
  transform: rotate(32deg);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
/* Counterweight behind the pivot (sticks out to the right slightly) */
.tt-counterweight {
  position: absolute;
  top: 19%;
  right: 5%;
  width: 28px;
  height: 18px;
  background:
    linear-gradient(180deg, #3a3245 0%, #1c1622 100%);
  border-radius: 4px;
  transform: rotate(32deg);
  transform-origin: 100% 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 3px 6px rgba(0, 0, 0, 0.6);
}
.tt-counterweight::after {
  /* tiny knurled silver detail lines */
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  right: 3px;
  transform: translateY(-50%);
  height: 1px;
  background: rgba(220, 210, 240, 0.55);
  box-shadow:
    0 -2px 0 rgba(220, 210, 240, 0.3),
    0 2px 0 rgba(220, 210, 240, 0.3);
}
/* Headshell at the front tip of the arm (where the cartridge is) */
.tt-headshell {
  position: absolute;
  top: 23%;
  right: 51%;
  width: 22px;
  height: 16px;
  background: linear-gradient(180deg, #2a2434 0%, #14101c 100%);
  border-radius: 3px;
  transform: rotate(32deg);
  transform-origin: 100% 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 3px 6px rgba(0, 0, 0, 0.6);
}
/* Needle tip — the dot where it touches the disc */
.tt-needle {
  position: absolute;
  top: calc(23% + 10px);
  right: calc(50% - 1px);
  width: 3px;
  height: 7px;
  background: linear-gradient(180deg, #e0d8f0 0%, #8a8098 100%);
  border-radius: 1px;
  z-index: 6;
  box-shadow: 0 0 6px rgba(255, 79, 184, 0.8);
}

/* --- 33/45 speed selector (front-left of plinth) --- */
.tt-speed {
  position: absolute;
  bottom: 10%;
  left: 6%;
  display: flex;
  gap: 3px;
  background: #050308;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.tt-speed-btn {
  padding: 3px 10px;
  border-radius: 999px;
  color: rgba(244, 238, 252, 0.5);
  transition: all 0.25s var(--ease);
  user-select: none;
  font-weight: 600;
}
.tt-speed-btn.active {
  background: var(--grad-pink);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 79, 184, 0.5);
}

/* --- Pitch fader (bottom-right of plinth, opposite speed) --- */
.tt-pitch {
  position: absolute;
  bottom: 10%;
  right: 4%;
  width: 70px;
  height: 16px;
  background: #050308;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.tt-pitch-track {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  transform: translateY(-50%);
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.35), rgba(255,255,255,0.05));
}
.tt-pitch-knob {
  position: absolute;
  top: 50%;
  left: 62%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: linear-gradient(180deg, #d0c8e0, #5a5068);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

/* --- Power LED (top-left of plinth) --- */
.tt-power {
  position: absolute;
  top: 8%;
  left: 6%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: rgba(244, 238, 252, 0.55);
  text-transform: uppercase;
  z-index: 3;
}
.tt-power-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ef3ff;
  box-shadow: 0 0 8px #6ef3ff, 0 0 14px rgba(110, 243, 255, 0.5);
  animation: pulse 1.6s ease-in-out infinite;
}

/* --- Tonearm rest (small Y-clip near the pivot, where the arm sits when not playing) --- */
.tt-armrest {
  position: absolute;
  top: 36%;
  right: 14%;
  width: 16px;
  height: 22px;
  background: linear-gradient(180deg, #3a3245, #1c1622);
  border-radius: 3px 3px 8px 8px;
  z-index: 3;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 3px 6px rgba(0, 0, 0, 0.5);
}
.tt-armrest::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #6a6078;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

/* The black vinyl disc that spins */
.vinyl {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #0a050f 0%, #050308 65%, #000 100%);
  animation: spin 6s linear infinite;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 30px rgba(0, 0, 0, 0.6) inset;
}
/* Subtle concentric grooves */
.vinyl::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      transparent 0px,
      transparent 6px,
      rgba(255, 255, 255, 0.035) 6px,
      rgba(255, 255, 255, 0.035) 7px
    );
  pointer-events: none;
}
/* Light reflection arc — moves with the rotation, gives "shine" */
.vinyl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      transparent 0deg,
      rgba(255, 79, 184, 0.18) 30deg,
      transparent 60deg,
      transparent 220deg,
      rgba(110, 243, 255, 0.14) 250deg,
      transparent 280deg
    );
  mix-blend-mode: screen;
  pointer-events: none;
  filter: blur(2px);
}

/* The pink/purple center label — counter-rotates so the logo stays upright */
.vinyl-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--grad-pink);
  display: grid;
  place-items: center;
  animation: spin 6s linear infinite reverse;
  box-shadow:
    0 0 0 4px rgba(7, 6, 13, 0.9),
    0 0 30px rgba(255, 79, 184, 0.55),
    inset 0 0 30px rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.vinyl-label::before {
  /* subtle label texture — light striations */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0) 0px,
      rgba(255, 255, 255, 0.05) 2px,
      rgba(255, 255, 255, 0) 4px
    );
}
.vinyl-label img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
/* Center hole of the record */
.vinyl-label::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8%;
  aspect-ratio: 1 / 1;
  background: #000;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(255, 79, 184, 0.3),
    inset 0 0 2px rgba(255, 79, 184, 0.4);
  z-index: 2;
}

/* soft glow ring behind the whole disc */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(255, 79, 184, 0.4), rgba(138, 76, 255, 0.4), rgba(110, 243, 255, 0.25), rgba(255, 79, 184, 0.4));
  filter: blur(60px);
  opacity: 0.55;
  z-index: -1;
  animation: spin 22s linear infinite;
}
/* floating tag chips around the avatar */
.hero-chip {
  position: absolute;
  padding: 0.55rem 0.9rem;
  background: rgba(20, 16, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
  z-index: 3;
}
.hero-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink);
}
.hero-chip.chip-1 { top: 6%; left: -2%; animation-delay: 0s; }
.hero-chip.chip-2 { top: 10%; right: -3%; animation-delay: -2s; }
.hero-chip.chip-3 { bottom: 8%; left: -2%; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Pause the disc on hover so users can read the artwork */
.hero-avatar:hover { animation-play-state: paused; }

/* ---------- Marquee strip ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
  overflow: hidden;
  background: rgba(7, 6, 13, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 1rem; }
.marquee-track span::before { content: "✦"; color: var(--pink); }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Section heading ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* ---------- About / Why ---------- */
.about {
  background:
    radial-gradient(ellipse at top, rgba(138, 76, 255, 0.08), transparent 60%),
    transparent;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-copy p { color: var(--text-soft); margin-bottom: 1.2rem; font-size: 1.05rem; }
.about-tags {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.tag {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tag::before { content: "✦"; color: var(--pink); }
.tag.alt::before { content: "◈"; color: var(--cyan); }
.tag.alt2::before { content: "◉"; color: var(--purple-2); }

.about-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
  padding: 0 0.5rem;
}
.about-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.about-ring.r2 { inset: 12%; border-color: rgba(255, 79, 184, 0.25); }
.about-ring.r3 { inset: 24%; border-color: rgba(110, 243, 255, 0.2); border-style: dashed; animation: spin 30s linear infinite; }
.about-core {
  position: absolute;
  inset: 35%;
  background: var(--grad-pink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 80px rgba(255, 79, 184, 0.5);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.about-label {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.about-label.l1 { top: -2%; left: 50%; transform: translateX(-50%); }
.about-label.l2 { top: 50%; right: -4%; transform: translateY(-50%); }
.about-label.l3 { bottom: -2%; left: 50%; transform: translateX(-50%); }
.about-label.l4 { top: 50%; left: -6%; transform: translateY(-50%); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  padding: 2.4rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
  transform-style: preserve-3d;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-pink-soft);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--border-strong); }
.service-card:hover::before { opacity: 1; }
.service-card::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.8s var(--ease);
  pointer-events: none;
}
.service-card:hover::after { left: 100%; }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 79, 184, 0.15), rgba(138, 76, 255, 0.15));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 1.8rem;
  position: relative;
}
.service-icon svg { width: 30px; height: 30px; }
.service-icon.alt { background: linear-gradient(135deg, rgba(110, 243, 255, 0.15), rgba(138, 76, 255, 0.15)); }
.service-icon.alt2 { background: linear-gradient(135deg, rgba(255, 122, 212, 0.15), rgba(110, 243, 255, 0.15)); }

.service-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.service-card p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 1.8rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.service-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-mute);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.service-num {
  position: absolute;
  top: 2rem; right: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-mute);
  letter-spacing: 0.2em;
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
  cursor: pointer;
  display: block;
}
.project-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.project-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.project-thumb .scene {
  position: absolute;
  inset: 0;
  background: var(--bg-1);
  display: grid;
  place-items: center;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .project-thumb .scene { transform: scale(1.05); }

.scene-a { background: radial-gradient(circle at 30% 30%, #ff4fb8, #6d2bff 60%, #0c0a18); }
.scene-b { background: radial-gradient(circle at 70% 30%, #6ef3ff, #8a4cff 60%, #0c0a18); }
.scene-c { background: linear-gradient(135deg, #1a0a2c, #6d2bff 50%, #ff4fb8); }
.scene-d { background: radial-gradient(circle at 50% 70%, #ff7ad4, #8a4cff 70%, #07060d); }

.scene-ui {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
}
.scene-ui .ui-card {
  width: 80%;
  height: 70%;
  background: rgba(7, 6, 13, 0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transform: rotate(-4deg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.scene-ui .ui-card .bar { height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; overflow: hidden; }
.scene-ui .ui-card .bar::after { content: ""; display: block; height: 100%; background: var(--grad-pink); width: 60%; }
.scene-ui .ui-card .bar:nth-child(2)::after { width: 80%; background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.scene-ui .ui-card .bar:nth-child(3)::after { width: 40%; }
.scene-ui .ui-card .row { display: flex; gap: 0.4rem; }
.scene-ui .ui-card .row .pill { padding: 0.3rem 0.6rem; border-radius: 6px; background: rgba(255,255,255,0.08); font-size: 0.65rem; color: #fff; font-family: 'JetBrains Mono', monospace; }

.project-info {
  padding: 1.8rem 2rem 2rem;
}
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.project-info h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.project-info p { color: var(--text-soft); font-size: 0.95rem; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--pink-2);
  font-weight: 600;
  transition: gap 0.3s var(--ease);
}
.project-card:hover .project-link { gap: 0.8rem; }

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.why-card {
  position: relative;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.06);
}
.why-card .why-num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}
.why-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--text-soft); font-size: 0.88rem; }

/* ---------- News ---------- */
.news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.news-head h2 { max-width: 540px; }

/* Why section headline — keep on a single line at desktop widths */
#why .news-head h2 {
  max-width: none;
  white-space: nowrap;
}
.news-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.news-filter {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: inherit;
}
.news-filter:hover { color: var(--text); border-color: var(--border-strong); }
.news-filter.active {
  background: var(--grad-pink);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(255, 79, 184, 0.35);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}
.news-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.news-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.news-thumb .scene { position: absolute; inset: 0; transition: transform 0.6s var(--ease); }
.news-card:hover .news-thumb .scene { transform: scale(1.05); }
.news-category {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(7, 6, 13, 0.7);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--pink-2);
}
.news-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.news-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}
.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
  line-height: 1.35;
  transition: color 0.3s var(--ease);
}
.news-card:hover h3 { color: var(--pink-2); }
.news-card p { color: var(--text-soft); font-size: 0.9rem; flex: 1; }
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--pink-2);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact-wrap {
  position: relative;
  padding: 6rem 4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  overflow: hidden;
  text-align: center;
}
.contact-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 79, 184, 0.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(110, 243, 255, 0.15), transparent 50%);
  z-index: -1;
}
.contact-wrap h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.contact-wrap p {
  color: var(--text-soft);
  font-size: 1.1rem;
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}
.contact-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.contact-tg {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-mute);
}
.contact-tg a { color: var(--cyan); transition: color 0.3s var(--ease); }
.contact-tg a:hover { color: var(--pink-2); }

/* ---------- Footer ---------- */
footer {
  position: relative;
  z-index: 2;
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border);
  margin-top: 5rem;
  background: rgba(7, 6, 13, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-top: 1.2rem;
  max-width: 22rem;
}
.footer-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-mute);
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
}
.footer-tag .heart { color: var(--pink); }
.footer-col h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--pink-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom .status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
}
.footer-bottom .status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}
.reveal:not(.in) {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; filter: none; }
}

/* ---------- News Detail Page ---------- */
.news-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 8rem 0 5rem;
}
.article-cover {
  aspect-ratio: 16 / 8;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  position: relative;
}
.article-cover .scene { position: absolute; inset: 0; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.article-meta .pill {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--pink-2);
}
.news-article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.news-article .lede {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
}
.news-article p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  line-height: 1.8;
}
.news-article h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.news-article blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.8rem;
  border-left: 2px solid var(--pink);
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.news-article ul {
  margin: 1rem 0 1.4rem 1.2rem;
  color: var(--text-soft);
}
.news-article ul li { margin-bottom: 0.5rem; }

/* ---------- Bilingual article body (EN / ZH) ----------
   i18n.js sets <html lang="en"> or <html lang="zh">.
   Each article renders both .body-en and .body-zh blocks;
   the wrong-language one is hidden. */
.article-body .body-zh { display: none; }
html[lang="en"] .article-body .body-zh { display: none; }
html[lang="zh"] .article-body .body-en { display: none; }
html[lang="en"] .article-body .body-en { display: block; }
html[lang="zh"] .article-body .body-zh { display: block; }

/* Subtle styling hints when Chinese body is active */
html[lang="zh"] .news-article h1 { letter-spacing: -0.01em; }
html[lang="zh"] .news-article .article-body p { line-height: 1.95; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-mute);
  transition: color 0.3s var(--ease);
}
.back-link:hover { color: var(--pink-2); }

/* ---------- Industry Wiki section ---------- */
.wiki-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.wiki-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.8rem 1.6rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.3s var(--ease),
              border-color 0.3s var(--ease),
              background 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  overflow: hidden;
  min-height: 220px;
}
.wiki-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-pink);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.wiki-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 79, 184, 0.4);
  background: rgba(20, 16, 42, 0.7);
  box-shadow: 0 18px 50px rgba(255, 79, 184, 0.2);
}
.wiki-card:hover::before { opacity: 0.08; }
.wiki-card:hover .wiki-arrow { transform: translate(4px, -4px); color: var(--pink-2); }
.wiki-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.wiki-title {
  font-family: 'Sora', 'PingFang SC', 'Microsoft Yahei', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.wiki-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-soft);
  flex: 1;
}
.wiki-arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 1.3rem;
  color: var(--text-mute);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

/* ---------- Industry News section ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem 1.6rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.3s var(--ease),
              border-color 0.3s var(--ease),
              background 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.industry-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--grad-pink);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 79, 184, 0.4);
  background: rgba(20, 16, 42, 0.7);
  box-shadow: 0 14px 40px rgba(255, 79, 184, 0.15);
}
.industry-card:hover::before { transform: scaleY(1); }
.industry-card:hover .industry-arrow { transform: translate(4px, -4px); color: var(--pink-2); }
.industry-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-mute);
}
.industry-cat {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(110, 243, 255, 0.1);
  border: 1px solid rgba(110, 243, 255, 0.3);
  border-radius: 4px;
  color: #6ef3ff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}
.industry-title {
  font-family: 'Sora', 'PingFang SC', 'Microsoft Yahei', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.industry-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-soft);
}
.industry-arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 1.2rem;
  color: var(--text-mute);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

/* ---------- Studio Toolbox ---------- */
.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.toolbox-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.8rem 1.6rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.3s var(--ease),
              border-color 0.3s var(--ease),
              background 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.toolbox-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #6ef3ff 0%, rgba(110, 243, 255, 0.6) 50%, transparent 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.toolbox-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 243, 255, 0.4);
  background: rgba(20, 16, 42, 0.7);
  box-shadow: 0 14px 40px rgba(110, 243, 255, 0.12);
}
.toolbox-card:hover::before { transform: scaleY(1); }
.toolbox-card:hover .toolbox-arrow { transform: translate(4px, -4px); color: #6ef3ff; }
.toolbox-cat {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(255, 79, 184, 0.1);
  border: 1px solid rgba(255, 79, 184, 0.3);
  border-radius: 4px;
  color: #ff7ec8;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-family: 'JetBrains Mono', monospace;
  align-self: flex-start;
}
.toolbox-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.toolbox-title {
  font-family: 'Sora', 'PingFang SC', 'Microsoft Yahei', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.toolbox-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-soft);
  flex: 1;
}
.toolbox-cta {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #6ef3ff;
  font-family: 'JetBrains Mono', monospace;
}
.toolbox-arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 1.2rem;
  color: var(--text-mute);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.toolbox-footer {
  margin-top: 2.4rem;
  text-align: center;
}

/* ---------- Wiki article page (shared by all 6 articles) ---------- */
.wiki-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 9rem 1.5rem 4rem;
}
.wiki-article .eyebrow { margin-bottom: 1.5rem; }
.wiki-article h1 {
  font-family: 'Sora', 'PingFang SC', 'Microsoft Yahei', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.wiki-article .lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.wiki-article p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}
.wiki-article h2 {
  font-family: 'Sora', 'PingFang SC', 'Microsoft Yahei', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}
.wiki-article ul {
  margin: 1rem 0 1.5rem 1.2rem;
  padding: 0;
}
.wiki-article ul li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
}
.wiki-article ul li strong { color: var(--text); }
.wiki-article .article-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 1.8rem;
  border-left: 3px solid var(--pink);
  background: rgba(255, 79, 184, 0.05);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
}
.wiki-article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  color: var(--text-mute);
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}
.wiki-article-back:hover { color: var(--pink-2); }

/* ---------- Industry news article page ---------- */
.industry-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 9rem 1.5rem 4rem;
}
.industry-article h1 {
  font-family: 'Sora', 'PingFang SC', 'Microsoft Yahei', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  section { padding: 5rem 0; }
  .hero { padding: 8rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 4rem; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 320px; margin: 0 auto; }
  .services-grid, .projects-grid, .news-grid, .why-grid { grid-template-columns: 1fr; }
  .wiki-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .toolbox-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-wrap { padding: 4rem 1.5rem; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(7, 6, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    gap: 1rem;
  }
  /* Mobile dropdown: static, full-width, no float */
  .nav-links .nav-dropdown {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0.25rem 0 0.25rem 1rem;
  }
  .nav-links .nav-dropdown a {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  .nav-actions.open {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 1px); left: 0; right: 0;
    padding: 1.25rem 1.5rem 1.5rem;
    background: rgba(7, 6, 13, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
    z-index: 49;
  }
  .hero-meta { gap: 1.5rem; }
  .hero-meta .meta-num { font-size: 1.5rem; }
  .news-head { align-items: flex-start; }
}
@media (max-width: 520px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-card { font-size: 0.75rem; padding: 0.7rem 0.9rem; }
  .hero-card .icon { width: 30px; height: 30px; }
}


/* ==========================================================
   BC Support Program — entry modules  (v3 — premium glass test)
   ========================================================== */

/* ---- shared keyframes ---- */
@keyframes bc-spin {
  to { transform: rotate(360deg); }
}
@keyframes bc-shimmer {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%)  skewX(-20deg); }
}
@keyframes bc-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

/* ---- Hero entry card (under hero) ---- */
.bc-hero-entry {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 36px;
  padding: 22px 26px 22px 28px;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  background:
    radial-gradient(ellipse 70% 120% at 0% 50%, rgba(255, 79, 184, 0.18), transparent 65%),
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(138, 76, 255, 0.14), transparent 65%),
    linear-gradient(135deg, rgba(28, 18, 40, 0.78), rgba(18, 14, 28, 0.72));
  border: 1px solid rgba(255, 122, 212, 0.28);
  box-shadow:
    0 14px 48px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(255, 79, 184, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

/* animated conic border sheen */
.bc-hero-entry::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 79, 184, 0)    0deg,
    rgba(255, 79, 184, 0.55) 60deg,
    rgba(138, 76, 255, 0.55) 180deg,
    rgba(110, 243, 255, 0.35) 270deg,
    rgba(255, 79, 184, 0)    360deg
  );
  filter: blur(22px);
  opacity: 0.35;
  z-index: -1;
  animation: bc-spin 14s linear infinite;
  pointer-events: none;
}

/* crisp 1px gradient edge */
.bc-hero-entry::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 122, 212, 0.65), rgba(138, 76, 255, 0.55), rgba(110, 243, 255, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.bc-hero-entry:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 212, 0.55);
  box-shadow:
    0 22px 60px rgba(255, 79, 184, 0.22),
    0 0 80px rgba(138, 76, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.bc-hero-entry:hover::before { opacity: 0.55; }
.bc-hero-entry:hover::after  { opacity: 0.95; }

.bc-hero-entry-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bc-hero-entry-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.bc-hero-entry-tag-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffb6e1;
  padding: 5px 11px;
  background: rgba(255, 79, 184, 0.12);
  border: 1px solid rgba(255, 122, 212, 0.4);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 79, 184, 0.2) inset;
}
.bc-hero-entry-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 10px;
  background: linear-gradient(135deg, #ff4fb8, #8a4cff);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(255, 79, 184, 0.55);
  position: relative;
}
.bc-hero-entry-badge::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff4fb8;
  box-shadow: 0 0 8px #ff4fb8;
  animation: bc-pulse 1.6s ease-in-out infinite;
}
.bc-hero-entry-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.1vw, 1.42rem);
  color: #fff;
  margin: 2px 0 2px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.bc-hero-entry-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
  margin: 0;
}
.bc-hero-entry-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.bc-hero-entry-cta {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #ff4fb8, #8a4cff);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 26px rgba(255, 79, 184, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
/* shimmer sweep on the CTA */
.bc-hero-entry-cta::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-120%) skewX(-20deg);
  transition: none;
  pointer-events: none;
}
.bc-hero-entry:hover .bc-hero-entry-cta::before {
  animation: bc-shimmer 1.4s ease forwards;
}
.bc-hero-entry:hover .bc-hero-entry-cta {
  transform: translateX(4px);
  box-shadow: 0 12px 36px rgba(255, 79, 184, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.bc-hero-entry-cta .arrow { transition: transform 0.22s ease; }
.bc-hero-entry:hover .bc-hero-entry-cta .arrow { transform: translateX(4px); }

@media (max-width: 640px) {
  .bc-hero-entry { flex-direction: column; align-items: stretch; padding: 18px 20px; gap: 16px; }
  .bc-hero-entry-cta { align-self: flex-start; }
}

/* ---- Mid-page BC support section ---- */
.bc-mid-section {
  padding: 96px 0;
  position: relative;
}
.bc-mid-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 18% 30%, rgba(255, 79, 184, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 80% at 82% 70%, rgba(138, 76, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 60% at 50% 100%, rgba(110, 243, 255, 0.06), transparent 60%);
  pointer-events: none;
}
.bc-mid-wrap { position: relative; }
.bc-mid-card {
  position: relative;
  padding: 54px 46px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(255, 79, 184, 0.12), transparent 60%),
    radial-gradient(ellipse 80% 100% at 100% 100%, rgba(138, 76, 255, 0.12), transparent 60%),
    linear-gradient(155deg, rgba(24, 18, 36, 0.85), rgba(14, 10, 22, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(255, 79, 184, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
}
/* shimmering conic border halo */
.bc-mid-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 79, 184, 0)    0deg,
    rgba(255, 79, 184, 0.45) 60deg,
    rgba(138, 76, 255, 0.45) 180deg,
    rgba(110, 243, 255, 0.30) 270deg,
    rgba(255, 79, 184, 0)    360deg
  );
  filter: blur(28px);
  opacity: 0.30;
  z-index: -1;
  animation: bc-spin 22s linear infinite;
  pointer-events: none;
}
/* crisp 1px gradient edge */
.bc-mid-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 122, 212, 0.55), rgba(138, 76, 255, 0.45) 50%, rgba(110, 243, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}
/* BC watermark — sits inside the card, behind the grid content */
.bc-mid-grid::before {
  content: "BC";
  position: absolute;
  right: -28px;
  bottom: -68px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 14rem;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(255, 79, 184, 0.18), rgba(138, 76, 255, 0.08));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
  z-index: -1;
  filter: drop-shadow(0 0 40px rgba(255, 79, 184, 0.25));
}

.bc-mid-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.bc-mid-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #ffb6e1;
  padding: 6px 14px;
  background: rgba(255, 79, 184, 0.10);
  border: 1px solid rgba(255, 122, 212, 0.4);
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 0 14px rgba(255, 79, 184, 0.15) inset;
}
.bc-mid-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4fb8, #8a4cff);
  box-shadow: 0 0 10px rgba(255, 79, 184, 0.7);
  animation: bc-pulse 1.8s ease-in-out infinite;
}
.bc-mid-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  line-height: 1.22;
  color: #fff;
  margin: 0 0 22px;
  letter-spacing: -0.015em;
}
.bc-mid-title .pink-text {
  background: linear-gradient(135deg, #ff4fb8 0%, #c46cff 50%, #6eb5ff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: bc-gradient-shift 8s ease-in-out infinite;
}
@keyframes bc-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.bc-mid-body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
  margin: 0 0 12px;
  max-width: 540px;
}
.bc-mid-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.bc-mid-cta-row .btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(255, 79, 184, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.bc-mid-cta-row .btn-primary::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-120%) skewX(-20deg);
  animation: bc-shimmer 3.6s ease-in-out infinite;
  pointer-events: none;
}
.bc-mid-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bc-mid-meta::before {
  content: "•";
  color: #ff7ad4;
  font-size: 1.1rem;
  line-height: 1;
}
.bc-mid-supports {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.bc-mid-supports li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.88);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.bc-mid-supports li::before {
  content: "✦";
  color: #ff7ad4;
  font-size: 1rem;
  text-shadow: 0 0 12px rgba(255, 79, 184, 0.6);
  flex: 0 0 auto;
}
.bc-mid-supports li:hover {
  background: linear-gradient(135deg, rgba(255, 79, 184, 0.10), rgba(138, 76, 255, 0.06));
  border-color: rgba(255, 122, 212, 0.4);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(255, 79, 184, 0.15);
}
.bc-mid-supports li:hover::before {
  text-shadow: 0 0 18px rgba(255, 79, 184, 0.9);
}

@media (max-width: 900px) {
  .bc-mid-grid { grid-template-columns: 1fr; gap: 32px; }
  .bc-mid-card { padding: 40px 30px; }
  .bc-mid-grid::before { font-size: 9rem; bottom: -50px; right: -16px; }
}


/* ==========================================================
   News index — pagination, loading, empty state
   ========================================================== */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.news-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}
.news-actions .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}
.news-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  margin-top: 24px;
}
.news-state-icon {
  font-size: 2.4rem;
  color: rgba(255, 79, 184, 0.4);
  margin-bottom: 12px;
}
.news-state-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  max-width: 32rem;
  margin: 0;
}
.news-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}
.news-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: #ff4fb8;
  animation: bc-spin 0.9s linear infinite;
}
@keyframes bc-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .news-spinner { animation-duration: 3s; }
}
@media (max-width: 640px) {
  .news-pagination { flex-direction: column; align-items: stretch; }
  .news-actions .btn { width: 100%; justify-content: center; }
  .news-count { text-align: center; }
}


/* ==========================================================
   Editorial listing overrides — news / wiki / dynamic
   Sits on top of base styles. Flattened chrome:
   hairline dividers, Fraunces serif, single pink accent.
   Mirrors design tokens used in home.css.
   ========================================================== */

/* ---------- News card grid (news/index.html) ---------- */
.news-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  margin-top: 0 !important;
}

.news-card {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 2rem !important;
  align-items: center !important;
  padding: 1.75rem 0 !important;
  padding-right: 2.5rem !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hairline) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
  overflow: visible !important;
}
.news-card:first-child {
  border-top: 1px solid var(--hairline) !important;
}
.news-card:hover {
  transform: none !important;
  background: rgba(243, 238, 249, 0.02) !important;
  border-color: var(--hairline) !important;
}

.news-thumb {
  aspect-ratio: 16 / 10 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}
.news-card:hover .news-thumb .scene,
.news-thumb .scene {
  transform: none !important;
  transition: none !important;
}

.news-category {
  position: absolute !important;
  top: 0.8rem !important;
  left: 0.8rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-variation-settings: 'SOFT' 100, 'WONK' 1 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  color: var(--accent) !important;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.news-body {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.news-date {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.68rem !important;
  color: var(--text-dim) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin-bottom: 0 !important;
}

.news-card h3 {
  font-family: 'Fraunces', serif !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  transition: color 0.2s ease !important;
}
.news-card:hover h3 {
  color: var(--accent) !important;
}

.news-card p {
  color: var(--text-soft) !important;
  font-size: 0.9rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  flex: 0 !important;
}

.news-more {
  position: absolute !important;
  right: 0 !important;
  top: 1.85rem !important;
  margin-top: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
  width: auto !important;
  text-align: right !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}
.news-more::before {
  content: "\2197"; /* ↗ */
  font-size: 1.2rem;
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-variation-settings: 'SOFT' 100, 'WONK' 1 !important;
  color: var(--text-dim) !important;
}
.news-card:hover .news-more::before {
  color: var(--accent) !important;
  transform: translateX(4px) !important;
}

/* ---------- News filter pills — flatten active state ---------- */
.news-filter {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  border-radius: 0 !important;
  padding: 0.35rem 0.1rem !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--text-soft) !important;
  transition: color 0.2s ease, border-color 0.2s ease !important;
}
.news-filter:hover {
  color: var(--text) !important;
  border-color: var(--hairline) !important;
}
.news-filter.active {
  background: transparent !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: none !important;
}

/* ---------- Wiki big-category cards (3 main) ---------- */
.wiki-big-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  margin-top: 2.5rem !important;
  border-top: 1px solid var(--hairline) !important;
}

.wiki-big-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 2.5rem 2rem !important;
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid var(--hairline) !important;
  border-bottom: 1px solid var(--hairline) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--text) !important;
  text-decoration: none !important;
  min-height: 280px !important;
  position: relative !important;
  overflow: visible !important;
  transition: background 0.2s ease !important;
}
.wiki-big-card::before,
.wiki-big-pink::before,
.wiki-big-cyan::before,
.wiki-big-violet::before {
  display: none !important;
  content: none !important;
}
.wiki-big-card:last-child {
  border-right: 0 !important;
}
.wiki-big-card:hover {
  transform: none !important;
  background: rgba(243, 238, 249, 0.02) !important;
  border-color: var(--hairline) !important;
}
.wiki-big-card:hover::before,
.wiki-big-pink:hover::before,
.wiki-big-cyan:hover::before,
.wiki-big-violet:hover::before {
  display: none !important;
  opacity: 0 !important;
}
.wiki-big-pink:hover,
.wiki-big-cyan:hover,
.wiki-big-violet:hover {
  border-color: var(--hairline) !important;
  background: rgba(243, 238, 249, 0.02) !important;
}

.wiki-big-eyebrow {
  font-family: 'Fraunces', serif !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  font-style: italic !important;
  font-variation-settings: 'SOFT' 100, 'WONK' 1 !important;
  color: var(--accent) !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 0.6rem !important;
}
.wiki-big-pink .wiki-big-eyebrow,
.wiki-big-cyan .wiki-big-eyebrow,
.wiki-big-violet .wiki-big-eyebrow {
  color: var(--accent) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

.wiki-big-desc {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: var(--text-soft) !important;
  margin-bottom: 1rem !important;
  flex-grow: 1 !important;
}

.wiki-big-fines {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.04em !important;
  color: var(--text-dim) !important;
  margin-bottom: 1.5rem !important;
  gap: 0.3rem !important;
}

.wiki-big-foot {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.5rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid var(--hairline) !important;
}

.wiki-big-count {
  font-family: 'Fraunces', serif !important;
  font-size: 2.75rem !important;
  font-weight: 300 !important;
  font-style: italic !important;
  font-variation-settings: 'SOFT' 100, 'WONK' 1 !important;
  color: var(--text) !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

.wiki-big-count-label {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  color: var(--text-dim) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.16em !important;
}

.wiki-big-cta {
  margin-left: auto !important;
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-variation-settings: 'SOFT' 100, 'WONK' 1 !important;
  font-size: 1.1rem !important;
  color: var(--text-soft) !important;
  font-weight: 400 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}
.wiki-big-card:hover .wiki-big-cta {
  color: var(--accent) !important;
  transform: translateX(4px) !important;
}

/* ---------- Wiki sub-category list (12 cards) ---------- */
.wiki-cat-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  margin-top: 2.5rem !important;
  border-top: 1px solid var(--hairline) !important;
}

.wiki-cat-card,
.wiki-cat-card-sm {
  display: grid !important;
  grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 2fr) !important;
  gap: 1.5rem !important;
  align-items: center !important;
  padding: 1.4rem 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hairline) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
  min-height: 0 !important;
  position: static !important;
  overflow: visible !important;
}
.wiki-cat-card::before,
.wiki-cat-card-sm::before {
  display: none !important;
  content: none !important;
}
.wiki-cat-card:hover,
.wiki-cat-card-sm:hover {
  transform: none !important;
  background: rgba(243, 238, 249, 0.02) !important;
  border-color: var(--hairline) !important;
}
.wiki-cat-card:hover::before,
.wiki-cat-card-sm:hover::before {
  display: none !important;
  opacity: 0 !important;
}

.wiki-cat-head {
  display: contents !important;
  align-items: center !important;
  margin-bottom: 0 !important;
  position: static !important;
}

.wiki-cat-name {
  font-family: 'Fraunces', serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 1.15rem !important;
  color: var(--text) !important;
  letter-spacing: -0.01em !important;
  transition: color 0.2s ease !important;
}
.wiki-cat-card:hover .wiki-cat-name,
.wiki-cat-card-sm:hover .wiki-cat-name {
  color: var(--accent) !important;
}

.wiki-cat-count {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.8rem !important;
  color: var(--accent) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  letter-spacing: 0.04em !important;
  justify-self: end !important;
}

.wiki-cat-id {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  color: var(--text-dim) !important;
  margin: 0 !important;
  position: static !important;
  letter-spacing: 0.06em !important;
  justify-self: end !important;
}

.wiki-cat-desc {
  font-size: 0.9rem !important;
  color: var(--text-soft) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  position: static !important;
  grid-column: 1 / 4 !important;
  padding-top: 0.5rem;
  border-top: 0 !important;
}

/* ---------- Industry card (dynamic/index.html) — flatten chrome ---------- */
.industry-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 3rem !important;
  margin-top: 1.5rem !important;
  border-top: 1px solid var(--hairline) !important;
}

.industry-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.6rem !important;
  padding: 1.75rem 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hairline) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--text) !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: visible !important;
  transition: background 0.2s ease !important;
}
.industry-card::before {
  display: none !important;
  content: none !important;
}
.industry-card:hover {
  transform: none !important;
  background: rgba(243, 238, 249, 0.02) !important;
  border-color: var(--hairline) !important;
  box-shadow: none !important;
}
.industry-card:hover::before {
  display: none !important;
  transform: none !important;
}

.industry-meta {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  margin-bottom: 0.85rem !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.7rem !important;
  color: var(--text-dim) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.industry-cat {
  display: inline-block !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--accent) !important;
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-variation-settings: 'SOFT' 100, 'WONK' 1 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.industry-title {
  font-family: 'Fraunces', serif !important;
  font-size: 1.3rem !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  color: var(--text) !important;
  margin: 0 0 0.4rem !important;
  transition: color 0.2s ease !important;
  padding-right: 2.5rem !important;
}
.industry-card:hover .industry-title {
  color: var(--accent) !important;
}

.industry-desc {
  color: var(--text-soft) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.industry-arrow {
  position: absolute !important;
  right: 0 !important;
  top: 1.85rem !important;
  color: var(--text-dim) !important;
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-size: 1.1rem !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}
.industry-card:hover .industry-arrow {
  color: var(--accent) !important;
  transform: translateX(4px) !important;
}

/* ---------- Featured Cases (精选案例) — editorial big-numeral layout ---------- */
.industry-card.is-feature {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: 120px 1fr auto !important;
  align-items: baseline !important;
  gap: 2.5rem !important;
  padding: 2.25rem 0 !important;
  border-bottom: 1px solid var(--hairline) !important;
}
.industry-card.is-feature:first-child {
  border-top: 1px solid var(--hairline) !important;
}
.industry-card.is-feature .industry-num {
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 3rem !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  color: var(--accent) !important;
  font-variation-settings: 'SOFT' 100, 'WONK' 1 !important;
}
.industry-card.is-feature .industry-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  min-width: 0 !important;
}
.industry-card.is-feature .industry-title {
  font-size: 1.6rem !important;
  padding-right: 0 !important;
  margin: 0 !important;
  max-width: 38rem !important;
}
.industry-card.is-feature .industry-desc {
  -webkit-line-clamp: 3 !important;
  max-width: 42rem !important;
  font-size: 0.95rem !important;
}
.industry-card.is-feature .industry-arrow {
  position: static !important;
  align-self: center !important;
  font-size: 1.4rem !important;
}
.industry-card.is-feature:hover .industry-num {
  color: var(--pink-2) !important;
}
@media (max-width: 900px) {
  .industry-card.is-feature {
    grid-template-columns: 60px 1fr !important;
    gap: 1.25rem !important;
    padding: 1.75rem 0 !important;
  }
  .industry-card.is-feature .industry-num { font-size: 2.1rem !important; }
  .industry-card.is-feature .industry-arrow { display: none !important; }
  .industry-card.is-feature .industry-title { font-size: 1.3rem !important; }
}
@media (max-width: 520px) {
  .industry-card.is-feature {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }
  .industry-card.is-feature .industry-num { font-size: 1.6rem !important; }
}

/* ---------- Editorial typography bridges used on sub-pages ---------- */
.h-display,
.h-section {
  font-family: 'Fraunces', serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.08 !important;
}
.h-display .pink-text,
.h-section .pink-text {
  font-style: italic !important;
  color: var(--accent) !important;
  font-variation-settings: 'SOFT' 100, 'WONK' 1 !important;
}

.eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: var(--text-soft) !important;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ---------- Responsive — editorial listing pages ---------- */
@media (max-width: 900px) {
  .news-card {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .news-thumb { max-width: 100%; }
  .news-more { display: none !important; }
  .industry-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  .wiki-big-grid { grid-template-columns: 1fr !important; }
  .wiki-big-card {
    border-right: 0 !important;
    border-bottom: 1px solid var(--hairline) !important;
    min-height: 0 !important;
    padding: 2rem 0 !important;
  }
  .wiki-big-card:last-child { border-bottom: 0 !important; }
  .wiki-big-count { font-size: 2.25rem !important; }
  .wiki-cat-card,
  .wiki-cat-card-sm {
    grid-template-columns: 1fr auto !important;
    gap: 0.5rem !important;
  }
  .wiki-cat-desc {
    grid-column: 1 / 3 !important;
  }
}

