/* Homepage only. Load after base.css. */

/* Match the footer in Safari's bottom inset and overscroll area.
   The page wrapper and sections keep their existing backgrounds. */
@media (max-width: 1100px) {
  html:has(.nafa-site--home),
  body:has(.nafa-site--home) { background-color: #000; }
}

/* One typography scale for all homepage section headings. */
.nafa-site--home { --home-section-heading-size: 44px; }
.nafa-site--home .intro-title,
.nafa-site--home .values-heading,
.nafa-site--home .uas-title,
.nafa-site--home .reasons-title-panel h2 {
  font-family: "Noto Sans SC", sans-serif;
  font-size: var(--home-section-heading-size);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}
@media (max-width: 768px) {
  .nafa-site--home { --home-section-heading-size: 32px; }
}

/* home */
.nafa-site--home .btn-ghost-dark { font-family: "Noto Sans SC", "IBM Plex Sans", sans-serif; font-size: 15px; font-weight: 400; padding: 12px 28px; border-radius: 9999px; border: 1.5px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.88); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: background 150ms ease, border-color 150ms ease, color 150ms ease; white-space: nowrap; }
.nafa-site--home .btn-ghost-dark:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.7); color: #fff; }
.nafa-site--home .hero { position: relative; width: 100%; height: 100vh; height: 100dvh; min-height: 640px; margin-top: -72px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.nafa-site--home .hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--overlay, rgba(0,0,0,0.15)); }
.nafa-site--home .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; z-index: 0; }
.nafa-site--home .brand-film-card { position: absolute; bottom: 300px; right: var(--side-pad); z-index: 10; background: rgba(255,255,255,0.93); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 18px; padding: 20px 22px 22px; width: 248px; box-shadow: 0 8px 32px rgba(0,0,0,0.22); cursor: pointer; }
@keyframes playBounce { 
    0%   { transform: scale(1); }
    35%  { transform: scale(1.24); }
    60%  { transform: scale(0.93); }
    80%  { transform: scale(1.11); }
    100% { transform: scale(1.10); }
   }
