/* Welcome shell — first paint overlay. Tokens match site :root (black / ivory / lime). */
.welcome-shell{
 position:fixed;
 inset:0;
 z-index:40;
 display:grid;
 place-items:center;
 padding:clamp(28px,6vw,80px) var(--gutter, clamp(22px,4.4vw,80px));
 background:#000;
 color:#f4f4f0;
 pointer-events:none;
 isolation:isolate;
 overflow:hidden;
}
.welcome-shell::before{
 content:"";
 position:absolute;
 inset:-20%;
 background:
  radial-gradient(ellipse 70% 55% at 50% 42%, #141414 0%, transparent 62%),
  radial-gradient(ellipse 40% 30% at 78% 18%, color-mix(in srgb, var(--lime, #bdff3b) 14%, transparent) 0%, transparent 70%);
 opacity:.9;
 pointer-events:none;
}
.welcome-shell__stage{
 position:relative;
 width:min(920px,100%);
 text-align:left;
}
.welcome-shell__brand-row{
 display:flex;
 align-items:center;
 gap:10px;
 margin-bottom:clamp(18px,3vw,36px);
 opacity:0;
 transform:translateY(18px);
 animation:welcome-rise .7s cubic-bezier(.16,1,.3,1) .12s forwards;
}
.welcome-shell__dot{
 width:8px;
 height:8px;
 flex-shrink:0;
 background:var(--lime, #bdff3b);
}
.welcome-shell__eyebrow{
 font-family:var(--font-sans, 'FK Grotesk Trial','OPPO Sans',sans-serif);
 font-size:clamp(11px,1.15vw,15px);
 letter-spacing:.14em;
 text-transform:uppercase;
 color:#c8e79e;
}
.welcome-shell__hello{
 margin:0;
 font-family:var(--font-sans, 'OPPO Sans',sans-serif);
 font-size:clamp(15px,2.2vw,28px);
 font-weight:400;
 letter-spacing:.02em;
 color:#8d8d8d;
 opacity:0;
 transform:translateY(22px);
 animation:welcome-rise .75s cubic-bezier(.16,1,.3,1) .28s forwards;
}
.welcome-shell__name{
 margin:clamp(6px,1vw,12px) 0 0;
 font-family:var(--font-heading, 'Newsreader 6pt Light','OPPO Sans',serif);
 font-size:clamp(48px,11vw,148px);
 font-weight:400;
 line-height:.92;
 letter-spacing:-.07em;
 color:#f4f4f0;
 opacity:0;
 transform:translateY(28px);
 animation:welcome-rise .9s cubic-bezier(.16,1,.3,1) .42s forwards;
}
.welcome-shell__name-cn{
 display:inline-block;
 margin-left:clamp(10px,1.6vw,28px);
 font-family:var(--font-sans, 'OPPO Sans',sans-serif);
 font-size:.38em;
 letter-spacing:-.02em;
 vertical-align:middle;
 color:#f4f4f0;
}
.welcome-shell__rule{
 display:block;
 width:0;
 max-width:min(220px,42vw);
 height:2px;
 margin-top:clamp(22px,3.5vw,40px);
 background:var(--lime, #bdff3b);
 transform-origin:left center;
 animation:welcome-rule .85s cubic-bezier(.22,1,.36,1) .7s forwards;
}
.welcome-shell__tag{
 margin:clamp(16px,2.4vw,28px) 0 0;
 font-family:var(--font-heading, 'Newsreader 6pt Light',serif);
 font-size:clamp(16px,2.4vw,32px);
 letter-spacing:-.045em;
 line-height:1.15;
 color:#f4f4f0;
 opacity:0;
 transform:translateY(18px);
 animation:welcome-rise .8s cubic-bezier(.16,1,.3,1) .88s forwards;
}
.welcome-shell__hint{
 margin-top:clamp(28px,5vw,56px);
 font-family:var(--font-sans, 'OPPO Sans',sans-serif);
 font-size:10px;
 letter-spacing:.18em;
 text-transform:uppercase;
 color:#626262;
 opacity:0;
 animation:welcome-rise .6s ease .1s forwards, welcome-hint-pulse 2.2s ease 1.6s infinite;
}

@keyframes welcome-rise{
 to{opacity:1;transform:translateY(0)}
}
@keyframes welcome-rule{
 to{width:100%}
}
@keyframes welcome-hint-pulse{
 0%,100%{opacity:.45}
 50%{opacity:.9}
}

/* Exit: fade + lift — triggered by .is-leaving (JS) or auto timeline */
.welcome-shell.is-leaving{
 animation:welcome-exit .85s cubic-bezier(.4,0,.2,1) forwards;
 pointer-events:none;
}
.welcome-shell.is-gone{
 display:none;
}
@keyframes welcome-exit{
 to{
  opacity:0;
  transform:scale(1.02);
  filter:blur(6px);
  visibility:hidden;
 }
}

/* /work deep links: skip welcome entirely */
html.welcome-skip .welcome-shell{display:none!important}

@media(max-width:760px){
 .welcome-shell__stage{text-align:left}
 .welcome-shell__name{letter-spacing:-.06em}
 .welcome-shell__name-cn{display:block;margin:10px 0 0;font-size:.42em}
}

@media(prefers-reduced-motion:reduce){
 .welcome-shell__brand-row,
 .welcome-shell__hello,
 .welcome-shell__name,
 .welcome-shell__tag,
 .welcome-shell__hint{
  opacity:1;transform:none;animation:none;
 }
 .welcome-shell__rule{width:min(220px,42vw);animation:none}
 .welcome-shell.is-leaving{animation:none;opacity:0;visibility:hidden}
}
