:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --bg-elevated: #131316;
  --bg-soft: #1a1a1f;
  --line: rgba(231, 76, 60, 0.1);
  --line-strong: rgba(231, 76, 60, 0.2);
  --text: #f0ece4;
  --text-soft: rgba(240, 236, 228, 0.7);
  --text-dim: rgba(240, 236, 228, 0.4);
  --chip: rgba(231, 76, 60, 0.08);
  --white-panel: #131316;
  --accent: rgba(231, 76, 60, 1);
  --accent-soft: rgba(231, 76, 60, 0.6);
  --accent-glow: rgba(231, 76, 60, 0.12);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content: min(1180px, calc(100vw - 40px));
  --font-sans: "Bahnschrift", "Aptos", "Segoe UI Variable Display",
    "Microsoft YaHei UI", sans-serif;
  --gold: #e74c3c;
  --gold-bright: #ff6b6b;
  --gold-dim: rgba(231, 76, 60, 0.3);
}

/* ===== Loading Screen ===== */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(231, 76, 60, 0.14), transparent 38%),
    linear-gradient(180deg, #0d0b0c 0%, #09090b 100%);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-skip {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 3;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(240, 236, 228, 0.82);
  font: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.loader-skip:hover {
  background: rgba(231, 76, 60, 0.16);
  border-color: rgba(231, 76, 60, 0.44);
  transform: translateY(-1px);
}
.loader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.loader-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  animation: loaderLogoEnter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.loader-logo {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 30px;
  filter: none;
  animation: logoFloat 2.2s ease-in-out infinite;
}
@keyframes loaderLogoEnter {
  from { opacity: 0; transform: scale(0.76) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.loader-progress {
  width: min(260px, 54vw);
  height: 8px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  animation: lineWrapEnter 0.45s ease 0.16s both;
}
@keyframes lineWrapEnter {
  from { opacity: 0; transform: scaleX(0.72); }
  to { opacity: 1; transform: scaleX(1); }
}
.loader-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7d73 0%, #e74c3c 52%, #b92c22 100%);
  box-shadow: 0 0 24px rgba(231, 76, 60, 0.42);
  animation: lineProgress 4.2s cubic-bezier(0.28, 0.11, 0.16, 1) forwards;
}
@keyframes lineProgress {
  0% { width: 0%; }
  24% { width: 22%; }
  58% { width: 63%; }
  78% { width: 86%; }
  100% { width: 100%; }
}

/* ===== Particle Canvas ===== */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== Custom Cursor ===== */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(231, 76, 60,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
.cursor-dot.hovering {
  width: 14px;
  height: 14px;
  background: rgba(231, 76, 60,0.9);
}
.cursor-ring.hovering {
  width: 52px;
  height: 52px;
  border-color: rgba(231, 76, 60,0.4);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== Scroll Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 3D Tilt Card ===== */
.work-card {
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* ===== Glassmorphism enhanced ===== */
.studio-banner-surface,
.site-header {
  background: rgba(19,19,22,0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
}

/* ===== Banner Premium Upgrade ===== */
/* ćľĺćŤçşż */
@keyframes shimmerSweep {
  0% { transform: translateX(-100%) rotate(-12deg); }
  100% { transform: translateX(200%) rotate(-12deg); }
}

/* ć¸ĺčžšćĄĺ¨çť */
@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ĺĽĺşĺ¨çť */
@keyframes bannerFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ćľŽĺ¨ĺžŽĺç?*/
@keyframes floatDot {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-18px) scale(1.4); opacity: 0.8; }
}

/* DQ ćĺ­ĺćł˝ćŤčż */
@keyframes textShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.studio-banner {
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.studio-banner-surface {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background:
    linear-gradient(145deg, #131316 0%, #1a1a1f 40%, #151518 100%) padding-box,
    linear-gradient(135deg, rgba(231, 76, 60,0.3), rgba(231, 76, 60,0.1), rgba(231, 76, 60,0.3)) border-box;
  background-size: 100% 100%, 300% 300%;
  animation: borderGlow 8s ease-in-out infinite;
  box-shadow:
    0 0 80px rgba(231, 76, 60,0.04),
    0 0 160px rgba(231, 76, 60,0.02),
    inset 0 0 120px rgba(231, 76, 60,0.02),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ćľĺćŤçşż */
.studio-banner-surface .banner-shimmer {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(231, 76, 60,0.01) 30%,
    rgba(231, 76, 60,0.04) 50%,
    rgba(231, 76, 60,0.01) 70%,
    transparent 100%
  );
  animation: shimmerSweep 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* ćľŽĺ¨ĺžŽĺçšĺŽšĺ?*/
.banner-floating-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.banner-floating-dots .dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(231, 76, 60,0.5);
}

.banner-floating-dots .dot:nth-child(1) { top: 12%; left: 8%; animation: floatDot 5s ease-in-out infinite 0s; }
.banner-floating-dots .dot:nth-child(2) { top: 25%; left: 78%; animation: floatDot 6s ease-in-out infinite 1s; width: 2px; height: 2px; }
.banner-floating-dots .dot:nth-child(3) { top: 60%; left: 15%; animation: floatDot 7s ease-in-out infinite 2s; background: rgba(231, 76, 60,0.4); }
.banner-floating-dots .dot:nth-child(4) { top: 75%; left: 85%; animation: floatDot 5.5s ease-in-out infinite 0.5s; width: 4px; height: 4px; }
.banner-floating-dots .dot:nth-child(5) { top: 40%; left: 92%; animation: floatDot 6.5s ease-in-out infinite 1.5s; background: rgba(231, 76, 60,0.35); width: 2px; height: 2px; }
.banner-floating-dots .dot:nth-child(6) { top: 85%; left: 45%; animation: floatDot 7.5s ease-in-out infinite 3s; }
.banner-floating-dots .dot:nth-child(7) { top: 18%; left: 55%; animation: floatDot 5s ease-in-out infinite 2.5s; background: rgba(231, 76, 60,0.35); width: 2px; height: 2px; }
.banner-floating-dots .dot:nth-child(8) { top: 50%; left: 5%; animation: floatDot 6s ease-in-out infinite 1.2s; }

/* ç˝ć źçşšçčŚç */
.studio-banner-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(231, 76, 60,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 76, 60,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* ĺŞçšé˘ç˛çşšç */
.studio-banner-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

/* ć¸ĺĺćčŁéĽ°ç?*/
.banner-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite alternate;
}
.banner-glow-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -60px;
  background: rgba(231, 76, 60,0.1);
  animation-delay: 0s;
}
.banner-glow-2 {
  width: 250px;
  height: 250px;
  bottom: -60px;
  right: -40px;
  background: rgba(231, 76, 60,0.08);
  animation-delay: 2s;
}
.banner-glow-3 {
  width: 180px;
  height: 180px;
  top: 50%;
  left: 60%;
  background: rgba(231, 76, 60,0.06);
  animation-delay: 4s;
}
@keyframes glowPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}

/* ĺŻšč§čŁéĽ°çşżćĄ */
.banner-diag-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.banner-diag-lines::before,
.banner-diag-lines::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 76, 60,0.06) 30%, rgba(231, 76, 60,0.06) 70%, transparent);
  transform-origin: center;
}
.banner-diag-lines::before {
  top: 30%;
  left: -50%;
  transform: rotate(-8deg);
}
.banner-diag-lines::after {
  bottom: 25%;
  left: -50%;
  transform: rotate(5deg);
}

/* č§č˝ć čŽ° */
.banner-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 1;
  pointer-events: none;
}
.banner-corner::before,
.banner-corner::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.15);
}
.banner-corner-tl { top: 24px; left: 24px; }
.banner-corner-tl::before { top: 0; left: 0; width: 20px; height: 1px; }
.banner-corner-tl::after { top: 0; left: 0; width: 1px; height: 20px; }
.banner-corner-tr { top: 24px; right: 24px; }
.banner-corner-tr::before { top: 0; right: 0; width: 20px; height: 1px; }
.banner-corner-tr::after { top: 0; right: 0; width: 1px; height: 20px; }
.banner-corner-bl { bottom: 24px; left: 24px; }
.banner-corner-bl::before { bottom: 0; left: 0; width: 20px; height: 1px; }
.banner-corner-bl::after { bottom: 0; left: 0; width: 1px; height: 20px; }
.banner-corner-br { bottom: 24px; right: 24px; }
.banner-corner-br::before { bottom: 0; right: 0; width: 20px; height: 1px; }
.banner-corner-br::after { bottom: 0; right: 0; width: 1px; height: 20px; }

