/* ============================================================
   天智工坊 · Tianzhi Studio — custom stylesheet
   Aesthetic: digital forge / obsidian + ember / 中式工坊
   ============================================================ */

:root {
  --obsidian: #0a0908;
  --obsidian2: #161412;
  --ember: #ff6b1a;
  --heat: #ffb347;
  --steel: #2e5a8a;
  --bone: #f4f1e8;
  --seal: #a02c1d;
  --seal-deep: #7d1d13;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }
html, body { background: var(--obsidian); }
body {
  color: var(--bone);
  font-family: 'Fraunces', 'Noto Serif SC', serif;
  overflow-x: hidden;
  cursor: none;
}

/* ---------- Canvas layer ---------- */
#forge-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease-out;
}
#forge-canvas.ready { opacity: 1; }

/* Vignette darkening corners */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 35%, transparent 0%, transparent 45%, rgba(10,9,8,0.5) 85%, rgba(10,9,8,0.9) 100%);
  mix-blend-mode: multiply;
}

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.94  0 0 0 0 0.9  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
}

main { position: relative; z-index: 3; }
header { z-index: 40; }

/* Keep content sections backgrounds transparent so canvas shows through */
section { position: relative; }

/* ---------- Custom cursor ---------- */
.cursor-forge {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px rgba(255,107,26,0.8), 0 0 28px rgba(255,107,26,0.4);
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
  opacity: 0.9;
}
.cursor-forge.over-link {
  width: 40px;
  height: 40px;
  background: rgba(255,107,26,0.25);
  box-shadow: 0 0 24px rgba(255,107,26,0.5), inset 0 0 0 1px rgba(255,107,26,0.7);
}
.cursor-forge-ring {
  position: fixed;
  top: 0; left: 0;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,107,26,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99;
  transform: translate(-50%, -50%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: none), (max-width: 768px) {
  body { cursor: auto; }
  .cursor-forge, .cursor-forge-ring { display: none; }
}

/* ---------- Typography helpers ---------- */
.hero-title em.heat-glow {
  position: relative;
  text-shadow:
    0 0 10px rgba(255,107,26,0.4),
    0 0 28px rgba(255,107,26,0.25),
    0 0 60px rgba(255,107,26,0.2);
  animation: heat-breathe 3.6s ease-in-out infinite;
}
@keyframes heat-breathe {
  0%, 100% { text-shadow: 0 0 10px rgba(255,107,26,0.4), 0 0 28px rgba(255,107,26,0.25), 0 0 60px rgba(255,107,26,0.2); }
  50%      { text-shadow: 0 0 16px rgba(255,107,26,0.6), 0 0 40px rgba(255,107,26,0.35), 0 0 80px rgba(255,107,26,0.28); }
}

/* ---------- Navigation ---------- */
.nav-link {
  position: relative;
  color: rgba(244,241,232,0.6);
  transition: color 0.25s;
  padding-bottom: 4px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ember);
  transition: width 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-link:hover { color: var(--bone); }
.nav-link:hover::after { width: 100%; }

/* ---------- Seal chip (corner 工 mark) ---------- */
.seal-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--seal);
  color: var(--bone);
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 18px;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 2px rgba(244,241,232,0.9),
    0 0 0 4px var(--seal),
    0 0 12px rgba(160,44,29,0.4);
  transform: rotate(-6deg);
  letter-spacing: -0.02em;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.seal-chip--sm { width: 28px; height: 28px; font-size: 14px; }
.group:hover .seal-chip,
a:hover > .seal-chip { transform: rotate(6deg) scale(1.05); }

/* ---------- Ember dot (status indicator) ---------- */
.ember-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 8px rgba(255,107,26,0.8);
  animation: ember-pulse 2s ease-in-out infinite;
}
@keyframes ember-pulse {
  0%, 100% { opacity: 0.8; box-shadow: 0 0 8px rgba(255,107,26,0.8); }
  50%      { opacity: 1;   box-shadow: 0 0 14px rgba(255,107,26,1);  }
}

/* ---------- Scroll indicator ---------- */
.scroll-indicator {
  display: inline-block;
  position: relative;
  width: 24px; height: 1px;
  background: rgba(244,241,232,0.3);
}
.scroll-indicator::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 8px; height: 100%;
  background: var(--ember);
  animation: scroll-slide 2.2s ease-in-out infinite;
}
@keyframes scroll-slide {
  0%   { transform: translateX(0);    opacity: 0.3; }
  50%  { transform: translateX(16px); opacity: 1;   }
  100% { transform: translateX(0);    opacity: 0.3; }
}