.nafa-site--home .play-circle.bouncing { animation: playBounce 450ms ease forwards; transition: none !important; }
.nafa-site--home .brand-film-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.nafa-site--home .play-circle { width: 40px; height: 40px; min-width: 40px; background: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform var(--duration-medium, 200ms) var(--ease-spring, cubic-bezier(0.34,1.56,0.64,1)); }
.nafa-site--home .play-circle svg { width: 14px; height: 14px; margin-left: 2px; fill: #fff; }
.nafa-site--home .brand-film-label { font-family: "IBM Plex Sans", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #545454; }
.nafa-site--home .brand-film-title { font-family: "Noto Sans SC", sans-serif; font-size: 16px; font-weight: 500; color: #000; line-height: 1.4; margin-bottom: 6px; }
.nafa-site--home .brand-film-link { font-family: "IBM Plex Sans", sans-serif; font-size: 13px; font-weight: 400; color: #545454; text-decoration: none; transition: color 120ms; }
.nafa-site--home .brand-film-link:hover { color: #000; }
@keyframes heroFadeUp { 
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
   }
.nafa-site--home .hero-heading,
.nafa-site--home .hero-subtitle,
.nafa-site--home .hero-actions { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
.nafa-site--home .hero-heading { animation: heroFadeUp .7s cubic-bezier(.22,.61,.36,1) 200ms forwards; }
}
@media (prefers-reduced-motion: no-preference) {
.nafa-site--home .hero-subtitle { animation: heroFadeUp .7s cubic-bezier(.22,.61,.36,1) 320ms forwards; }
}
@media (prefers-reduced-motion: no-preference) {
.nafa-site--home .hero-actions { animation: heroFadeUp .7s cubic-bezier(.22,.61,.36,1) 440ms forwards; }
}
@media (prefers-reduced-motion: reduce) {
.nafa-site--home .hero-heading,
.nafa-site--home .hero-subtitle,
.nafa-site--home .hero-actions { opacity: 1; }
}
.nafa-site--home .hero-content { position: relative; z-index: 10; width: 100%; padding: 0 var(--side-pad) 80px; }
.nafa-site--home .hero-badge { display: inline-flex; align-items: center; background: #fff; color: #000; border-radius: 9999px; padding: 6px 18px; font-family: "IBM Plex Sans", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 24px; }
.nafa-site--home .hero-heading { font-family: "Noto Sans SC", sans-serif; font-size: clamp(52px, 7.5vw, 88px); font-weight: 500; line-height: 1.18; color: #fff; letter-spacing: -0.01em; margin-bottom: 18px; }
.nafa-site--home .hero-subtitle { font-family: "IBM Plex Sans", sans-serif; font-size: 16px; font-weight: 400; color: #fff; line-height: 1.6; margin-bottom: 40px; max-width: 560px; }
.nafa-site--home .hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nafa-site--home .btn-hero-primary { font-family: "Noto Sans SC", "IBM Plex Sans", sans-serif; font-size: 15px; font-weight: 500; height: 48px; padding: 0 28px; border-radius: 9999px; border: none; background: #fff; color: #000; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: background 150ms ease, color 150ms ease; white-space: nowrap; }
.nafa-site--home .btn-hero-primary:hover { background: #000; color: #fff; }
.nafa-site--home .slide-nav { position: absolute; bottom: 36px; right: var(--side-pad); z-index: 10; display: flex; align-items: center; gap: 16px; }
.nafa-site--home .slide-dots { display: flex; align-items: center; gap: 8px; }
.nafa-site--home .slide-dot { width: 24px; height: 3px; border-radius: 9999px; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 150ms; }
.nafa-site--home .slide-dot.active { background: #fff; width: 32px; }
.nafa-site--home .slide-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: rgba(0,0,0,0.45); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 4px 16px rgba(0,0,0,0.20); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 150ms, border-color 150ms; }
.nafa-site--home .slide-arrow:hover { background: rgba(0,0,0,0.60); border-color: rgba(255,255,255,0.35); }
.nafa-site--home .slide-arrow svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 1.8; fill: none; }
.nafa-site--home .values-section { background: #fff; padding: 80px var(--side-pad) 96px; }
.nafa-site--home .values-heading { color: #000; text-align: center; margin: 0 auto 48px; max-width: 1200px; }
.nafa-site--home .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.nafa-site--home .value-card { position: relative; height: 320px; border-radius: 16px; overflow: hidden; perspective: 1200px; }
.nafa-site--home .value-card-inner { position: relative; width: 100%; height: 100%; transition: transform 600ms cubic-bezier(0.4, 0.2, 0.2, 1); transform-style: preserve-3d; }
.nafa-site--home .value-card:not(.nafa-value-ready):hover .value-card-inner { transform: rotateY(180deg); }
.nafa-site--home .value-card-front,
.nafa-site--home .value-card-back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 16px; overflow: hidden; }
.nafa-site--home .value-card-back .value-divider { background: #000; }
.nafa-site--home .value-card-back { background: #000; transform: rotateY(180deg); padding: 24px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; }
.nafa-site--home .value-back-text { font-family: "IBM Plex Sans", sans-serif; font-size: 20px; font-weight: 400; color: #FFF; line-height: 1.45; margin: 0; }
.nafa-site--home .value-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.55); transition: filter 300ms ease; }
.nafa-site--home #visionBg,
.nafa-site--home #missionBg,
.nafa-site--home #coreValuesBg { filter: none !important; }
.nafa-site--home .value-card:hover .value-card-bg:not(#visionBg):not(#missionBg):not(#coreValuesBg) { filter: brightness(0.45); }
.nafa-site--home .value-card-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 25%, rgba(0,0,0,0.85) 100%); }
.nafa-site--home .value-card-content { position: absolute; inset: 0; padding: 24px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; }
.nafa-site--home .value-tag { display: inline-flex; align-items: center; background: #fff; color: #000; border-radius: 9999px; padding: 5px 14px; font-family: "IBM Plex Sans", "Noto Sans SC", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.03em; width: fit-content; }
.nafa-site--home .value-bottom { min-height: 112px; display: flex; flex-direction: column; justify-content: flex-start; }
.nafa-site--home .value-divider { width: 36px; height: 2px; background: #000; margin: 0 0 16px; }
.nafa-site--home .value-title { font-family: "Noto Sans SC", sans-serif; font-size: 20px; font-weight: 500; color: #fff; line-height: 1.45; margin-bottom: 10px; }
@media (max-width: 768px) {
.nafa-site--home .values-section { padding: 48px 20px 48px; }
}
@media (max-width: 768px) {
.nafa-site--home .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.nafa-site--home .value-card { height: 420px; }
}
@media (max-width: 480px) {
.nafa-site--home .value-card { height: auto; min-height: 360px; }
}
.nafa-site--home .stats-section { background: #fff; padding: 80px var(--side-pad); }
.nafa-site--home .stats-grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
.nafa-site--home .stat-item { padding: 0 120px; }
.nafa-site--home .stat-item + .stat-item { border-left: 1px solid var(--color-gray-200, #E2E2E2); }
.nafa-site--home .stat-number { font-family: "IBM Plex Sans", sans-serif; font-size: 88px; font-weight: 700; line-height: 1; color: #000; letter-spacing: -0.03em; margin-bottom: 14px; }
.nafa-site--home .stat-label { font-family: "Noto Sans SC", sans-serif; font-size: 14px; font-weight: 400; color: var(--color-gray-500, #787878); line-height: 1.5; }
.nafa-site--home .intro-section { padding: 0; background: none; }
.nafa-site--home .intro-container { max-width: none; margin: 0; }
.nafa-site--home .intro-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 80vh; }
.nafa-site--home .intro-left { overflow: hidden; }
.nafa-site--home .intro-img { width: 100%; height: 100%; display: block; border-radius: 0; object-fit: cover; min-height: 560px; }
.nafa-site--home .intro-right { background: #000; padding: 80px var(--side-pad) 80px 72px; display: flex; flex-direction: column; justify-content: center; }
.nafa-site--home .intro-title { color: #fff; margin: 0 0 12px; }
.nafa-site--home .intro-subtitle { font-family: "IBM Plex Sans", "Noto Sans SC", sans-serif; font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.50); line-height: 1.60; margin: 0 0 36px; }
.nafa-site--home .intro-body p { font-family: "Noto Sans SC", sans-serif; font-size: 16px; font-weight: 400; color: #fff; line-height: 1.75; margin: 0; }
.nafa-site--home .uas-section { padding: 0; background: none; }
.nafa-site--home .uas-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.nafa-site--home .uas-left { background: #000; padding: 80px 72px 80px max(48px, var(--side-pad)); display: flex; flex-direction: column; justify-content: center; }
.nafa-site--home .uas-right { overflow: hidden; position: relative; display: flex; align-items: center; }
.nafa-site--home .uas-credit { position: absolute; left: 20px; bottom: 14px; font-family: "Noto Sans SC", sans-serif; font-size: 14px; font-weight: 700; font-style: italic; line-height: 1.4; color: #FFFFFF; text-shadow: 0 1px 3px rgba(0,0,0,0.55); letter-spacing: 0.01em; }
/* Keep the full group visible regardless of text height, viewport width or zoom. */
.nafa-site--home .uas-img { width: 100%; height: auto; display: block; object-fit: contain; }
.nafa-site--home .uas-title { color: #fff; margin: 0 0 10px; }
.nafa-site--home .uas-subtitle { font-family: "IBM Plex Sans", "Noto Sans SC", sans-serif; font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.50); line-height: 1.60; margin: 0 0 36px; }
.nafa-site--home .uas-body p { font-family: "Noto Sans SC", sans-serif; font-size: 16px; font-weight: 400; color: #fff; line-height: 1.75; margin: 0 0 28px; }
.nafa-site--home .uas-body p:last-child { margin-bottom: 0; }
.nafa-site--home .hcard-track-end { flex-shrink: 0; width: 0; }
.nafa-site--home .reasons-outer { position: relative; background: #fff; }
.nafa-site--home .reasons-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.nafa-site--home .reasons-track { display: flex; align-items: center; height: 100%; gap: 20px; padding: 0 0 0 var(--side-pad); will-change: transform; }
.nafa-site--home .reasons-title-panel { flex-shrink: 0; width: 340px; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-right: 48px; margin-right: 12px; height: 64vh; }
.nafa-site--home .reasons-title-panel h2 { color: #000; margin: 0; }
.nafa-site--home .reasons-scroll-hint { font-family: "IBM Plex Sans", sans-serif; font-size: 13px; color: rgba(0,0,0,0.38); letter-spacing: 0.05em; }
.nafa-site--home .hcard { flex-shrink: 0; border-radius: 16px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.nafa-site--home .hcard-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 600ms ease; }
.nafa-site--home .hcard:hover .hcard-bg { transform: scale(1.05); }
.nafa-site--home .hcard-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.85) 100%); }
.nafa-site--home .hcard-content { position: relative; z-index: 2; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; height: 100%; gap: 0; }
.nafa-site--home .hcard-bottom { display: flex; flex-direction: column; gap: 5px; }
.nafa-site--home .hcard-num { font-family: "Noto Sans SC", sans-serif; font-size: 44px; font-weight: 900; color: #EBE42D; margin-bottom: 2px; line-height: 1; }
.nafa-site--home .hcard-title { font-family: "Noto Sans SC", sans-serif; font-size: 20px; font-weight: 500; color: #fff; line-height: 1.4; }
.nafa-site--home .hcard-desc { font-family: "Noto Sans SC", sans-serif; font-size: 16px; font-weight: 400; color: #fff; line-height: 1.7; }
.nafa-site--home .uas-mini-stats { display: flex; align-items: stretch; gap: 0; margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 40px; }
.nafa-site--home .uas-stat { flex: 1; padding-right: 40px; }
.nafa-site--home .uas-stat + .uas-stat { padding-left: 40px; padding-right: 0; border-left: 1px solid rgba(255,255,255,0.20); }
.nafa-site--home .uas-stat-number { font-family: "Noto Sans SC", sans-serif; font-size: 54px; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.02em; margin-bottom: 10px; }
.nafa-site--home .uas-stat-label { font-family: "Noto Sans SC", sans-serif; font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.50); line-height: 1.5; letter-spacing: 0.02em; }
.nafa-site--home .hero-play-btn { display: none; width: 48px; height: 48px; min-width: 48px; border-radius: 50%; background: #fff; border: none; cursor: pointer; align-items: center; justify-content: center; transition: transform 200ms cubic-bezier(0.34,1.56,0.64,1); }
.nafa-site--home .hero-play-btn:hover { transform: scale(1.12); }
.nafa-site--home .mobile-lang { display: none; }
@media (max-width: 768px) {
.nafa-site--home .mobile-lang { display: block; order: 1; margin-left: auto; }
}
@media (max-width: 768px) {
.nafa-site--home .brand-film-card { display: none; }
}
@media (max-width: 768px) {
.nafa-site--home .hero-play-btn { display: flex; }
}
@media (max-width: 768px) {
.nafa-site--home .hero-content { padding: 0 20px 60px; }
}
@media (max-width: 768px) {
.nafa-site--home .hero { justify-content: center; }
}
@media (max-width: 768px) {
.nafa-site--home .slide-nav { right: 16px; bottom: 20px; }
}
@media (max-width: 768px) {
.nafa-site--home .values-heading { text-align: left !important; margin: 0 0 24px; }
}
@media (max-width: 768px) {
.nafa-site--home .intro-layout { grid-template-columns: 1fr; min-height: unset; }
}
@media (max-width: 768px) {
.nafa-site--home .intro-img { min-height: 300px; height: 300px; }
}
@media (max-width: 768px) {
.nafa-site--home .intro-right { padding: 48px 20px; }
}
@media (max-width: 768px) {
.nafa-site--home .uas-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.nafa-site--home .uas-left { padding: 48px 20px; order: 2; }
}
@media (max-width: 768px) {
.nafa-site--home .uas-right { order: 1; }
}
@media (max-width: 768px) {
.nafa-site--home .uas-mini-stats { flex-wrap: wrap; }
}
@media (max-width: 768px) {
.nafa-site--home .reasons-outer { background: #fff; overflow-x: hidden; }
}
@media (max-width: 768px) {
.nafa-site--home .reasons-sticky { position: relative; height: auto; overflow: visible; }
}
@media (max-width: 768px) {
.nafa-site--home .reasons-track { flex-direction: column; align-items: stretch; padding: 48px 20px; gap: 16px; transform: none !important; }
}
@media (max-width: 768px) {
.nafa-site--home .reasons-title-panel { width: 100%; border-right: none; padding-right: 0; margin-right: 0; border-bottom: none; padding-bottom: 8px; margin-bottom: 0; height: auto; }
}
@media (max-width: 768px) {
.nafa-site--home .reasons-scroll-hint { display: none; }
}
@media (max-width: 768px) {
.nafa-site--home .hcard { width: 100% !important; margin-top: 0 !important; aspect-ratio: 4 / 3; height: auto !important; }
}
@media (max-width: 768px) {
.nafa-site--home .stats-section { padding: 60px 20px; overflow-x: hidden; }
}
@media (max-width: 768px) {
.nafa-site--home .stats-grid { gap: 24px; grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.nafa-site--home .stat-item { padding: 24px 0; border-left: none !important; border-top: 1px solid var(--color-gray-200, #E2E2E2); }
}
@media (max-width: 768px) {
.nafa-site--home .stat-item:first-child { border-top: none; }
}
@media (max-width: 480px) {
.nafa-site--home .hcard { width: 100% !important; margin-top: 0 !important; aspect-ratio: 4 / 3; height: auto !important; }
}
@media (max-width: 480px) {
.nafa-site--home .hero-heading { font-size: clamp(36px, 10vw, 52px); }
}
@media (max-width: 480px) {
.nafa-site--home .hero-subtitle { font-size: 13px; margin-bottom: 20px !important; }
}
@media (max-width: 480px) {
.nafa-site--home .intro-img { height: 240px; min-height: 240px; }
}
@media (max-width: 480px) {
.nafa-site--home .uas-stat-number { font-size: 36px; }
}
@media (max-width: 480px) {
.nafa-site--home .stats-section { padding: 48px 16px; }
}
.nafa-site--home { --side-pad: max(24px, calc((100vw - 1440px) / 2)); --content-max: 1440px; }
.nafa-site--home .nafa-home-hero-bg-01 { background-image: url("/nafa-chinese/theme/default/images/home/home-nafa-cn-banner.jpg"); }
.nafa-site--home .nafa-home-brand-film-card-01 { background-color: #FFFFFF26; opacity: 1; width: 260px; border-radius: 18px; border-width: 1px; border-style: solid; border-color: #FFFFFF38; }
.nafa-site--home .nafa-home-brand-film-label-01 { color: #FFFFFF; }
.nafa-site--home .nafa-home-btn-hero-primary-01 { font-size: 16px; font-family: noto sans sc; }
.nafa-site--home .nafa-home-slide-arrow-01 { background-color: #FFFFFF26; }
.nafa-site--home .nafa-home-stat-number-01 { text-align: center; font-size: 54px; font-family: noto sans sc; font-weight: 900; }
.nafa-site--home .nafa-home-stat-label-01 { text-align: center; font-size: 16px; }
.nafa-site--home .nafa-home-intro-right-01 { background-color: #000000; }
.nafa-site--home .nafa-home-btn-on-dark-01 { margin-top: 32px; width: 200px; justify-content: center; font-size: 16px; font-family: noto sans sc; font-weight: 500; }
.nafa-site--home .nafa-home-value-card-bg-01 { background-image: url("/nafa-chinese/theme/default/images/home/vision-background.jpg"); }
.nafa-site--home .nafa-home-value-tag-01 { font-family: noto sans sc; font-size: 14px; }
.nafa-site--home .nafa-home-value-divider-01 { background: #000; }
.nafa-site--home .nafa-home-value-title-01 { color: #000; }
.nafa-site--home .nafa-home-value-card-back-01 { background: #EBE42D; }
.nafa-site--home .nafa-home-value-card-bg-02 { background-image: url("/nafa-chinese/theme/default/images/home/mission-background.jpg"); }
.nafa-site--home .nafa-home-value-card-bg-03 { background-image: url("/nafa-chinese/theme/default/images/home/corevalues-background.jpg"); }
.nafa-site--home .nafa-home-hcard-01 { width: 380px; height: 560px; margin-top: 20px; }
.nafa-site--home .nafa-home-hcard-bg-01 { background-image: url("/nafa-chinese/theme/default/images/home/top1.jpg"); }
.nafa-site--home .nafa-home-hcard-02 { width: 540px; height: 360px; margin-top: 140px; }
.nafa-site--home .nafa-home-hcard-bg-02 { background-image: url("/nafa-chinese/theme/default/images/home/reasons-20260924/top-02.jpg"); }
.nafa-site--home .nafa-home-hcard-03 { width: 400px; height: 400px; margin-top: 40px; }
.nafa-site--home .nafa-home-hcard-bg-03 { background-image: url("/nafa-chinese/theme/default/images/home/reasons-20260924/top-03.jpg"); }
.nafa-site--home .nafa-home-hcard-04 { width: 380px; height: 560px; margin-top: 40px; }
.nafa-site--home .nafa-home-hcard-bg-04 { background-image: url("/nafa-chinese/theme/default/images/home/reasons-20260924/top-04.jpg"); }
.nafa-site--home .nafa-home-hcard-05 { width: 540px; height: 360px; margin-top: 120px; }
.nafa-site--home .nafa-home-hcard-bg-05 { background-image: url("/nafa-chinese/theme/default/images/home/reasons-20260924/top-05.jpg"); }
.nafa-site--home .nafa-home-hcard-06 { width: 400px; height: 400px; margin-top: 60px; }
.nafa-site--home .nafa-home-hcard-bg-06 { background-image: url("/nafa-chinese/theme/default/images/home/reasons-20260924/top-06.jpg"); }
.nafa-site--home .nafa-home-hcard-07 { width: 540px; height: 360px; margin-top: 30px; }
.nafa-site--home .nafa-home-hcard-bg-07 { background-image: url("/nafa-chinese/theme/default/images/home/reasons-20260924/top-07.jpg"); }
.nafa-site--home .nafa-home-hcard-08 { width: 380px; height: 560px; margin-top: 150px; }
.nafa-site--home .nafa-home-hcard-bg-08 { background-image: url("/nafa-chinese/theme/default/images/home/reasons-20260924/top-08.jpg"); }
.nafa-site--home .nafa-home-hcard-09 { width: 400px; height: 400px; margin-top: 90px; }
.nafa-site--home .nafa-home-hcard-bg-09 { background-image: url("/nafa-chinese/theme/default/images/home/reasons-20260924/top-09.jpg"); }
.nafa-site--home .nafa-home-hcard-10 { width: 380px; height: 560px; margin-top: 10px; }
.nafa-site--home .nafa-home-hcard-bg-10 { background-image: url("/nafa-chinese/theme/default/images/home/reasons-20260924/top-10.jpg"); }

/* Progressive enhancement, keyboard controls and motion preferences. */
.nafa-site--home { background: #000; }
.nafa-site--home .slide-dot { padding: 0; border: 0; }
.nafa-site--home .value-card.is-flipped .value-card-inner { transform: rotateY(180deg); }
.nafa-site--home:not(.nafa-home-scroll-enabled) .reasons-sticky { position: relative; height: auto; overflow: auto; }
.nafa-site--home:not(.nafa-home-scroll-enabled) .reasons-track { transform: none !important; }
.nafa-site--home.nafa-hero-secondary #heroBg::after { background: transparent; }
.nafa-site--home .brand-film-card { cursor: default; }
.nafa-site--home .play-circle { padding: 0; border: 0; }
.nafa-site--home button:disabled { cursor: default; }

/* Homepage interaction and responsive corrections. */
.nafa-site--home .hero {
  background: #111;
  height: calc(100vh - var(--nafa-notice-height, 34px));
  height: calc(100dvh - var(--nafa-notice-height, 34px));
  /* Let unusually large text or very short windows grow instead of clipping. */
  min-height: min-content;
}
.nafa-site--home .hero-content { z-index: 2; padding-top: 112px; padding-bottom: 104px; }
.nafa-site--home .brand-film-card { z-index: 3; }
.nafa-site--home .slide-nav { z-index: 4; gap: 12px; bottom: 24px; }
.nafa-site--home .hero-slide-link { position: absolute; inset: auto auto 100px var(--align-pad); z-index: 1; display: inline-flex; max-width: calc(100% - 2 * var(--align-pad)); padding: 0; color: #fff; }
.nafa-site--home .hero-slide-link-label { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: #ebe42d; color: #000; transition: background 150ms, transform 150ms; }
.nafa-site--home .hero-slide-link:hover .hero-slide-link-label,
.nafa-site--home .hero-slide-link:focus-visible .hero-slide-link-label { background: #fff; transform: translateY(-2px); }
.nafa-site--home.nafa-hero-secondary .hero-bg { inset: 0; background-size: cover; background-position: 10% center; background-repeat: no-repeat; }
.nafa-site--home .brand-film-link:hover,
.nafa-site--home .brand-film-link:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.nafa-site--home .btn-hero-primary:focus-visible { background: #000; color: #fff; }
.nafa-site--home .btn-yellow:focus-visible { background: #fff; }
.nafa-site--home .nav-links a:hover,
.nafa-site--home .nav-links a:focus-visible,
.nafa-site--home .lang-toggle:hover,
.nafa-site--home .lang-toggle:focus-visible { text-decoration: underline; text-underline-offset: 6px; }
.nafa-site--home .slide-dot,
.nafa-site--home .slide-dot.active { position: relative; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; background: transparent; border-radius: 8px; }
.nafa-site--home .slide-dot::before { content: ""; position: absolute; top: 20px; left: 10px; width: 24px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.45); transition: background 150ms, width 150ms, left 150ms; }
.nafa-site--home .slide-dot.active::before { width: 32px; left: 6px; background: #fff; }
.nafa-site--home .slide-dot:hover::before,
.nafa-site--home .slide-dot:focus-visible::before { background: #ebe42d; }
.nafa-site--home .slide-dots { gap: 0; }
.nafa-site--home .slide-arrow { width: 44px; height: 44px; }
.nafa-site--home .slide-arrow:hover,
.nafa-site--home .slide-arrow:focus-visible { background: #fff; border-color: #fff; }
.nafa-site--home .slide-arrow:hover svg,
.nafa-site--home .slide-arrow:focus-visible svg { stroke: #000; }
.nafa-site--home .hero button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.nafa-site--home .hero button:disabled.bouncing { animation: none; }
.nafa-site--home .hero-play-btn:disabled:hover { transform: none; }
.nafa-site--home .nafa-video-unavailable { position: relative; display: inline-flex; flex-shrink: 0; border-radius: 50%; cursor: not-allowed; }
.nafa-site--home .nafa-video-unavailable button { pointer-events: none; }
.nafa-site--home .nafa-video-tooltip { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 20; transform: translateX(-50%); max-width: 200px; white-space: nowrap; text-align: center; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 150ms; }
.nafa-site--home .nafa-video-unavailable:hover .nafa-video-tooltip,
.nafa-site--home .nafa-video-unavailable:focus .nafa-video-tooltip,
.nafa-site--home .nafa-video-unavailable:focus-within .nafa-video-tooltip { visibility: visible; opacity: 1; }
.nafa-site--home .nafa-video-unavailable--mobile { display: none; }
.nafa-site--home #about { scroll-margin-top: 88px; }

/* Intrinsic grids keep text inside the viewport, including tablet widths. */
.nafa-site--home .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nafa-site--home .stat-item { min-width: 0; padding: 0 clamp(12px, 4vw, 72px); }
.nafa-site--home .stat-number { font-size: clamp(40px, 5vw, 54px); }
.nafa-site--home .stat-label { overflow-wrap: anywhere; }
.nafa-site--home .intro-layout,
.nafa-site--home .uas-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nafa-site--home .intro-left,
.nafa-site--home .intro-right,
.nafa-site--home .uas-left,
.nafa-site--home .uas-right { min-width: 0; }
.nafa-site--home .intro-right,
.nafa-site--home .uas-left { padding: clamp(40px, 5vw, 80px) clamp(28px, 4.5vw, 72px); }
.nafa-site--home .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nafa-site--home .value-card { height: auto; min-height: 320px; min-width: 0; overflow: visible; cursor: pointer; }
.nafa-site--home .value-card-inner { display: grid; height: 100%; min-height: inherit; }
.nafa-site--home .value-card-front,
.nafa-site--home .value-card-back { position: relative; inset: auto; grid-area: 1 / 1; min-width: 0; min-height: inherit; -webkit-backface-visibility: hidden; }
.nafa-site--home .value-card-content { position: relative; min-height: 100%; gap: 40px; }
.nafa-site--home .value-card-back { gap: 40px; }
/* Shared copy height keeps dividers aligned despite different text lengths. */
.nafa-site--home .value-card-front .value-bottom { min-height: var(--value-front-copy-height, 112px); }
.nafa-site--home .value-card-back .value-bottom { min-height: var(--value-back-copy-height, 112px); }
@media (min-width: 481px) and (max-width: 768px) { .nafa-site--home .value-card { min-height: 420px; } }
@media (max-width: 480px) { .nafa-site--home .value-card { min-height: 360px; } }
.nafa-site--home .value-tag { max-width: 100%; }
.nafa-site--home .value-card.nafa-value-ready:not(.is-flipped) .value-card-inner { transform: rotateY(0deg); }
.nafa-site--home .value-card.is-flipped .value-card-inner { transform: rotateY(180deg); }

/* Short/touch layouts and reduced motion use a readable grid instead of clipped sticky cards. */
.nafa-site--home:not(.nafa-home-scroll-enabled) .reasons-sticky { overflow: visible; }
.nafa-site--home:not(.nafa-home-scroll-enabled) .reasons-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1248px; margin: 0 auto; padding: 64px var(--side-pad); gap: 24px; height: auto; }
.nafa-site--home:not(.nafa-home-scroll-enabled) .reasons-title-panel { grid-column: 1 / -1; width: auto; height: auto; padding: 0 0 16px; margin: 0; }
.nafa-site--home:not(.nafa-home-scroll-enabled) .reasons-scroll-hint,
.nafa-site--home:not(.nafa-home-scroll-enabled) .hcard-track-end { display: none; }
.nafa-site--home:not(.nafa-home-scroll-enabled) .hcard { width: 100% !important; height: auto !important; min-height: 360px; margin-top: 0 !important; aspect-ratio: auto; }
.nafa-site--home:not(.nafa-home-scroll-enabled) .hcard-content { height: auto; min-height: inherit; gap: 48px; }
.nafa-site--home .footer-left { min-width: 0; }
.nafa-site--home .footer-qr-area { flex-wrap: wrap; gap: 24px; }


@media (max-width: 1100px) {
  .nafa-site--home .brand-film-card { display: none; }
  .nafa-site--home .hero-play-btn { display: inline-flex; }
  .nafa-site--home .nafa-video-unavailable--mobile { display: inline-flex; }
  .nafa-site--home .hero-heading { font-size: clamp(36px, 6.5vw, 68px); }
  .nafa-site--home .intro-layout,
  .nafa-site--home .uas-layout { grid-template-columns: minmax(0, 1fr); }
  .nafa-site--home .intro-img { min-height: 0; height: clamp(300px, 45vw, 500px); }
  .nafa-site--home .uas-right { order: 1; }
  .nafa-site--home .uas-left { order: 2; }
  .nafa-site--home .intro-right,
  .nafa-site--home .uas-left { padding: 48px var(--side-pad); }
}
@media (max-width: 768px) {
  .nafa-site--home { --side-pad: 20px; }
  .nafa-site--home .hero-content { padding: 112px var(--side-pad) 100px; }
  .nafa-site--home .hero-heading { font-size: clamp(32px, 7.5vw, 52px); }
  .nafa-site--home .values-grid { grid-template-columns: minmax(0, 1fr); }
  .nafa-site--home .stats-grid { gap: 0; }
  .nafa-site--home .stat-item { border-top: 0; }
  .nafa-site--home .stat-item + .stat-item { border-left: 1px solid #e2e2e2 !important; }
  .nafa-site--home .nav-logo { min-width: 0; max-width: calc(100% - 56px); }
  .nafa-site--home .nav-logo img { max-width: 100%; }
}
@media (max-width: 600px) {
  .nafa-site--home .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .nafa-site--home .stat-item { padding: 24px 0; }
  .nafa-site--home .stat-item + .stat-item { border-left: 0 !important; border-top: 1px solid #e2e2e2; }
  .nafa-site--home:not(.nafa-home-scroll-enabled) .reasons-track { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 48px; }
  .nafa-site--home:not(.nafa-home-scroll-enabled) .hcard { min-height: 380px; }
  .nafa-site--home .hero-subtitle { overflow-wrap: anywhere; }
}

/* Compact spacing keeps the first screen usable in short windows and landscape. */
@media (max-height: 600px) {
  .nafa-site--home .hero { padding: 80px 0 64px; justify-content: center; }
  .nafa-site--home .hero-content { padding: 0 var(--side-pad); }
  .nafa-site--home .hero-heading { font-size: clamp(26px, 6vw, 42px); line-height: 1.12; margin-bottom: 8px; }
  .nafa-site--home .hero-subtitle { font-size: 12px; line-height: 1.4; margin-bottom: 12px !important; }
  .nafa-site--home .btn-hero-primary,
  .nafa-site--home .hero-play-btn { height: 44px; }
  .nafa-site--home .hero-play-btn { width: 44px; min-width: 44px; display: inline-flex; }
  .nafa-site--home .brand-film-card { display: none; }
  .nafa-site--home .nafa-video-unavailable--mobile { display: inline-flex; }
  .nafa-site--home .slide-nav { bottom: 12px; }
  .nafa-site--home .hero-slide-link { bottom: 64px; }
  .nafa-site--home .hero-slide-link-label { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
}
@media (max-height: 360px) and (min-width: 481px) {
  .nafa-site--home .hero-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
  .nafa-site--home .hero-heading { grid-column: 1; font-size: clamp(24px, 4.5vw, 32px); }
  .nafa-site--home .hero-subtitle { grid-column: 1; margin-bottom: 0 !important; }
  .nafa-site--home .hero-actions { grid-column: 2; grid-row: 1 / 3; }
}

/* Align text and controls with the shared page measure; retain full-bleed imagery. */
.nafa-site--home .hero-content { padding-inline: var(--align-pad); }
.nafa-site--home .brand-film-card, .nafa-site--home .slide-nav { right: var(--align-pad); }
.nafa-site--home .stats-grid { max-width: var(--content-max); }
.nafa-site--home .values-grid, .nafa-site--home .values-heading { max-width: 1200px; }
.nafa-site--home .stats-section, .nafa-site--home .values-section { padding-inline: var(--side-pad); }
.nafa-site--home:not(.nafa-home-scroll-enabled) .reasons-track { max-width: calc(var(--content-max) + 2 * var(--side-pad)); }
.nafa-site--home.nafa-home-scroll-enabled .reasons-track { padding-left: var(--align-pad); }
@media (min-width: 1101px) {
 .nafa-site--home { --split-gap: clamp(28px, 5vw, 72px); }
 .nafa-site--home .intro-right { padding-left: var(--split-gap); padding-right: var(--side-pad); }
 .nafa-site--home .uas-left { padding-left: var(--side-pad); padding-right: var(--split-gap); }
 .nafa-site--home .intro-right > *, .nafa-site--home .uas-left > * { max-width: calc(var(--content-max) / 2 - var(--split-gap)); }
 .nafa-site--home .uas-left > * { width: 100%; margin-left: auto; }
}

/* Fit the complete poster on phones; tablet and desktop use left-aligned cover. */
@media (max-width: 768px) { .nafa-site--home.nafa-hero-secondary .hero-bg { inset: 72px 0 164px; background-size: contain; } }

/* Subtle desktop/tablet shading supports the white hero copy. */
@media (min-width: 769px) {
  .nafa-site--home:not(.nafa-hero-secondary) .hero-bg::after {
    background: linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.32) 100%);
  }
}

/* Mobile hero readability: larger title, brighter caption and stronger image shading. */
@media (max-width: 768px) {
  .nafa-site--home .hero-heading { font-size: 44px; font-weight: 500; }
  .nafa-site--home .hero-subtitle { font-size: 14px; font-weight: 500; color: #fff; }
  .nafa-site--home .hero-subtitle br { display: none; }
  .nafa-site--home:not(.nafa-hero-secondary) .hero-bg::after {
    background: linear-gradient(to bottom, rgba(0,0,0,.22) 0%, rgba(0,0,0,.52) 45%, rgba(0,0,0,.72) 100%);
  }
}

/* Mobile homepage statistics: retain the requested size rather than viewport scaling. */
@media (max-width: 768px) {
  .nafa-site--home .stat-number { font-family: "Noto Sans SC", sans-serif; font-size: 54px; font-weight: 900; }
}

/* Tighter vertical spacing for the mobile reasons cards. */
@media (max-width: 768px) {
  .nafa-site--home:not(.nafa-home-scroll-enabled) .reasons-track { row-gap: 16px; }
}

/* Sliding scene snapshots sit below pagination; cloned content is visual only. */
.nafa-site--home .hero-outgoing-slide { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.nafa-site--home .hero-outgoing-slide *,
.nafa-site--home .hero-outgoing-slide *::before,
.nafa-site--home .hero-outgoing-slide *::after { animation: none !important; transition: none !important; }
.nafa-site--home .hero-outgoing-slide .hero-heading,
.nafa-site--home .hero-outgoing-slide .hero-subtitle,
.nafa-site--home .hero-outgoing-slide .hero-actions { opacity: 1; transform: none; }
.nafa-site--home .slide-dot.active::before { background: rgba(255,255,255,.32); }
.nafa-site--home .slide-dot .slide-progress { position: absolute; top: 20px; left: 6px; width: 32px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.88); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.nafa-site--home .slide-dot:not(.active) .slide-progress { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .nafa-site--home .slide-dot .slide-progress { visibility: hidden; }
  .nafa-site--home .slide-dot.active::before { background: #fff; }
}

/* Full-bleed muted video slide. Navigation stays above the video. */
.nafa-site--home .hero-video-slide { position: absolute; inset: 0; z-index: 2; overflow: hidden; background: #000; }
.nafa-site--home .hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.nafa-site--home.nafa-hero-video .hero-bg { visibility: hidden; }
.nafa-site--home .hero-video-slide[hidden] { display: none; }

/* Persistent contrast behind navigation, including bright video frames and slide transitions. */
.nafa-site--home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.78) 0, rgba(0,0,0,.74) 36px, rgba(0,0,0,.63) 72px, rgba(0,0,0,.46) 112px, rgba(0,0,0,.29) 156px, rgba(0,0,0,.15) 202px, rgba(0,0,0,.06) 246px, rgba(0,0,0,.015) 286px, rgba(0,0,0,0) 326px),
    linear-gradient(to top, rgba(0,0,0,.78) 0, rgba(0,0,0,.72) 30px, rgba(0,0,0,.59) 62px, rgba(0,0,0,.42) 98px, rgba(0,0,0,.26) 138px, rgba(0,0,0,.13) 182px, rgba(0,0,0,.05) 224px, rgba(0,0,0,.012) 262px, rgba(0,0,0,0) 300px);
}
.nafa-site--home .hero-content, .nafa-site--home .hero-slide-link { z-index: 4; }
.nafa-site--home .slide-nav { z-index: 5; }

/* Subtle separation for the first slide title against bright image details. */
.nafa-site--home .hero-content .hero-heading { text-shadow: 0 2px 8px rgba(0,0,0,.30), 0 0 24px rgba(0,0,0,.12); }

/* Keep longer homepage paragraphs comfortable at desktop reading distance. */
@media (min-width: 769px) {
  .nafa-site--home .intro-body p,
  .nafa-site--home .uas-body p { font-size: 17px; line-height: 1.8; }
}