.banner-deco-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.banner-deco-lines::before,
.banner-deco-lines::after {
  content: '';
  position: absolute;
  background: linear-gradient(180deg, transparent, rgba(231, 76, 60,0.05), transparent);
  opacity: 0.6;
}

.banner-deco-lines::before {
  width: 1px;
  height: 60%;
  top: 20%;
  left: 15%;
}

.banner-deco-lines::after {
  width: 1px;
  height: 40%;
  top: 30%;
  right: 20%;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 24px 28px;
}

/* Banner Logo */
.banner-logo-wrap {
  margin-bottom: 20px;
  animation: bannerFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.banner-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 12px 32px rgba(231, 76, 60,0.25));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.banner-logo-img:hover {
  transform: scale(1.08) rotate(2deg);
  filter: drop-shadow(0 16px 40px rgba(231, 76, 60,0.4));
}

/* ĺĽĺşéść˘Żĺ¨çť */
.banner-content .banner-title {
  animation: bannerFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.banner-content .banner-quote {
  animation: bannerFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
.banner-content .banner-desc {
  animation: bannerFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}
.banner-stats {
  animation: bannerFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both;
}
.banner-scroll-hint {
  animation: bannerFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.15s both;
}

.banner-title {
  font-size: clamp(3.6rem, 10vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  font-weight: 800;
}

.banner-brand {
  display: block;
  background: linear-gradient(
    135deg,
    #f0ece4 0%,
    #e74c3c 25%,
    #f0ece4 50%,
    #e74c3c 75%,
    #f0ece4 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(231, 76, 60,0.15));
  animation: brandGlow 4s ease-in-out infinite alternate, textShimmer 6s linear infinite;
}

@keyframes brandGlow {
  0% { filter: drop-shadow(0 0 30px rgba(231, 76, 60,0.1)); }
  100% { filter: drop-shadow(0 0 50px rgba(231, 76, 60,0.25)); }
}

.banner-title span:last-child {
  display: block;
  font-size: 0.35em;
  letter-spacing: 0.35em;
  color: var(--text-dim);
  margin-top: 8px;
  font-weight: 400;
  -webkit-text-fill-color: initial;
}

.banner-quote {
  font-size: 1.12rem;
  color: var(--text-soft);
  margin: 0 auto 10px;
  max-width: 400px;
  line-height: 1.8;
  font-style: italic;
}

.banner-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  letter-spacing: 0.18em;
  margin: 0;
}

.banner-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.banner-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 80px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s, background 0.3s;
}

.banner-stat:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

.banner-stat-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f0ece4, rgba(231, 76, 60,0.9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.banner-scroll-hint {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-bottom: 8px;
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--text-dim);
  border-bottom: 1.5px solid var(--text-dim);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 30% 10%, rgba(231, 76, 60, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(231, 76, 60, 0.04), transparent 50%),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.02), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(231, 76, 60, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 76, 60, 0.015) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  background-size: 120px 120px, 120px 120px, 256px 256px;
  mask-image: radial-gradient(circle at center, black, transparent 88%);
}

.page-shell {
  width: var(--content);
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 72px;
}

.floating-actions {
  position: fixed;
  top: 22px;
  right: 32px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
}

.floating-link {
  color: var(--text-soft);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

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

.floating-link-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px auto 24px;
  padding: 16px 20px;
  border: 1px solid rgba(231, 76, 60, 0.12);
  border-radius: 999px;
  background: rgba(19, 19, 22, 0.85);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px);
}

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