/* ---------- Entrance animations ---------- */
.stagger-on-load .stagger-item {
  opacity: 0;
  transform: translateY(32px);
  animation: rise-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.stagger-on-load .stagger-item:nth-child(1) { animation-delay: 0.3s; }
.stagger-on-load .stagger-item:nth-child(2) { animation-delay: 0.55s; }
.stagger-on-load .stagger-item:nth-child(3) { animation-delay: 0.95s; }
@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Section II — Craft cards
   ============================================================ */
.craft-card {
  position: relative;
  padding: 3rem 2.5rem 2.5rem;
  background:
    linear-gradient(165deg, rgba(22,20,18,0.6) 0%, rgba(10,9,8,0.3) 100%);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(244,241,232,0.08);
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, box-shadow 0.6s;
}
.craft-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255,107,26,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.craft-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--ember), transparent);
  transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.craft-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,107,26,0.35);
  box-shadow:
    0 24px 60px -20px rgba(255,107,26,0.25),
    inset 0 1px 0 rgba(244,241,232,0.1);
}
.craft-card:hover::before { opacity: 1; }
.craft-card:hover::after { height: 100%; }

.craft-card-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 2.5rem;
  color: rgba(244,241,232,0.12);
  letter-spacing: -0.05em;
}
.craft-card-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ember);
  background: rgba(255,107,26,0.08);
  border: 1px solid rgba(255,107,26,0.25);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.craft-card h3 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 2.4rem;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--bone);
}
.craft-card-list {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(244,241,232,0.12);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(244,241,232,0.55);
  line-height: 2.1;
  letter-spacing: 0.02em;
}

/* ============================================================
   Section III — Process timeline
   ============================================================ */
.process-list {
  position: relative;
  border-left: 1px solid rgba(244,241,232,0.1);
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 2rem;
  padding: 2.5rem 0 2.5rem 2.5rem;
  border-bottom: 1px solid rgba(244,241,232,0.06);
  transition: background 0.5s;
}
@media (max-width: 768px) {
  .process-step {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 2rem 0 2rem 1.5rem;
  }
  .process-time { grid-column: 2; padding-top: 0.5rem; }
}
.process-step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 3rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--obsidian);
  border: 1px solid rgba(244,241,232,0.25);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.process-step:hover::before {
  background: var(--ember);
  border-color: var(--ember);
  box-shadow: 0 0 0 4px rgba(255,107,26,0.18), 0 0 18px rgba(255,107,26,0.6);
}
.process-step:hover { background: linear-gradient(90deg, rgba(255,107,26,0.04), transparent 60%); }

.process-num {
  font-family: 'Ma Shan Zheng', 'Noto Serif SC', serif;
  font-size: 5.2rem;
  line-height: 0.95;
  color: rgba(244,241,232,0.18);
  transition: color 0.4s, text-shadow 0.4s;
}
.process-step:hover .process-num {
  color: var(--ember);
  text-shadow: 0 0 18px rgba(255,107,26,0.4);
}
.process-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,107,26,0.7);
  margin-bottom: 0.5rem;
}
.process-body h3 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--bone);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.process-time {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.15em;
  color: rgba(244,241,232,0.4);
  padding-top: 3rem;
  white-space: nowrap;
}

/* ============================================================
   Section IV — Works grid
   ============================================================ */
.work-card {
  position: relative;
  display: block;
  padding: 2rem 1.75rem 2.25rem;
  background: linear-gradient(160deg, rgba(22,20,18,0.55), rgba(10,9,8,0.25));
  border: 1px solid rgba(244,241,232,0.08);
  border-radius: 2px;
  min-height: 200px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, box-shadow 0.5s;
  cursor: none;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,26,0.4);
  box-shadow: 0 20px 40px -20px rgba(255,107,26,0.2);
}
.work-card-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(244,241,232,0.4);
  margin-bottom: 1.25rem;
}
.work-card h4 {
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--bone);
  letter-spacing: -0.005em;
}
.work-card-tag {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  font-family: 'Noto Serif SC', serif;
  font-weight: 500;
  font-size: 11px;
  color: rgba(255,107,26,0.65);
  border: 1px solid rgba(255,107,26,0.25);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.15em;
}
.work-card--accent {
  background: linear-gradient(160deg, rgba(255,107,26,0.1), rgba(10,9,8,0.4));
  border-color: rgba(255,107,26,0.25);
}
.work-card--dim {
  border-style: dashed;
  opacity: 0.6;
}
.work-card--dim:hover { opacity: 1; }

/* ============================================================
   Section V — Seal stamp (CTA)
   ============================================================ */
.seal-stamp-wrap {
  display: flex;
  justify-content: center;
  perspective: 900px;
}
.seal-stamp {
  position: relative;
  width: 220px;
  height: 220px;
  background:
    radial-gradient(circle at 30% 25%, #c23828 0%, var(--seal) 35%, var(--seal-deep) 100%);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  padding: 22px;
  transform: rotate(-4deg);
  box-shadow:
    inset 0 0 0 3px rgba(244,241,232,0.92),
    inset 0 0 0 6px var(--seal-deep),
    0 20px 40px -15px rgba(160,44,29,0.5),
    0 0 80px -20px rgba(255,107,26,0.3);
  animation: seal-float 5s ease-in-out infinite;
}
.seal-stamp::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, transparent 40%, rgba(244,241,232,0.1) 50%, transparent 60%);
  pointer-events: none;
}
.seal-stamp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.5' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.7;
  pointer-events: none;
}
.seal-stamp-char {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 3.4rem;
  color: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  letter-spacing: -0.02em;
  position: relative;
}
.seal-stamp-char:nth-child(1) { border-right: 2px solid rgba(244,241,232,0.2); border-bottom: 2px solid rgba(244,241,232,0.2); }
.seal-stamp-char:nth-child(2) { border-bottom: 2px solid rgba(244,241,232,0.2); }
.seal-stamp-char:nth-child(3) { border-right: 2px solid rgba(244,241,232,0.2); }
@keyframes seal-float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-6px); }
}

