@import url('/assets/fonts.css');
:root { color-scheme: dark; }
@keyframes lab-nav-enter { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes lab-title-enter { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.lab-navbar { animation: lab-nav-enter .8s ease-out both; }
.lab-brand-mark { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.lab-footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.lab-hero h1 { animation: lab-title-enter .8s .2s ease-out both; }
body { margin: 0; background: #040504; }
.lab-page { color: #fefffe; font-family: Inter, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; overflow-wrap: break-word; }
.lab-page *, .lab-page *::before, .lab-page *::after { box-sizing: border-box; }
.lab-page a { color: inherit; text-decoration: none; }
.lab-page button { font: inherit; cursor: pointer; }
.lab-page a:focus-visible, .lab-page button:focus-visible { outline: 3px solid #ffad70; outline-offset: 5px; }
.lab-page p, .lab-page h1, .lab-page h2, .lab-page h3 { margin: 0; }
.lab-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.lab-skip { position: fixed; left: 20px; top: -80px; padding: 12px 18px; background: #042f6e; z-index: 100; }
.lab-skip:focus { top: 12px; }
.lab-hero-runway { position: relative; height: 200vh; z-index: 1; }
.lab-hero { position: sticky; top: 0; height: 100svh; width: 100%; display: flex; flex-direction: column; align-items: center; overflow: hidden; background: #042f6e; }
.lab-video, .lab-video-scrim, .lab-darkness { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab-video { object-fit: cover; z-index: 0; }
.lab-video-scrim { background: linear-gradient(180deg,rgba(0,0,0,.18),transparent 40%,rgba(0,0,0,.18)); }
.lab-darkness { background: #040504; z-index: 1; pointer-events: none; }
.lab-gradient { position: absolute; width: 120%; height: 458px; left: -10%; bottom: -100px; background: linear-gradient(0deg,#042f6e 31.42%,rgba(0,71,182,0) 100%); filter: blur(17px); z-index: 1; pointer-events: none; }
.lab-bottom-darkness { position: absolute; width: 120%; height: 800px; left: -10%; bottom: -100px; background: linear-gradient(0deg,#040504 20%,rgba(5,5,5,.6) 50%,transparent 100%); filter: blur(17px); z-index: 2; pointer-events: none; }
.lab-navbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 960px; max-width: 92%; min-height: 50px; padding: 7px 7px 7px 16px; margin-top: 24px; background: rgba(255,255,255,.26); backdrop-filter: blur(14.6px); -webkit-backdrop-filter: blur(14.6px); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; z-index: 10; }
.lab-brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: 'Aoboshi One', Georgia, serif; font-size: 22px; }
.lab-desktop-links { display: flex; align-items: center; gap: 3px; }
.lab-nav-link { font-size: 15px; padding: 8px 16px; background: rgba(255,255,255,.07); border-radius: 999px; transition: background .25s; }
.lab-nav-link:hover { background: rgba(255,255,255,.2); }
.lab-page .lab-cta { display: inline-flex; justify-content: center; align-items: center; padding: 10px 18px; background: #fefffe; color: #aa4700; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: transform .25s,box-shadow .25s; }
.lab-cta:hover { transform: scale(1.04); box-shadow: 0 4px 15px rgba(255,141,29,.3); }
.lab-menu-button { display: none; background: none; border: 0; padding: 8px; flex-direction: column; gap: 5px; }
.lab-menu-button span { width: 23px; height: 2px; background: white; border-radius: 3px; }
.lab-hero-copy { position: absolute; bottom: 10%; z-index: 3; width: min(1050px,100%); padding-inline: 24px; text-align: center; }
.lab-eyebrow { font-size: 14px; letter-spacing: .12em; line-height: 1.8; opacity: .92; }
.lab-hero h1 { font-family: 'Aoboshi One', Georgia, serif; font-size: clamp(38px,6vw,82px); font-weight: 400; line-height: 1.2; margin-block: 22px; letter-spacing: -.045em; text-shadow: 0 4px 20px rgba(0,0,0,.3); }
.lab-hero-description { font-size: 17px; line-height: 1.8; letter-spacing: .05em; }
.lab-scroll-link { display: inline-flex; gap: 22px; align-items: center; font-size: 14px; margin-top: 32px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.45); }
.lab-video-toggle { position: absolute; bottom: 20px; right: 24px; z-index: 5; background: rgba(0,0,0,.2); color: white; border: 1px solid rgba(255,255,255,.35); border-radius: 100px; padding: 8px 12px; font-size: 12px !important; }
.lab-video-toggle:disabled { display: none; }
.lab-about-runway { position: relative; height: 250vh; z-index: 2; }
.lab-about { position: sticky; top: 0; width: 100%; height: 100svh; background: #042f6e; padding: 36px 5%; display: flex; align-items: center; justify-content: center; }
.lab-about-darkness { position: absolute; inset: 0; background: #040504; pointer-events: none; }
.lab-about-content { position: relative; z-index: 3; width: min(100%,1000px); text-align: center; }
.lab-handwritten { display: inline-block; font-family: Caveat,cursive; font-weight: 500; font-size: 42px; color: #ff7c30; letter-spacing: 2px; rotate: -4deg; margin-bottom: 26px !important; }
.lab-about-paragraph { font-family: 'Aoboshi One',Georgia,serif; font-size: clamp(24px,2.6vw,36px); font-weight: 400; line-height: 1.5; color: #e1e0e1; max-width: 950px; margin-inline: auto !important; }
.lab-chinese-intro { max-width: 750px; margin: 26px auto 30px !important; font-size: 16px; line-height: 1.9; color: #afb8c3; }
.lab-focus-label { font-size: 13px; font-weight: 400; letter-spacing: .08em; color: #aeb7c2; margin-bottom: 16px !important; }
.lab-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 700px; margin-inline: auto; transform-origin: bottom; }
.lab-tag { padding: 13px 22px; border-radius: 12px; font-family: Outfit,Inter,sans-serif; font-size: 16px; font-weight: 600; box-shadow: 0 4px 6px rgba(0,0,0,.02); transition: transform .2s; }
.lab-tag:hover { transform: translateY(-3px); }
.lab-footer { width: min(1200px,90%); margin-inline: auto; padding: 36px 0 42px; border-top: 1px solid #283039; display: flex; justify-content: space-between; align-items: end; gap: 20px; font-size: 14px; line-height: 1.9; color: #aeb7c2; }
.lab-footer-brand { font-family: 'Aoboshi One',Georgia,serif; font-size: 24px; color: white !important; }
.lab-footer-meta { text-align: right; }
.lab-footer-meta a:hover { text-decoration: underline; }
.lab-mobile-menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; padding: 32px; border: 0; margin: 0; color: white; background: rgba(4,46,111,.97); backdrop-filter: blur(10px); }
.lab-mobile-menu::backdrop { background: rgba(0,0,0,.65); }
.lab-mobile-menu > div { display: flex; min-height: 80%; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.lab-mobile-menu a { font-size: 24px; }
.lab-menu-close { position: absolute; top: 20px; right: 24px; border: 0; background: none; color: white; font-size: 42px !important; padding: 0 10px; }
@media(max-width:768px) {
  .lab-navbar { width: 94%; max-width: 94%; margin-top: 16px; padding: 9px 13px; }
  .lab-brand { font-size: 19px; }
  .lab-desktop-links, .lab-desktop-cta { display: none !important; }
  .lab-menu-button { display: flex; }
  .lab-hero-copy { bottom: 15%; padding-inline: 16px; }
  .lab-hero h1 { font-size: clamp(32px,7vw,54px); letter-spacing: -.035em; }
  .lab-eyebrow { font-size: 12px; letter-spacing: .05em; }
  .lab-hero-description { font-size: 15px; }
  .lab-about { padding-inline: 22px; }
  .lab-handwritten { font-size: 34px; margin-bottom: 20px !important; }
  .lab-about-paragraph { font-size: 21px; line-height: 1.45; }
  .lab-chinese-intro { font-size: 14px; line-height: 1.8; margin-block: 20px !important; }
  .lab-tag { padding: 10px 14px; font-size: 14px; }
  .lab-tags { gap: 10px; }
  .lab-footer { flex-direction: column; align-items: start; }
  .lab-footer-meta { text-align: left; }
}
@media(max-width:768px) and (max-height:740px) {
  .lab-about-runway { height: auto; }
  .lab-about { position: relative; height: auto; min-height: 100svh; padding-block: 70px; }
  .lab-word { opacity: 1 !important; }
}
@media(prefers-reduced-motion:reduce) {
  .lab-hero-runway, .lab-about-runway { height: auto; }
  .lab-about { position: relative; height: auto; min-height: 100svh; padding-block: 70px; }
  .lab-word { opacity: 1 !important; }
  .lab-page * { transition: none !important; animation: none !important; }
}