.header-link {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow: hidden;
  background: rgba(231, 76, 60, 0.08);
}

.brand-mark-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.brand-copy small,
.eyebrow,
.section-kicker,
.inquiry-note,
.stage-note span:first-child,
.detail-subline,
.detail-stat span {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.site-nav a {
  color: var(--text-dim);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.header-cta,
.button,
.detail-action,
.filter-button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.header-cta {
  padding: 12px 18px;
  background: transparent;
  color: var(--text);
}

.header-cta:hover,
.button:hover,
.filter-button:hover,
.creator-card:hover,
.featured-card:hover,
.work-card:hover,
.detail-action:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: stretch;
  min-height: 42vh;
  padding-top: 6px;
}

.hero-copy,
.hero-stage,
.featured-card,
.flow-card,
.creator-card,
.inquiry-panel,
.inquiry-form,
.detail-sheet {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), var(--bg-elevated);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.hero h1 {
  margin: 6px 0 10px;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-title span {
  display: block;
}

.hero-text,
.section-copy,
.flow-card p,
.creator-copy,
.detail-copy,
.site-footer,
.inquiry-points {
  color: var(--text-soft);
  line-height: 1.8;
}

.hero-text {
  max-width: 34rem;
  margin: 0;
  font-size: 1.04rem;
}

.hero-actions,
.hero-tags,
.filter-row,
.creator-stats,
.creator-services,
.detail-tags,
.detail-stats,
.detail-author-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.button-solid {
  background: var(--text);
  color: var(--bg);
}

.button-ghost,
.detail-action {
  background: transparent;
  color: var(--text);
}

.hero-tags {
  margin-top: 10px;
}

.hero-tags span,
.pill,
.filter-button,
.detail-tag {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--chip);
  color: var(--text-soft);
  font-size: 0.82rem;
}

.hero-stage {
  display: flex;
  flex-direction: column;
  padding: 12px;
}

  .stage-frame {
    flex: 1;
    min-height: 260px;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 8px);
    background:
      linear-gradient(180deg, rgba(231, 76, 60, 0.03), rgba(231, 76, 60, 0)),
      rgba(26, 26, 31, 0.5);
  }

