/* =========================================================
   极简白昼声波机能风 · Portfolio Stylesheet
   Palette: Pearl White / Mist Gray + Resonance Cyan + Amber Gold + Dark Slate Stages
   ========================================================= */

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f0f4f9;
  --dark-stage: #0f172a;
  --dark-stage-2: #162036;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --cyan: #0284c7;
  --cyan-bright: #0ea5e9;
  --cyan-soft: rgba(14, 165, 233, 0.1);
  --gold: #d97706;
  --gold-soft: rgba(217, 119, 6, 0.11);
  --green: #10b981;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px -16px rgba(15, 23, 42, 0.22);

  --font-sans: "PingFang SC", "Microsoft YaHei UI", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 10%, #000 30%, transparent 100%);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.mono,
.mono-kicker,
.section-index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.mono-kicker,
.section-index {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 140ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 7px 13px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
}

.btn-primary {
  background: var(--text);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.45);
}

.btn-primary:hover {
  background: #1e293b;
  box-shadow: 0 10px 24px -6px rgba(2, 132, 199, 0.35);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: #ffffff;
}

.btn-glass {
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(56, 189, 248, 0.6);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 251, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand-wave {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--dark-stage);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  flex-shrink: 0;
}

.brand-wave span {
  width: 2.5px;
  border-radius: 2px;
  background: #38bdf8;
  animation: waveBar 1.4s ease-in-out infinite;
}

.brand-wave span:nth-child(1) { height: 8px; animation-delay: 0s; }
.brand-wave span:nth-child(2) { height: 15px; animation-delay: 0.2s; background: #fbbf24; }
.brand-wave span:nth-child(3) { height: 11px; animation-delay: 0.4s; }
.brand-wave span:nth-child(4) { height: 14px; animation-delay: 0.6s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.65); }
  50% { transform: scaleY(1.15); }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 14px;
  font-weight: 700;
}

.brand-text small {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
}

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

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 1.8px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  background: var(--bg);
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.65);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 32px;
  max-width: 720px;
}

.section-title {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* ---------- Module 01: Hero ---------- */
.hero-section {
  padding: 56px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.eyebrow-tag {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--cyan-soft);
  border: 1px solid rgba(2, 132, 199, 0.22);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.eyebrow-degree {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(217, 119, 6, 0.25);
  color: #b45309;
  font-size: 12px;
  font-weight: 600;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.hero-subtitle {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 15.5px;
  max-width: 62ch;
}

.intern-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.intern-strip-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.intern-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.intern-school {
  font-size: 12px;
  color: var(--text-muted);
}

.intern-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intern-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.intern-chip strong {
  color: var(--cyan);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Dossier Card */
.dossier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.dossier-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-bright), var(--gold));
}

.dossier-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.dossier-name {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.dossier-status {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--dark-stage);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.waveform-panel {
  background: var(--dark-stage);
  border-radius: 12px;
  padding: 12px 14px 10px;
  margin-bottom: 16px;
  color: #cbd5e1;
}

.waveform-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 6px;
}

.waveform-svg {
  width: 100%;
  height: 64px;
  display: block;
}

.dossier-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.metric-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 10px;
}

.metric-box strong {
  display: block;
  font-size: 19px;
  line-height: 1.2;
  color: var(--text);
  font-family: var(--font-mono);
}

.metric-box span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.35;
}

.dossier-footer {
  border-top: 1px dashed var(--border-strong);
  padding-top: 12px;
}

.dossier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dossier-tags span {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--surface-soft);
  padding: 3px 9px;
  border-radius: 6px;
}

/* ---------- Module 02: Gaming DNA ---------- */
.kuro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.kuro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.kuro-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.kuro-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.kuro-card-top h3 {
  margin: 4px 0 0;
  font-size: 20px;
}

.kuro-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-badge {
  padding: 5px 11px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
}

.stat-badge-cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.stat-badge-gold {
  background: var(--gold-soft);
  color: #b45309;
}

.progress-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.progress-track {
  height: 7px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.kuro-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
}

.kuro-list li + li {
  margin-top: 6px;
}

.dna-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.acg-matrix-wrap,
.radar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.sub-block-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.sub-block-head h3 {
  margin: 0;
  font-size: 17px;
}

.sub-block-head span {
  font-size: 12px;
  color: var(--text-muted);
}

.acg-matrix-grid {
  display: grid;
  gap: 14px;
}

.acg-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 16px;
  background: var(--bg);
}

.acg-item-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.acg-item-head strong {
  font-size: 15.5px;
}

.acg-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.acg-focus {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 4px;
}

