/* christhewei.com: the site's own styles (every page). The showroom adds showroom.css on the home page. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-latin-var.woff2?v=c9407645) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Satoshi';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/satoshi-500.woff2?v=af02a722) format('woff2')}
@font-face{font-family:'Satoshi';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/satoshi-700.woff2?v=353a7fbf) format('woff2')}

:root{
  --bg:#050505;
  --surface:rgba(255,255,255,.05);
  --surface-2:rgba(255,255,255,.08);
  --line:rgba(255,255,255,.09);
  --line-2:rgba(255,255,255,.14);
  --text:#f4f4f5;
  --white:#fbfbfc;
  --head:#e9e9ea;
  --ink-on-light:#0a0a0c;
  --well:#111114;
  --muted:rgba(255,255,255,.66);
  --faint:rgba(255,255,255,.5);
  --site-glow:47,108,160;
  --accent:91,140,255;
  --display:'Satoshi','Inter',system-ui,sans-serif;
  --ui:'Inter',system-ui,-apple-system,sans-serif;
  --mono:ui-monospace,'SF Mono',Menlo,Consolas,monospace;
  --ease-out:cubic-bezier(0.23,1,0.32,1);
  --ease-in-out:cubic-bezier(0.77,0,0.175,1);
  --ease-drawer:cubic-bezier(0.32,0.72,0,1);
  --col:1120px;
  --z-content:1;--z-nav:30;--z-skip:90;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{overflow-x:clip;background:var(--bg);-webkit-text-size-adjust:100%;scrollbar-color:rgba(255,255,255,.22) transparent}
body{overflow-x:clip;margin:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;position:relative;background:var(--bg);color:var(--text);font-family:var(--ui);
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
img{display:block;max-width:100%}
a,button{touch-action:manipulation}
a{color:inherit;-webkit-tap-highlight-color:transparent}
::selection{background:rgba(var(--accent),.4);color:var(--white)}
:focus-visible{outline:2px solid rgba(255,255,255,.9);outline-offset:3px;border-radius:8px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* the site's grain (the live site's own 64px tile at 7.5%) and the glow at the top: both scroll with the page,
   so every part of a full-page capture has the same ground */
body::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:url(/assets/img/grain.png?v=7867172c) 0 0/64px repeat;opacity:.075}
.page-glow{position:absolute;left:0;right:0;top:0;height:560px;z-index:0;pointer-events:none;
  background:radial-gradient(52% 72% at 50% 0%,rgba(var(--page-glow,var(--site-glow)),.55),transparent 72%)}
.page-contact{--page-glow:92,64,160}
.page-privacy{--page-glow:56,84,150}
main,.site-head,.site-foot{position:relative;z-index:var(--z-content)}
main{flex:1}

.skip{position:absolute;left:16px;top:12px;transform:translateY(-80px);z-index:var(--z-skip);padding:10px 14px;border-radius:10px;background:var(--white);color:var(--ink-on-light);font-weight:600;text-decoration:none;transition:transform .2s var(--ease-out)}
.skip:focus{transform:none}

/* ===== Nav pill ===== */
.nav{display:inline-flex;align-items:center;gap:2px;padding:5px;border-radius:999px;background:rgba(255,255,255,.05);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),0 10px 30px -12px rgba(0,0,0,.6);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.nav a{height:36px;display:inline-flex;align-items:center;padding:0 16px;border-radius:999px;font-size:14px;font-weight:500;color:var(--muted);text-decoration:none;
  transition:color .2s ease,background-color .2s ease}
@media (hover:hover) and (pointer:fine){.nav a:hover{color:var(--white);background:rgba(255,255,255,.06)}}
.nav a[aria-current=page]{color:var(--white);background:rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.nav a:active{background:rgba(255,255,255,.12)}

/* home: nav centred above the avatar */
.site-head{display:flex;justify-content:center;padding:24px 16px 0}
/* other pages: name at left, nav at right */
.site-head.bar{max-width:632px;margin:0 auto;width:100%;justify-content:space-between;align-items:center;padding:40px 16px 0}
.me{display:inline-flex;align-items:center;gap:10px;font:700 15px/1 var(--ui);color:var(--white);text-decoration:none;border-radius:999px}
.me img{width:32px;height:32px;border-radius:50%;object-fit:cover}
@media (max-width:640px){
  .site-head.bar{flex-direction:column;gap:14px;padding-top:28px}
}

/* ===== Social: three quiet icon buttons ===== */
.social{display:flex;justify-content:center;gap:10px;margin:0;padding:0;list-style:none}
.social a{position:relative;width:44px;height:44px;display:grid;place-items:center;border-radius:14px;color:rgba(255,255,255,.78);text-decoration:none;
  background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.06);
  transition:color .2s ease,background-color .2s ease,transform .16s var(--ease-out)}