.stage-window-button {
  all: unset;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.stage-window {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr auto;
}

.stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.stage-topbar nav {
  display: inline-flex;
  gap: 18px;
  color: var(--text-dim);
  font-size: 0.84rem;
}

.stage-body {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 14px;
}

.stage-title {
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.stage-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

  .stage-cover {
    aspect-ratio: 1.25;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 8px);
    background: rgba(26, 26, 31, 0.5);
  }

.stage-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 4px 0;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.section {
  margin-top: 16px;
}

.catalog-section {
  margin-top: 4px;
}


.catalog-heading h1 {
  margin: 6px 0 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.05em;
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
}

/* ===== Category Intro ===== */
.category-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease, padding 0.4s ease, margin 0.4s ease;
}
.category-intro.is-visible {
  max-height: 300px;
  opacity: 1;
  padding: 28px 32px;
  margin-top: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.category-intro-text {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}
.category-intro-highlight {
  color: var(--accent);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 12px 0 0;
  text-align: center;
  font-style: italic;
}

.service-grid,
.workspace-preview-grid,
.workspace-stat-grid,
.workspace-list,
.workspace-form {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card,
.workspace-preview-card,
.workspace-stat-card,
.workspace-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 16px;
}

.service-index,
.workspace-kicker {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.service-card h3,
.workspace-preview-card h3,
.workspace-item strong {
  margin: 10px 0 8px;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.service-card p,
.workspace-preview-card p,
.workspace-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.88rem;
}

.service-actions,
.workspace-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.works-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.toolbar-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: 24px;
  align-items: end;
  margin-bottom: 10px;
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: -0.05em;
}

.featured-grid,
.creators-grid,
.flow-grid,
.inquiry-layout,
.contact-layout {
  display: grid;
  gap: 20px;
}

.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.featured-card,
.creator-card {
  overflow: hidden;
}

.featured-card button,
.work-card button,
.creator-card button,
.related-card button {
  all: unset;
  cursor: pointer;
  display: block;
}

  .card-cover,
  .work-thumb,
  .detail-hero,
  .related-cover {
    overflow: hidden;
    background: rgba(26, 26, 31, 0.5);
  }

.card-cover {
  aspect-ratio: 1.02;
  border-bottom: 1px solid var(--line);
}

.card-cover img,
.work-thumb img,
.work-thumb video,
.related-cover img {
  width: 100%;
  height: 100%;
  display: block;
}

.card-cover img,
.related-cover img {
  object-fit: cover;
}

.work-thumb img,
.work-thumb video {
  object-fit: var(--card-fit, contain);
  object-position: var(--card-position, 50% 50%);
  transform: scale(var(--card-scale, 1));
  transform-origin: center;
  background: rgba(0, 0, 0, 0.22);
}

  .stage-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(26, 26, 31, 0.3);
  }