/* ---------- CTA buttons ---------- */
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 2.2rem;
  font-family: 'Noto Serif SC', serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
  cursor: none;
}
.cta-btn .arrow {
  font-family: 'Fraunces', serif;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-btn:hover .arrow { transform: translateX(6px); }

.cta-btn--primary {
  background: var(--ember);
  color: var(--obsidian);
  box-shadow: 0 12px 30px -10px rgba(255,107,26,0.6), inset 0 0 0 1px rgba(255,255,255,0.15);
}
.cta-btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(255,107,26,0.75), inset 0 0 0 1px rgba(255,255,255,0.2);
}
.cta-btn--primary:hover::before { transform: translateX(100%); }

.cta-btn--ghost {
  color: var(--bone);
  border: 1px solid rgba(244,241,232,0.25);
  background: transparent;
  cursor: none;
  font: inherit;
}
.cta-btn--ghost:hover {
  border-color: var(--ember);
  color: var(--ember);
}
button.cta-btn { font-family: 'Noto Serif SC', serif; }

/* ---------- Footer links ---------- */
.footer-link {
  background: none;
  border: 0;
  color: inherit;
  cursor: none;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  transition: color 0.25s;
}
.footer-link:hover { color: var(--ember); }

/* ============================================================
   WeChat modal
   ============================================================ */
.wechat-modal[hidden] { display: none; }
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease-out;
}
.wechat-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.wechat-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(255,107,26,0.12), transparent 70%),
    rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.wechat-modal__card {
  position: relative;
  width: min(92vw, 420px);
  padding: 2.25rem 2rem 2rem;
  background:
    linear-gradient(160deg, rgba(28, 24, 20, 0.96) 0%, rgba(14, 12, 10, 0.94) 100%);
  border: 1px solid rgba(255, 107, 26, 0.25);
  border-radius: 4px;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(244, 241, 232, 0.03),
    0 0 80px -20px rgba(255, 107, 26, 0.45),
    inset 0 1px 0 rgba(244, 241, 232, 0.06);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}
.wechat-modal.is-open .wechat-modal__card { transform: translateY(0) scale(1); }

.wechat-modal__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 107, 26, 0.45) 50%, transparent 60%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  pointer-events: none;
  opacity: 0.4;
}

.wechat-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: rgba(244, 241, 232, 0.5);
  font-size: 22px;
  font-family: 'Fraunces', serif;
  line-height: 1;
  cursor: none;
  border-radius: 50%;
  transition: color 0.25s, background 0.25s, transform 0.3s;
}
.wechat-modal__close:hover {
  color: var(--ember);
  background: rgba(255, 107, 26, 0.08);
  transform: rotate(90deg);
}

.wechat-modal__tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ember);
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.wechat-modal__title {
  font-family: 'Ma Shan Zheng', 'Noto Serif SC', serif;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--bone);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.wechat-modal__title em {
  font-style: normal;
  color: var(--ember);
  text-shadow: 0 0 18px rgba(255, 107, 26, 0.45);
}

.wechat-modal__qr-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  padding: 14px;
  background: var(--bone);
  border-radius: 4px;
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(244, 241, 232, 0.08),
    inset 0 0 0 2px rgba(160, 44, 29, 0.15);
}
.wechat-modal__qr {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}
.wechat-modal__qr-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ember);
  pointer-events: none;
}
.wechat-modal__qr-corner--tl { top: -4px; left: -4px; border-right: 0; border-bottom: 0; }
.wechat-modal__qr-corner--tr { top: -4px; right: -4px; border-left: 0; border-bottom: 0; }
.wechat-modal__qr-corner--bl { bottom: -4px; left: -4px; border-right: 0; border-top: 0; }
.wechat-modal__qr-corner--br { bottom: -4px; right: -4px; border-left: 0; border-top: 0; }

.wechat-modal__meta {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.wechat-modal__name {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--bone);
  letter-spacing: 0.04em;
}
.wechat-modal__region {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.45);
}

.wechat-modal__hint {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(244, 241, 232, 0.12);
  font-size: 13px;
  color: rgba(244, 241, 232, 0.65);
  letter-spacing: 0.03em;
  line-height: 1.7;
}

/* ---------- Section scroll-linked atmospheric tint ---------- */
section.craft,
section.process,
section.works,
section.seal {
  background:
    linear-gradient(180deg, transparent 0%, rgba(10,9,8,0.35) 50%, transparent 100%);
}

/* ---------- Responsive typography safety ---------- */
@media (min-width: 1600px) {
  .hero-title span.block:first-child { font-size: 240px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  #forge-canvas { opacity: 0.35 !important; }
}

/* ---------- Selection ---------- */
::selection {
  background: var(--ember);
  color: var(--obsidian);
}
