:root{color-scheme:dark;--red:#ff6174;--blue:#83d9f8;--bg:#05060a;--type:'Avenir Next','Century Gothic','Segoe UI',system-ui,sans-serif;--jp:'Hiragino Sans','Yu Gothic','Meiryo','Noto Sans CJK JP',sans-serif;--gutter:max(16px,env(safe-area-inset-left),env(safe-area-inset-right));--accent:var(--blue)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:#f5f6fa;font:15px/1.5 var(--type);overflow-x:hidden}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}h1,h2,p{margin:0}::selection{background:var(--blue);color:var(--bg)}.skip{position:fixed;top:8px;left:8px;z-index:20;padding:12px;background:white;color:black;transform:translateY(-150%)}.skip:focus{transform:none}[hidden]{display:none!important}
.scene{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;background:radial-gradient(ellipse at 23% 50%,#21070e 0%,transparent 58%),radial-gradient(ellipse at 77% 50%,#071b32 0%,transparent 58%),#05060a}.scene:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at center,transparent 42%,#05060a88 100%)}#neurons{width:100%;height:100%;display:block}
.brain-stage{position:fixed;top:50%;left:50%;width:min(48vw,90vh);transform:translate(-50%,-50%);z-index:1;pointer-events:none;transition:top .55s ease,width .55s ease;user-select:none}.brain-float{position:relative;animation:brainFloat 7s ease-in-out infinite}.brain{display:block;width:100%;height:auto}@keyframes brainFloat{0%,100%{translate:0 0}50%{translate:0 -14px}}

main{position:relative;z-index:2}.section{position:relative;min-height:100vh;min-height:100svh;scroll-snap-align:start}.portal{display:grid;place-items:center}.sound-toggle{display:grid;place-items:center;background:#0a0a12b3;border:1px solid #9299c34b;border-radius:50%;color:#9faec7;width:clamp(44px,3vw,84px);aspect-ratio:1;cursor:pointer;transition:color .2s,border-color .2s;backdrop-filter:blur(8px);position:fixed;z-index:8;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}.sound-toggle:hover,.sound-toggle[aria-pressed=true]{color:var(--blue);border-color:#83d9f8a0}.sound-toggle svg{width:45%;height:45%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sound-toggle .sound-on,.sound-toggle[aria-pressed=true] .sound-off{display:none}.sound-toggle[aria-pressed=true] .sound-on{display:block}
.profiles{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(16px,39vw,1900px);padding:max(24px,env(safe-area-inset-top)) max(4vw,var(--gutter)) max(80px,calc(env(safe-area-inset-bottom) + 72px));}.profile{--local:var(--red);min-width:0;width:100%;max-width:clamp(340px,24vw,850px);justify-self:start}.profile.blue{--local:var(--blue);justify-self:end}.profile .name{font-size:clamp(26px,3.1vw,106px);line-height:1.15;letter-spacing:-.045em;font-weight:650;color:var(--local);margin:0 0 clamp(16px,2vw,54px);white-space:nowrap;text-shadow:none}.profile.red .name{font-family:var(--jp)}.socials{display:grid;border-top:1px solid color-mix(in srgb,var(--local) 36%,transparent)}.link{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:clamp(8px,1vw,25px);row-gap:1px;align-items:center;min-height:clamp(58px,5vw,150px);padding:clamp(9px,1vw,28px) 3px;border-bottom:1px solid color-mix(in srgb,var(--local) 28%,transparent);color:var(--local);background:#05060a38;transition:background .2s,padding .2s,border-color .2s}.link:hover{background:color-mix(in srgb,var(--local) 9%,transparent);border-color:var(--local);padding-inline:8px}.link svg{width:clamp(19px,1.5vw,48px);height:clamp(19px,1.5vw,48px);grid-row:1/3;align-self:center}.link span:first-of-type{font-size:clamp(13px,1.1vw,36px);font-weight:550}.link span:last-of-type{font-size:clamp(12px,.95vw,30px);color:color-mix(in srgb,var(--local) 55%,#c4c5d3);overflow-wrap:anywhere;min-width:0}.profile{transition:opacity .45s ease,transform .45s ease}.profiles:focus-within .profile{opacity:1!important;transform:none!important}
@media(max-width:900px) and (min-height:560px){.brain-stage{width:min(86vw,72vh,640px)}body.social-view .brain-stage{top:26%;width:min(68vw,59vh,480px)}.profiles{gap:clamp(12px,4vw,40px);align-items:end;align-content:center;padding-inline:var(--gutter);padding-top:46svh;padding-bottom:max(76px,calc(env(safe-area-inset-bottom) + 66px))}.profile{max-width:none;justify-self:stretch!important}.profile .name{font-size:clamp(21px,4.6vw,43px);margin-bottom:12px;text-align:center}.link{min-height:48px;column-gap:7px;padding:6px 2px}.link svg{width:18px;height:18px}.link span:first-of-type{font-size:clamp(12px,2vw,16px)}.link span:last-of-type{font-size:clamp(10px,1.75vw,14px)}}
@media(max-width:900px) and (max-height:700px) and (min-height:560px){body.social-view .brain-stage{top:23%;width:min(65vw,52vh,380px)}.profiles{padding-top:40svh;padding-bottom:max(63px,calc(env(safe-area-inset-bottom) + 54px))}.profile .name{margin-bottom:8px}.link{min-height:44px}}
@media(max-height:559px) and (orientation:landscape){.brain-stage{width:min(43vw,94vh)}.profiles{gap:32vw;padding-inline:var(--gutter);padding-block:12px 55px}.profile .name{font-size:clamp(19px,3vw,36px);margin-bottom:8px}.link{min-height:40px;padding:4px 2px}.link span:first-of-type{font-size:12px}.link span:last-of-type{font-size:10px}.link svg{width:16px;height:16px}.sound-toggle{width:40px;bottom:10px}}
@media(max-width:900px) and (max-height:559px) and (orientation:portrait){.brain-stage{width:min(82vw,75vh)}body.social-view .brain-stage{top:21%;width:min(62vw,48vh)}.profiles{gap:10px;align-content:center;align-items:end;padding:39svh var(--gutter) 57px}.profile{max-width:none}.profile .name{font-size:clamp(19px,5vw,30px);margin-bottom:8px;text-align:center}.link{min-height:42px;padding:4px 2px;column-gap:5px}.link svg{width:16px;height:16px}.link span:first-of-type{font-size:12px}.link span:last-of-type{font-size:10px}.sound-toggle{width:40px;bottom:10px}}
@media(max-width:340px){.profiles{gap:10px}.link{column-gap:5px}.link svg{width:15px;height:15px}.profile .name{font-size:20px}.link span:last-of-type{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;scroll-snap-type:none}*,*:before,*:after{animation:none!important;transition:none!important}.js .profiles .profile{opacity:1!important;transform:none!important}}

/* Social connections */
.neural-links{position:fixed;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;opacity:0;transition:opacity .65s ease;overflow:hidden}
.neural-links .wire{fill:none;stroke:var(--wire);stroke-width:1.9;opacity:.52;vector-effect:non-scaling-stroke;stroke-linecap:round}.neural-links .signal,.neural-links .nerve-halo{fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke;pointer-events:none}.neural-links .signal{stroke-width:3.6;opacity:.92}.neural-links .nerve-halo{stroke-width:9;opacity:.19;filter:blur(2.3px)}.neural-links .terminal{fill:var(--wire);opacity:.78}.neural-links .hot .wire{opacity:.85;stroke-width:2.5}.neural-links .hot .signal{stroke-width:4.1}.neural-links .red{--wire:#ff6174}.neural-links .blue{--wire:#83d9f8}
.social-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;border-bottom:1px solid color-mix(in srgb,var(--local) 28%,transparent);min-width:0;position:relative;transition:background .2s,border-color .2s}.social-row .link{border:0;background:transparent}.social-row:hover,.social-row:focus-within{background:color-mix(in srgb,var(--local) 8%,#05060a66);border-color:var(--local)}.social-row .link:hover{padding-inline:6px}
@media(max-width:900px){.social-row .link{column-gap:5px}.neural-links .wire{opacity:.36;stroke-width:1.7}.neural-links .signal{opacity:.9;stroke-width:3.1}.neural-links .nerve-halo{stroke-width:7;opacity:.15}}
@media(max-width:380px){.social-row .link{column-gap:4px}.social-row .link span:last-of-type{font-size:10px}}
@media(prefers-reduced-motion:reduce){.neural-links .signal,.neural-links .nerve-halo{display:none}}

/* Full-resolution, unfiltered original PNG. */
.brain{opacity:1;filter:none;mix-blend-mode:normal;image-rendering:auto;object-fit:contain;max-width:100%;}
.brain-stage{width:min(70vw,96vh,1491px);width:min(70vw,96svh,1491px);}
body.social-view .brain-stage{width:min(48vw,90vh,1491px);}
@media(max-width:900px) and (min-height:560px){.brain-stage{width:min(94vw,80vh,760px)}body.social-view .brain-stage{width:min(68vw,59vh,480px)}}
@media(max-width:900px) and (max-height:700px) and (min-height:560px){body.social-view .brain-stage{width:min(65vw,52vh,380px)}}
@media(max-height:559px) and (orientation:landscape){.brain-stage{width:min(70vw,100vh,1491px)}body.social-view .brain-stage{width:min(43vw,94vh,1491px)}}
@media(max-width:900px) and (max-height:559px) and (orientation:portrait){.brain-stage{width:min(94vw,85vh,1491px)}body.social-view .brain-stage{width:min(62vw,48vh,1491px)}}

/* One energy absorption ripple, only on signal arrival. */
.arrival-icon{position:relative;display:grid;place-items:center;grid-row:1/3;grid-column:1;align-self:center;isolation:isolate;overflow:visible}
.link .arrival-icon svg{grid-row:auto;display:block;position:relative;z-index:1}
.arrival-icon::after{content:'';position:absolute;inset:-2px;border:1.4px solid var(--local);border-radius:50%;opacity:0;pointer-events:none;transform:scale(.8);box-shadow:0 0 4px color-mix(in srgb,var(--local) 35%,transparent)}
.arrival-icon.absorbing::after{animation:absorbRipple .85s cubic-bezier(.16,.6,.35,1) both}
@keyframes absorbRipple{0%{opacity:0;transform:scale(.8)}12%{opacity:.78}100%{opacity:0;transform:scale(2.05)}}
@media(prefers-reduced-motion:reduce){.arrival-icon::after{animation:none!important;opacity:0!important}}

@media(prefers-reduced-motion:reduce){.brain{transform:none!important}}

/* Scroll-driven cinematic reveal; no added UI, no scroll hijacking. */
html.js body .brain-stage{
 --brain-start:min(70vw,96svh,1491px);--brain-end:min(48vw,90vh,1491px);--brain-end-top:50%;
 top:calc(50% + (var(--brain-end-top) - 50%) * var(--brain-progress,0));
 width:calc(var(--brain-start) + (var(--brain-end) - var(--brain-start)) * var(--brain-progress,0));
 transition:none;
}
@media(max-width:900px) and (min-height:560px){html.js body .brain-stage{--brain-start:min(94vw,80vh,760px);--brain-end:min(68vw,59vh,480px);--brain-end-top:26%}}
@media(max-width:900px) and (max-height:700px) and (min-height:560px){html.js body .brain-stage{--brain-end:min(65vw,52vh,380px);--brain-end-top:23%}}
@media(max-height:559px) and (orientation:landscape){html.js body .brain-stage{--brain-start:min(70vw,100vh,1491px);--brain-end:min(43vw,94vh,1491px);--brain-end-top:50%}}
@media(max-width:900px) and (max-height:559px) and (orientation:portrait){html.js body .brain-stage{--brain-start:min(94vw,85vh,1491px);--brain-end:min(62vw,48vh,1491px);--brain-end-top:21%}}
.js .profiles .profile{opacity:var(--profile-reveal,0);transform:translateY(calc(20px * (1 - var(--profile-reveal,0))));transition:none}
.js .neural-links{opacity:var(--nerve-reveal,0);transition:none}
@media(prefers-reduced-motion:reduce){.js .profiles .profile{opacity:1!important;transform:none!important}}
/* Rendering quality affects only the decorative neural background. */
html.render-paused .brain-float,html.render-paused .arrival-icon::after{animation-play-state:paused!important}
html[data-quality="low"] .neural-links .nerve-halo{filter:none;opacity:.14}
html[data-quality="low"] .sound-toggle{backdrop-filter:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