.card-meta,
.work-meta,
.creator-meta,
.related-meta {
  padding: 12px 14px 14px;
}

.card-meta h3,
.work-meta h3,
.creator-meta h3,
.detail-header h2,
.detail-section h3 {
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.meta-line,
.work-subline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.flow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-card {
  padding: 28px;
}

.flow-card span {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--text-dim);
}

.flow-card h3 {
  margin: 0 0 12px;
  font-size: 1.34rem;
}

.filter-row {
  margin-bottom: 10px;
}

.filter-button {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 1.02rem;
  font-weight: 500;
  min-height: auto;
}

.filter-button:hover {
  color: var(--text);
}

.filter-button.is-active {
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  border-bottom-color: var(--gold);
}

.works-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.work-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.work-thumb {
  position: relative;
  aspect-ratio: var(--card-ratio, 4 / 5);
}

.work-card[data-size="short"] .work-thumb {
  aspect-ratio: var(--card-ratio, 1 / 1);
}

.work-card[data-size="medium"] .work-thumb {
  aspect-ratio: var(--card-ratio, 4 / 5);
}

.work-card[data-size="tall"] .work-thumb {
  aspect-ratio: var(--card-ratio, 3 / 5);
}

.work-series-tag,
.work-author-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.work-series-tag span {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid var(--accent-soft);
  letter-spacing: 0.02em;
}

.work-author-tag span {
  color: var(--text-dim);
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.work-series-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.work-subline + .work-subline {
  margin-top: 6px;
}

/* 作品简介折叠：默认单行截断，hover/focus时展开 */
.work-summary-line span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.work-card:hover .work-summary-line span,
.work-card:focus-within .work-summary-line span,
.work-card:focus .work-summary-line span {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}

.work-summary-line span::after {
  content: '...展开';
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-left: 4px;
}

.work-card:hover .work-summary-line span::after,
.work-card:focus-within .work-summary-line span::after,
.work-card:focus .work-summary-line span::after {
  content: '';
}

.creator-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0;
}

  .creator-avatar {
    display: grid;
    place-items: center;
    min-height: 220px;
    border-right: 1px solid var(--line);
    background:
      radial-gradient(circle at 50% 24%, rgba(231, 76, 60, 0.06), transparent 30%),
      rgba(26, 26, 31, 0.5);
  }

.avatar-ring,
.detail-author-avatar {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  letter-spacing: 0.1em;
}