.social svg{width:20px;height:20px}
@media (hover:hover) and (pointer:fine){.social a:hover{color:var(--white);background:rgba(255,255,255,.1)}}
.social a:active{transform:scale(.96)}
.social .tip{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%,-3px);padding:6px 9px;border-radius:8px;white-space:nowrap;font:500 12.5px/1 var(--ui);color:var(--white);
  background:rgba(30,30,36,.94);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12),0 8px 20px rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s var(--ease-out)}
@media (hover:hover) and (pointer:fine){.social a:hover .tip,.social a:focus-visible .tip{opacity:1;transform:translate(-50%,0)}}
.social.small{gap:6px}
.social.small a{width:36px;height:36px;border-radius:11px}
.social.small svg{width:17px;height:17px}

/* ===== Home: who he is ===== */
.hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:36px 20px 8px}
.avatar{width:96px;height:96px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,.12),0 18px 40px -12px rgba(0,0,0,.8)}
/* his name is the headline (Satoshi, the size the handle had); the handle sits small under it */
.hero .name{margin:14px 0 0;font:700 32px/1.1 var(--display);letter-spacing:-.02em;color:var(--white)}
.handle{margin:6px 0 0;font:500 14px/1.3 var(--ui);color:var(--faint)}
.hero .hi{margin:20px 0 0;font:400 26px/1.25 var(--ui);letter-spacing:-.01em;text-wrap:balance;
  background:radial-gradient(93% 200% at 46.5% 50%,var(--white) 22.75%,rgba(255,255,255,.42) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.lede{margin:14px 0 0;font-size:15px;line-height:1.5;color:var(--muted)}
.lede b{font-weight:500;color:var(--white)}

/* ===== Section heads (Apps, Companies, Videos) ===== */
.sec-head{position:relative;max-width:600px;margin:0 auto;padding:88px 20px 40px;text-align:center}
.sec-head h2{margin:0 0 10px;text-wrap:balance;font:500 clamp(26px,3.2vw,34px)/1.15 var(--display);letter-spacing:-.02em;color:var(--head)}
.sec-head p{margin:0;color:var(--muted);font-size:15px;line-height:1.5;text-wrap:balance}
.sec-head p a{color:var(--white);text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.35)}
#apps .sec-head{padding-top:72px}
@media (max-width:640px){.sec-head{padding:64px 20px 28px}}

/* ===== Glossy icon (the apps' tile, shared with the companies) ===== */
.gicon{display:block;position:relative;width:var(--sz,64px);height:var(--sz,64px);flex:none}
.gicon img{width:100%;height:100%;filter:drop-shadow(0 calc(var(--sz,64px)*.07) calc(var(--sz,64px)*.12) rgba(0,0,0,.55))}
.gicon.full img{position:absolute;inset:10%;width:80%;height:80%;border-radius:22.5%}
.gicon::before{content:'';position:absolute;inset:10%;border-radius:22.5%;pointer-events:none;z-index:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 0 0 1px rgba(255,255,255,.08),inset 0 -2px 6px rgba(0,0,0,.25)}
.gicon::after{content:'';position:absolute;left:12%;right:12%;top:11%;height:40%;pointer-events:none;z-index:1;
  border-radius:20% 20% 50% 50%/40% 40% 22% 22%;
  background:linear-gradient(180deg,rgba(255,255,255,.42),rgba(255,255,255,.1) 62%,rgba(255,255,255,0));mix-blend-mode:screen}

/* ===== Companies: the apps' language (glow, glossy tile, name, one plain line), three equal tiles =====
   Each tile is lit in its own logo's colours: --c is the main glow, --c2 a second note from the same logo. */
.cos{max-width:var(--col);margin:0 auto;padding:0 32px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.co{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;padding:30px 28px 28px;border-radius:24px;text-decoration:none;color:var(--text);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),inset 0 1px 0 rgba(255,255,255,.08),0 30px 60px -30px rgba(0,0,0,.9);
  transition:box-shadow .3s ease,transform .3s var(--ease-out)}
.co::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.8;transition:opacity .3s ease;
  background:radial-gradient(64% 46% at 22% 0%,rgba(var(--c),.36),transparent 72%),radial-gradient(70% 46% at 100% 104%,rgba(var(--c2,var(--c)),.16),transparent 70%)}
