/* ═══════════════════════════════════════════════════════════
   Sang Yiu Tech Group — Noomo Light Mode
   Warm white #F5F5F7 · glassmorphism · fluid gradient glows
   Ink #1D1D1F · soft #86868B · gold #D4A853 · coral #FF5A5F
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #F5F5F7;
  --ink: #1D1D1F;
  --ink-soft: #86868B;
  --gold: #D4A853;
  --gold-hi: #E8C46A;
  --coral: #FF5A5F;
  --blue: #6FA8FF;
  --hairline: rgba(29, 29, 31, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 24px 60px -24px rgba(29, 29, 31, 0.14);
  --container: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  font-family: "Inter", "Noto Sans SC", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: rgba(212, 168, 83, 0.35); }

/* ── ambient gradient glows ─────────────────────────────── */
.blob {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.7;
  pointer-events: none;
}
.blob-gold {
  width: 55vw; height: 55vw;
  top: -18vw; right: -12vw;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.5), transparent 65%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.blob-coral {
  width: 46vw; height: 46vw;
  top: 44%; left: -16vw;
  background: radial-gradient(circle, rgba(255, 90, 95, 0.3), transparent 65%);
  animation: drift2 32s ease-in-out infinite alternate;
}
.blob-blue {
  width: 52vw; height: 52vw;
  bottom: -16vw; right: -12vw;
  background: radial-gradient(circle, rgba(111, 168, 255, 0.34), transparent 65%);
  animation: drift3 38s ease-in-out infinite alternate;
}
/* 4th soft gold glow behind the fixed nav (no extra DOM: body::before) */
body::before {
  content: "";
  position: fixed;
  z-index: -2;
  width: 34vw; height: 34vw;
  top: -10vw; left: -10vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.34), transparent 65%);
  filter: blur(110px);
  pointer-events: none;
  animation: drift2 24s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(-6vw, 8vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(8vw, -6vh) scale(0.92); } }
@keyframes drift3 { to { transform: translate(-5vw, -9vh) scale(1.08); } }

/* ── navigation (floating glass pill) ───────────────────── */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(var(--container), calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 40px -18px rgba(29, 29, 31, 0.22);
  transition: box-shadow 0.4s, background 0.4s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px -20px rgba(29, 29, 31, 0.3);
}
.brand { display: flex; align-items: center; gap: 11px; padding: 4px 6px 4px 0; }
.brand-logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  box-shadow: 0 6px 16px -6px rgba(29, 29, 31, 0.35);
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; }
.brand-text small { font-size: 10.5px; color: var(--ink-soft); letter-spacing: 0.14em; }

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.72;
  padding: 9px 15px;
  border-radius: 999px;
  transition: opacity 0.3s, background 0.3s;
}
.nav-links a:hover { opacity: 1; background: rgba(29, 29, 31, 0.06); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 8px 22px -12px rgba(212, 168, 83, 0.8); }

/* deep coral/vermilion (not #FF5A5F: white-on-coral is only 3.05:1, below WCAG AA
   for 13.5px text; #D63C32 passes at ~4.6:1 and sits closer to the heritage palette) */
.nav-cta {
  font-size: 13.5px; font-weight: 600;
  background: #D63C32; color: #fff;
  padding: 10px 19px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(214, 60, 50, 0.5);
  transition: background 0.35s, color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.nav-cta:focus-visible { outline: 2px solid #D63C32; outline-offset: 2px; }
.nav-cta:hover { background: var(--gold); color: var(--ink); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(212, 168, 83, 0.7); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  place-items: center;
}
.nav-burger span {
  display: block;
  width: 15px; height: 1.8px;
  background: var(--ink);
  margin: 2.4px 0;
  border-radius: 2px;
  transition: transform 0.35s var(--ease);
}
.nav.open .nav-burger span:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-3.4px) rotate(-45deg); }

.nav-menu { display: none; }

/* ── hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 4vw;
  padding: 130px 0 60px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}
.hero-title {
  font-size: clamp(52px, 8vw, 106px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 26px 0 22px;
}
.hero-title .grad, .f-title .grad, .stat-num.infinity {
  background: linear-gradient(115deg, var(--gold) 15%, var(--gold-hi) 45%, var(--coral) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 34em;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 38px -16px rgba(29, 29, 31, 0.55);
}
.btn-primary:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(29, 29, 31, 0.14);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-scroll svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ── 3D crystal orb (pure CSS) ───────────────────────────── */
.orb-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 48px; /* the text column runs deeper than the ball; nudge the ball down to balance the hero */
  will-change: transform;
}
.orb {
  position: relative;
  width: clamp(240px, 26vw, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 14%, rgba(255, 255, 255, 0.12) 34%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.06) 45%, rgba(212, 168, 83, 0.14));
  -webkit-backdrop-filter: blur(14px) saturate(1.7);
  backdrop-filter: blur(14px) saturate(1.7);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.95),
    inset 0 4px 8px rgba(140, 145, 155, 0.12),
    inset 10px 14px 30px rgba(110, 115, 125, 0.07),
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset -8px -14px 32px rgba(170, 160, 150, 0.16),
    inset -26px -34px 90px rgba(29, 29, 31, 0.14),
    inset 22px 30px 80px rgba(255, 255, 255, 0.7),
    0 60px 120px -30px rgba(29, 29, 31, 0.28),
    0 30px 60px -30px rgba(212, 168, 83, 0.4);
  overflow: hidden;
  animation: orbFloat 7s ease-in-out infinite alternate;
}
.orb::before {
  /* internal refraction colors */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 90, 95, 0.22), transparent 26%),
    radial-gradient(circle at 22% 76%, rgba(212, 168, 83, 0.28), transparent 30%),
    radial-gradient(circle at 58% 62%, rgba(111, 168, 255, 0.18), transparent 34%);
  filter: blur(14px);
}
.orb-sheen {
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(255, 255, 255, 0.3) 80%, transparent 93%);
  animation: orbSpin 16s linear infinite;
}
.orb-spec {
  position: absolute;
  top: 15%; left: 21%;
  width: 17%; height: 11%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  filter: blur(3px);
  transform: rotate(-22deg);
}
.orb-spec2 {
  position: absolute;
  top: 25%; left: 42%;
  width: 6%; height: 4%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  filter: blur(3px);
}
.orb-caustic {
  position: absolute;
  left: 20%; right: 20%; bottom: 7%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5) 26%, rgba(212, 168, 83, 0.24) 55%, transparent 72%);
  filter: blur(8px);
}
.orb-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), inset 0 0 40px rgba(255, 255, 255, 0.22);
  /* subtle film grain kills gradient banding on 8-bit displays */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140"><filter id="g"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="140" height="140" filter="url(%23g)" opacity="0.16"/></svg>');
}
/* sharp glassy rim-light arc (crescent) */
.orb-rim::before {
  content: "";
  position: absolute;
  right: 14%; bottom: 16%;
  width: 34%; height: 42%;
  border-radius: 50%;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  border-top: 1.5px solid rgba(255, 255, 255, 0.4);
  transform: rotate(-38deg);
  filter: blur(0.3px);
}
.orb-dot {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(29, 29, 31, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}
.dot-a { top: 12%; right: 16%; background: var(--coral); animation: orbFloat 5.5s ease-in-out infinite alternate; }
.dot-b { bottom: 24%; left: 9%; width: 10px; height: 10px; background: var(--gold); animation: orbFloat 6.5s 0.8s ease-in-out infinite alternate-reverse; }
.orb-shadow {
  margin-top: 40px;
  width: 52%;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(29, 29, 31, 0.3), transparent 70%);
  filter: blur(10px);
  animation: orbShadow 7s ease-in-out infinite alternate;
}
@keyframes orbFloat { from { transform: translateY(6px) rotate(-2deg); } to { transform: translateY(-14px) rotate(2deg); } }
@keyframes orbShadow { from { transform: scaleX(1); opacity: 0.85; } to { transform: scaleX(0.82); opacity: 0.5; } }
@keyframes orbSpin { to { transform: rotate(360deg); } }