.avatar-ring {
  width: 92px;
  height: 92px;
  font-size: 1.45rem;
}

.creator-copy,
.detail-author-text p {
  margin: 0;
}

.inquiry-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-layout {
  grid-template-columns: 1fr 360px;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), var(--bg-elevated);
  box-shadow: var(--shadow);
  padding: 30px;
}

.contact-card h3 {
  margin: 16px 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.contact-item span,
.contact-tip {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.contact-item strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  line-height: 1.7;
}

.contact-qr-card {
  text-align: center;
}

.qr-placeholder,
.qr-image-frame {
  display: grid;
  place-items: center;
  width: min(100%, 240px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(231, 76, 60,0.03) 1px, transparent 1px),
    linear-gradient(rgba(231, 76, 60,0.03) 1px, transparent 1px),
    rgba(26, 26, 31, 0.5);
  background-size: 18px 18px;
}

.qr-grid {
  width: 72%;
  height: 72%;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, #f2f2f2 0 12%, transparent 13%),
    radial-gradient(circle at 80% 20%, #f2f2f2 0 12%, transparent 13%),
    radial-gradient(circle at 20% 80%, #f2f2f2 0 12%, transparent 13%),
    linear-gradient(90deg, transparent 0 14%, #f2f2f2 14% 18%, transparent 18% 32%, #f2f2f2 32% 36%, transparent 36% 50%, #f2f2f2 50% 54%, transparent 54% 68%, #f2f2f2 68% 72%, transparent 72%),
    linear-gradient(transparent 0 14%, #f2f2f2 14% 18%, transparent 18% 32%, #f2f2f2 32% 36%, transparent 36% 50%, #f2f2f2 50% 54%, transparent 54% 68%, #f2f2f2 68% 72%, transparent 72%);
  opacity: 0.8;
}

.qr-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}

.workspace-main {
  display: grid;
  gap: 30px;
}

.workspace-hero,
.workspace-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), var(--bg-elevated);
  box-shadow: var(--shadow);
  padding: 30px;
}

.workspace-hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  margin-top: 12px;
}

.workspace-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}

.workspace-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workspace-stat-card {
  padding: 22px;
}

.workspace-stat-card span {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.workspace-stat-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.workspace-heading {
  margin-bottom: 18px;
}

.workspace-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.workspace-preview-card {
  padding: 26px;
}

.workspace-list {
  grid-template-columns: 1fr;
}

.workspace-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.workspace-item p + p {
  margin-top: 10px;
}

.workspace-item-lead {
  align-items: stretch;
}

.workspace-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workspace-form label {
  display: grid;
  gap: 8px;
  color: var(--text-soft);
}

.workspace-form input,
.workspace-form textarea,
.workspace-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 14px 16px;
}

.workspace-field-full {
  grid-column: 1 / -1;
}

.inquiry-panel,
.inquiry-form {
  padding: 30px;
}

.inquiry-panel h3 {
  margin: 18px 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.inquiry-points {
  margin: 18px 0 0;
  padding-left: 18px;
}

.inquiry-form {
  display: grid;
  gap: 14px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 14px 16px;
}

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

.site-footer {
  margin-top: 36px;
  padding: 18px 6px 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.detail-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.detail-panel.is-open {
  pointer-events: auto;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  transition: opacity 180ms ease;
}

.detail-panel.is-open .detail-backdrop {
  opacity: 1;
}

.detail-sheet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 26px;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 24px));
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.detail-panel.is-open .detail-sheet {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.detail-close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  color: var(--text);
  cursor: pointer;
}

.detail-content {
  display: grid;
  gap: 18px;
}

.detail-hero-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.detail-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  background: rgba(0,0,0,0.08);
}
.detail-hero img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.detail-hero video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
}
.series-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(6px);
  line-height: 1;
}
.series-arrow:hover {
  background: rgba(231, 76, 60,0.85);
  border-color: rgba(255,255,255,0.6);
}
.series-arrow-left { left: 12px; }
.series-arrow-right { right: 12px; }
.series-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
  scroll-behavior: smooth;
}

