  :root{
    --bg:var(--gray-0); --bg-2:var(--gray-20); --panel:var(--gray-0);
    --text:var(--gray-750); --text-2:var(--gray-500); --text-3:var(--gray-300);
    --brand:var(--violet-400);
    --line:color-mix(in srgb, var(--gray-900) 8%, transparent); --line-strong:color-mix(in srgb, var(--gray-900) 13%, transparent);
    --shadow-float:0 0 0 1px color-mix(in srgb, var(--gray-900) 5%, transparent), 0 2px 6px color-mix(in srgb, var(--gray-900) 5%, transparent), 0 12px 32px color-mix(in srgb, var(--gray-900) 10%, transparent);
    --ease-exit:cubic-bezier(.215,.61,.355,1);
    --ease-out:cubic-bezier(.16,1,.3,1);
    --ease-spring:cubic-bezier(.34,1.26,.64,1);
    --ok:var(--green-300);
  }
  html[data-theme="dark"]{
    --bg:var(--gray-900); --bg-2:var(--gray-880); --panel:var(--gray-870);
    --text:var(--gray-20); --text-2:var(--gray-350); --text-3:var(--gray-550);
    --brand:var(--violet-450);
    --line:color-mix(in srgb, var(--gray-0) 8%, transparent); --line-strong:color-mix(in srgb, var(--gray-0) 15%, transparent);
    --shadow-float:0 0 0 1px color-mix(in srgb, var(--gray-0) 8%, transparent), 0 2px 6px color-mix(in srgb, var(--gray-900) 40%, transparent), 0 12px 32px color-mix(in srgb, var(--gray-900) 55%, transparent);
  }
  *{margin:0;padding:0;box-sizing:border-box}
  html{color-scheme:light dark}
  body{
    font-family:var(--font);
    font-feature-settings:"cv01","ss03";
    background:var(--bg); color:var(--text);
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  button{font:inherit;color:inherit;background:none;border:0;cursor:default}
  a{color:inherit;text-decoration:none}
  ::selection{background:color-mix(in srgb, var(--brand) 25%, transparent)}
  .tab{font-variant-numeric:tabular-nums}
  .mono{font-family:var(--font-mono)}

  .stub{max-width:1080px;margin:0 auto;padding:150px 24px 90px}
  .stub h1{font-size:clamp(40px,4.6vw,56px);font-weight:500;letter-spacing:-0.022em;line-height:1.06;max-width:16ch}
  .stub p{margin-top:16px;font-size:15px;line-height:1.55;color:var(--text-2);max-width:52ch}
  .stub section{margin-top:70px;height:36vh;border-radius:12px;background:var(--bg-2);box-shadow:inset 0 0 0 1px var(--line);display:grid;place-items:center;color:var(--text-3);font-size:13px;font-weight:550}

  .f-base{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:18px 0 0;margin-top:26px;border-top:1px solid var(--line);font-size:12px;color:var(--text-3)}
  .f-base a{color:var(--text-2);font-weight:500}
  .f-base a:is(:hover, [data-hover]){color:var(--text)}
  .f-base .sp{flex:1}
  /* =========================================================
     B · CURTAIN — 0-JS reveal choreography (timeline-scope)
     ========================================================= */
  #rb-page{position:relative;z-index:2;background:var(--bg);box-shadow:var(--e3)}
  #rb-sentinel{height:1px}
  #rb-spacer{height:440px}
  #rb-foot{
    position:fixed;left:0;right:0;bottom:0;height:440px;z-index:1;
    background:var(--gray-900);color:var(--gray-20);
    display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;
    overflow:hidden;
  }
  #rb-word{
    font-size:clamp(56px,9vw,130px);font-weight:550;letter-spacing:-0.022em;line-height:1;
  }
  #rb-links{display:flex;gap:24px;margin-top:18px;font-size:13px}
  #rb-links a{color:var(--gray-350);font-weight:550}
  #rb-links a:is(:hover, [data-hover]){color:var(--gray-20)}
  #rb-arc{width:52px;height:52px;transform:rotate(-90deg);margin-top:20px}
  #rb-arc circle{fill:none;stroke-width:2.5}
  #rb-arc .bgc{stroke:color-mix(in srgb, var(--gray-0) 14%, transparent)}
  #rb-arc .fgc{stroke:var(--brand);stroke-linecap:round;stroke-dasharray:150.8;stroke-dashoffset:150.8}
  #rb-badge{position:absolute;bottom:14px;right:16px;font-family:var(--font-mono);font-size:9px;color:var(--gray-550)}
  #rb-legal{position:absolute;bottom:14px;left:16px;font-size:11px;color:var(--gray-550)}
  @supports (animation-timeline: view()) {
    .rbv{timeline-scope:--reveal}
    #rb-spacer{view-timeline:--reveal block}
    #rb-word{
      animation:rb-up linear both;
      animation-timeline:--reveal;
      animation-range:entry 0% entry 80%;
    }
    #rb-links a{
      opacity:0;
      animation:rb-fade linear both;
      animation-timeline:--reveal;
    }
    #rb-links a:nth-child(1){animation-range:entry 25% entry 60%}
    #rb-links a:nth-child(2){animation-range:entry 33% entry 68%}
    #rb-links a:nth-child(3){animation-range:entry 41% entry 76%}
    #rb-links a:nth-child(4){animation-range:entry 49% entry 84%}
    #rb-links a:nth-child(5){animation-range:entry 57% entry 92%}
    #rb-arc .fgc{
      animation:rb-arc linear both;
      animation-timeline:--reveal;
      animation-range:entry 0% entry 100%;
    }
  }
  @supports not (animation-timeline: view()) {
    #rb-links a{opacity:1}
    #rb-arc .fgc{stroke-dashoffset:0}
  }
  @keyframes rb-up{from{transform:translateY(60px) scale(.94);opacity:.2}to{transform:none;opacity:1}}
  @keyframes rb-fade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
  @keyframes rb-arc{from{stroke-dashoffset:150.8}to{stroke-dashoffset:0}}

  @media (prefers-reduced-motion: reduce){
    *{transition-duration:.01ms !important;animation-duration:.01ms !important}
  }
body { font-size: 15px; line-height: normal; }