.acg-insight {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.radar-body {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.radar-svg {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  display: block;
}

.radar-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.radar-legend li {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--border);
}

.radar-legend li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.radar-legend strong {
  color: var(--text);
  margin-right: 6px;
}

.radar-score {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-weight: 700;
}

/* ---------- Module 03: Featured Works ---------- */
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

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

.work-card[hidden] {
  display: none;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.work-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.work-badge-gold {
  background: var(--gold-soft);
  color: #b45309;
}

.work-badge-cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
  font-family: var(--font-mono);
}

.work-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.work-summary {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill-tag {
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.mini-timeline {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.mini-timeline-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.mini-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.phase-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 9px 10px;
}

.phase-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
}

.phase-name {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 2px;
}

.phase-theme {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

.work-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.action-hint {
  font-size: 12px;
  color: var(--text-muted);
}

/* Video Stage */
.video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1120 0%, #16223b 60%, #102a43 100%);
  border: 1px solid #1e293b;
}

.video-stage video,
.video-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f8fafc;
  position: relative;
}

.video-placeholder-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.video-placeholder strong {
  font-size: 15px;
  margin-bottom: 6px;
}

.video-placeholder p {
  margin: 0;
  max-width: 38ch;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

.video-highlights {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.video-highlights li + li {
  margin-top: 6px;
}

/* ---------- Module 04: Bento Lab ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bento-3d {
  grid-column: 1 / -1;
}

.bento-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.bento-head h3 {
  margin: 4px 0 0;
  font-size: 19px;
}

.bento-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.bento-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Poster Gallery */
.poster-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}

.poster-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-family: inherit;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.poster-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
}

.poster-thumb {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  color: #ffffff;
}

.poster-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-mockup-ratio {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.8;
}

.poster-mockup-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.poster-palette {
  display: flex;
  gap: 4px;
}

.poster-palette span {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.poster-meta {
  padding: 9px 10px;
}

.poster-meta strong {
  display: block;
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.35;
}

.poster-meta span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.poster-exp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.poster-exp-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  background: var(--bg);
}

.poster-exp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.poster-exp-head strong {
  font-size: 14px;
  color: var(--text);
}

.poster-exp-role {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cyan);
  background: var(--cyan-soft);
  padding: 2px 8px;
  border-radius: 6px;
}

.poster-exp-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Cubase DAW Console */
.daw-meta-badges {
  display: flex;
  gap: 6px;
}

.daw-pill {
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--dark-stage);
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
}

.daw-console {
  background: var(--dark-stage);
  border-radius: 14px;
  padding: 14px;
  color: #e2e8f0;
  margin-top: auto;
}