.series-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.series-thumbnails::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.series-thumb {
  all: unset;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.12);
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s ease;
}

.series-thumb img,
.series-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.series-thumb:hover {
  opacity: 0.85;
  border-color: rgba(255,255,255,0.4);
}

.series-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(231, 76, 60,0.4);
}

.series-counter {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 8px;
  letter-spacing: 0.03em;
}

.detail-tag,
.detail-stat {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.detail-tag {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.detail-stat {
  padding: 14px 16px;
  border-radius: 18px;
}

.detail-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.detail-author-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.detail-author-avatar {
  width: 86px;
  height: 86px;
  font-size: 1.35rem;
}

.detail-author-text h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.detail-author-meta {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(26, 26, 31, 0.5);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
}

.related-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.related-cover {
  aspect-ratio: 1.1;
}

.related-meta strong {
  display: block;
  margin-bottom: 6px;
}

.related-meta span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .hero,
  .section-heading,
  .inquiry-layout,
  .workspace-hero,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .flow-grid,
  .related-grid,
  .detail-gallery,
  .service-grid,
  .workspace-preview-grid,
  .workspace-stat-grid {
    grid-template-columns: 1fr;
  }

  .works-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-tabs {
    gap: 18px;
  }

  .site-header {
    position: sticky;
    top: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 18px auto 24px;
    padding: 16px 20px;
    border: 1px solid rgba(231, 76, 60, 0.12);
    border-radius: 999px;
    background: rgba(19, 19, 22, 0.85);
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(22px);
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
    padding-bottom: 72px;
  }

  .floating-actions {
    top: 16px;
    right: 16px;
    gap: 12px;
  }

  .floating-link {
    font-size: 0.82rem;
  }

  .studio-banner-surface {
    min-height: 320px;
  }

  .banner-content {
    padding: 32px 18px 20px;
  }

  .banner-title {
    font-size: clamp(3rem, 15vw, 5.6rem);
  }

  .banner-quote {
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 90%;
  }

  .banner-desc {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .banner-stats {
    gap: 24px;
  }

  .banner-stat-num {
    font-size: 1.5rem;
  }

  .site-header,
  .hero-copy,
  .hero-stage,
  .flow-card,
  .creator-meta,
  .inquiry-panel,
  .inquiry-form,
  .detail-sheet {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-copy small,
  .header-cta,
  .header-link,
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .stage-frame {
    min-height: 460px;
  }

  .works-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .creator-card,
  .detail-author-card {
    grid-template-columns: 1fr;
  }

  .creator-avatar {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-sheet {
    top: 50%;
    left: 50%;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding-top: 18px;
  }
}

/* ========== ç§ťĺ¨çŤŻĺşé¨ĺŻźčŞć  ========== */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(19, 19, 22, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(231, 76, 60, 0.12);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  justify-content: space-around;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 16px;
  border-radius: 12px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.72rem;
  transition: all 0.2s;
}

.mobile-nav-item.is-active {
  color: var(--text);
}

.mobile-nav-item.is-active .mobile-nav-icon {
  transform: scale(1.15);
}

.mobile-nav-icon {
  font-size: 1.2rem;
  transition: transform 0.2s;
}

@media (max-width: 720px) {
  .mobile-nav {
    display: flex;
  }
}

/* ========== ćç´˘ć ?========== */
.works-search-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 200px;
  max-width: 400px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s;
}

.search-input-wrap:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
}

.search-icon {
  font-size: 0.9rem;
  opacity: 0.5;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  font-size: 0.7rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.search-clear:hover {
  background: rgba(255, 255, 255, 0.2);
}

.works-count {
  color: var(--text-dim);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ========== ćťĺ¨ĺĽĺşĺ¨çť ========== */
.work-card {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.work-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ĺçąťĺć˘čżć¸Ą ========== */
.works-masonry.is-transitioning {
  opacity: 0;
  transform: translateY(12px);
}

.works-masonry {
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

/* ========== ĺĄçćŹĺĺ˘ĺźş ========== */
.work-card button {
  transition: transform 0.28s ease;
}

.work-card button:hover {
  transform: translateY(-6px) scale(1.02);
}

.work-card button:hover .work-thumb img,
.work-card button:hover .work-thumb video {
  transform: scale(var(--card-hover-scale, var(--card-scale, 1)));
}

.work-card button:active {
  transform: translateY(-2px) scale(0.99);
}

.work-thumb img,
.work-thumb video {
  transition: transform 0.4s ease;
}

/* ========== éĄľčäźĺ ========== */
.site-footer {
  padding: 28px 0 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Footer Logo */
.footer-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-top: 4px;
}

/* ========== čŻŚćé˘ćżćčż°ćĺ­ ========== */
.detail-summary-text {
  color: var(--text-soft);
  margin-top: 8px;
  font-size: 0.9rem;
}

/* ========== ç¸ĺłä˝ĺĺĄçćŹĺ ========== */
.related-card {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.related-cover img {
  transition: transform 0.35s ease;
}

.related-card:hover .related-cover img {
  transform: scale(1.05);
}

/* ========== čŻŚćé˘ćżäżĄćŻç˝ć ź ========== */
.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-info-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-info-value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

/* ========== ĺžçćžĺ¤§çŻçŽą ========== */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}

.image-lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* çŻçŽąçźŠćžć§äťś */
.lightbox-zoom-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 10;
}

.lb-zoom-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lb-zoom-btn:active {
  transform: scale(0.92);
}

.lb-zoom-level {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  min-width: 40px;
  text-align: center;
  user-select: none;
}

.lightbox-img {
  transition: transform 0.15s ease-out;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-content {
  cursor: default;
}

@media (max-width: 720px) {
  .detail-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== çźčžĺçąťä¸ććĄćˇąč?========== */
select option {
  background: #1a1a1a;
  color: #f2f2f2;
  padding: 8px;
}

/* ========== Banner Interactive Effects ========== */

/* ĺ˝Šçş¸çťĺ¸ */
.confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

/* DQ ĺŻçšĺ?*/
.banner-brand#bannerDQ {
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  display: inline-block;
}
.banner-brand#bannerDQ:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 60px rgba(231, 76, 60,0.4));
}
.banner-brand#bannerDQ:active {
  transform: scale(0.95);
}

/* ========== čŻŚćé˘ćż - ĺçłťĺä˝ĺč˝Žć?========== */
.detail-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 36px;
  margin-bottom: 8px;
}

.detail-carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
  scrollbar-width: none;
}
.detail-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 80px;
  width: 80px;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.5;
  text-align: center;
  background: rgba(255,255,255,0.04);
}
.carousel-item:hover {
  opacity: 0.85;
  transform: scale(1.05);
}
.carousel-item.is-active {
  border-color: var(--accent, #e74c3c);
  opacity: 1;
  box-shadow: 0 0 12px rgba(231, 76, 60,0.35);
}

.carousel-item img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  display: block;
}

.carousel-item-title {
  display: block;
  font-size: 0.6rem;
  color: var(--text-soft);
  padding: 4px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(30,30,30,0.85);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}
.carousel-arrow:hover {
  background: rgba(60,60,60,0.95);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.1);
}
.carousel-arrow-left {
  left: 0;
}
.carousel-arrow-right {
  right: 0;
}

@media (max-width: 720px) {
  .detail-carousel-wrap {
    padding: 0 30px;
  }
  .carousel-item {
    flex: 0 0 64px;
    width: 64px;
  }
  .carousel-item img {
    height: 48px;
  }
  .carousel-arrow {
    width: 26px;
    height: 26px;
    font-size: 1rem;
  }
}