.co .stage{position:relative;margin:-8px 0 0 -8px}
.co .stage::after{content:'';position:absolute;left:14%;right:14%;bottom:-2px;height:18px;border-radius:50%;background:rgba(var(--c),.42);filter:blur(14px);z-index:-1}
.co .gicon{--sz:92px;transition:transform .3s var(--ease-out)}
.co .nm{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font:600 13px/1 var(--ui);color:rgba(255,255,255,.66)}
.co .nm::before{content:'';width:7px;height:7px;border-radius:50%;background:rgb(var(--c))}
.co h3{margin:10px 0 0;font:700 24px/1.15 var(--display);letter-spacing:-.02em;color:var(--white);text-wrap:balance}
.co p{margin:8px 0 0;max-width:40ch;font-size:15px;line-height:1.5;color:var(--muted);text-wrap:pretty}
.co .go{margin-top:auto;padding-top:22px;display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:500;color:var(--white)}
.co .go svg{width:14px;height:14px;opacity:.7;transition:transform .2s var(--ease-out)}
/* Hyperverse's logo is white on black: its tile is lit like a screen in a dark room, a cool white from above */
.co.mono::before{background:radial-gradient(72% 44% at 50% -6%,rgba(var(--c),.22),transparent 74%),radial-gradient(60% 40% at 100% 104%,rgba(var(--c),.06),transparent 70%)}
@media (hover:hover) and (pointer:fine){
  .co:hover{box-shadow:inset 0 0 0 1px rgba(var(--c),.35),inset 0 1px 0 rgba(255,255,255,.1),0 30px 60px -30px rgba(0,0,0,.9)}
  .co:hover::before{opacity:1}
  .co:hover .gicon{transform:translateY(-3px)}
  .co:hover .go svg{transform:translate(2px,-2px)}
}
.co:active{transform:scale(.99)}
.cos-dots{display:none}
/* narrower screens: a row you swipe, one tile at a time, the next one peeking in from the right */
@media (max-width:900px){
  .cos{display:flex;gap:12px;padding:4px 16px 30px;margin-bottom:-22px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;scroll-padding-inline:16px;scrollbar-width:none}
  .cos::-webkit-scrollbar{display:none}
  .co{flex:0 0 min(calc(100vw - 52px),400px);scroll-snap-align:start;scroll-snap-stop:always;padding:24px 22px 22px} /* a flick moves one company */
  .co .gicon{--sz:84px}
  .co h3{font-size:22px}
  .cos-dots{display:flex;justify-content:center;gap:6px;margin-top:6px}
  .cos-dots i{width:6px;height:6px;border-radius:3px;background:rgba(255,255,255,.26);transition:width .3s var(--ease-out),background-color .3s ease}
  .cos-dots i.on{width:18px;background:rgba(255,255,255,.85)}
}