.daw-sections {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.daw-sec-btn {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border-radius: 8px;
  padding: 7px 8px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.daw-sec-btn:hover,
.daw-sec-btn.active {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
}

.daw-sec-btn strong {
  display: block;
  font-size: 11.5px;
  color: #ffffff;
}

.daw-sec-btn span {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
}

.daw-tracks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.daw-track-row {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 140ms ease, opacity 140ms ease;
}

.daw-track-row:hover,
.daw-track-row.active {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.daw-track-row.muted {
  opacity: 0.4;
}

.daw-track-name {
  font-size: 11.5px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.daw-track-lane {
  position: relative;
  height: 22px;
  border-radius: 5px;
  background: rgba(15, 23, 42, 0.85);
  overflow: hidden;
}

.daw-lane-band {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(56, 189, 248, 0.16);
  border-left: 1px solid rgba(56, 189, 248, 0.55);
  border-right: 1px solid rgba(56, 189, 248, 0.55);
  pointer-events: none;
  transition: left 200ms ease, width 200ms ease;
}

.daw-block {
  position: absolute;
  top: 3px;
  bottom: 3px;
  z-index: 1;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  padding: 0 6px;
  white-space: nowrap;
  overflow: hidden;
}

.daw-footer-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.daw-takeaway {
  font-size: 12px;
  color: #cbd5e1;
  flex: 1 1 280px;
}

.daw-extra-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* 3D Bento Showcase */
.model-switcher {
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  gap: 4px;
}

.switch-pill {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.switch-pill.active {
  background: var(--text);
  color: #ffffff;
}

.m3d-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: center;
}

.m3d-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1220;
  aspect-ratio: 16 / 10;
  border: 1px solid #1e293b;
}

.m3d-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.m3d-stage-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.m3d-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.m3d-stage-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m3d-info h4 {
  margin: 0 0 8px;
  font-size: 19px;
}

.m3d-info p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 14px;
}

.workflow-steps {
  margin-top: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.workflow-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.workflow-list {
  display: grid;
  gap: 8px;
}

.workflow-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
}

.workflow-item strong {
  color: var(--cyan);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.workflow-item span {
  color: var(--text-secondary);
}

/* ---------- Footer & QR ---------- */
.site-footer {
  background: var(--dark-stage);
  color: #e2e8f0;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 28px;
  align-items: center;
}

.footer-title {
  margin: 8px 0 10px;
  font-size: clamp(22px, 2.8vw, 30px);
  color: #ffffff;
  line-height: 1.3;
}

.footer-sub {
  margin: 0 0 22px;
  color: #94a3b8;
  font-size: 14.5px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.contact-fallback {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #cbd5e1;
  font-size: 13.5px;
}

.contact-fallback[hidden],
.contact-actions [hidden] {
  display: none;
}

.site-footer .btn-primary {
  background: var(--cyan-bright);
  color: #082f49;
}

.site-footer .btn-primary:hover {
  background: #38bdf8;
}

.site-footer .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.35);
  color: #f8fafc;
}

.site-footer .btn-outline:hover {
  border-color: #38bdf8;
  color: #38bdf8;
}

.qr-card {
  background: var(--dark-stage-2);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.qr-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.qr-head span {
  font-size: 10px;
  color: #38bdf8;
}

.qr-box {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  display: inline-flex;
}

.qr-hint {
  margin: 0;
  font-size: 11.5px;
  color: #94a3b8;
  word-break: break-all;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: #94a3b8;
}

.back-to-top {
  color: #cbd5e1;
  text-decoration: none;
}

.back-to-top:hover {
  color: #38bdf8;
}

/* ---------- Modals & Case Study Reader ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-backdrop[hidden] {
  display: none;
}

.case-reader {
  width: min(1120px, 100%);
  height: min(88vh, 860px);
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.reader-progress {
  height: 3px;
  background: var(--surface-soft);
  width: 100%;
}

.reader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width 120ms linear;
}

.reader-topbar,
.lightbox-topbar {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--surface);
}

.reader-topbar h3 {
  margin: 2px 0 0;
  font-size: 16px;
}

.icon-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.icon-close:hover {
  background: var(--text);
  color: #ffffff;
}

.reader-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
}

.reader-toc {
  border-right: 1px solid var(--border);
  background: var(--bg);
  padding: 16px 12px;
  overflow-y: auto;
}

.toc-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0 10px 8px;
}

.reader-toc nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-link {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.toc-link:hover,
.toc-link.active {
  background: var(--surface);
  color: var(--cyan);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.reader-content {
  padding: 24px 28px 40px;
  overflow-y: auto;
}

.cs-article-head {
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.cs-article-head h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.cs-meta-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--text-secondary);
}

.cs-section {
  margin-bottom: 32px;
}

.cs-section h3 {
  margin: 0 0 12px;
  font-size: 19px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cyan-soft);
}

.cs-section h4 {
  margin: 18px 0 8px;
  font-size: 16px;
}

.cs-section h5 {
  margin: 0 0 8px;
  font-size: 14.5px;
}

.cs-callout {
  background: var(--cyan-soft);
  border-left: 3.5px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin: 12px 0 16px;
  font-size: 14px;
}

.cs-callout-warn {
  background: var(--gold-soft);
  border-left-color: var(--gold);
}

.cs-highlight-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0;
}

.cs-tracks-grid {
  display: grid;
  gap: 12px;
  margin: 12px 0 18px;
}

.cs-track-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 12px 0 18px;
}

.table-wrap table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
}

.table-wrap th,
.table-wrap td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  background: var(--surface-soft);
  font-weight: 700;
  color: var(--text);
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

/* Lightbox & 3D Modal */
.lightbox-card,
.viewer3d-card {
  width: min(860px, 100%);
  max-height: 90vh;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.lightbox-stage {
  background: var(--dark-stage);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: 70vh;
  overflow: auto;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 64vh;
  border-radius: 8px;
}

.lightbox-caption {
  margin: 0;
  padding: 12px 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.viewer3d-stage {
  width: 100%;
  height: min(68vh, 560px);
  background: radial-gradient(circle at 50% 35%, #1e293b 0%, #0b1120 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.viewer3d-tip {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

model-viewer {
  width: 100%;
  height: 100%;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--dark-stage);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  box-shadow: var(--shadow-lg);
}

.toast[hidden] {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav,
  .availability-pill {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions .btn {
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 12px;
  }

  .brand-text small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 145px;
  }

  .hero-grid,
  .kuro-grid,
  .dna-lower-grid,
  .featured-grid,
  .bento-grid,
  .m3d-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .radar-body {
    grid-template-columns: 1fr;
  }

  .reader-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .reader-toc {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
  }

  .reader-toc nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
  }

  .toc-link {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }

  .dossier-metrics,
  .mini-timeline-grid,
  .poster-gallery,
  .daw-sections {
    grid-template-columns: 1fr;
  }

  .daw-track-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .reader-content {
    padding: 18px 16px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
