/* ══════════════════════════════════════════════
   SUBPAGE — Shared hero, breadcrumb, stats row
   Used by blender.html, godot.html, games.html
══════════════════════════════════════════════ */

.sub-hero {
  position: relative;
  min-height: 58vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding: 96px var(--pad-x) 60px;
}
.sub-hero-bg { position: absolute; inset: 0; }
.sub-hero-inner {
  position: relative; z-index: 2;
  max-width: 680px; width: 100%;
}

.sub-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 1px;
  color: var(--text-xdim); margin-bottom: 18px;
  animation: fadeUp 0.5s var(--ease) both 0.05s;
}
.sub-breadcrumb a { color: var(--text-xdim); transition: color 0.2s; }
.sub-breadcrumb a:hover { color: var(--accent); }
.bc-sep { color: var(--border2); }
.bc-cur { color: var(--accent); }

.sub-page-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-size: 10px; letter-spacing: 2px;
  margin-bottom: 18px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid rgba(138,200,112,0.2);
  background: rgba(138,200,112,0.05);
  animation: fadeUp 0.55s var(--ease) both 0.1s;
}
.sp-tag-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.sub-title {
  font-family: var(--font-brand); font-weight: 900;
  font-size: clamp(36px, 5.5vw, 68px); line-height: 1.0;
  color: var(--white); letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 14px;
  animation: fadeUp 0.55s var(--ease) both 0.15s;
}

.sub-desc {
  font-size: 14px; color: var(--text-dim);
  line-height: 1.85; max-width: 520px; margin-bottom: 28px;
  animation: fadeUp 0.55s var(--ease) both 0.25s;
}

.sub-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  animation: fadeUp 0.55s var(--ease) both 0.35s;
}
.stat-item  { display: flex; flex-direction: column; gap: 4px; }
.stat-val   { font-family: var(--font-brand); font-weight: 800; font-size: 18px; letter-spacing: 1px; color: var(--accent); }
.stat-label { font-family: var(--font-code); font-size: 9px; letter-spacing: 2px; color: var(--text-xdim); text-transform: uppercase; }

.sub-corner-tag {
  position: absolute; bottom: 20px; right: var(--pad-x);
  font-family: var(--font-code); font-size: 9px; letter-spacing: 2px;
  color: var(--text-xdim); z-index: 2;
}

@media (max-width: 900px) {
  .sub-hero { padding: 88px 24px 48px; min-height: 50vh; }
  .sub-stats { gap: 24px; }
  .sub-corner-tag { display: none; }
}
@media (max-width: 600px) {
  .sub-hero { min-height: 44vh; padding: 80px 24px 40px; }
  .sub-title { font-size: clamp(32px, 10vw, 52px); }
  .sub-desc  { font-size: 13px; }
  .sub-stats { gap: 18px; }
  .stat-val  { font-size: 16px; }
}