/* ── Three.js holo ball (shown once JS+WebGL boot; CSS orb is the fallback) ── */
.holo-ball { display: none; }
.orb-wrap.holo-on .holo-ball { display: flex; }
.orb-wrap.holo-on .orb { display: none; }
.holo-shell {
  border-radius: 9999px;
  padding: 8px;
  position: relative;
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    inset 0 6px 14px rgba(255, 255, 255, 0.6),
    inset -6px -10px 24px rgba(29, 29, 31, 0.07),
    0 25px 50px -12px rgba(10, 25, 47, 0.18),
    0 10px 30px rgba(0, 0, 0, 0.03);
  animation: holoFloat 7s ease-in-out infinite alternate;
}
@keyframes holoFloat { from { transform: translateY(5px); } to { transform: translateY(-11px); } }
#canvas-container {
  width: clamp(240px, 26vw, 400px);
  aspect-ratio: 1 / 1;
  position: relative;
  cursor: grab;
  border-radius: 9999px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.14) 55%, rgba(212, 168, 83, 0.05) 100%);
}
#canvas-container:active { cursor: grabbing; }
#canvas-container canvas { display: block; }

/* ── sections base ───────────────────────────────────────── */
.section {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(60px, 9vw, 116px);
}
.section-compact { padding-block: clamp(8px, 3vw, 36px); }
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-sub {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 17px);
  max-width: 40em;
}

/* ── flagship panel ─────────────────────────────────────── */
.flagship {
  position: relative;
  margin-top: 36px;
  border-radius: 34px;
  padding: clamp(28px, 4.5vw, 56px);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  backdrop-filter: blur(26px) saturate(1.5);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s;
}
.flagship:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 90px -30px rgba(29, 29, 31, 0.26);
}
.flagship::after {
  /* sheen sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 1.1s ease;
  pointer-events: none;
}
.flagship:hover::after { transform: translateX(130%); }

.fs-bgtext {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(70px, 12.5vw, 200px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(29, 29, 31, 0.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.fs-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.fs-tag {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212, 168, 83, 0.5);
  background: rgba(212, 168, 83, 0.08);
  padding: 8px 15px;
  border-radius: 999px;
}
.fs-title {
  font-size: clamp(42px, 5.6vw, 74px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 18px 0 16px;
}
.fs-desc {
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.7;
  max-width: 30em;
}
.fs-desc2 { margin-top: 14px; font-size: clamp(14px, 1.2vw, 15.5px); }
.fs-actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.fs-note { font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.05em; white-space: nowrap; }

.fs-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}
.phone {
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #2C2C31, #0F0F12);
  box-shadow: 0 40px 80px -24px rgba(29, 29, 31, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.phone img {
  display: block;
  width: 100%;
  border-radius: 34px;
  aspect-ratio: 390 / 844;
  object-fit: cover;
}
.phone-front {
  position: relative;
  z-index: 2;
  width: clamp(200px, 19vw, 256px);
  animation: phoneFloat 8s ease-in-out infinite alternate;
}
.phone-back {
  position: absolute;
  z-index: 1;
  width: clamp(160px, 15vw, 204px);
  right: 4%;
  top: 6%;
  transform: rotate(8deg);
  opacity: 0.96;
  box-shadow: 0 30px 60px -28px rgba(29, 29, 31, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: phoneFloat 9s 0.6s ease-in-out infinite alternate-reverse;
}
@keyframes phoneFloat { from { translate: 0 5px; rotate: -1deg; } to { translate: 0 -12px; rotate: 1.2deg; } }

.float-spirit {
  position: absolute;
  z-index: 3;
  width: clamp(84px, 9.5vw, 128px);
  filter: drop-shadow(0 24px 30px rgba(29, 29, 31, 0.2));
  animation: spiritFloat 6s ease-in-out infinite alternate;
}
.s1 { top: -34px; left: 2%; animation-delay: 0.3s; }
.s2 { bottom: -14px; right: 2%; width: clamp(76px, 8.5vw, 112px); animation-delay: 1.2s; animation-duration: 7s; }
@keyframes spiritFloat { from { transform: translateY(6px) rotate(-3deg); } to { transform: translateY(-12px) rotate(3deg); } }

/* ── stats ───────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 40px);
}
.stat { padding: 6px 0 6px 24px; border-left: 1px solid var(--hairline); }
.stat-num {
  font-size: clamp(46px, 5.6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-num.infinity {
  /* the infinity glyph's ink is ~55% of digit height: scale up visually.
     inline-block first (else the full-width block gets scaled and
     overflows the column), transform keeps layout untouched. */
  display: inline-block;
  transform: translateX(8px) scale(1.85);
  animation: pulse 3.2s ease-in-out infinite;
}
.stat-label {
  margin-top: 13px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.72; } }