/* ===== Videos: the latest three from YouTube ===== */
.vids{max-width:var(--col);margin:0 auto;padding:0 32px;display:grid;grid-template-columns:1.9fr 1fr;gap:20px 28px;align-items:start}
.vid.lead{grid-row:span 2}
/* under the grid: See all on YouTube, and Instagram as a small tile of the same family */
.vmore{grid-column:1/-1;justify-self:center;margin-top:20px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.say-hi{margin:88px auto 0;padding:0 20px;text-align:center;font-size:15px;line-height:1.5;color:var(--muted)}
.say-hi a{color:var(--white);text-decoration:underline;text-decoration-color:rgba(255,255,255,.3);text-underline-offset:3px;border-radius:4px}
@media (hover:hover) and (pointer:fine){.say-hi a:hover{text-decoration-color:var(--white)}}
@media (max-width:640px){.say-hi{margin-top:64px}}
.vid{display:flex;flex-direction:column;gap:12px;text-decoration:none;color:var(--text);border-radius:18px}
/* a dark placeholder holds each thumbnail's place and size until the picture arrives */
.vid .th{position:relative;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:linear-gradient(160deg,#1c1c22,#0e0e11);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 24px 50px -24px rgba(0,0,0,.9)}
.vid .th img{display:block;width:100%;height:100%;object-fit:cover;background:#16161b;transition:transform .3s var(--ease-out)}
.vid .th::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);pointer-events:none}
/* the play mark shows only on hover or keyboard focus, so it never covers the thumbnail's own words at rest */
.vid .play{position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;display:grid;place-items:center;color:var(--ink-on-light);background:rgba(255,255,255,.92);
  box-shadow:0 8px 24px rgba(0,0,0,.45);opacity:0;transform:scale(.85);transition:opacity .18s ease,transform .22s var(--ease-out)}
.vid:focus-visible .play{opacity:1;transform:none}
.vid .play svg{width:16px;height:16px;margin-left:2px}
.vid h3{margin:0;font:600 16px/1.35 var(--ui);color:var(--white);text-wrap:pretty;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vid time{font-size:13px;color:var(--faint)}
.vid-t{display:flex;flex-direction:column;gap:5px}
.vid.lead h3{font:700 22px/1.25 var(--display);letter-spacing:-.01em}
.vid.lead .play{width:60px;height:60px;margin:-30px 0 0 -30px}
.vid.lead .play svg{width:20px;height:20px}
@media (hover:hover) and (pointer:fine){
  .vid:hover .th img{transform:scale(1.03)}
  .vid:hover .play{opacity:1;transform:none}
}

.pill{height:44px;display:inline-flex;align-items:center;gap:9px;padding:0 18px;border-radius:999px;font-size:14.5px;font-weight:500;color:var(--white);text-decoration:none;
  background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),inset 0 1px 0 rgba(255,255,255,.08);transition:background-color .2s ease,transform .16s var(--ease-out)}
.pill svg{width:18px;height:18px}
@media (hover:hover) and (pointer:fine){.pill:hover{background:rgba(255,255,255,.11)}}
.pill:active{transform:scale(.97)}
@media (max-width:860px){
  .vids{grid-template-columns:1fr;padding:0 16px}
  .vid.lead{grid-row:auto}
  .vmore{margin-top:8px}
}
@media (max-width:640px){
  .vid:not(.lead){display:grid;grid-template-columns:44% minmax(0,1fr);align-items:center;gap:14px}
  .vid:not(.lead) .th{border-radius:12px}
  .vid:not(.lead) h3{font-size:14.5px;-webkit-line-clamp:3}
  .vid.lead h3{font-size:19px}
}

/* ===== Footer (every page) ===== */
.site-foot{margin-top:96px;padding:28px 16px 40px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.foot-line{margin:0;font-size:13px;line-height:1.7;color:var(--faint)}
.foot-line a{color:var(--muted);text-decoration:none;border-radius:4px}
@media (hover:hover) and (pointer:fine){.foot-line a:hover{color:var(--white)}}
.foot-line .sep{margin:0 6px;color:rgba(255,255,255,.3)}
@media (max-width:640px){.foot-line .co-name{display:block}.foot-line .co-name+.sep{display:none}.site-foot{margin-top:72px}}

/* ===== Content pages (About, Contact, Privacy, 404) ===== */
.page{max-width:632px;margin:0 auto;padding:44px 16px 0;width:100%}
.page h1{margin:0 0 26px;text-align:center;font:700 clamp(30px,4vw,34px)/1.15 var(--ui);letter-spacing:-.02em;color:var(--white);text-wrap:balance}
.card{padding:30px 32px;border-radius:20px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.card+.card{margin-top:24px}
.prose{font-size:16px;line-height:1.65;color:rgba(255,255,255,.72)}
.prose p{margin:0 0 20px}
.prose p:last-child,.prose ul:last-child{margin-bottom:0}
.prose b,.prose strong{font-weight:600;color:var(--white)}
.prose .big{font-size:18.5px;line-height:1.55;color:var(--white)}
.prose ul{margin:-6px 0 20px;padding-left:20px}
.prose li{margin:2px 0}
.prose a{color:var(--white);text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.4)}
.prose .updated{font-size:14px;color:var(--faint)}
.contact-lede{max-width:460px;margin:-8px auto 22px;text-align:center;font-size:16px;line-height:1.6;color:var(--muted);text-wrap:balance}
.contact-cta{display:flex;justify-content:center;margin-bottom:26px}
.facts{margin:0;display:grid;grid-template-columns:140px 1fr}
.facts dt,.facts dd{margin:0;padding:16px 0;border-top:1px solid rgba(255,255,255,.07);font-size:16px;line-height:1.5}
.facts dt{color:var(--faint);font-size:14.5px;padding-top:18px}
.facts dd{color:var(--white)}
.facts dt:first-of-type,.facts dd:first-of-type{border-top:0;padding-top:0}
.facts dt:first-of-type{padding-top:2px}
.facts a{color:var(--white);text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.5)}
@media (max-width:640px){
  .page{padding-top:30px}
  .card{padding:22px 20px}
  .facts{grid-template-columns:1fr}
  .facts dt{border-top:1px solid rgba(255,255,255,.07);padding:14px 0 2px}
  .facts dd{border-top:0;padding:0 0 14px}
  .facts dt:first-of-type{border-top:0;padding-top:0}
}
.nf{text-align:center}
.nf p{margin:0 auto 26px;max-width:420px;font-size:16px;line-height:1.6;color:var(--muted)}

@media (prefers-reduced-motion:reduce){
  .co:hover .gicon,.vid:hover .th img,.co:active{transform:none}
  .co .gicon,.vid .th img,.skip{transition:none}
}