/* ── hawker partner testimonial (stats section) ───────────── */
.testimonial {
  max-width: 640px;
  margin-top: 42px;
  padding: 26px 30px 22px 58px;
  border-radius: 22px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 44px -22px rgba(29, 29, 31, 0.16);
  position: relative;
}
.tq-mark {
  position: absolute;
  left: 20px;
  top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.9;
}
.tq-text {
  font-size: clamp(15px, 1.5vw, 17.5px);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}
.tq-attr {
  margin-top: 12px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ── IP universe tiles ───────────────────────────────────── */
.ip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 32px);
  margin-top: 46px;
}
.tile {
  border-radius: 26px;
  padding: 20px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 44px -22px rgba(29, 29, 31, 0.16);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.tile:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px rgba(29, 29, 31, 0.24); }
.tile-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
/* holo flashcard showcase video (white-bg edition): 9:16 source in a 4:3 frame —
   cover crops the top/bottom white margins so the card reads ~93% of the height */
.tile-video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  background: #fff;
}
.ph {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(212, 168, 83, 0.12), transparent 60%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.18));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.ph-emoji {
  font-size: 64px;
  filter: sepia(0.55) saturate(1.5) hue-rotate(-12deg) drop-shadow(0 12px 16px rgba(29, 29, 31, 0.16));
  transition: transform 0.5s var(--ease);
}
.tile:hover .ph-emoji { transform: scale(1.14) rotate(-5deg); }
.ph-note {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tile-tag {
  margin-top: 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.tile-title { font-size: 19px; font-weight: 700; margin-top: 7px; letter-spacing: -0.015em; }
.tile-desc { font-size: 13.5px; color: var(--ink-soft); margin-top: 7px; line-height: 1.6; }

/* ── team grid (3-person leadership; 1 col mobile → 3 cols ≥768px) ── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 46px;
}
@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
.member {
  text-align: center;
  padding: 30px 20px;
  border-radius: 24px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 44px -22px rgba(29, 29, 31, 0.16);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.member:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -24px rgba(29, 29, 31, 0.24); }
.member-ph {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--gold);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(212, 168, 83, 0.16), transparent 70%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.18));
  border: 1.5px solid rgba(212, 168, 83, 0.45);
}
.member-img {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1.5px solid rgba(212, 168, 83, 0.45);
  box-shadow: 0 14px 30px -14px rgba(29, 29, 31, 0.3);
}
.member-name { font-size: 17px; font-weight: 700; margin-top: 16px; letter-spacing: -0.01em; }
.member-title { font-size: 13px; color: rgba(29, 29, 31, 0.62); margin-top: 5px; }

/* ── capabilities (line list, no cards) ──────────────────── */
.cap-list { list-style: none; margin-top: 42px; }
.cap-item {
  display: grid;
  grid-template-columns: 72px 1.05fr 1.3fr 42px;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  padding: clamp(26px, 3.6vw, 44px) 0;
  border-top: 1px solid var(--hairline);
  transition: padding-left 0.5s var(--ease);
  cursor: default;
}
.cap-item:last-child { border-bottom: 1px solid var(--hairline); }
.cap-item:hover { padding-left: clamp(14px, 2vw, 30px); }
.cap-num { font-size: 13px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.cap-title {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  transition: color 0.35s;
}
.cap-item:hover .cap-title { color: var(--gold); }
.cap-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.cap-arrow {
  font-size: 26px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  justify-self: end;
}
.cap-item:hover .cap-arrow { opacity: 1; transform: none; }

/* ── footer CTA ──────────────────────────────────────────── */
.footer {
  position: relative;
  text-align: center;
  padding: clamp(90px, 12vw, 150px) 24px 0;
}
.f-title {
  font-size: clamp(46px, 8.6vw, 128px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.f-sub {
  margin: 28px auto 0;
  color: var(--ink-soft);
  max-width: 34em;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  text-wrap: balance;
}
.cta-note {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.btn-black {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 17px 38px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  box-shadow: 0 26px 50px -18px rgba(29, 29, 31, 0.55);
  transition: background 0.4s var(--ease), color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.btn-black .arr { transition: transform 0.4s var(--ease); }
.btn-black:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); box-shadow: 0 34px 64px -20px rgba(212, 168, 83, 0.6); }
.btn-black:hover .arr { transform: translateX(4px); }

/* ── visible contact chips (under the footer CTA) ────────── */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(29, 29, 31, 0.12);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.contact-chip svg { color: var(--ink-soft); transition: color 0.3s; }
.contact-chip:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(212, 168, 83, 0.55);
}
.contact-chip:hover svg { color: var(--gold); }

.foot-bar {
  width: min(var(--container), calc(100% - 48px));
  margin: clamp(70px, 9vw, 110px) auto 0;
  border-top: 1px solid var(--hairline);
  padding: 26px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 12px; text-align: left; }
.foot-brand .brand-logo { width: 28px; height: 28px; border-radius: 8px; }
.foot-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.foot-brand-text strong { font-size: 11px; letter-spacing: 0.08em; }
.foot-brand-text small { font-size: 10.5px; color: var(--ink-soft); }
.foot-rights { font-size: 12.5px; color: var(--ink-soft); }
.foot-legal { text-align: center; }
.foot-compliance {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ink-soft);
}
.foot-compliance a {
  color: rgba(29, 29, 31, 0.62);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.foot-compliance a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.foot-compliance a:focus-visible { color: var(--gold); border-bottom-color: var(--gold); outline: none; }
.foot-social { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  border: 1px solid rgba(29, 29, 31, 0.12);
  background: rgba(255, 255, 255, 0.55);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.social-btn:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }

/* ── scroll reveal ──────────────────────────────────────────
   Hidden state is keyed off body.js (added by script.js) so the
   page stays fully visible when JS is disabled or fails.      */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ── simplified-chinese typography tuning ────────────────── */
html[lang="zh-CN"] body { letter-spacing: 0; }
html[lang="zh-CN"] .hero-title,
html[lang="zh-CN"] .fs-title,
html[lang="zh-CN"] .f-title,
html[lang="zh-CN"] .cap-title { letter-spacing: 0.01em; }
html[lang="zh-CN"] .stat-label { letter-spacing: 0.14em; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 30px; }
  .orb-wrap { margin-top: 10px; }
  .hero-scroll { display: none; }
}
@media (max-width: 900px) {
  .fs-grid { grid-template-columns: 1fr; }
  .fs-visual { min-height: 400px; margin-top: 10px; }
  .fs-bgtext { opacity: 0.8; }
  .phone-back { right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }
  .ip-grid { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: grid; }
  .nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 78px;
    left: 14px;
    right: 14px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 60px -20px rgba(29, 29, 31, 0.28);
  }
  .nav-menu a { padding: 14px 18px; border-radius: 14px; font-weight: 600; }
  .nav-menu a:hover { background: rgba(29, 29, 31, 0.06); }
}
@media (max-width: 760px) {
  .cap-item { grid-template-columns: 44px 1fr; row-gap: 8px; }
  .cap-desc { grid-column: 2; }
  .cap-arrow { display: none; }
  .foot-bar { justify-content: center; text-align: center; }
  .brand-text small { display: none; }
}

/* ── reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
